From aa0152b58f34f8cdae05be63853c6e0ace03236a Mon Sep 17 00:00:00 2001 From: isaacs Date: Mon, 24 Aug 2020 14:39:47 -0700 Subject: [PATCH] Detect CI properly in flatOptions generation * Also, test this with a mock, so that tests pass in CI. * test: streamline snapshot on config test * test: add workaround for node 10's broken promises * test: make cache dir cross-platform consistent in config test PR-URL: https://github.com/npm/cli/pull/1719 Credit: @isaacs Close: #1719 Reviewed-by: @ruyadorno --- lib/utils/config.js | 4 +- .../test-lib-utils-config.js-TAP.test.js | 2670 +++-------------- test/lib/npm.js | 3 + test/lib/utils/config.js | 54 + 4 files changed, 462 insertions(+), 2269 deletions(-) diff --git a/lib/utils/config.js b/lib/utils/config.js index 5c063c5b863df..a7fd131d45590 100644 --- a/lib/utils/config.js +++ b/lib/utils/config.js @@ -9,6 +9,8 @@ const { } } = require('@npmcli/config') +const ciDetect = require('@npmcli/ci-detect') + const isWindows = require('./is-windows.js') const editor = process.env.EDITOR || @@ -132,7 +134,7 @@ const defaults = { 'prefer-online': false, preid: '', production: process.env.NODE_ENV === 'production', - progress: !process.env.TRAVIS && !process.env.CI, + progress: !ciDetect(), proxy: null, 'https-proxy': null, noproxy: null, diff --git a/tap-snapshots/test-lib-utils-config.js-TAP.test.js b/tap-snapshots/test-lib-utils-config.js-TAP.test.js index f109597a0b540..eb3ad9e315044 100644 --- a/tap-snapshots/test-lib-utils-config.js-TAP.test.js +++ b/tap-snapshots/test-lib-utils-config.js-TAP.test.js @@ -20,7 +20,7 @@ Object { "bin-links": true, "browser": null, "ca": null, - "cache": "~/npm-cache", + "cache": "{CACHE DIR} npm-cache", "cache-lock-retries": 10, "cache-lock-stale": 60000, "cache-lock-wait": 10000, @@ -265,15 +265,15 @@ Object { "restricted", "public", ], - "all": Function Boolean(), - "allow-same-version": Function Boolean(), + "all": "{Boolean TYPE}", + "allow-same-version": "{Boolean TYPE}", "also": Array [ null, "dev", "development", ], - "always-auth": Function Boolean(), - "audit": Function Boolean(), + "always-auth": "{Boolean TYPE}", + "audit": "{Boolean TYPE}", "audit-level": Array [ "low", "moderate", @@ -290,425 +290,97 @@ Object { ], "before": Array [ null, - Function Date(), + "{Date TYPE}", ], - "bin-links": Function Boolean(), + "bin-links": "{Boolean TYPE}", "browser": Array [ null, - Function Boolean(), - Function String(), + "{Boolean TYPE}", + "{String TYPE}", ], "ca": Array [ null, - Function String(), - Function Array(), - ], - "cache": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "cache-lock-retries": Function Number(), - "cache-lock-stale": Function Number(), - "cache-lock-wait": Function Number(), - "cache-max": Function Number(), - "cache-min": Function Number(), - "cafile": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "call": Function String(), + "{String TYPE}", + "{Array TYPE}", + ], + "cache": "{PATH MODULE}", + "cache-lock-retries": "{Number TYPE}", + "cache-lock-stale": "{Number TYPE}", + "cache-lock-wait": "{Number TYPE}", + "cache-max": "{Number TYPE}", + "cache-min": "{Number TYPE}", + "cafile": "{PATH MODULE}", + "call": "{String TYPE}", "cert": Array [ null, - Function String(), + "{String TYPE}", ], "cidr": Array [ null, - Function String(), - Function Array(), + "{String TYPE}", + "{Array TYPE}", ], "color": Array [ "always", - Function Boolean(), - ], - "commit-hooks": Function Boolean(), - "depth": Function Number(), - "description": Function Boolean(), - "dev": Function Boolean(), - "dry-run": Function Boolean(), - "editor": Function String(), - "engine-strict": Function Boolean(), - "fetch-retries": Function Number(), - "fetch-retry-factor": Function Number(), - "fetch-retry-maxtimeout": Function Number(), - "fetch-retry-mintimeout": Function Number(), - "force": Function Boolean(), - "format-package-lock": Function Boolean(), - "fund": Function Boolean(), - "git": Function String(), - "git-tag-version": Function Boolean(), - "global": Function Boolean(), - "global-style": Function Boolean(), - "globalconfig": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, + "{Boolean TYPE}", + ], + "commit-hooks": "{Boolean TYPE}", + "depth": "{Number TYPE}", + "description": "{Boolean TYPE}", + "dev": "{Boolean TYPE}", + "dry-run": "{Boolean TYPE}", + "editor": "{String TYPE}", + "engine-strict": "{Boolean TYPE}", + "fetch-retries": "{Number TYPE}", + "fetch-retry-factor": "{Number TYPE}", + "fetch-retry-maxtimeout": "{Number TYPE}", + "fetch-retry-mintimeout": "{Number TYPE}", + "force": "{Boolean TYPE}", + "format-package-lock": "{Boolean TYPE}", + "fund": "{Boolean TYPE}", + "git": "{String TYPE}", + "git-tag-version": "{Boolean TYPE}", + "global": "{Boolean TYPE}", + "global-style": "{Boolean TYPE}", + "globalconfig": "{PATH MODULE}", "group": Array [ - Function Number(), - Function String(), + "{Number TYPE}", + "{String TYPE}", ], - "ham-it-up": Function Boolean(), - "heading": Function String(), + "ham-it-up": "{Boolean TYPE}", + "heading": "{String TYPE}", "https-proxy": Array [ null, - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "if-present": Function Boolean(), - "ignore-prepublish": Function Boolean(), - "ignore-scripts": Function Boolean(), + "{URL MODULE}", + ], + "if-present": "{Boolean TYPE}", + "ignore-prepublish": "{Boolean TYPE}", + "ignore-scripts": "{Boolean TYPE}", "include": Array [ - Function Array(), + "{Array TYPE}", "prod", "dev", "optional", "peer", ], - "include-staged": Function Boolean(), - "init-author-email": Function String(), - "init-author-name": Function String(), + "include-staged": "{Boolean TYPE}", + "init-author-email": "{String TYPE}", + "init-author-name": "{String TYPE}", "init-author-url": Array [ "", - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "init-license": Function String(), - "init-module": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "init-version": Object { - "clean": Function clean(version, options), - "cmp": Function cmp(a, op, b, loose), - "coerce": Function coerce(version, options), - "Comparator": Function Comparator(classComparator), - "compare": Function compare(a, b, loose), - "compareBuild": Function compareBuild(a, b, loose), - "compareIdentifiers": Function compareIdentifiers(a, b), - "compareLoose": Function compareLoose(a, b), - "diff": Function diff(version1, version2), - "eq": Function eq(a, b, loose), - "gt": Function gt(a, b, loose), - "gte": Function gte(a, b, loose), - "gtr": Function gtr(version, range, options), - "inc": Function inc(version, release, options, identifier), - "intersects": Function intersects(r1, r2, options), - "lt": Function lt(a, b, loose), - "lte": Function lte(a, b, loose), - "ltr": Function ltr(version, range, options), - "major": Function major(a, loose), - "maxSatisfying": Function maxSatisfying(versions, range, options), - "minor": Function minor(a, loose), - "minSatisfying": Function minSatisfying(versions, range, options), - "minVersion": Function minVersion(range, loose), - "neq": Function neq(a, b, loose), - "outside": Function outside(version, range, hilo, options), - "parse": Function parse(version, options), - "patch": Function patch(a, loose), - "prerelease": Function prerelease(version, options), - "Range": Function Range(classRange), - "rcompare": Function rcompare(a, b, loose), - "rcompareIdentifiers": Function rcompareIdentifiers(a, b), - "re": Array [ - /0|[1-9]\\d*/, - /[0-9]+/, - /\\d*[a-zA-Z-][a-zA-Z0-9-]*/, - /(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)/, - /([0-9]+)\\.([0-9]+)\\.([0-9]+)/, - /(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)/, - /(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)/, - /(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))/, - /(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))/, - /[0-9A-Za-z-]+/, - /(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))/, - /v?(0|[1-9]\\d*)\\.(0|[1-9]\\d*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\.[0-9A-Za-z-]+)*))?)?)?)\\s*$/, - /^\\s*([v=\\s]*([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?)?)?)\\s+-\\s+([v=\\s]*([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?)?)?)\\s*$/, - /(<|>)?=?\\s*\\*/, - /^\\s*>=\\s*0.0.0\\s*$/, - /^\\s*>=\\s*0.0.0-0\\s*$/, - ], - "rsort": Function rsort(list, loose), - "satisfies": Function satisfies(version, range, options), - "SemVer": Function SemVer(classSemVer), - "SEMVER_SPEC_VERSION": "2.0.0", - "simplifyRange": Function (versions, range, options), - "sort": Function sort(list, loose), - "src": Array [ - "0|[1-9]\\\\d*", - "[0-9]+", - "\\\\d*[a-zA-Z-][a-zA-Z0-9-]*", - "(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)", - "([0-9]+)\\\\.([0-9]+)\\\\.([0-9]+)", - "(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)", - "(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)", - "(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))", - "(?:-?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x|X|\\\\*)(?:(?:-?((?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?)?)?)\\\\s*$", - "(<|>)?=?\\\\s*\\\\*", - "^\\\\s*>=\\\\s*0.0.0\\\\s*$", - "^\\\\s*>=\\\\s*0.0.0-0\\\\s*$", - ], - "subset": Function subset(sub, dom, options), - "toComparators": Function toComparators(range, options), - "tokens": Object { - "BUILD": 10, - "BUILDIDENTIFIER": 9, - "CARET": 30, - "CARETLOOSE": 31, - "CARETTRIM": 29, - "COERCE": 22, - "COERCERTL": 23, - "COMPARATOR": 33, - "COMPARATORLOOSE": 32, - "COMPARATORTRIM": 34, - "FULL": 12, - "FULLPLAIN": 11, - "GTE0": 38, - "GTE0PRE": 39, - "GTLT": 15, - "HYPHENRANGE": 35, - "HYPHENRANGELOOSE": 36, - "LONECARET": 28, - "LONETILDE": 24, - "LOOSE": 14, - "LOOSEPLAIN": 13, - "MAINVERSION": 3, - "MAINVERSIONLOOSE": 4, - "NONNUMERICIDENTIFIER": 2, - "NUMERICIDENTIFIER": 0, - "NUMERICIDENTIFIERLOOSE": 1, - "PRERELEASE": 7, - "PRERELEASEIDENTIFIER": 5, - "PRERELEASEIDENTIFIERLOOSE": 6, - "PRERELEASELOOSE": 8, - "STAR": 37, - "TILDE": 26, - "TILDELOOSE": 27, - "TILDETRIM": 25, - "XRANGE": 20, - "XRANGEIDENTIFIER": 17, - "XRANGEIDENTIFIERLOOSE": 16, - "XRANGELOOSE": 21, - "XRANGEPLAIN": 18, - "XRANGEPLAINLOOSE": 19, - }, - "valid": Function valid(version, options), - "validRange": Function validRange(range, options), - }, - "json": Function Boolean(), + "{URL MODULE}", + ], + "init-license": "{String TYPE}", + "init-module": "{PATH MODULE}", + "init-version": "{SEMVER MODULE}", + "json": "{Boolean TYPE}", "key": Array [ null, - Function String(), + "{String TYPE}", ], - "legacy-bundling": Function Boolean(), - "legacy-peer-deps": Function Boolean(), - "link": Function Boolean(), + "legacy-bundling": "{Boolean TYPE}", + "legacy-peer-deps": "{Boolean TYPE}", + "link": "{Boolean TYPE}", "local-address": Array [ undefined, ], @@ -723,198 +395,30 @@ Object { "verbose", "silly", ], - "logs-max": Function Number(), - "long": Function Boolean(), - "maxsockets": Function Number(), - "message": Function String(), + "logs-max": "{Number TYPE}", + "long": "{Boolean TYPE}", + "maxsockets": "{Number TYPE}", + "message": "{String TYPE}", "metrics-registry": Array [ null, - Function String(), + "{String TYPE}", ], "node-options": Array [ null, - Function String(), + "{String TYPE}", ], "node-version": Array [ null, - Object { - "clean": Function clean(version, options), - "cmp": Function cmp(a, op, b, loose), - "coerce": Function coerce(version, options), - "Comparator": Function Comparator(classComparator), - "compare": Function compare(a, b, loose), - "compareBuild": Function compareBuild(a, b, loose), - "compareIdentifiers": Function compareIdentifiers(a, b), - "compareLoose": Function compareLoose(a, b), - "diff": Function diff(version1, version2), - "eq": Function eq(a, b, loose), - "gt": Function gt(a, b, loose), - "gte": Function gte(a, b, loose), - "gtr": Function gtr(version, range, options), - "inc": Function inc(version, release, options, identifier), - "intersects": Function intersects(r1, r2, options), - "lt": Function lt(a, b, loose), - "lte": Function lte(a, b, loose), - "ltr": Function ltr(version, range, options), - "major": Function major(a, loose), - "maxSatisfying": Function maxSatisfying(versions, range, options), - "minor": Function minor(a, loose), - "minSatisfying": Function minSatisfying(versions, range, options), - "minVersion": Function minVersion(range, loose), - "neq": Function neq(a, b, loose), - "outside": Function outside(version, range, hilo, options), - "parse": Function parse(version, options), - "patch": Function patch(a, loose), - "prerelease": Function prerelease(version, options), - "Range": Function Range(classRange), - "rcompare": Function rcompare(a, b, loose), - "rcompareIdentifiers": Function rcompareIdentifiers(a, b), - "re": Array [ - /0|[1-9]\\d*/, - /[0-9]+/, - /\\d*[a-zA-Z-][a-zA-Z0-9-]*/, - /(0|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version, range, options), - "SemVer": Function SemVer(classSemVer), - "SEMVER_SPEC_VERSION": "2.0.0", - "simplifyRange": Function (versions, range, options), - "sort": Function sort(list, loose), - "src": Array [ - "0|[1-9]\\\\d*", - "[0-9]+", - "\\\\d*[a-zA-Z-][a-zA-Z0-9-]*", - "(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)", - "([0-9]+)\\\\.([0-9]+)\\\\.([0-9]+)", - "(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)", - "(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)", - "(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))", - "(?:-?((?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))", - "[0-9A-Za-z-]+", - "(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))", - "v?(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?", - "^v?(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-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Z-][a-zA-Z0-9-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?)?)?)\\\\s*$", - "^\\\\s*([v=\\\\s]*([0-9]+|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:(?:-?((?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?)?)?)\\\\s+-\\\\s+([v=\\\\s]*([0-9]+|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:(?:-?((?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?)?)?)\\\\s*$", - "(<|>)?=?\\\\s*\\\\*", - "^\\\\s*>=\\\\s*0.0.0\\\\s*$", - "^\\\\s*>=\\\\s*0.0.0-0\\\\s*$", - ], - "subset": Function subset(sub, dom, options), - "toComparators": Function toComparators(range, options), - "tokens": Object { - "BUILD": 10, - "BUILDIDENTIFIER": 9, - "CARET": 30, - "CARETLOOSE": 31, - "CARETTRIM": 29, - "COERCE": 22, - "COERCERTL": 23, - "COMPARATOR": 33, - "COMPARATORLOOSE": 32, - "COMPARATORTRIM": 34, - "FULL": 12, - "FULLPLAIN": 11, - "GTE0": 38, - "GTE0PRE": 39, - "GTLT": 15, - "HYPHENRANGE": 35, - "HYPHENRANGELOOSE": 36, - "LONECARET": 28, - "LONETILDE": 24, - "LOOSE": 14, - "LOOSEPLAIN": 13, - "MAINVERSION": 3, - "MAINVERSIONLOOSE": 4, - "NONNUMERICIDENTIFIER": 2, - "NUMERICIDENTIFIER": 0, - "NUMERICIDENTIFIERLOOSE": 1, - "PRERELEASE": 7, - "PRERELEASEIDENTIFIER": 5, - "PRERELEASEIDENTIFIERLOOSE": 6, - "PRERELEASELOOSE": 8, - "STAR": 37, - "TILDE": 26, - "TILDELOOSE": 27, - "TILDETRIM": 25, - "XRANGE": 20, - "XRANGEIDENTIFIER": 17, - "XRANGEIDENTIFIERLOOSE": 16, - "XRANGELOOSE": 21, - "XRANGEPLAIN": 18, - "XRANGEPLAINLOOSE": 19, - }, - "valid": Function valid(version, options), - "validRange": Function validRange(range, options), - }, + "{SEMVER MODULE}", ], "noproxy": Array [ null, - Function String(), - Function Array(), + "{String TYPE}", + "{Array TYPE}", ], - "offline": Function Boolean(), + "offline": "{Boolean TYPE}", "omit": Array [ - Function Array(), + "{Array TYPE}", "dev", "optional", "peer", @@ -926,211 +430,85 @@ Object { "prod", "production", ], - "optional": Function Boolean(), + "optional": "{Boolean TYPE}", "otp": Array [ null, - Function String(), + "{String TYPE}", ], "package": Array [ - Function String(), - Function Array(), - ], - "package-lock": Function Boolean(), - "package-lock-only": Function Boolean(), - "parseable": Function Boolean(), - "prefer-offline": Function Boolean(), - "prefer-online": Function Boolean(), - "prefix": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "preid": Function String(), - "production": Function Boolean(), - "progress": Function Boolean(), + "{String TYPE}", + "{Array TYPE}", + ], + "package-lock": "{Boolean TYPE}", + "package-lock-only": "{Boolean TYPE}", + "parseable": "{Boolean TYPE}", + "prefer-offline": "{Boolean TYPE}", + "prefer-online": "{Boolean TYPE}", + "prefix": "{PATH MODULE}", + "preid": "{String TYPE}", + "production": "{Boolean TYPE}", + "progress": "{Boolean TYPE}", "proxy": Array [ null, false, - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "read-only": Function Boolean(), - "rebuild-bundle": Function Boolean(), + "{URL MODULE}", + ], + "read-only": "{Boolean TYPE}", + "rebuild-bundle": "{Boolean TYPE}", "registry": Array [ null, - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "rollback": Function Boolean(), - "save": Function Boolean(), - "save-bundle": Function Boolean(), - "save-dev": Function Boolean(), - "save-exact": Function Boolean(), - "save-optional": Function Boolean(), - "save-prefix": Function String(), - "save-prod": Function Boolean(), - "scope": Function String(), + "{URL MODULE}", + ], + "rollback": "{Boolean TYPE}", + "save": "{Boolean TYPE}", + "save-bundle": "{Boolean TYPE}", + "save-dev": "{Boolean TYPE}", + "save-exact": "{Boolean TYPE}", + "save-optional": "{Boolean TYPE}", + "save-prefix": "{String TYPE}", + "save-prod": "{Boolean TYPE}", + "scope": "{String TYPE}", "script-shell": Array [ null, - Function String(), + "{String TYPE}", ], "scripts-prepend-node-path": Array [ - Function Boolean(), + "{Boolean TYPE}", "auto", "warn-only", ], "searchexclude": Array [ null, - Function String(), - ], - "searchlimit": Function Number(), - "searchopts": Function String(), - "searchstaleness": Function Number(), - "send-metrics": Function Boolean(), - "shell": Function String(), - "shrinkwrap": Function Boolean(), - "sign-git-commit": Function Boolean(), - "sign-git-tag": Function Boolean(), - "sso-poll-frequency": Function Number(), + "{String TYPE}", + ], + "searchlimit": "{Number TYPE}", + "searchopts": "{String TYPE}", + "searchstaleness": "{Number TYPE}", + "send-metrics": "{Boolean TYPE}", + "shell": "{String TYPE}", + "shrinkwrap": "{Boolean TYPE}", + "sign-git-commit": "{Boolean TYPE}", + "sign-git-tag": "{Boolean TYPE}", + "sso-poll-frequency": "{Number TYPE}", "sso-type": Array [ null, "oauth", "saml", ], - "strict-ssl": Function Boolean(), - "tag": Function String(), - "tag-version-prefix": Function String(), - "timing": Function Boolean(), - "tmp": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "umask": Function Umask(classUmask), - "unicode": Function Boolean(), - "update-notifier": Function Boolean(), - "usage": Function Boolean(), - "user-agent": Function String(), - "userconfig": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "version": Function Boolean(), - "versions": Function Boolean(), - "viewer": Function String(), + "strict-ssl": "{Boolean TYPE}", + "tag": "{String TYPE}", + "tag-version-prefix": "{String TYPE}", + "timing": "{Boolean TYPE}", + "tmp": "{PATH MODULE}", + "umask": "{Umask TYPE}", + "unicode": "{Boolean TYPE}", + "update-notifier": "{Boolean TYPE}", + "usage": "{Boolean TYPE}", + "user-agent": "{String TYPE}", + "userconfig": "{PATH MODULE}", + "version": "{Boolean TYPE}", + "versions": "{Boolean TYPE}", + "viewer": "{String TYPE}", }, } ` @@ -1150,7 +528,7 @@ Object { "bin-links": true, "browser": null, "ca": null, - "cache": "~/npm-cache", + "cache": "{CACHE DIR} npm-cache", "cache-lock-retries": 10, "cache-lock-stale": 60000, "cache-lock-wait": 10000, @@ -1395,15 +773,15 @@ Object { "restricted", "public", ], - "all": Function Boolean(), - "allow-same-version": Function Boolean(), + "all": "{Boolean TYPE}", + "allow-same-version": "{Boolean TYPE}", "also": Array [ null, "dev", "development", ], - "always-auth": Function Boolean(), - "audit": Function Boolean(), + "always-auth": "{Boolean TYPE}", + "audit": "{Boolean TYPE}", "audit-level": Array [ "low", "moderate", @@ -1420,425 +798,97 @@ Object { ], "before": Array [ null, - Function Date(), + "{Date TYPE}", ], - "bin-links": Function Boolean(), + "bin-links": "{Boolean TYPE}", "browser": Array [ null, - Function Boolean(), - Function String(), + "{Boolean TYPE}", + "{String TYPE}", ], "ca": Array [ null, - Function String(), - Function Array(), - ], - "cache": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "cache-lock-retries": Function Number(), - "cache-lock-stale": Function Number(), - "cache-lock-wait": Function Number(), - "cache-max": Function Number(), - "cache-min": Function Number(), - "cafile": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "call": Function String(), + "{String TYPE}", + "{Array TYPE}", + ], + "cache": "{PATH MODULE}", + "cache-lock-retries": "{Number TYPE}", + "cache-lock-stale": "{Number TYPE}", + "cache-lock-wait": "{Number TYPE}", + "cache-max": "{Number TYPE}", + "cache-min": "{Number TYPE}", + "cafile": "{PATH MODULE}", + "call": "{String TYPE}", "cert": Array [ null, - Function String(), + "{String TYPE}", ], "cidr": Array [ null, - Function String(), - Function Array(), + "{String TYPE}", + "{Array TYPE}", ], "color": Array [ "always", - Function Boolean(), - ], - "commit-hooks": Function Boolean(), - "depth": Function Number(), - "description": Function Boolean(), - "dev": Function Boolean(), - "dry-run": Function Boolean(), - "editor": Function String(), - "engine-strict": Function Boolean(), - "fetch-retries": Function Number(), - "fetch-retry-factor": Function Number(), - "fetch-retry-maxtimeout": Function Number(), - "fetch-retry-mintimeout": Function Number(), - "force": Function Boolean(), - "format-package-lock": Function Boolean(), - "fund": Function Boolean(), - "git": Function String(), - "git-tag-version": Function Boolean(), - "global": Function Boolean(), - "global-style": Function Boolean(), - "globalconfig": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, + "{Boolean TYPE}", + ], + "commit-hooks": "{Boolean TYPE}", + "depth": "{Number TYPE}", + "description": "{Boolean TYPE}", + "dev": "{Boolean TYPE}", + "dry-run": "{Boolean TYPE}", + "editor": "{String TYPE}", + "engine-strict": "{Boolean TYPE}", + "fetch-retries": "{Number TYPE}", + "fetch-retry-factor": "{Number TYPE}", + "fetch-retry-maxtimeout": "{Number TYPE}", + "fetch-retry-mintimeout": "{Number TYPE}", + "force": "{Boolean TYPE}", + "format-package-lock": "{Boolean TYPE}", + "fund": "{Boolean TYPE}", + "git": "{String TYPE}", + "git-tag-version": "{Boolean TYPE}", + "global": "{Boolean TYPE}", + "global-style": "{Boolean TYPE}", + "globalconfig": "{PATH MODULE}", "group": Array [ - Function Number(), - Function String(), + "{Number TYPE}", + "{String TYPE}", ], - "ham-it-up": Function Boolean(), - "heading": Function String(), + "ham-it-up": "{Boolean TYPE}", + "heading": "{String TYPE}", "https-proxy": Array [ null, - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "if-present": Function Boolean(), - "ignore-prepublish": Function Boolean(), - "ignore-scripts": Function Boolean(), + "{URL MODULE}", + ], + "if-present": "{Boolean TYPE}", + "ignore-prepublish": "{Boolean TYPE}", + "ignore-scripts": "{Boolean TYPE}", "include": Array [ - Function Array(), + "{Array TYPE}", "prod", "dev", "optional", "peer", ], - "include-staged": Function Boolean(), - "init-author-email": Function String(), - "init-author-name": Function String(), + "include-staged": "{Boolean TYPE}", + "init-author-email": "{String TYPE}", + "init-author-name": "{String TYPE}", "init-author-url": Array [ "", - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "init-license": Function String(), - "init-module": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "init-version": Object { - "clean": Function clean(version, options), - "cmp": Function cmp(a, op, b, loose), - "coerce": Function coerce(version, options), - "Comparator": Function Comparator(classComparator), - "compare": Function compare(a, b, loose), - "compareBuild": Function compareBuild(a, b, loose), - "compareIdentifiers": Function compareIdentifiers(a, b), - "compareLoose": Function compareLoose(a, b), - "diff": Function diff(version1, version2), - "eq": Function eq(a, b, loose), - "gt": Function gt(a, b, loose), - "gte": Function gte(a, b, loose), - "gtr": Function gtr(version, range, options), - "inc": Function inc(version, release, options, identifier), - "intersects": Function intersects(r1, r2, options), - "lt": Function lt(a, b, loose), - "lte": Function lte(a, b, loose), - "ltr": Function ltr(version, range, options), - "major": Function major(a, loose), - "maxSatisfying": Function maxSatisfying(versions, range, options), - "minor": Function minor(a, loose), - "minSatisfying": Function minSatisfying(versions, range, options), - "minVersion": Function minVersion(range, loose), - "neq": Function neq(a, b, loose), - "outside": Function outside(version, range, hilo, options), - "parse": Function parse(version, options), - "patch": Function patch(a, loose), - "prerelease": Function prerelease(version, options), - "Range": Function Range(classRange), - "rcompare": Function rcompare(a, b, loose), - "rcompareIdentifiers": Function rcompareIdentifiers(a, b), - "re": Array [ - /0|[1-9]\\d*/, - /[0-9]+/, - /\\d*[a-zA-Z-][a-zA-Z0-9-]*/, - /(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)/, - /([0-9]+)\\.([0-9]+)\\.([0-9]+)/, - /(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)/, - /(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*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a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?)?)?)\\s+-\\s+([v=\\s]*(0|[1-9]\\d*|x|X|\\*)(?:\\.(0|[1-9]\\d*|x|X|\\*)(?:\\.(0|[1-9]\\d*|x|X|\\*)(?:(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?)?)?)\\s*$/, - /^\\s*([v=\\s]*([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?)?)?)\\s+-\\s+([v=\\s]*([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?)?)?)\\s*$/, - /(<|>)?=?\\s*\\*/, - /^\\s*>=\\s*0.0.0\\s*$/, - /^\\s*>=\\s*0.0.0-0\\s*$/, - ], - "rsort": Function rsort(list, loose), - "satisfies": Function satisfies(version, range, options), - "SemVer": Function SemVer(classSemVer), - "SEMVER_SPEC_VERSION": "2.0.0", - "simplifyRange": Function (versions, range, options), - "sort": Function sort(list, loose), - "src": Array [ - "0|[1-9]\\\\d*", - "[0-9]+", - "\\\\d*[a-zA-Z-][a-zA-Z0-9-]*", - "(0|[1-9]\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|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:(?:-?((?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?)?)?)\\\\s+-\\\\s+([v=\\\\s]*([0-9]+|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:(?:-?((?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?)?)?)\\\\s*$", - "(<|>)?=?\\\\s*\\\\*", - "^\\\\s*>=\\\\s*0.0.0\\\\s*$", - "^\\\\s*>=\\\\s*0.0.0-0\\\\s*$", - ], - "subset": Function subset(sub, dom, options), - "toComparators": Function toComparators(range, options), - "tokens": Object { - "BUILD": 10, - "BUILDIDENTIFIER": 9, - "CARET": 30, - "CARETLOOSE": 31, - "CARETTRIM": 29, - "COERCE": 22, - "COERCERTL": 23, - "COMPARATOR": 33, - "COMPARATORLOOSE": 32, - "COMPARATORTRIM": 34, - "FULL": 12, - "FULLPLAIN": 11, - "GTE0": 38, - "GTE0PRE": 39, - "GTLT": 15, - "HYPHENRANGE": 35, - "HYPHENRANGELOOSE": 36, - "LONECARET": 28, - "LONETILDE": 24, - "LOOSE": 14, - "LOOSEPLAIN": 13, - "MAINVERSION": 3, - "MAINVERSIONLOOSE": 4, - "NONNUMERICIDENTIFIER": 2, - "NUMERICIDENTIFIER": 0, - "NUMERICIDENTIFIERLOOSE": 1, - "PRERELEASE": 7, - "PRERELEASEIDENTIFIER": 5, - "PRERELEASEIDENTIFIERLOOSE": 6, - "PRERELEASELOOSE": 8, - "STAR": 37, - "TILDE": 26, - "TILDELOOSE": 27, - "TILDETRIM": 25, - "XRANGE": 20, - "XRANGEIDENTIFIER": 17, - "XRANGEIDENTIFIERLOOSE": 16, - "XRANGELOOSE": 21, - "XRANGEPLAIN": 18, - "XRANGEPLAINLOOSE": 19, - }, - "valid": Function valid(version, options), - "validRange": Function validRange(range, options), - }, - "json": Function Boolean(), + "{URL MODULE}", + ], + "init-license": "{String TYPE}", + "init-module": "{PATH MODULE}", + "init-version": "{SEMVER MODULE}", + "json": "{Boolean TYPE}", "key": Array [ null, - Function String(), + "{String TYPE}", ], - "legacy-bundling": Function Boolean(), - "legacy-peer-deps": Function Boolean(), - "link": Function Boolean(), + "legacy-bundling": "{Boolean TYPE}", + "legacy-peer-deps": "{Boolean TYPE}", + "link": "{Boolean TYPE}", "local-address": Array [ undefined, ], @@ -1853,198 +903,30 @@ Object { "verbose", "silly", ], - "logs-max": Function Number(), - "long": Function Boolean(), - "maxsockets": Function Number(), - "message": Function String(), + "logs-max": "{Number TYPE}", + "long": "{Boolean TYPE}", + "maxsockets": "{Number TYPE}", + "message": "{String TYPE}", "metrics-registry": Array [ null, - Function String(), + "{String TYPE}", ], "node-options": Array [ null, - Function String(), + "{String TYPE}", ], "node-version": Array [ null, - Object { - "clean": Function clean(version, options), - "cmp": Function cmp(a, op, b, loose), - "coerce": Function coerce(version, options), - "Comparator": Function Comparator(classComparator), - "compare": Function compare(a, b, loose), - "compareBuild": Function compareBuild(a, b, loose), - "compareIdentifiers": Function compareIdentifiers(a, b), - "compareLoose": Function compareLoose(a, b), - "diff": Function diff(version1, version2), - "eq": Function eq(a, b, loose), - "gt": Function gt(a, b, loose), - "gte": Function gte(a, b, loose), - "gtr": Function gtr(version, range, options), - "inc": Function inc(version, release, options, identifier), - "intersects": Function intersects(r1, r2, options), - "lt": Function lt(a, b, loose), - "lte": Function lte(a, b, loose), - "ltr": Function ltr(version, range, options), - "major": Function major(a, loose), - "maxSatisfying": Function maxSatisfying(versions, range, options), - "minor": Function minor(a, loose), - "minSatisfying": Function minSatisfying(versions, range, options), - "minVersion": Function minVersion(range, loose), - "neq": Function neq(a, b, loose), - "outside": Function outside(version, range, hilo, options), - "parse": Function parse(version, options), - "patch": Function patch(a, loose), - "prerelease": Function prerelease(version, options), - "Range": Function Range(classRange), - "rcompare": Function rcompare(a, b, loose), - "rcompareIdentifiers": Function rcompareIdentifiers(a, b), - "re": Array [ - /0|[1-9]\\d*/, - /[0-9]+/, - /\\d*[a-zA-Z-][a-zA-Z0-9-]*/, - /(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)/, - /([0-9]+)\\.([0-9]+)\\.([0-9]+)/, - /(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)/, - /(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)/, - /(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))/, - /(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))/, - /[0-9A-Za-z-]+/, - /(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))/, - /v?(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?/, - /^v?(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:0|[1-9]\\d*|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:\\.([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?)?)?)\\s*$/, - /(<|>)?=?\\s*\\*/, - /^\\s*>=\\s*0.0.0\\s*$/, - /^\\s*>=\\s*0.0.0-0\\s*$/, - ], - "rsort": Function rsort(list, loose), - "satisfies": Function satisfies(version, range, options), - "SemVer": Function SemVer(classSemVer), - "SEMVER_SPEC_VERSION": "2.0.0", - "simplifyRange": Function (versions, range, options), - "sort": Function sort(list, loose), - "src": Array [ - "0|[1-9]\\\\d*", - "[0-9]+", - "\\\\d*[a-zA-Z-][a-zA-Z0-9-]*", - "(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)", - "([0-9]+)\\\\.([0-9]+)\\\\.([0-9]+)", - "(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)", - "(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)", - "(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))", - "(?:-?((?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))", - "[0-9A-Za-z-]+", - "(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))", - "v?(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:0|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parators": Function toComparators(range, options), - "tokens": Object { - "BUILD": 10, - "BUILDIDENTIFIER": 9, - "CARET": 30, - "CARETLOOSE": 31, - "CARETTRIM": 29, - "COERCE": 22, - "COERCERTL": 23, - "COMPARATOR": 33, - "COMPARATORLOOSE": 32, - "COMPARATORTRIM": 34, - "FULL": 12, - "FULLPLAIN": 11, - "GTE0": 38, - "GTE0PRE": 39, - "GTLT": 15, - "HYPHENRANGE": 35, - "HYPHENRANGELOOSE": 36, - "LONECARET": 28, - "LONETILDE": 24, - "LOOSE": 14, - "LOOSEPLAIN": 13, - "MAINVERSION": 3, - "MAINVERSIONLOOSE": 4, - "NONNUMERICIDENTIFIER": 2, - "NUMERICIDENTIFIER": 0, - "NUMERICIDENTIFIERLOOSE": 1, - "PRERELEASE": 7, - "PRERELEASEIDENTIFIER": 5, - "PRERELEASEIDENTIFIERLOOSE": 6, - "PRERELEASELOOSE": 8, - "STAR": 37, - "TILDE": 26, - "TILDELOOSE": 27, - "TILDETRIM": 25, - "XRANGE": 20, - "XRANGEIDENTIFIER": 17, - "XRANGEIDENTIFIERLOOSE": 16, - "XRANGELOOSE": 21, - "XRANGEPLAIN": 18, - "XRANGEPLAINLOOSE": 19, - }, - "valid": Function valid(version, options), - "validRange": Function validRange(range, options), - }, + "{SEMVER MODULE}", ], "noproxy": Array [ null, - Function String(), - Function Array(), + "{String TYPE}", + "{Array TYPE}", ], - "offline": Function Boolean(), + "offline": "{Boolean TYPE}", "omit": Array [ - Function Array(), + "{Array TYPE}", "dev", "optional", "peer", @@ -2056,211 +938,85 @@ Object { "prod", "production", ], - "optional": Function Boolean(), + "optional": "{Boolean TYPE}", "otp": Array [ null, - Function String(), + "{String TYPE}", ], "package": Array [ - Function String(), - Function Array(), - ], - "package-lock": Function Boolean(), - "package-lock-only": Function Boolean(), - "parseable": Function Boolean(), - "prefer-offline": Function Boolean(), - "prefer-online": Function Boolean(), - "prefix": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "preid": Function String(), - "production": Function Boolean(), - "progress": Function Boolean(), + "{String TYPE}", + "{Array TYPE}", + ], + "package-lock": "{Boolean TYPE}", + "package-lock-only": "{Boolean TYPE}", + "parseable": "{Boolean TYPE}", + "prefer-offline": "{Boolean TYPE}", + "prefer-online": "{Boolean TYPE}", + "prefix": "{PATH MODULE}", + "preid": "{String TYPE}", + "production": "{Boolean TYPE}", + "progress": "{Boolean TYPE}", "proxy": Array [ null, false, - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "read-only": Function Boolean(), - "rebuild-bundle": Function Boolean(), + "{URL MODULE}", + ], + "read-only": "{Boolean TYPE}", + "rebuild-bundle": "{Boolean TYPE}", "registry": Array [ null, - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "rollback": Function Boolean(), - "save": Function Boolean(), - "save-bundle": Function Boolean(), - "save-dev": Function Boolean(), - "save-exact": Function Boolean(), - "save-optional": Function Boolean(), - "save-prefix": Function String(), - "save-prod": Function Boolean(), - "scope": Function String(), + "{URL MODULE}", + ], + "rollback": "{Boolean TYPE}", + "save": "{Boolean TYPE}", + "save-bundle": "{Boolean TYPE}", + "save-dev": "{Boolean TYPE}", + "save-exact": "{Boolean TYPE}", + "save-optional": "{Boolean TYPE}", + "save-prefix": "{String TYPE}", + "save-prod": "{Boolean TYPE}", + "scope": "{String TYPE}", "script-shell": Array [ null, - Function String(), + "{String TYPE}", ], "scripts-prepend-node-path": Array [ - Function Boolean(), + "{Boolean TYPE}", "auto", "warn-only", ], "searchexclude": Array [ null, - Function String(), - ], - "searchlimit": Function Number(), - "searchopts": Function String(), - "searchstaleness": Function Number(), - "send-metrics": Function Boolean(), - "shell": Function String(), - "shrinkwrap": Function Boolean(), - "sign-git-commit": Function Boolean(), - "sign-git-tag": Function Boolean(), - "sso-poll-frequency": Function Number(), + "{String TYPE}", + ], + "searchlimit": "{Number TYPE}", + "searchopts": "{String TYPE}", + "searchstaleness": "{Number TYPE}", + "send-metrics": "{Boolean TYPE}", + "shell": "{String TYPE}", + "shrinkwrap": "{Boolean TYPE}", + "sign-git-commit": "{Boolean TYPE}", + "sign-git-tag": "{Boolean TYPE}", + "sso-poll-frequency": "{Number TYPE}", "sso-type": Array [ null, "oauth", "saml", ], - "strict-ssl": Function Boolean(), - "tag": Function String(), - "tag-version-prefix": Function String(), - "timing": Function Boolean(), - "tmp": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "umask": Function Umask(classUmask), - "unicode": Function Boolean(), - "update-notifier": Function Boolean(), - "usage": Function Boolean(), - "user-agent": Function String(), - "userconfig": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "version": Function Boolean(), - "versions": Function Boolean(), - "viewer": Function String(), + "strict-ssl": "{Boolean TYPE}", + "tag": "{String TYPE}", + "tag-version-prefix": "{String TYPE}", + "timing": "{Boolean TYPE}", + "tmp": "{PATH MODULE}", + "umask": "{Umask TYPE}", + "unicode": "{Boolean TYPE}", + "update-notifier": "{Boolean TYPE}", + "usage": "{Boolean TYPE}", + "user-agent": "{String TYPE}", + "userconfig": "{PATH MODULE}", + "version": "{Boolean TYPE}", + "versions": "{Boolean TYPE}", + "viewer": "{String TYPE}", }, } ` @@ -2280,7 +1036,7 @@ Object { "bin-links": true, "browser": null, "ca": null, - "cache": "~/.npm", + "cache": "{CACHE DIR} .npm", "cache-lock-retries": 10, "cache-lock-stale": 60000, "cache-lock-wait": 10000, @@ -2525,15 +1281,15 @@ Object { "restricted", "public", ], - "all": Function Boolean(), - "allow-same-version": Function Boolean(), + "all": "{Boolean TYPE}", + "allow-same-version": "{Boolean TYPE}", "also": Array [ null, "dev", "development", ], - "always-auth": Function Boolean(), - "audit": Function Boolean(), + "always-auth": "{Boolean TYPE}", + "audit": "{Boolean TYPE}", "audit-level": Array [ "low", "moderate", @@ -2550,425 +1306,97 @@ Object { ], "before": Array [ null, - Function Date(), + "{Date TYPE}", ], - "bin-links": Function Boolean(), + "bin-links": "{Boolean TYPE}", "browser": Array [ null, - Function Boolean(), - Function String(), + "{Boolean TYPE}", + "{String TYPE}", ], "ca": Array [ null, - Function String(), - Function Array(), - ], - "cache": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "cache-lock-retries": Function Number(), - "cache-lock-stale": Function Number(), - "cache-lock-wait": Function Number(), - "cache-max": Function Number(), - "cache-min": Function Number(), - "cafile": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "call": Function String(), + "{String TYPE}", + "{Array TYPE}", + ], + "cache": "{PATH MODULE}", + "cache-lock-retries": "{Number TYPE}", + "cache-lock-stale": "{Number TYPE}", + "cache-lock-wait": "{Number TYPE}", + "cache-max": "{Number TYPE}", + "cache-min": "{Number TYPE}", + "cafile": "{PATH MODULE}", + "call": "{String TYPE}", "cert": Array [ null, - Function String(), + "{String TYPE}", ], "cidr": Array [ null, - Function String(), - Function Array(), + "{String TYPE}", + "{Array TYPE}", ], "color": Array [ "always", - Function Boolean(), - ], - "commit-hooks": Function Boolean(), - "depth": Function Number(), - "description": Function Boolean(), - "dev": Function Boolean(), - "dry-run": Function Boolean(), - "editor": Function String(), - "engine-strict": Function Boolean(), - "fetch-retries": Function Number(), - "fetch-retry-factor": Function Number(), - "fetch-retry-maxtimeout": Function Number(), - "fetch-retry-mintimeout": Function Number(), - "force": Function Boolean(), - "format-package-lock": Function Boolean(), - "fund": Function Boolean(), - "git": Function String(), - "git-tag-version": Function Boolean(), - "global": Function Boolean(), - "global-style": Function Boolean(), - "globalconfig": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, + "{Boolean TYPE}", + ], + "commit-hooks": "{Boolean TYPE}", + "depth": "{Number TYPE}", + "description": "{Boolean TYPE}", + "dev": "{Boolean TYPE}", + "dry-run": "{Boolean TYPE}", + "editor": "{String TYPE}", + "engine-strict": "{Boolean TYPE}", + "fetch-retries": "{Number TYPE}", + "fetch-retry-factor": "{Number TYPE}", + "fetch-retry-maxtimeout": "{Number TYPE}", + "fetch-retry-mintimeout": "{Number TYPE}", + "force": "{Boolean TYPE}", + "format-package-lock": "{Boolean TYPE}", + "fund": "{Boolean TYPE}", + "git": "{String TYPE}", + "git-tag-version": "{Boolean TYPE}", + "global": "{Boolean TYPE}", + "global-style": "{Boolean TYPE}", + "globalconfig": "{PATH MODULE}", "group": Array [ - Function Number(), - Function String(), + "{Number TYPE}", + "{String TYPE}", ], - "ham-it-up": Function Boolean(), - "heading": Function String(), + "ham-it-up": "{Boolean TYPE}", + "heading": "{String TYPE}", "https-proxy": Array [ null, - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "if-present": Function Boolean(), - "ignore-prepublish": Function Boolean(), - "ignore-scripts": Function Boolean(), + "{URL MODULE}", + ], + "if-present": "{Boolean TYPE}", + "ignore-prepublish": "{Boolean TYPE}", + "ignore-scripts": "{Boolean TYPE}", "include": Array [ - Function Array(), + "{Array TYPE}", "prod", "dev", "optional", "peer", ], - "include-staged": Function Boolean(), - "init-author-email": Function String(), - "init-author-name": Function String(), + "include-staged": "{Boolean TYPE}", + "init-author-email": "{String TYPE}", + "init-author-name": "{String TYPE}", "init-author-url": Array [ "", - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "init-license": Function String(), - "init-module": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "init-version": Object { - "clean": Function clean(version, options), - "cmp": Function cmp(a, op, b, loose), - "coerce": Function coerce(version, options), - "Comparator": Function Comparator(classComparator), - "compare": Function compare(a, b, loose), - "compareBuild": Function compareBuild(a, b, loose), - "compareIdentifiers": Function compareIdentifiers(a, b), - "compareLoose": Function compareLoose(a, b), - "diff": Function diff(version1, version2), - "eq": Function eq(a, b, loose), - "gt": Function gt(a, b, loose), - "gte": Function gte(a, b, loose), - "gtr": Function gtr(version, range, options), - "inc": Function inc(version, release, options, identifier), - "intersects": Function intersects(r1, r2, options), - "lt": Function lt(a, b, loose), - "lte": Function lte(a, b, loose), - "ltr": Function ltr(version, range, options), - "major": Function major(a, loose), - "maxSatisfying": Function maxSatisfying(versions, range, options), - "minor": Function minor(a, loose), - "minSatisfying": Function minSatisfying(versions, range, options), - "minVersion": Function minVersion(range, loose), - "neq": Function neq(a, b, loose), - "outside": Function outside(version, range, hilo, options), - "parse": Function parse(version, options), - "patch": Function patch(a, loose), - "prerelease": Function prerelease(version, options), - "Range": Function Range(classRange), - "rcompare": Function rcompare(a, b, loose), - "rcompareIdentifiers": Function rcompareIdentifiers(a, b), - "re": Array [ - /0|[1-9]\\d*/, - /[0-9]+/, - /\\d*[a-zA-Z-][a-zA-Z0-9-]*/, - /(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)/, - /([0-9]+)\\.([0-9]+)\\.([0-9]+)/, - /(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)/, - /(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)/, - /(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))/, - /(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))/, - /[0-9A-Za-z-]+/, - /(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))/, - /v?(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?/, - /^v?(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?$/, - /[v=\\s]*([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\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-9A-Za-z-]+)*))?)?)?)\\s*$/, - /(<|>)?=?\\s*\\*/, - /^\\s*>=\\s*0.0.0\\s*$/, - /^\\s*>=\\s*0.0.0-0\\s*$/, - ], - "rsort": Function rsort(list, loose), - "satisfies": Function satisfies(version, range, options), - "SemVer": Function SemVer(classSemVer), - "SEMVER_SPEC_VERSION": "2.0.0", - "simplifyRange": Function (versions, range, options), - "sort": Function sort(list, loose), - "src": Array [ - "0|[1-9]\\\\d*", - "[0-9]+", - "\\\\d*[a-zA-Z-][a-zA-Z0-9-]*", - "(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)", - "([0-9]+)\\\\.([0-9]+)\\\\.([0-9]+)", - "(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)", - "(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)", - "(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))", - "(?:-?((?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))", - "[0-9A-Za-z-]+", - "(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))", - "v?(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?", - "^v?(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)(?:-((?:0|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\\s]*(0|[1-9]\\\\d*|x|X|\\\\*)(?:\\\\.(0|[1-9]\\\\d*|x|X|\\\\*)(?:\\\\.(0|[1-9]\\\\d*|x|X|\\\\*)(?:(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?)?)?)\\\\s*$", - "^\\\\s*([v=\\\\s]*([0-9]+|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:(?:-?((?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?)?)?)\\\\s+-\\\\s+([v=\\\\s]*([0-9]+|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:(?:-?((?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?)?)?)\\\\s*$", - "(<|>)?=?\\\\s*\\\\*", - "^\\\\s*>=\\\\s*0.0.0\\\\s*$", - "^\\\\s*>=\\\\s*0.0.0-0\\\\s*$", - ], - "subset": Function subset(sub, dom, options), - "toComparators": Function toComparators(range, options), - "tokens": Object { - "BUILD": 10, - "BUILDIDENTIFIER": 9, - "CARET": 30, - "CARETLOOSE": 31, - "CARETTRIM": 29, - "COERCE": 22, - "COERCERTL": 23, - "COMPARATOR": 33, - "COMPARATORLOOSE": 32, - "COMPARATORTRIM": 34, - "FULL": 12, - "FULLPLAIN": 11, - "GTE0": 38, - "GTE0PRE": 39, - "GTLT": 15, - "HYPHENRANGE": 35, - "HYPHENRANGELOOSE": 36, - "LONECARET": 28, - "LONETILDE": 24, - "LOOSE": 14, - "LOOSEPLAIN": 13, - "MAINVERSION": 3, - "MAINVERSIONLOOSE": 4, - "NONNUMERICIDENTIFIER": 2, - "NUMERICIDENTIFIER": 0, - "NUMERICIDENTIFIERLOOSE": 1, - "PRERELEASE": 7, - "PRERELEASEIDENTIFIER": 5, - "PRERELEASEIDENTIFIERLOOSE": 6, - "PRERELEASELOOSE": 8, - "STAR": 37, - "TILDE": 26, - "TILDELOOSE": 27, - "TILDETRIM": 25, - "XRANGE": 20, - "XRANGEIDENTIFIER": 17, - "XRANGEIDENTIFIERLOOSE": 16, - "XRANGELOOSE": 21, - "XRANGEPLAIN": 18, - "XRANGEPLAINLOOSE": 19, - }, - "valid": Function valid(version, options), - "validRange": Function validRange(range, options), - }, - "json": Function Boolean(), + "{URL MODULE}", + ], + "init-license": "{String TYPE}", + "init-module": "{PATH MODULE}", + "init-version": "{SEMVER MODULE}", + "json": "{Boolean TYPE}", "key": Array [ null, - Function String(), + "{String TYPE}", ], - "legacy-bundling": Function Boolean(), - "legacy-peer-deps": Function Boolean(), - "link": Function Boolean(), + "legacy-bundling": "{Boolean TYPE}", + "legacy-peer-deps": "{Boolean TYPE}", + "link": "{Boolean TYPE}", "local-address": Array [ undefined, "127.0.0.1", @@ -2985,198 +1413,30 @@ Object { "verbose", "silly", ], - "logs-max": Function Number(), - "long": Function Boolean(), - "maxsockets": Function Number(), - "message": Function String(), + "logs-max": "{Number TYPE}", + "long": "{Boolean TYPE}", + "maxsockets": "{Number TYPE}", + "message": "{String TYPE}", "metrics-registry": Array [ null, - Function String(), + "{String TYPE}", ], "node-options": Array [ null, - Function String(), + "{String TYPE}", ], "node-version": Array [ null, - Object { - "clean": Function clean(version, options), - "cmp": Function cmp(a, op, b, loose), - "coerce": Function coerce(version, options), - "Comparator": Function Comparator(classComparator), - "compare": Function compare(a, b, loose), - "compareBuild": Function compareBuild(a, b, loose), - "compareIdentifiers": Function compareIdentifiers(a, b), - "compareLoose": Function compareLoose(a, b), - "diff": Function diff(version1, version2), - "eq": Function eq(a, b, loose), - "gt": Function gt(a, b, loose), - "gte": Function gte(a, b, loose), - "gtr": Function gtr(version, range, options), - "inc": Function inc(version, release, options, identifier), - "intersects": Function intersects(r1, r2, options), - "lt": Function lt(a, b, loose), - "lte": Function lte(a, b, loose), - "ltr": Function ltr(version, range, options), - "major": Function major(a, loose), - "maxSatisfying": Function maxSatisfying(versions, range, options), - "minor": Function minor(a, loose), - "minSatisfying": Function minSatisfying(versions, range, options), - "minVersion": Function minVersion(range, loose), - "neq": Function neq(a, b, loose), - "outside": Function outside(version, range, hilo, options), - "parse": Function parse(version, options), - "patch": Function patch(a, loose), - "prerelease": Function prerelease(version, options), - "Range": Function Range(classRange), - "rcompare": Function rcompare(a, b, loose), - "rcompareIdentifiers": Function rcompareIdentifiers(a, b), - "re": Array [ - /0|[1-9]\\d*/, - /[0-9]+/, - /\\d*[a-zA-Z-][a-zA-Z0-9-]*/, - /(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)/, - /([0-9]+)\\.([0-9]+)\\.([0-9]+)/, - /(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)/, - /(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)/, - /(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))/, - /(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*))/, - /[0-9A-Za-z-]+/, - /(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))/, - /v?(0|[1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(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?)?)?)\\s*$/, - /^\\s*([v=\\s]*([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?)?)?)\\s+-\\s+([v=\\s]*([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:\\.([0-9]+|x|X|\\*)(?:(?:-?((?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\.(?:[0-9]+|\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\+([0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*))?)?)?)\\s*$/, - /(<|>)?=?\\s*\\*/, - /^\\s*>=\\s*0.0.0\\s*$/, - /^\\s*>=\\s*0.0.0-0\\s*$/, - ], - "rsort": Function rsort(list, loose), - "satisfies": Function satisfies(version, range, options), - "SemVer": Function SemVer(classSemVer), - "SEMVER_SPEC_VERSION": "2.0.0", - "simplifyRange": Function (versions, range, options), - "sort": Function sort(list, loose), - "src": Array [ - "0|[1-9]\\\\d*", - "[0-9]+", - "\\\\d*[a-zA-Z-][a-zA-Z0-9-]*", - "(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)\\\\.(0|[1-9]\\\\d*)", - "([0-9]+)\\\\.([0-9]+)\\\\.([0-9]+)", - "(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)", - "(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)", - "(?:-((?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:0|[1-9]\\\\d*|\\\\d*[a-zA-Z-][a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X|\\\\*)(?:\\\\.([0-9]+|x|X|\\\\*)(?:(?:-?((?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*)(?:\\\\.(?:[0-9]+|\\\\d*[a-zA-Z-][a-zA-Z0-9-]*))*)))?(?:\\\\+([0-9A-Za-z-]+(?:\\\\.[0-9A-Za-z-]+)*))?)?)?)\\\\s*$", - "(<|>)?=?\\\\s*\\\\*", - "^\\\\s*>=\\\\s*0.0.0\\\\s*$", - "^\\\\s*>=\\\\s*0.0.0-0\\\\s*$", - ], - "subset": Function subset(sub, dom, options), - "toComparators": Function toComparators(range, options), - "tokens": Object { - "BUILD": 10, - "BUILDIDENTIFIER": 9, - "CARET": 30, - "CARETLOOSE": 31, - "CARETTRIM": 29, - "COERCE": 22, - "COERCERTL": 23, - "COMPARATOR": 33, - "COMPARATORLOOSE": 32, - "COMPARATORTRIM": 34, - "FULL": 12, - "FULLPLAIN": 11, - "GTE0": 38, - "GTE0PRE": 39, - "GTLT": 15, - "HYPHENRANGE": 35, - "HYPHENRANGELOOSE": 36, - "LONECARET": 28, - "LONETILDE": 24, - "LOOSE": 14, - "LOOSEPLAIN": 13, - "MAINVERSION": 3, - "MAINVERSIONLOOSE": 4, - "NONNUMERICIDENTIFIER": 2, - "NUMERICIDENTIFIER": 0, - "NUMERICIDENTIFIERLOOSE": 1, - "PRERELEASE": 7, - "PRERELEASEIDENTIFIER": 5, - "PRERELEASEIDENTIFIERLOOSE": 6, - "PRERELEASELOOSE": 8, - "STAR": 37, - "TILDE": 26, - "TILDELOOSE": 27, - "TILDETRIM": 25, - "XRANGE": 20, - "XRANGEIDENTIFIER": 17, - "XRANGEIDENTIFIERLOOSE": 16, - "XRANGELOOSE": 21, - "XRANGEPLAIN": 18, - "XRANGEPLAINLOOSE": 19, - }, - "valid": Function valid(version, options), - "validRange": Function validRange(range, options), - }, + "{SEMVER MODULE}", ], "noproxy": Array [ null, - Function String(), - Function Array(), + "{String TYPE}", + "{Array TYPE}", ], - "offline": Function Boolean(), + "offline": "{Boolean TYPE}", "omit": Array [ - Function Array(), + "{Array TYPE}", "dev", "optional", "peer", @@ -3188,211 +1448,85 @@ Object { "prod", "production", ], - "optional": Function Boolean(), + "optional": "{Boolean TYPE}", "otp": Array [ null, - Function String(), + "{String TYPE}", ], "package": Array [ - Function String(), - Function Array(), - ], - "package-lock": Function Boolean(), - "package-lock-only": Function Boolean(), - "parseable": Function Boolean(), - "prefer-offline": Function Boolean(), - "prefer-online": Function Boolean(), - "prefix": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "preid": Function String(), - "production": Function Boolean(), - "progress": Function Boolean(), + "{String TYPE}", + "{Array TYPE}", + ], + "package-lock": "{Boolean TYPE}", + "package-lock-only": "{Boolean TYPE}", + "parseable": "{Boolean TYPE}", + "prefer-offline": "{Boolean TYPE}", + "prefer-online": "{Boolean TYPE}", + "prefix": "{PATH MODULE}", + "preid": "{String TYPE}", + "production": "{Boolean TYPE}", + "progress": "{Boolean TYPE}", "proxy": Array [ null, false, - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "read-only": Function Boolean(), - "rebuild-bundle": Function Boolean(), + "{URL MODULE}", + ], + "read-only": "{Boolean TYPE}", + "rebuild-bundle": "{Boolean TYPE}", "registry": Array [ null, - Object { - "domainToASCII": Function domainToASCII(domain), - "domainToUnicode": Function domainToUnicode(domain), - "fileURLToPath": Function fileURLToPath(path), - "format": Function urlFormat(urlObject, options), - "parse": Function urlParse(url, parseQueryString, slashesDenoteHost), - "pathToFileURL": Function pathToFileURL(filepath), - "resolve": Function urlResolve(source, relative), - "resolveObject": Function urlResolveObject(source, relative), - "Url": Function Url(), - "URL": Function URL(classURL), - "URLSearchParams": Function URLSearchParams(classURLSearchParams), - }, - ], - "rollback": Function Boolean(), - "save": Function Boolean(), - "save-bundle": Function Boolean(), - "save-dev": Function Boolean(), - "save-exact": Function Boolean(), - "save-optional": Function Boolean(), - "save-prefix": Function String(), - "save-prod": Function Boolean(), - "scope": Function String(), + "{URL MODULE}", + ], + "rollback": "{Boolean TYPE}", + "save": "{Boolean TYPE}", + "save-bundle": "{Boolean TYPE}", + "save-dev": "{Boolean TYPE}", + "save-exact": "{Boolean TYPE}", + "save-optional": "{Boolean TYPE}", + "save-prefix": "{String TYPE}", + "save-prod": "{Boolean TYPE}", + "scope": "{String TYPE}", "script-shell": Array [ null, - Function String(), + "{String TYPE}", ], "scripts-prepend-node-path": Array [ - Function Boolean(), + "{Boolean TYPE}", "auto", "warn-only", ], "searchexclude": Array [ null, - Function String(), - ], - "searchlimit": Function Number(), - "searchopts": Function String(), - "searchstaleness": Function Number(), - "send-metrics": Function Boolean(), - "shell": Function String(), - "shrinkwrap": Function Boolean(), - "sign-git-commit": Function Boolean(), - "sign-git-tag": Function Boolean(), - "sso-poll-frequency": Function Number(), + "{String TYPE}", + ], + "searchlimit": "{Number TYPE}", + "searchopts": "{String TYPE}", + "searchstaleness": "{Number TYPE}", + "send-metrics": "{Boolean TYPE}", + "shell": "{String TYPE}", + "shrinkwrap": "{Boolean TYPE}", + "sign-git-commit": "{Boolean TYPE}", + "sign-git-tag": "{Boolean TYPE}", + "sso-poll-frequency": "{Number TYPE}", "sso-type": Array [ null, "oauth", "saml", ], - "strict-ssl": Function Boolean(), - "tag": Function String(), - "tag-version-prefix": Function String(), - "timing": Function Boolean(), - "tmp": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "umask": Function Umask(classUmask), - "unicode": Function Boolean(), - "update-notifier": Function Boolean(), - "usage": Function Boolean(), - "user-agent": Function String(), - "userconfig": &ref_1 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ":", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "/", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": &ref_2 Object { - "_makeLong": Function toNamespacedPath(path), - "basename": Function basename(path, ext), - "delimiter": ";", - "dirname": Function dirname(path), - "extname": Function extname(path), - "format": Function bound _format(), - "isAbsolute": Function isAbsolute(path), - "join": Function join(...args), - "normalize": Function normalize(path), - "parse": Function parse(path), - "posix": <*ref_1>, - "relative": Function relative(from, to), - "resolve": Function resolve(...args), - "sep": "\\\\", - "toNamespacedPath": Function toNamespacedPath(path), - "win32": <*ref_2>, - }, - }, - "version": Function Boolean(), - "versions": Function Boolean(), - "viewer": Function String(), + "strict-ssl": "{Boolean TYPE}", + "tag": "{String TYPE}", + "tag-version-prefix": "{String TYPE}", + "timing": "{Boolean TYPE}", + "tmp": "{PATH MODULE}", + "umask": "{Umask TYPE}", + "unicode": "{Boolean TYPE}", + "update-notifier": "{Boolean TYPE}", + "usage": "{Boolean TYPE}", + "user-agent": "{String TYPE}", + "userconfig": "{PATH MODULE}", + "version": "{Boolean TYPE}", + "versions": "{Boolean TYPE}", + "viewer": "{String TYPE}", }, } ` diff --git a/test/lib/npm.js b/test/lib/npm.js index 0185f8de33ea7..2968178495907 100644 --- a/test/lib/npm.js +++ b/test/lib/npm.js @@ -323,6 +323,9 @@ t.test('npm.load', t => { ]) t.same(consoleLogs, [['@foo']]) }) + + // need this here or node 10 will improperly end the promise ahead of time + await new Promise((res) => setTimeout(res)) }) t.end() diff --git a/test/lib/utils/config.js b/test/lib/utils/config.js index bde3653b5f795..90789a8db0bc2 100644 --- a/test/lib/utils/config.js +++ b/test/lib/utils/config.js @@ -7,6 +7,52 @@ Object.defineProperty(process, 'umask', { enumerable: true }) +// have to fake the node version, or else it'll only pass on this one +Object.defineProperty(process, 'version', { + value: 'v14.8.0' +}) + +t.formatSnapshot = obj => { + if (typeof obj !== 'object' || !obj || !obj.types) { + return obj + } + return { + ...obj, + defaults: { + ...obj.defaults, + cache: '{CACHE DIR} ' + path.basename(obj.defaults.cache) + }, + types: formatTypes(obj.types) + } +} + +const path = require('path') +const url = require('url') +const semver = require('semver') + +const formatTypes = (types) => Object.entries(types).map(([key, value]) => { + return [key, formatTypeValue(value)] +}).reduce((set, [key, value]) => { + set[key] = value + return set +}, {}) + +const formatTypeValue = (value) => { + if (Array.isArray(value)) { + return value.map(formatTypeValue) + } else if (value === url) { + return '{URL MODULE}' + } else if (value === path) { + return '{PATH MODULE}' + } else if (value === semver) { + return '{SEMVER MODULE}' + } else if (typeof value === 'function') { + return `{${value.name} TYPE}` + } else { + return value + } +} + process.env.ComSpec = 'cmd.exe' process.env.SHELL = '/usr/local/bin/bash' process.env.LANG = 'UTF-8' @@ -28,6 +74,7 @@ const os = { networkInterfaces, tmpdir } t.test('working network interfaces, not windows', t => { const config = requireInject('../../../lib/utils/config.js', { os, + '@npmcli/ci-detect': () => false, '../../../lib/utils/is-windows.js': false }) t.matchSnapshot(config) @@ -37,6 +84,7 @@ t.test('working network interfaces, not windows', t => { t.test('no working network interfaces, on windows', t => { const config = requireInject('../../../lib/utils/config.js', { os: { tmpdir, networkInterfaces: networkInterfacesThrow }, + '@npmcli/ci-detect': () => false, '../../../lib/utils/is-windows.js': true }) t.matchSnapshot(config) @@ -60,6 +108,7 @@ t.test('no process.umask() method', t => { }) const config = requireInject('../../../lib/utils/config.js', { os: { tmpdir, networkInterfaces: networkInterfacesThrow }, + '@npmcli/ci-detect': () => false, '../../../lib/utils/is-windows.js': true }) t.equal(config.defaults.umask, 0o22) @@ -71,6 +120,7 @@ t.test('no comspec on windows', t => { delete process.env.ComSpec const config = requireInject('../../../lib/utils/config.js', { os: { tmpdir, networkInterfaces: networkInterfacesThrow }, + '@npmcli/ci-detect': () => false, '../../../lib/utils/is-windows.js': true }) t.equal(config.defaults.shell, 'cmd') @@ -81,6 +131,7 @@ t.test('no shell on posix', t => { delete process.env.SHELL const config = requireInject('../../../lib/utils/config.js', { os, + '@npmcli/ci-detect': () => false, '../../../lib/utils/is-windows.js': false }) t.equal(config.defaults.shell, 'bash') @@ -91,6 +142,7 @@ t.test('no EDITOR env, use VISUAL', t => { delete process.env.EDITOR const config = requireInject('../../../lib/utils/config.js', { os, + '@npmcli/ci-detect': () => false, '../../../lib/utils/is-windows.js': false }) t.equal(config.defaults.editor, 'mate') @@ -101,6 +153,7 @@ t.test('no VISUAL, use system default, not windows', t => { delete process.env.VISUAL const config = requireInject('../../../lib/utils/config.js', { os, + '@npmcli/ci-detect': () => false, '../../../lib/utils/is-windows.js': false }) t.equal(config.defaults.editor, 'vi') @@ -111,6 +164,7 @@ t.test('no VISUAL, use system default, not windows', t => { delete process.env.VISUAL const config = requireInject('../../../lib/utils/config.js', { os, + '@npmcli/ci-detect': () => false, '../../../lib/utils/is-windows.js': true }) t.equal(config.defaults.editor, 'notepad.exe')