/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
D | spec-from-lock.js | 1 const npa = require('npm-package-arg') constant 7 const spec = npa.resolve(name, lock.version, where) 14 const spec = npa.resolve(name, lock.from, where) 16 return npa.resolve(name, lock.version, where) 22 return npa.resolve(name, lock.resolved, where) 28 return npa.resolve(name, lock.version, where)
|
D | dep-valid.js | 8 const npa = require('npm-package-arg') constant 23 …requested = npa.resolve(child.name, requested || '*', fromPath(requestor, requestor.edgesOut.get(c… 68 return child.resolved && npa(child.resolved).type === 'remote' 82 const resRepo = npa(child.resolved || '')
|
D | override-set.js | 1 const npa = require('npm-package-arg') constant 20 const spec = npa(key) 58 let spec = npa(`${edge.name}@${edge.spec}`)
|
D | from-path.js | 7 const npa = require('npm-package-arg') constant 22 const spec = npa(node.resolved)
|
D | consistent-resolve.js | 5 const npa = require('npm-package-arg') constant 21 } = npa(resolved, fromPath)
|
/third_party/node/deps/npm/lib/commands/ |
D | dist-tag.js | 1 const npa = require('npm-package-arg') constant 86 spec = npa(spec || '') 93 npa(`${spec.name}@${defaultTag}`) 127 spec = npa(spec || '') 164 spec = npa(spec) 184 await this.list(npa(name), this.npm.flatOptions)
|
D | diff.js | 4 const npa = require('npm-package-arg') constant 144 const spec = npa(a) 247 return [a, `${npa(a).name}@${b}`] 251 return [`${npa(b).name}@${a}`, b] 273 const spec = npa(i)
|
D | unpublish.js | 3 const npa = require('npm-package-arg') constant 56 const pp = npa(partialWord).name 86 spec = npa(args[0]) 130 spec = npa.resolve(manifest.name, manifest.version)
|
D | link.js | 6 const npa = require('npm-package-arg') constant 83 !node.isRoot || args.some(a => npa(a).name === kid), 99 const arg = npa(a) 166 const arg = npa(a)
|
D | owner.js | 1 const npa = require('npm-package-arg') constant 61 const spec = npa(name) 111 const spec = npa(pkg) 150 const spec = npa(pkg)
|
D | outdated.js | 6 const npa = require('npm-package-arg') constant 193 alias = npa(edge.spec).subSpec 197 const spec = npa(alias ? alias.name : edge.name) 224 if (!npa(`${edge.name}@${edge.spec}`).registry) {
|
D | publish.js | 7 const npa = require('npm-package-arg') constant 66 const spec = npa(args[0]) 102 const resolved = npa.resolve(manifest.name, manifest.version)
|
D | star.js | 2 const npa = require('npm-package-arg') constant 31 const pkgs = args.map(npa)
|
D | rebuild.js | 2 const npa = require('npm-package-arg') constant 41 const spec = npa(arg)
|
D | pack.js | 3 const npa = require('npm-package-arg') constant 36 const spec = npa(arg)
|
D | deprecate.js | 3 const npa = require('npm-package-arg') constant 41 const p = npa(pkg)
|
/third_party/node/deps/npm/node_modules/npm-package-arg/lib/ |
D | npa.js | 2 module.exports = npa 21 function npa (arg, where) { function 28 return npa.resolve(arg.name, arg.rawSpec, where || arg.where) 30 return npa(arg.raw, where || arg.where) 374 const subSpec = npa(res.rawSpec.substr(4), where)
|
/third_party/node/deps/npm/node_modules/libnpmexec/lib/ |
D | index.js | 8 const npa = require('npm-package-arg') constant 154 const spec = npa(pkg) 167 const spec = npa(pkg, path) 182 const spec = npa(args[0]) 214 const spec = npa(p)
|
/third_party/node/deps/npm/lib/utils/ |
D | sbom-spdx.js | 4 const npa = require('npm-package-arg') constant 86 let spec = npa(node.pkgid) 88 const purl = npa.toPurl(spec) + (isGitNode(node) ? `?vcs_url=${node.resolved}` : '') 174 const { type } = npa(node.resolved)
|
D | sbom-cyclonedx.js | 4 const npa = require('npm-package-arg') constant 79 let spec = npa(node.pkgid) 81 const purl = npa.toPurl(spec) + (isGitNode(node) ? `?vcs_url=${node.resolved}` : '') 193 const { type } = npa(node.resolved)
|
/third_party/node/deps/npm/node_modules/libnpmdiff/lib/ |
D | tarball.js | 4 const npa = require('npm-package-arg') constant 25 const fromNodeModules = npa(resolved).type === 'directory'
|
/third_party/node/deps/npm/node_modules/libnpmpublish/lib/ |
D | publish.js | 3 const npa = require('npm-package-arg') constant 24 const spec = npa.resolve(manifest.name, manifest.version) 134 name: npa.toPurl(spec),
|
/third_party/node/deps/npm/node_modules/libnpmpack/lib/ |
D | index.js | 4 const npa = require('npm-package-arg') constant 14 spec = npa(spec)
|
/third_party/node/deps/npm/test/lib/commands/ |
D | publish.js | 9 const npa = require('npm-package-arg') constant 381 const spec = npa('@npm/test-package') 408 const spec = npa('@npm/test-package') 681 const spec = npa('@npm/test-package') 725 const spec = npa('@npm/test-package') 750 const spec = npa('@npm/test-package') 778 const spec = npa('@npm/test-package')
|
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/ |
D | build-ideal-tree.js | 4 const npa = require('npm-package-arg') constant 251 const spec = npa(name) 526 let spec = npa(rawSpec) 537 spec = npa(`${mani.name}@${mani.version}`) 544 spec = npa(`file:${relpath(path, spec.fetchSpec).replace(/#/g, '%23')}`, path) 549 spec = npa(`file:${relpath(path, real).replace(/#/g, '%23')}`, path) 730 const spec = npa.resolve(name, id, dirname(path)) 1027 this.#fetchManifest(npa.resolve(e.name, e.spec, fromPath(placed, e))) 1055 const spec = npa.resolve(edge.name, edge.spec, edge.from.path) 1065 const spec2 = secondEdge && npa.resolve(
|