Skip to content

Commit 7ddb1a2

Browse files
committed
chore: knip being a little silly cute bot
1 parent 20a9889 commit 7ddb1a2

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

shared/utils/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ export const ERROR_NPM_FETCH_FAILED = 'Failed to fetch package from npm registry
1919
export const UNSET_NUXT_SESSION_PASSWORD = 'NUXT_SESSION_PASSWORD not set'
2020
/** @public */
2121
export const ERROR_SUGGESTIONS_FETCH_FAILED = 'Failed to fetch suggestions.'
22+
/** @public */
2223
export const ERROR_GRAVATAR_FETCH_FAILED = 'Failed to fetch Gravatar profile.'
24+
/** @public */
2325
export const ERROR_GRAVATAR_EMAIL_UNAVAILABLE = "User's email not accessible."
2426

2527
// microcosm services

shared/utils/npm.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export function assertValidPackageName(name: string): void {
2222
/**
2323
* Validate an npm username and throw an HTTP error if invalid.
2424
* Uses a regular expression to check against npm naming rules.
25+
* @public
2526
*/
2627
export function assertValidUsername(username: string): void {
2728
if (!username || username.length > NPM_USERNAME_MAX_LENGTH || !NPM_USERNAME_RE.test(username)) {

0 commit comments

Comments
 (0)