/snap/node/11782/lib/node_modules/npm/node_modules/@npmcli/config/lib
NameSizeModeActions
definitions/-0755rm
env-replace.js4140644editdlrm
errors.js7070644editdlrm
index.js288880644editdlrm
nerf-dart.js4550644editdlrm
parse-field.js22290644editdlrm
set-envs.js34650644editdlrm
type-defs.js13880644editdlrm
type-description.js5740644editdlrm
umask.js9140644editdlrm
Edit: /snap/node/11782/lib/node_modules/npm/node_modules/@npmcli/config/lib/errors.js (707B)
'use strict' class ErrInvalidAuth extends Error { constructor (problems) { let message = 'Invalid auth configuration found: ' message += problems.map((problem) => { // istanbul ignore else if (problem.action === 'delete') { return `\`${problem.key}\` is not allowed in ${problem.where} config` } else if (problem.action === 'rename') { return `\`${problem.from}\` must be renamed to \`${problem.to}\` in ${problem.where} config` } }).join(', ') message += '\nPlease run `npm config fix` to repair your configuration.`' super(message) this.code = 'ERR_INVALID_AUTH' this.problems = problems } } module.exports = { ErrInvalidAuth, }