Home
last modified time | relevance | path

Searched refs:npa (Results 1 – 25 of 55) sorted by relevance

123

/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/
Dspec-from-lock.js1 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)
Ddep-valid.js8 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 || '')
Doverride-set.js1 const npa = require('npm-package-arg') constant
20 const spec = npa(key)
58 let spec = npa(`${edge.name}@${edge.spec}`)
Dfrom-path.js7 const npa = require('npm-package-arg') constant
22 const spec = npa(node.resolved)
Dconsistent-resolve.js5 const npa = require('npm-package-arg') constant
21 } = npa(resolved, fromPath)
/third_party/node/deps/npm/lib/commands/
Ddist-tag.js1 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)
Ddiff.js4 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)
Dunpublish.js3 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)
Dlink.js6 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)
Downer.js1 const npa = require('npm-package-arg') constant
61 const spec = npa(name)
111 const spec = npa(pkg)
150 const spec = npa(pkg)
Doutdated.js6 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) {
Dpublish.js7 const npa = require('npm-package-arg') constant
66 const spec = npa(args[0])
102 const resolved = npa.resolve(manifest.name, manifest.version)
Dstar.js2 const npa = require('npm-package-arg') constant
31 const pkgs = args.map(npa)
Drebuild.js2 const npa = require('npm-package-arg') constant
41 const spec = npa(arg)
Dpack.js3 const npa = require('npm-package-arg') constant
36 const spec = npa(arg)
Ddeprecate.js3 const npa = require('npm-package-arg') constant
41 const p = npa(pkg)
/third_party/node/deps/npm/node_modules/npm-package-arg/lib/
Dnpa.js2 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/
Dindex.js8 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/
Dsbom-spdx.js4 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)
Dsbom-cyclonedx.js4 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/
Dtarball.js4 const npa = require('npm-package-arg') constant
25 const fromNodeModules = npa(resolved).type === 'directory'
/third_party/node/deps/npm/node_modules/libnpmpublish/lib/
Dpublish.js3 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/
Dindex.js4 const npa = require('npm-package-arg') constant
14 spec = npa(spec)
/third_party/node/deps/npm/test/lib/commands/
Dpublish.js9 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/
Dbuild-ideal-tree.js4 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(

123