UNPKG

npm-check-updates

Version:

Find newer versions of dependencies than what your package.json allows

1 lines 4.37 MB
{"version":3,"file":"index.cjs","names":["os","util","styles","process","os","tty","#o","#S","#F","#d","#g","#_","#s","#i","#t","#l","#u","#a","#h","#y","#e","#P","#L","#A","#v","#p","#c","#b","#n","#M","#j","#m","#D","#w","#O","#r","#T","#U","#f","#X","#H","#N","#R","#z","#E","#C","#k","#I","#G","#V","#x","#W","#Y","#J","#q","#K","#Q","#B","#$","url","#gitHosts","#protocols","#fill","Symbol","objectProto","hasOwnProperty","nativeObjectToString","symToStringTag","Symbol","Symbol","INFINITY","Symbol","isObject","isObject","INFINITY","isObject","funcToString","reRegExpChar","objectProto","hasOwnProperty","isObject","WeakMap","WeakMap","isObject","isObject","WRAP_BIND_FLAG","nativeMax","nativeMax","hasOwnProperty","hasOwnProperty","WRAP_BIND_FLAG","WRAP_BIND_KEY_FLAG","WRAP_CURRY_BOUND_FLAG","WRAP_CURRY_FLAG","WRAP_PARTIAL_FLAG","WRAP_PARTIAL_RIGHT_FLAG","nativeMin","PLACEHOLDER","WRAP_BIND_FLAG","WRAP_BIND_KEY_FLAG","WRAP_CURRY_FLAG","WRAP_CURRY_RIGHT_FLAG","WRAP_ARY_FLAG","WRAP_BIND_FLAG","WRAP_BIND_FLAG","WRAP_BIND_KEY_FLAG","WRAP_CURRY_FLAG","WRAP_ARY_FLAG","WRAP_REARG_FLAG","FUNC_ERROR_TEXT","WRAP_CURRY_FLAG","WRAP_PARTIAL_FLAG","nativeMax","hasOwnProperty","HASH_UNDEFINED","hasOwnProperty","Map","Map","FUNC_ERROR_TEXT","memoize","memoize","Symbol","WRAP_CURRY_FLAG","fs","fs","path","path","fs","path","defaultOpts","TokenType","TokenType","URL","assert_1","buffer_1","#sawError","#handle","#flushFlag","#finishFlushFlag","#fullFlushFlag","#onError","#ended","#level","#strategy","#portable","module","URL","http","https","url","URL","path","URL","fs","URL","dns","crypto","#getOptions","#emittedSize","#emittedIntegrity","#emittedVerified","#onEnd","EE","Stream","SD","EE","EE","fileURLToPath","stat","dirname","mkdir","resolve","parse","path","sep","readdir","join","isAbsolute","fs","mkdir","join","rm","readdir","join","fs","path","crypto","fs","path","path","path","mkdir","rm","writeFile","readFile","fs","fs","fs","path","#s","#h","#t","#o","#w","#c","#S","#r","#f","#i","#u","#a","#v","#n","#d","#x","#g","#b","#O","#y","#p","#R","#l","#z","#N","#k","#M","#_","#T","#m","#E","#F","#e","#$","#P","#W","#A","#C","#D","#L","#B","#j","#G","#I","#U","#q","#H","path","fs","path","rm","path","#events","#data","URL","#originalTimeouts","#timeouts","#unref","#maxRetryTime","#cachedTimeouts","#errors","#attempts","#timer","#operationStart","#fn","dns","os","tty","util","http","exports","net","net","tls","events_1","url_1","url","net","tls","url_1","net","events_1","net","exports","net","tls","url_1","url","#options","#timeouts","#proxy","#noProxy","#ProxyAgent","#timeoutConnection","#getProxy","url","url","#parser","#onValue","#onTokenOriginal","#onToken","#onError","#path","#map","#header","#footer","#ending","#root","#count","#setHeaderFooter","url","os","#head","#tail","#size","toPath","process","fsPromises","path","fs","execFileCallback","path","path","os","fs","ini","node_process","node_process","node_process","isObject","extend","formatError","merge","_default","Transform","pick","initializer","util.jsonStringifyReplacer","core.$ZodAsyncError","util.finalizeIssue","core.config","errors.$ZodError","safeParse","errors.$ZodRealError","safeParseAsync","duration","_emoji","date","time","datetime","string","util.nullish","util.getLengthableOrigin","regexes.lowercase","regexes.uppercase","util.escapeRegex","util.aborted","core.$ZodAsyncError","safeParse","safeParseAsync","regexes.string","regexes.guid","regexes.uuid","regexes.email","regexes.emoji","regexes.nanoid","regexes.cuid","regexes.cuid2","regexes.ulid","regexes.xid","regexes.ksuid","regexes.datetime","regexes.date","regexes.time","regexes.duration","regexes.ipv4","regexes.ipv6","regexes.cidrv4","regexes.cidrv6","regexes.base64","regexes.base64url","regexes.e164","util.prefixIssues","util.optionalKeys","util.cached","isObject","util.isObject","util.esc","allowsEval","util.allowsEval","util.finalizeIssue","core.config","util.cleanRegex","util.isPlainObject","util.getEnumValues","util.escapeRegex","core.$ZodEncodeError","util.issue","util.normalizeParams","checks.$ZodCheckMaxLength","checks.$ZodCheckMinLength","checks.$ZodCheckLengthEquals","checks.$ZodCheckRegex","checks.$ZodCheckLowerCase","checks.$ZodCheckUpperCase","checks.$ZodCheckIncludes","checks.$ZodCheckStartsWith","checks.$ZodCheckEndsWith","checks.$ZodCheckOverwrite","util.slugify","issue","util.issue","checks.$ZodCheck","process","process","core._isoDateTime","core._isoDate","core._isoTime","core._isoDuration","core.formatError","core.flattenError","util.jsonStringifyReplacer","core.$constructor","parse","util.mergeDefs","core.clone","parse.parse","parse.safeParse","parse.parseAsync","parse.safeParseAsync","parse.encode","parse.decode","parse.encodeAsync","parse.decodeAsync","parse.safeEncode","parse.safeDecode","parse.safeEncodeAsync","parse.safeDecodeAsync","checks.overwrite","processors.stringProcessor","checks.regex","checks.includes","checks.startsWith","checks.endsWith","checks.minLength","checks.maxLength","checks.length","checks.lowercase","checks.uppercase","checks.trim","checks.normalize","checks.toLowerCase","checks.toUpperCase","checks.slugify","core._email","core._url","core._jwt","core._emoji","core._guid","core._uuid","core._uuidv4","core._uuidv6","core._uuidv7","core._nanoid","core._cuid","core._cuid2","core._ulid","core._base64","core._base64url","core._xid","core._ksuid","core._ipv4","core._ipv6","core._cidrv4","core._cidrv6","core._e164","iso.datetime","iso.date","iso.time","iso.duration","core._string","processors.unknownProcessor","core._unknown","processors.neverProcessor","core._never","processors.arrayProcessor","core._array","processors.objectProcessor","util.extend","util.safeExtend","util.merge","util.pick","util.omit","util.partial","util.required","util.normalizeParams","processors.unionProcessor","processors.intersectionProcessor","processors.recordProcessor","processors.enumProcessor","processors.transformProcessor","core.$ZodEncodeError","issue","util.issue","processors.optionalProcessor","processors.nullableProcessor","processors.defaultProcessor","util.shallowClone","processors.prefaultProcessor","processors.nonoptionalProcessor","processors.catchProcessor","processors.pipeProcessor","processors.readonlyProcessor","processors.customProcessor","core._refine","core._superRefine","os","path","util","path","path","path","util","path","fs","fs","path","stream_1","path","path","stream_1","path","fs","os","path","fs","path","util","fs_1","promises_1","path_1","path","path","os","fs_1","path_1","#validateConfig","#loadingMetaConfig","path","path_1","#readConfiguration","#getDirs","#loadConfigFileWithImports","#loadConfiguration","#fileExists","path","#readConfiguration","#getDirs","#loadConfigFileWithImports","#loadConfiguration","path","#fileExists","parse","stripComments","parser.parse","parser.stripComments"],"sources":["../node_modules/prompts-ncu/node_modules/kleur/index.js","../node_modules/prompts-ncu/lib/util/action.js","../node_modules/prompts-ncu/lib/util/strip.js","../node_modules/sisteransi/src/index.js","../node_modules/prompts-ncu/lib/util/clear.js","../node_modules/prompts-ncu/lib/util/figures.js","../node_modules/prompts-ncu/lib/util/style.js","../node_modules/prompts-ncu/lib/util/lines.js","../node_modules/prompts-ncu/lib/util/wrap.js","../node_modules/prompts-ncu/lib/util/entriesToDisplay.js","../node_modules/prompts-ncu/lib/util/index.js","../node_modules/prompts-ncu/lib/elements/prompt.js","../node_modules/prompts-ncu/lib/elements/text.js","../node_modules/prompts-ncu/lib/elements/select.js","../node_modules/prompts-ncu/lib/elements/toggle.js","../node_modules/prompts-ncu/lib/dateparts/datepart.js","../node_modules/prompts-ncu/lib/dateparts/meridiem.js","../node_modules/prompts-ncu/lib/dateparts/day.js","../node_modules/prompts-ncu/lib/dateparts/hours.js","../node_modules/prompts-ncu/lib/dateparts/milliseconds.js","../node_modules/prompts-ncu/lib/dateparts/minutes.js","../node_modules/prompts-ncu/lib/dateparts/month.js","../node_modules/prompts-ncu/lib/dateparts/seconds.js","../node_modules/prompts-ncu/lib/dateparts/year.js","../node_modules/prompts-ncu/lib/dateparts/index.js","../node_modules/prompts-ncu/lib/elements/date.js","../node_modules/prompts-ncu/lib/elements/number.js","../node_modules/prompts-ncu/lib/elements/multiselect.js","../node_modules/prompts-ncu/lib/elements/autocomplete.js","../node_modules/prompts-ncu/lib/elements/autocompleteMultiselect.js","../node_modules/prompts-ncu/lib/elements/confirm.js","../node_modules/prompts-ncu/lib/elements/index.js","../node_modules/prompts-ncu/lib/prompts.js","../node_modules/prompts-ncu/lib/index.js","../node_modules/prompts-ncu/index.js","../package.json","../node_modules/cli-table3/src/debug.js","../node_modules/cli-table3/node_modules/ansi-regex/index.js","../node_modules/cli-table3/node_modules/strip-ansi/index.js","../node_modules/is-fullwidth-code-point/index.js","../node_modules/cli-table3/node_modules/emoji-regex/index.js","../node_modules/cli-table3/node_modules/string-width/index.js","../node_modules/cli-table3/src/utils.js","../node_modules/@colors/colors/lib/styles.js","../node_modules/@colors/colors/lib/system/has-flag.js","../node_modules/@colors/colors/lib/system/supports-colors.js","../node_modules/@colors/colors/lib/custom/trap.js","../node_modules/@colors/colors/lib/custom/zalgo.js","../node_modules/@colors/colors/lib/maps/america.js","../node_modules/@colors/colors/lib/maps/zebra.js","../node_modules/@colors/colors/lib/maps/rainbow.js","../node_modules/@colors/colors/lib/maps/random.js","../node_modules/@colors/colors/lib/colors.js","../node_modules/@colors/colors/safe.js","../node_modules/cli-table3/src/cell.js","../node_modules/cli-table3/src/layout-manager.js","../node_modules/cli-table3/src/table.js","../node_modules/cli-table3/index.js","../node_modules/chalk/source/vendor/ansi-styles/index.js","../node_modules/chalk/source/vendor/supports-color/index.js","../node_modules/chalk/source/utilities.js","../node_modules/chalk/source/index.js","../src/lib/keyValueBy.ts","../src/lib/chalk.ts","../src/lib/filterObject.ts","../src/lib/exists.ts","../src/lib/getPackageJson.ts","../src/lib/getPackageVersion.ts","../node_modules/lru-cache/dist/commonjs/index.min.js","../node_modules/hosted-git-info/lib/hosts.js","../node_modules/hosted-git-info/lib/parse-url.js","../node_modules/hosted-git-info/lib/from-url.js","../node_modules/hosted-git-info/lib/index.js","../src/lib/getRepoUrl.ts","../node_modules/lodash-es/_freeGlobal.js","../node_modules/lodash-es/_root.js","../node_modules/lodash-es/_Symbol.js","../node_modules/lodash-es/_getRawTag.js","../node_modules/lodash-es/_objectToString.js","../node_modules/lodash-es/_baseGetTag.js","../node_modules/lodash-es/isObjectLike.js","../node_modules/lodash-es/isSymbol.js","../node_modules/lodash-es/_arrayMap.js","../node_modules/lodash-es/isArray.js","../node_modules/lodash-es/_baseToString.js","../node_modules/lodash-es/_trimmedEndIndex.js","../node_modules/lodash-es/_baseTrim.js","../node_modules/lodash-es/isObject.js","../node_modules/lodash-es/toNumber.js","../node_modules/lodash-es/toFinite.js","../node_modules/lodash-es/toInteger.js","../node_modules/lodash-es/identity.js","../node_modules/lodash-es/isFunction.js","../node_modules/lodash-es/_coreJsData.js","../node_modules/lodash-es/_isMasked.js","../node_modules/lodash-es/_toSource.js","../node_modules/lodash-es/_baseIsNative.js","../node_modules/lodash-es/_getValue.js","../node_modules/lodash-es/_getNative.js","../node_modules/lodash-es/_WeakMap.js","../node_modules/lodash-es/_metaMap.js","../node_modules/lodash-es/_baseSetData.js","../node_modules/lodash-es/_baseCreate.js","../node_modules/lodash-es/_createCtor.js","../node_modules/lodash-es/_createBind.js","../node_modules/lodash-es/_apply.js","../node_modules/lodash-es/_composeArgs.js","../node_modules/lodash-es/_composeArgsRight.js","../node_modules/lodash-es/_countHolders.js","../node_modules/lodash-es/_baseLodash.js","../node_modules/lodash-es/_LazyWrapper.js","../node_modules/lodash-es/noop.js","../node_modules/lodash-es/_getData.js","../node_modules/lodash-es/_realNames.js","../node_modules/lodash-es/_getFuncName.js","../node_modules/lodash-es/_LodashWrapper.js","../node_modules/lodash-es/_copyArray.js","../node_modules/lodash-es/_wrapperClone.js","../node_modules/lodash-es/wrapperLodash.js","../node_modules/lodash-es/_isLaziable.js","../node_modules/lodash-es/_shortOut.js","../node_modules/lodash-es/_setData.js","../node_modules/lodash-es/_getWrapDetails.js","../node_modules/lodash-es/_insertWrapDetails.js","../node_modules/lodash-es/constant.js","../node_modules/lodash-es/_defineProperty.js","../node_modules/lodash-es/_baseSetToString.js","../node_modules/lodash-es/_setToString.js","../node_modules/lodash-es/_arrayEach.js","../node_modules/lodash-es/_baseFindIndex.js","../node_modules/lodash-es/_baseIsNaN.js","../node_modules/lodash-es/_strictIndexOf.js","../node_modules/lodash-es/_baseIndexOf.js","../node_modules/lodash-es/_arrayIncludes.js","../node_modules/lodash-es/_updateWrapDetails.js","../node_modules/lodash-es/_setWrapToString.js","../node_modules/lodash-es/_createRecurry.js","../node_modules/lodash-es/_getHolder.js","../node_modules/lodash-es/_isIndex.js","../node_modules/lodash-es/_reorder.js","../node_modules/lodash-es/_replaceHolders.js","../node_modules/lodash-es/_createHybrid.js","../node_modules/lodash-es/_createCurry.js","../node_modules/lodash-es/_createPartial.js","../node_modules/lodash-es/_mergeData.js","../node_modules/lodash-es/_createWrap.js","../node_modules/lodash-es/eq.js","../node_modules/lodash-es/_overRest.js","../node_modules/lodash-es/_baseIsArguments.js","../node_modules/lodash-es/isArguments.js","../node_modules/lodash-es/_isKey.js","../node_modules/lodash-es/_nativeCreate.js","../node_modules/lodash-es/_hashClear.js","../node_modules/lodash-es/_hashDelete.js","../node_modules/lodash-es/_hashGet.js","../node_modules/lodash-es/_hashHas.js","../node_modules/lodash-es/_hashSet.js","../node_modules/lodash-es/_Hash.js","../node_modules/lodash-es/_listCacheClear.js","../node_modules/lodash-es/_assocIndexOf.js","../node_modules/lodash-es/_listCacheDelete.js","../node_modules/lodash-es/_listCacheGet.js","../node_modules/lodash-es/_listCacheHas.js","../node_modules/lodash-es/_listCacheSet.js","../node_modules/lodash-es/_ListCache.js","../node_modules/lodash-es/_Map.js","../node_modules/lodash-es/_mapCacheClear.js","../node_modules/lodash-es/_isKeyable.js","../node_modules/lodash-es/_getMapData.js","../node_modules/lodash-es/_mapCacheDelete.js","../node_modules/lodash-es/_mapCacheGet.js","../node_modules/lodash-es/_mapCacheHas.js","../node_modules/lodash-es/_mapCacheSet.js","../node_modules/lodash-es/_MapCache.js","../node_modules/lodash-es/memoize.js","../node_modules/lodash-es/_memoizeCapped.js","../node_modules/lodash-es/_stringToPath.js","../node_modules/lodash-es/toString.js","../node_modules/lodash-es/_castPath.js","../node_modules/lodash-es/_toKey.js","../node_modules/lodash-es/_baseGet.js","../node_modules/lodash-es/_arrayPush.js","../node_modules/lodash-es/_isFlattenable.js","../node_modules/lodash-es/_baseFlatten.js","../node_modules/lodash-es/flatten.js","../node_modules/lodash-es/_flatRest.js","../node_modules/lodash-es/curry.js","../node_modules/lodash-es/escapeRegExp.js","../node_modules/lodash-es/_createFlow.js","../node_modules/lodash-es/flow.js","../node_modules/lodash-es/propertyOf.js","../node_modules/parse-github-url/parse-url.js","../node_modules/parse-github-url/index.js","../node_modules/semver/internal/constants.js","../node_modules/semver/internal/debug.js","../node_modules/semver/internal/re.js","../node_modules/semver/internal/parse-options.js","../node_modules/semver/internal/identifiers.js","../node_modules/semver/classes/semver.js","../node_modules/semver/functions/parse.js","../node_modules/semver/functions/valid.js","../node_modules/semver/functions/clean.js","../node_modules/semver/functions/inc.js","../node_modules/semver/functions/diff.js","../node_modules/semver/functions/major.js","../node_modules/semver/functions/minor.js","../node_modules/semver/functions/patch.js","../node_modules/semver/functions/prerelease.js","../node_modules/semver/functions/compare.js","../node_modules/semver/functions/rcompare.js","../node_modules/semver/functions/compare-loose.js","../node_modules/semver/functions/compare-build.js","../node_modules/semver/functions/sort.js","../node_modules/semver/functions/rsort.js","../node_modules/semver/functions/gt.js","../node_modules/semver/functions/lt.js","../node_modules/semver/functions/eq.js","../node_modules/semver/functions/neq.js","../node_modules/semver/functions/gte.js","../node_modules/semver/functions/lte.js","../node_modules/semver/functions/cmp.js","../node_modules/semver/functions/coerce.js","../node_modules/semver/internal/lrucache.js","../node_modules/semver/classes/range.js","../node_modules/semver/classes/comparator.js","../node_modules/semver/functions/satisfies.js","../node_modules/semver/ranges/to-comparators.js","../node_modules/semver/ranges/max-satisfying.js","../node_modules/semver/ranges/min-satisfying.js","../node_modules/semver/ranges/min-version.js","../node_modules/semver/ranges/valid.js","../node_modules/semver/ranges/outside.js","../node_modules/semver/ranges/gtr.js","../node_modules/semver/ranges/ltr.js","../node_modules/semver/ranges/intersects.js","../node_modules/semver/ranges/simplify.js","../node_modules/semver/ranges/subset.js","../node_modules/semver/index.js","../node_modules/semver-utils/semver-utils.js","../src/lib/sortBy.ts","../src/lib/version-util.ts","../src/lib/logging.ts","../src/lib/cache.ts","../src/lib/parseCooldown.ts","../src/lib/wrap.ts","../src/lib/table.ts","../src/cli-options.ts","../src/lib/findLockfile.ts","../src/lib/determinePackageManager.ts","../node_modules/isexe/windows.js","../node_modules/isexe/mode.js","../node_modules/isexe/index.js","../node_modules/which/which.js","../node_modules/path-key/index.js","../node_modules/cross-spawn/lib/util/resolveCommand.js","../node_modules/cross-spawn/lib/util/escape.js","../node_modules/shebang-regex/index.js","../node_modules/shebang-command/index.js","../node_modules/cross-spawn/lib/util/readShebang.js","../node_modules/cross-spawn/lib/parse.js","../node_modules/cross-spawn/lib/enoent.js","../node_modules/cross-spawn/index.js","../node_modules/spawn-please/src/index.js","../node_modules/@streamparser/json/dist/mjs/utils/utf-8.js","../node_modules/@streamparser/json/dist/mjs/utils/bufferedString.js","../node_modules/@streamparser/json/dist/mjs/utils/types/tokenType.js","../node_modules/@streamparser/json/dist/mjs/tokenizer.js","../node_modules/@streamparser/json/dist/mjs/utils/types/stackElement.js","../node_modules/@streamparser/json/dist/mjs/tokenparser.js","../node_modules/@streamparser/json/dist/mjs/jsonparser.js","../node_modules/camelcase/index.js","../node_modules/fast-memoize/src/index.js","../node_modules/ini/lib/ini.js","../node_modules/npm-registry-fetch/lib/errors.js","../node_modules/minipass/dist/commonjs/index.js","../node_modules/minizlib/dist/commonjs/constants.js","../node_modules/minizlib/dist/commonjs/index.js","../node_modules/minipass-sized/dist/commonjs/index.js","../node_modules/minipass-fetch/lib/blob.js","../node_modules/minipass-fetch/lib/fetch-error.js","../node_modules/safer-buffer/safer.js","../node_modules/iconv-lite/lib/bom-handling.js","../node_modules/iconv-lite/lib/helpers/merge-exports.js","../node_modules/iconv-lite/encodings/internal.js","../node_modules/iconv-lite/encodings/utf32.js","../node_modules/iconv-lite/encodings/utf16.js","../node_modules/iconv-lite/encodings/utf7.js","../node_modules/iconv-lite/encodings/sbcs-codec.js","../node_modules/iconv-lite/encodings/sbcs-data.js","../node_modules/iconv-lite/encodings/sbcs-data-generated.js","../node_modules/iconv-lite/encodings/dbcs-codec.js","../node_modules/iconv-lite/encodings/tables/shiftjis.json","../node_modules/iconv-lite/encodings/tables/eucjp.json","../node_modules/iconv-lite/encodings/tables/cp936.json","../node_modules/iconv-lite/encodings/tables/gbk-added.json","../node_modules/iconv-lite/encodings/tables/gb18030-ranges.json","../node_modules/iconv-lite/encodings/tables/cp949.json","../node_modules/iconv-lite/encodings/tables/cp950.json","../node_modules/iconv-lite/encodings/tables/big5-added.json","../node_modules/iconv-lite/encodings/dbcs-data.js","../node_modules/iconv-lite/encodings/index.js","../node_modules/iconv-lite/lib/streams.js","../node_modules/iconv-lite/lib/index.js","../node_modules/minipass-fetch/lib/body.js","../node_modules/minipass-fetch/lib/headers.js","../node_modules/minipass-fetch/lib/response.js","../node_modules/minipass-fetch/package.json","../node_modules/minipass-fetch/lib/request.js","../node_modules/minipass-fetch/lib/abort-error.js","../node_modules/minipass-fetch/lib/index.js","../node_modules/npm-registry-fetch/package.json","../node_modules/npm-registry-fetch/lib/default-opts.js","../node_modules/proc-log/lib/index.js","../node_modules/@npmcli/redact/lib/matchers.js","../node_modules/@npmcli/redact/lib/utils.js","../node_modules/@npmcli/redact/lib/index.js","../node_modules/npm-registry-fetch/lib/check-response.js","../node_modules/validate-npm-package-name/lib/builtin-modules.json","../node_modules/validate-npm-package-name/lib/index.js","../node_modules/npm-package-arg/lib/npa.js","../node_modules/npm-registry-fetch/lib/auth.js","../node_modules/make-fetch-happen/lib/options.js","../node_modules/http-cache-semantics/index.js","../node_modules/negotiator/lib/charset.js","../node_modules/negotiator/lib/encoding.js","../node_modules/negotiator/lib/language.js","../node_modules/negotiator/lib/mediaType.js","../node_modules/negotiator/index.js","../node_modules/ssri/lib/index.js","../node_modules/make-fetch-happen/lib/cache/policy.js","../node_modules/make-fetch-happen/lib/cache/errors.js","../node_modules/minipass-flush/node_modules/minipass/index.js","../node_modules/minipass-flush/index.js","../node_modules/minipass-collect/index.js","../node_modules/minipass-pipeline/node_modules/minipass/index.js","../node_modules/minipass-pipeline/index.js","../node_modules/@npmcli/fs/lib/common/get-options.js","../node_modules/@npmcli/fs/lib/common/node.js","../node_modules/@npmcli/fs/lib/cp/errors.js","../node_modules/@npmcli/fs/lib/cp/polyfill.js","../node_modules/@npmcli/fs/lib/cp/index.js","../node_modules/@npmcli/fs/lib/with-temp-dir.js","../node_modules/@npmcli/fs/lib/readdir-scoped.js","../node_modules/@npmcli/fs/lib/move-file.js","../node_modules/@npmcli/fs/lib/index.js","../node_modules/cacache/lib/util/tmp.js","../node_modules/cacache/package.json","../node_modules/cacache/lib/util/hash-to-segments.js","../node_modules/cacache/lib/content/path.js","../node_modules/cacache/lib/entry-index.js","../node_modules/cacache/lib/memoization.js","../node_modules/fs-minipass/lib/index.js","../node_modules/cacache/lib/content/read.js","../node_modules/cacache/lib/get.js","../node_modules/cacache/lib/content/write.js","../node_modules/cacache/lib/put.js","../node_modules/cacache/node_modules/glob/dist/commonjs/index.min.js","../node_modules/cacache/lib/util/glob.js","../node_modules/cacache/lib/content/rm.js","../node_modules/cacache/lib/rm.js","../node_modules/cacache/lib/verify.js","../node_modules/cacache/lib/index.js","../node_modules/make-fetch-happen/lib/pipeline.js","../node_modules/make-fetch-happen/lib/cache/key.js","../node_modules/@gar/promise-retry/lib/retry.js","../node_modules/@gar/promise-retry/lib/index.js","../node_modules/@npmcli/agent/lib/dns.js","../node_modules/@npmcli/agent/lib/options.js","../node_modules/ms/index.js","../node_modules/debug/src/common.js","../node_modules/debug/src/browser.js","../node_modules/has-flag/index.js","../node_modules/supports-color/index.js","../node_modules/debug/src/node.js","../node_modules/debug/src/index.js","../node_modules/agent-base/dist/helpers.js","../node_modules/agent-base/dist/index.js","../node_modules/http-proxy-agent/dist/index.js","../node_modules/https-proxy-agent/dist/parse-proxy-response.js","../node_modules/https-proxy-agent/dist/index.js","../node_modules/smart-buffer/build/utils.js","../node_modules/smart-buffer/build/smartbuffer.js","../node_modules/socks/build/common/constants.js","../node_modules/socks/build/common/util.js","../node_modules/ip-address/dist/common.js","../node_modules/ip-address/dist/v4/constants.js","../node_modules/ip-address/dist/address-error.js","../node_modules/ip-address/dist/ipv4.js","../node_modules/ip-address/dist/v6/constants.js","../node_modules/ip-address/dist/v6/helpers.js","../node_modules/ip-address/dist/v6/regular-expressions.js","../node_modules/ip-address/dist/ipv6.js","../node_modules/ip-address/dist/ip-address.js","../node_modules/socks/build/common/helpers.js","../node_modules/socks/build/common/receivebuffer.js","../node_modules/socks/build/client/socksclient.js","../node_modules/socks/build/index.js","../node_modules/socks-proxy-agent/dist/index.js","../node_modules/@npmcli/agent/lib/errors.js","../node_modules/@npmcli/agent/lib/proxy.js","../node_modules/@npmcli/agent/lib/agents.js","../node_modules/@npmcli/agent/lib/index.js","../node_modules/make-fetch-happen/package.json","../node_modules/make-fetch-happen/lib/remote.js","../node_modules/make-fetch-happen/lib/cache/entry.js","../node_modules/make-fetch-happen/lib/cache/index.js","../node_modules/make-fetch-happen/lib/fetch.js","../node_modules/make-fetch-happen/lib/index.js","../node_modules/jsonparse/jsonparse.js","../node_modules/npm-registry-fetch/lib/json-stream.js","../node_modules/npm-registry-fetch/lib/index.js","../node_modules/untildify/index.js","../node_modules/yocto-queue/index.js","../node_modules/p-limit/index.js","../node_modules/p-locate/index.js","../node_modules/locate-path/index.js","../node_modules/unicorn-magic/node.js","../node_modules/find-up/index.js","../src/lib/figgy-pudding/index.js","../src/lib/libnpmconfig/index.js","../src/lib/spawnCommand.ts","../src/package-managers/filters.ts","../src/package-managers/npm.ts","../src/package-managers/bun.ts","../node_modules/yaml/dist/nodes/identity.js","../node_modules/yaml/dist/visit.js","../node_modules/yaml/dist/doc/directives.js","../node_modules/yaml/dist/doc/anchors.js","../node_modules/yaml/dist/doc/applyReviver.js","../node_modules/yaml/dist/nodes/toJS.js","../node_modules/yaml/dist/nodes/Node.js","../node_modules/yaml/dist/nodes/Alias.js","../node_modules/yaml/dist/nodes/Scalar.js","../node_modules/yaml/dist/doc/createNode.js","../node_modules/yaml/dist/nodes/Collection.js","../node_modules/yaml/dist/stringify/stringifyComment.js","../node_modules/yaml/dist/stringify/foldFlowLines.js","../node_modules/yaml/dist/stringify/stringifyString.js","../node_modules/yaml/dist/stringify/stringify.js","../node_modules/yaml/dist/stringify/stringifyPair.js","../node_modules/yaml/dist/log.js","../node_modules/yaml/dist/schema/yaml-1.1/merge.js","../node_modules/yaml/dist/nodes/addPairToJSMap.js","../node_modules/yaml/dist/nodes/Pair.js","../node_modules/yaml/dist/stringify/stringifyCollection.js","../node_modules/yaml/dist/nodes/YAMLMap.js","../node_modules/yaml/dist/schema/common/map.js","../node_modules/yaml/dist/nodes/YAMLSeq.js","../node_modules/yaml/dist/schema/common/seq.js","../node_modules/yaml/dist/schema/common/string.js","../node_modules/yaml/dist/schema/common/null.js","../node_modules/yaml/dist/schema/core/bool.js","../node_modules/yaml/dist/stringify/stringifyNumber.js","../node_modules/yaml/dist/schema/core/float.js","../node_modules/yaml/dist/schema/core/int.js","../node_modules/yaml/dist/schema/core/schema.js","../node_modules/yaml/dist/schema/json/schema.js","../node_modules/yaml/dist/schema/yaml-1.1/binary.js","../node_modules/yaml/dist/schema/yaml-1.1/pairs.js","../node_modules/yaml/dist/schema/yaml-1.1/omap.js","../node_modules/yaml/dist/schema/yaml-1.1/bool.js","../node_modules/yaml/dist/schema/yaml-1.1/float.js","../node_modules/yaml/dist/schema/yaml-1.1/int.js","../node_modules/yaml/dist/schema/yaml-1.1/set.js","../node_modules/yaml/dist/schema/yaml-1.1/timestamp.js","../node_modules/yaml/dist/schema/yaml-1.1/schema.js","../node_modules/yaml/dist/schema/tags.js","../node_modules/yaml/dist/schema/Schema.js","../node_modules/yaml/dist/stringify/stringifyDocument.js","../node_modules/yaml/dist/doc/Document.js","../node_modules/yaml/dist/errors.js","../node_modules/yaml/dist/compose/resolve-props.js","../node_modules/yaml/dist/compose/util-contains-newline.js","../node_modules/yaml/dist/compose/util-flow-indent-check.js","../node_modules/yaml/dist/compose/util-map-includes.js","../node_modules/yaml/dist/compose/resolve-block-map.js","../node_modules/yaml/dist/compose/resolve-block-seq.js","../node_modules/yaml/dist/compose/resolve-end.js","../node_modules/yaml/dist/compose/resolve-flow-collection.js","../node_modules/yaml/dist/compose/compose-collection.js","../node_modules/yaml/dist/compose/resolve-block-scalar.js","../node_modules/yaml/dist/compose/resolve-flow-scalar.js","../node_modules/yaml/dist/compose/compose-scalar.js","../node_modules/yaml/dist/compose/util-empty-scalar-position.js","../node_modules/yaml/dist/compose/compose-node.js","../node_modules/yaml/dist/compose/compose-doc.js","../node_modules/yaml/dist/compose/composer.js","../node_modules/yaml/dist/parse/cst-scalar.js","../node_modules/yaml/dist/parse/cst-stringify.js","../node_modules/yaml/dist/parse/cst-visit.js","../node_modules/yaml/dist/parse/cst.js","../node_modules/yaml/dist/parse/lexer.js","../node_modules/yaml/dist/parse/line-counter.js","../node_modules/yaml/dist/parse/parser.js","../node_modules/yaml/dist/public-api.js","../node_modules/yaml/dist/index.js","../src/package-managers/pnpm.ts","../node_modules/js-yaml/dist/js-yaml.mjs","../node_modules/jsonlines/lib/parser.js","../node_modules/jsonlines/lib/stringifier.js","../node_modules/jsonlines/index.js","../src/package-managers/yarn.ts","../src/lib/programError.ts","../src/lib/loadPackageInfoFromFile.ts","../node_modules/zod/v4/core/core.js","../node_modules/zod/v4/core/util.js","../node_modules/zod/v4/core/errors.js","../node_modules/zod/v4/core/parse.js","../node_modules/zod/v4/core/regexes.js","../node_modules/zod/v4/core/checks.js","../node_modules/zod/v4/core/doc.js","../node_modules/zod/v4/core/versions.js","../node_modules/zod/v4/core/schemas.js","../node_modules/zod/v4/core/registries.js","../node_modules/zod/v4/core/api.js","../node_modules/zod/v4/core/to-json-schema.js","../node_modules/zod/v4/core/json-schema-processors.js","../node_modules/zod/v4/classic/iso.js","../node_modules/zod/v4/classic/errors.js","../node_modules/zod/v4/classic/parse.js","../node_modules/zod/v4/classic/schemas.js","../src/types/CatalogConfig.ts","../src/lib/resolveDepSections.ts","../src/lib/upgradeJsonCatalogDependencies.ts","../src/lib/upgradeYamlCatalogDependencies.ts","../src/lib/upgradePackageData.ts","../src/lib/doctor.ts","../src/lib/findPackage.ts","../node_modules/fast-glob/out/utils/array.js","../node_modules/fast-glob/out/utils/errno.js","../node_modules/fast-glob/out/utils/fs.js","../node_modules/fast-glob/out/utils/path.js","../node_modules/is-extglob/index.js","../node_modules/is-glob/index.js","../node_modules/fast-glob/node_modules/glob-parent/index.js","../node_modules/braces/lib/utils.js","../node_modules/braces/lib/stringify.js","../node_modules/is-number/index.js","../node_modules/to-regex-range/index.js","../node_modules/fill-range/index.js","../node_modules/braces/lib/compile.js","../node_modules/braces/lib/expand.js","../node_modules/braces/lib/constants.js","../node_modules/braces/lib/parse.js","../node_modules/braces/index.js","../node_modules/micromatch/node_modules/picomatch/lib/constants.js","../node_modules/micromatch/node_modules/picomatch/lib/utils.js","../node_modules/micromatch/node_modules/picomatch/lib/scan.js","../node_modules/micromatch/node_modules/picomatch/lib/parse.js","../node_modules/micromatch/node_modules/picomatch/lib/picomatch.js","../node_modules/micromatch/node_modules/picomatch/index.js","../node_modules/micromatch/index.js","../node_modules/fast-glob/out/utils/pattern.js","../node_modules/merge2/index.js","../node_modules/fast-glob/out/utils/stream.js","../node_modules/fast-glob/out/utils/string.js","../node_modules/fast-glob/out/utils/index.js","../node_modules/fast-glob/out/managers/tasks.js","../node_modules/@nodelib/fs.stat/out/providers/async.js","../node_modules/@nodelib/fs.stat/out/providers/sync.js","../node_modules/@nodelib/fs.stat/out/adapters/fs.js","../node_modules/@nodelib/fs.stat/out/settings.js","../node_modules/@nodelib/fs.stat/out/index.js","../node_modules/queue-microtask/index.js","../node_modules/run-parallel/index.js","../node_modules/@nodelib/fs.scandir/out/constants.js","../node_modules/@nodelib/fs.scandir/out/utils/fs.js","../node_modules/@nodelib/fs.scandir/out/utils/index.js","../node_modules/@nodelib/fs.scandir/out/providers/common.js","../node_modules/@nodelib/fs.scandir/out/providers/async.js","../node_modules/@nodelib/fs.scandir/out/providers/sync.js","../node_modules/@nodelib/fs.scandir/out/adapters/fs.js","../node_modules/@nodelib/fs.scandir/out/settings.js","../node_modules/@nodelib/fs.scandir/out/index.js","../node_modules/reusify/reusify.js","../node_modules/fastq/queue.js","../node_modules/@nodelib/fs.walk/out/readers/common.js","../node_modules/@nodelib/fs.walk/out/readers/reader.js","../node_modules/@nodelib/fs.walk/out/readers/async.js","../node_modules/@nodelib/fs.walk/out/providers/async.js","../node_modules/@nodelib/fs.walk/out/providers/stream.js","../node_modules/@nodelib/fs.walk/out/readers/sync.js","../node_modules/@nodelib/fs.walk/out/providers/sync.js","../node_modules/@nodelib/fs.walk/out/settings.js","../node_modules/@nodelib/fs.walk/out/index.js","../node_modules/fast-glob/out/readers/reader.js","../node_modules/fast-glob/out/readers/stream.js","../node_modules/fast-glob/out/readers/async.js","../node_modules/fast-glob/out/providers/matchers/matcher.js","../node_modules/fast-glob/out/providers/matchers/partial.js","../node_modules/fast-glob/out/providers/filters/deep.js","../node_modules/fast-glob/out/providers/filters/entry.js","../node_modules/fast-glob/out/providers/filters/error.js","../node_modules/fast-glob/out/providers/transformers/entry.js","../node_modules/fast-glob/out/providers/provider.js","../node_modules/fast-glob/out/providers/async.js","../node_modules/fast-glob/out/providers/stream.js","../node_modules/fast-glob/out/readers/sync.js","../node_modules/fast-glob/out/providers/sync.js","../node_modules/fast-glob/out/settings.js","../node_modules/fast-glob/out/index.js","../src/lib/getAllPackages.ts","../node_modules/resolve-from/index.js","../node_modules/callsites/index.js","../node_modules/parent-module/index.js","../node_modules/import-fresh/index.js","../node_modules/is-arrayish/index.js","../node_modules/error-ex/index.js","../node_modules/json-parse-even-better-errors/index.js","../node_modules/lines-and-columns/build/index.js","../node_modules/picocolors/picocolors.js","../node_modules/js-tokens/index.js","../node_modules/@babel/helper-validator-identifier/lib/identifier.js","../node_modules/@babel/helper-validator-identifier/lib/keyword.js","../node_modules/@babel/helper-validator-identifier/lib/index.js","../node_modules/@babel/code-frame/lib/index.js","../node_modules/parse-json/index.js","../node_modules/js-yaml/lib/common.js","../node_modules/js-yaml/lib/exception.js","../node_modules/js-yaml/lib/snippet.js","../node_modules/js-yaml/lib/type.js","../node_modules/js-yaml/lib/schema.js","../node_modules/js-yaml/lib/type/str.js","../node_modules/js-yaml/lib/type/seq.js","../node_modules/js-yaml/lib/type/map.js","../node_modules/js-yaml/lib/schema/failsafe.js","../node_modules/js-yaml/lib/type/null.js","../node_modules/js-yaml/lib/type/bool.js","../node_modules/js-yaml/lib/type/int.js","../node_modules/js-yaml/lib/type/float.js","../node_modules/js-yaml/lib/schema/json.js","../node_modules/js-yaml/lib/schema/core.js","../node_modules/js-yaml/lib/type/timestamp.js","../node_modules/js-yaml/lib/type/merge.js","../node_modules/js-yaml/lib/type/binary.js","../node_modules/js-yaml/lib/type/omap.js","../node_modules/js-yaml/lib/type/pairs.js","../node_modules/js-yaml/lib/type/set.js","../node_modules/js-yaml/lib/schema/default.js","../node_modules/js-yaml/lib/loader.js","../node_modules/js-yaml/lib/dumper.js","../node_modules/js-yaml/index.js","../node_modules/cosmiconfig/dist/loaders.js","../node_modules/cosmiconfig/dist/defaults.js","../node_modules/env-paths/index.js","../node_modules/cosmiconfig/dist/util.js","../node_modules/cosmiconfig/dist/ExplorerBase.js","../node_modules/cosmiconfig/dist/merge.js","../node_modules/cosmiconfig/dist/Explorer.js","../node_modules/cosmiconfig/dist/ExplorerSync.js","../node_modules/cosmiconfig/dist/index.js","../src/lib/getNcuRc.ts","../node_modules/dequal/dist/index.mjs","../node_modules/picomatch/lib/constants.js","../node_modules/picomatch/lib/utils.js","../node_modules/picomatch/lib/scan.js","../node_modules/picomatch/lib/parse.js","../node_modules/picomatch/lib/picomatch.js","../node_modules/picomatch/index.js","../src/package-managers/gitTags.ts","../src/package-managers/staticRegistry.ts","../src/package-managers/index.ts","../src/lib/initOptions.ts","../src/lib/mergeOptions.ts","../node_modules/fp-and-or/index.js","../src/lib/filterAndReject.ts","../src/lib/getPackageManager.ts","../src/lib/getInstalledPackages.ts","../node_modules/progress/lib/node-progress.js","../node_modules/progress/index.js","../src/lib/getPeerDependenciesFromRegistry.ts","../src/lib/pick.ts","../src/types/Target.ts","../src/lib/queryVersions.ts","../src/lib/getPreferredWildcard.ts","../src/lib/isUpgradeable.ts","../src/lib/upgradeDependencies.ts","../src/lib/upgradePackageDefinitions.ts","../src/lib/runGlobal.ts","../src/lib/getCurrentDependencies.ts","../src/lib/getEnginesNodeFromRegistry.ts","../src/lib/getIgnoredUpgradesDueToEnginesNode.ts","../src/lib/getIgnoredUpgradesDueToPeerDeps.ts","../node_modules/jsonc-parser/lib/esm/impl/scanner.js","../node_modules/jsonc-parser/lib/esm/impl/string-intern.js","../node_modules/jsonc-parser/lib/esm/impl/parser.js","../node_modules/jsonc-parser/lib/esm/main.js","../src/lib/utils/parseJson.ts","../src/lib/runLocal.ts","../src/lib/defineConfig.ts","../src/index.ts"],"sourcesContent":["'use strict';\n\nlet FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM, isTTY=true;\nif (typeof process !== 'undefined') {\n\t({ FORCE_COLOR, NODE_DISABLE_COLORS, NO_COLOR, TERM } = process.env || {});\n\tisTTY = process.stdout && process.stdout.isTTY;\n}\n\nconst $ = {\n\tenabled: !NODE_DISABLE_COLORS && NO_COLOR == null && TERM !== 'dumb' && (\n\t\tFORCE_COLOR != null && FORCE_COLOR !== '0' || isTTY\n\t),\n\n\t// modifiers\n\treset: init(0, 0),\n\tbold: init(1, 22),\n\tdim: init(2, 22),\n\titalic: init(3, 23),\n\tunderline: init(4, 24),\n\tinverse: init(7, 27),\n\thidden: init(8, 28),\n\tstrikethrough: init(9, 29),\n\n\t// colors\n\tblack: init(30, 39),\n\tred: init(31, 39),\n\tgreen: init(32, 39),\n\tyellow: init(33, 39),\n\tblue: init(34, 39),\n\tmagenta: init(35, 39),\n\tcyan: init(36, 39),\n\twhite: init(37, 39),\n\tgray: init(90, 39),\n\tgrey: init(90, 39),\n\n\t// background colors\n\tbgBlack: init(40, 49),\n\tbgRed: init(41, 49),\n\tbgGreen: init(42, 49),\n\tbgYellow: init(43, 49),\n\tbgBlue: init(44, 49),\n\tbgMagenta: init(45, 49),\n\tbgCyan: init(46, 49),\n\tbgWhite: init(47, 49)\n};\n\nfunction run(arr, str) {\n\tlet i=0, tmp, beg='', end='';\n\tfor (; i < arr.length; i++) {\n\t\ttmp = arr[i];\n\t\tbeg += tmp.open;\n\t\tend += tmp.close;\n\t\tif (!!~str.indexOf(tmp.close)) {\n\t\t\tstr = str.replace(tmp.rgx, tmp.close + tmp.open);\n\t\t}\n\t}\n\treturn beg + str + end;\n}\n\nfunction chain(has, keys) {\n\tlet ctx = { has, keys };\n\n\tctx.reset = $.reset.bind(ctx);\n\tctx.bold = $.bold.bind(ctx);\n\tctx.dim = $.dim.bind(ctx);\n\tctx.italic = $.italic.bind(ctx);\n\tctx.underline = $.underline.bind(ctx);\n\tctx.inverse = $.inverse.bind(ctx);\n\tctx.hidden = $.hidden.bind(ctx);\n\tctx.strikethrough = $.strikethrough.bind(ctx);\n\n\tctx.black = $.black.bind(ctx);\n\tctx.red = $.red.bind(ctx);\n\tctx.green = $.green.bind(ctx);\n\tctx.yellow = $.yellow.bind(ctx);\n\tctx.blue = $.blue.bind(ctx);\n\tctx.magenta = $.magenta.bind(ctx);\n\tctx.cyan = $.cyan.bind(ctx);\n\tctx.white = $.white.bind(ctx);\n\tctx.gray = $.gray.bind(ctx);\n\tctx.grey = $.grey.bind(ctx);\n\n\tctx.bgBlack = $.bgBlack.bind(ctx);\n\tctx.bgRed = $.bgRed.bind(ctx);\n\tctx.bgGreen = $.bgGreen.bind(ctx);\n\tctx.bgYellow = $.bgYellow.bind(ctx);\n\tctx.bgBlue = $.bgBlue.bind(ctx);\n\tctx.bgMagenta = $.bgMagenta.bind(ctx);\n\tctx.bgCyan = $.bgCyan.bind(ctx);\n\tctx.bgWhite = $.bgWhite.bind(ctx);\n\n\treturn ctx;\n}\n\nfunction init(open, close) {\n\tlet blk = {\n\t\topen: `\\x1b[${open}m`,\n\t\tclose: `\\x1b[${close}m`,\n\t\trgx: new RegExp(`\\\\x1b\\\\[${close}m`, 'g')\n\t};\n\treturn function (txt) {\n\t\tif (this !== void 0 && this.has !== void 0) {\n\t\t\t!!~this.has.indexOf(open) || (this.has.push(open),this.keys.push(blk));\n\t\t\treturn txt === void 0 ? this : $.enabled ? run(this.keys, txt+'') : txt+'';\n\t\t}\n\t\treturn txt === void 0 ? chain([open], [blk]) : $.enabled ? run([blk], txt+'') : txt+'';\n\t};\n}\n\nmodule.exports = $;\n","'use strict';\n\nmodule.exports = (key, isSelect) => {\n if (key.meta && key.name !== 'escape') return;\n \n if (key.ctrl) {\n if (key.name === 'a') return 'first';\n if (key.name === 'c') return 'abort';\n if (key.name === 'd') return 'abort';\n if (key.name === 'e') return 'last';\n if (key.name === 'g') return 'reset';\n }\n \n if (isSelect) {\n if (key.name === 'j') return 'down';\n if (key.name === 'k') return 'up';\n }\n\n if (key.name === 'return') return 'submit';\n if (key.name === 'enter') return 'submit'; // ctrl + J\n if (key.name === 'backspace') return 'delete';\n if (key.name === 'delete') return 'deleteForward';\n if (key.name === 'abort') return 'abort';\n if (key.name === 'escape') return 'exit';\n if (key.name === 'tab') return 'next';\n if (key.name === 'pagedown') return 'nextPage';\n if (key.name === 'pageup') return 'prevPage';\n // TODO create home() in prompt types (e.g. TextPrompt)\n if (key.name === 'home') return 'home';\n // TODO create end() in prompt types (e.g. TextPrompt)\n if (key.name === 'end') return 'end';\n\n if (key.name === 'up') return 'up';\n if (key.name === 'down') return 'down';\n if (key.name === 'right') return 'right';\n if (key.name === 'left') return 'left';\n\n return false;\n};\n","'use strict';\n\nmodule.exports = str => {\n const pattern = [\n '[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)',\n '(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PRZcf-ntqry=><~]))'\n ].join('|');\n\n const RGX = new RegExp(pattern, 'g');\n return typeof str === 'string' ? str.replace(RGX, '') : str;\n};\n","'use strict';\n\nconst ESC = '\\x1B';\nconst CSI = `${ESC}[`;\nconst beep = '\\u0007';\n\nconst cursor = {\n to(x, y) {\n if (!y) return `${CSI}${x + 1}G`;\n return `${CSI}${y + 1};${x + 1}H`;\n },\n move(x, y) {\n let ret = '';\n\n if (x < 0) ret += `${CSI}${-x}D`;\n else if (x > 0) ret += `${CSI}${x}C`;\n\n if (y < 0) ret += `${CSI}${-y}A`;\n else if (y > 0) ret += `${CSI}${y}B`;\n\n return ret;\n },\n up: (count = 1) => `${CSI}${count}A`,\n down: (count = 1) => `${CSI}${count}B`,\n forward: (count = 1) => `${CSI}${count}C`,\n backward: (count = 1) => `${CSI}${count}D`,\n nextLine: (count = 1) => `${CSI}E`.repeat(count),\n prevLine: (count = 1) => `${CSI}F`.repeat(count),\n left: `${CSI}G`,\n hide: `${CSI}?25l`,\n show: `${CSI}?25h`,\n save: `${ESC}7`,\n restore: `${ESC}8`\n}\n\nconst scroll = {\n up: (count = 1) => `${CSI}S`.repeat(count),\n down: (count = 1) => `${CSI}T`.repeat(count)\n}\n\nconst erase = {\n screen: `${CSI}2J`,\n up: (count = 1) => `${CSI}1J`.repeat(count),\n down: (count = 1) => `${CSI}J`.repeat(count),\n line: `${CSI}2K`,\n lineEnd: `${CSI}K`,\n lineStart: `${CSI}1K`,\n lines(count) {\n let clear = '';\n for (let i = 0; i < count; i++)\n clear += this.line + (i < count - 1 ? cursor.up() : '');\n if (count)\n clear += cursor.left;\n return clear;\n }\n}\n\nmodule.exports = { cursor, scroll, erase, beep };\n","'use strict';\n\nconst strip = require('./strip');\nconst { erase, cursor } = require('sisteransi');\n\nconst width = str => [...strip(str)].length;\n\n/**\n * @param {string} prompt\n * @param {number} perLine\n */\nmodule.exports = function(prompt, perLine) {\n if (!perLine) return erase.line + cursor.to(0);\n\n let rows = 0;\n const lines = prompt.split(/\\r?\\n/);\n for (let line of lines) {\n rows += 1 + Math.floor(Math.max(width(line) - 1, 0) / perLine);\n }\n\n return erase.lines(rows);\n};\n","'use strict';\t\n\n const main = {\n arrowUp: '↑',\n arrowDown: '↓',\n arrowLeft: '←',\n arrowRight: '→',\n radioOn: '◉',\n radioOff: '◯',\n tick: '✔',\t\n cross: '✖',\t\n ellipsis: '…',\t\n pointerSmall: '›',\t\n line: '─',\t\n pointer: '❯'\t\n};\t\nconst win = {\n arrowUp: main.arrowUp,\n arrowDown: main.arrowDown,\n arrowLeft: main.arrowLeft,\n arrowRight: main.arrowRight,\n radioOn: '(*)',\n radioOff: '( )',\t\n tick: '√',\t\n cross: '×',\t\n ellipsis: '...',\t\n pointerSmall: '»',\t\n line: '─',\t\n pointer: '>'\t\n};\t\nconst figures = process.platform === 'win32' ? win : main;\t\n\n module.exports = figures;\n","'use strict';\n\nconst c = require('kleur');\nconst figures = require('./figures');\n\n// rendering user input.\nconst styles = Object.freeze({\n password: { scale: 1, render: input => '*'.repeat(input.length) },\n emoji: { scale: 2, render: input => '😃'.repeat(input.length) },\n invisible: { scale: 0, render: input => '' },\n default: { scale: 1, render: input => `${input}` }\n});\nconst render = type => styles[type] || styles.default;\n\n// icon to signalize a prompt.\nconst symbols = Object.freeze({\n aborted: c.red(figures.cross),\n done: c.green(figures.tick),\n exited: c.yellow(figures.cross),\n default: c.cyan('?')\n});\n\nconst symbol = (done, aborted, exited) =>\n aborted ? symbols.aborted : exited ? symbols.exited : done ? symbols.done : symbols.default;\n\n// between the question and the user's input.\nconst delimiter = completing =>\n c.gray(completing ? figures.ellipsis : figures.pointerSmall);\n\nconst item = (expandable, expanded) =>\n c.gray(expandable ? (expanded ? figures.pointerSmall : '+') : figures.line);\n\nmodule.exports = {\n styles,\n render,\n symbols,\n symbol,\n delimiter,\n item\n};\n","'use strict';\n\nconst strip = require('./strip');\n\n/**\n * @param {string} msg\n * @param {number} perLine\n */\nmodule.exports = function (msg, perLine) {\n let lines = String(strip(msg) || '').split(/\\r?\\n/);\n\n if (!perLine) return lines.length;\n return lines.map(l => Math.ceil(l.length / perLine))\n .reduce((a, b) => a + b);\n};\n","'use strict';\n\n/**\n * @param {string} msg The message to wrap\n * @param {object} opts\n * @param {number|string} [opts.margin] Left margin\n * @param {number} opts.width Maximum characters per line including the margin\n */\nmodule.exports = (msg, opts = {}) => {\n const tab = Number.isSafeInteger(parseInt(opts.margin))\n ? new Array(parseInt(opts.margin)).fill(' ').join('')\n : (opts.margin || '');\n\n const width = opts.width;\n\n return (msg || '').split(/\\r?\\n/g)\n .map(line => line\n .split(/\\s+/g)\n .reduce((arr, w) => {\n if (w.length + tab.length >= width || arr[arr.length - 1].length + w.length + 1 < width)\n arr[arr.length - 1] += ` ${w}`;\n else arr.push(`${tab}${w}`);\n return arr;\n }, [ tab ])\n .join('\\n'))\n .join('\\n');\n};\n","'use strict';\n\n/**\n * Determine what entries should be displayed on the screen, based on the\n * currently selected index and the maximum visible. Used in list-based\n * prompts like `select` and `multiselect`.\n *\n * @param {number} cursor the currently selected entry\n * @param {number} total the total entries available to display\n * @param {number} [maxVisible] the number of entries that can be displayed\n */\nmodule.exports = (cursor, total, maxVisible) => {\n maxVisible = maxVisible || total;\n\n let startIndex = Math.min(total- maxVisible, cursor - Math.floor(maxVisible / 2));\n if (startIndex < 0) startIndex = 0;\n\n let endIndex = Math.min(startIndex + maxVisible, total);\n\n return { startIndex, endIndex };\n};\n","'use strict';\n\nmodule.exports = {\n action: require('./action'),\n clear: require('./clear'),\n style: require('./style'),\n strip: require('./strip'),\n figures: require('./figures'),\n lines: require('./lines'),\n wrap: require('./wrap'),\n entriesToDisplay: require('./entriesToDisplay')\n};\n","'use strict';\n\nconst readline = require('readline');\nconst { action } = require('../util');\nconst EventEmitter = require('events');\nconst { beep, cursor } = require('sisteransi');\nconst color = require('kleur');\n\n/**\n * Base prompt skeleton\n * @param {Stream} [opts.stdin] The Readable stream to listen to\n * @param {Stream} [opts.stdout] The Writable stream to write readline data to\n */\nclass Prompt extends EventEmitter {\n constructor(opts={}) {\n super();\n\n this.firstRender = true;\n this.in = opts.stdin || process.stdin;\n this.out = opts.stdout || process.stdout;\n this.onRender = (opts.onRender || (() => void 0)).bind(this);\n const rl = readline.createInterface({ input:this.in, escapeCodeTimeout:50 });\n readline.emitKeypressEvents(this.in, rl);\