/third_party/node/deps/npm/test/tap/ |
D | is-registry.js | 3 const npa = require('npm-package-arg') constant 7 t.is(Boolean(isRegistry(npa('foo@1.0.0'))), true, 'version') 8 t.is(Boolean(isRegistry(npa('foo@^1.0.0'))), true, 'range') 9 t.is(Boolean(isRegistry(npa('foo@test'))), true, 'tag') 10 t.is(Boolean(isRegistry(npa('foo@git://foo.bar/test.git'))), false, 'git') 11 t.is(Boolean(isRegistry(npa('foo@foo/bar'))), false, 'github') 12 t.is(Boolean(isRegistry(npa('foo@http://example.com/example.tgz'))), false, 'remote') 13 t.is(Boolean(isRegistry(npa('foo@file:example.tgz'))), false, 'file') 14 t.is(Boolean(isRegistry(npa('foo@file:example/'))), false, 'dir')
|
D | unit-deps-earliestInstallable.js | 4 var npa = require('npm-package-arg') variable 47 _requested: npa('dep2@2.0.0') 90 _requested: npa('dep2@^1.0.0')
|
D | fetch-package-metadata.js | 3 var npa = require('npm-package-arg') variable 28 var testPackage = npa('test-package@>=0.0.0')
|
/third_party/node/deps/npm/lib/install/ |
D | realize-shrinkwrap-specifier.js | 2 var npa = require('npm-package-arg') variable 8 return npa.resolve(name, sw.version, where) 10 const spec = npa(sw.from, where) 12 return npa.resolve(name, sw.version, where) 18 return npa.resolve(name, sw.resolved, where) 21 return npa.resolve(name, sw.version, where)
|
D | has-modern-meta.js | 4 const npa = require('npm-package-arg') constant 13 …const resolved = child.package._resolved && npa.resolve(moduleName(child), child.package._resolved) 14 const version = npa.resolve(moduleName(child), child.package.version)
|
D | deps.js | 12 var npa = require('npm-package-arg') variable 55 const fromSw = child.package._from ? npa(child.package._from) : child.fromShrinkwrap 61 const sameRepo = npa(child.package._from).fetchSpec === requested.fetchSpec 91 var fromReq = npa(child.package._from) 105 return npa.resolve(name, spec, where || packageRelativePath(tree)) 231 spec = npa(arg) 241 return fetchPackageMetadata(npa.resolve(spec.name, version), where, done) 250 return fetchPackageMetadata(npa('file:' + arg), where, done) 314 requested = npa.resolve(moduleName(child), 'file:' + child.realpath, getTop(tree).path) 318 requested = npa(child.package._from, tree.path) [all …]
|
D | get-requested.js | 2 const npa = require('npm-package-arg') constant 14 return npa.resolve(name, spec, where)
|
D | audit.js | 20 const npa = require('npm-package-arg') constant 184 const req = npa.resolve(name, spec) 189 const req = npa(arg) 203 const req = npa.resolve(name, spec)
|
/third_party/node/deps/npm/node_modules/libnpx/ |
D | parse-args.js | 3 let npa variable 14 npa = require('npm-package-arg') 48 const parsedCmd = npa(argv[cmdIndex]) 62 parsed.p = parsed.package = pkg.map(p => npa(p).toString()) 74 parsed.p = parsed.package = pkg.map(p => npa(p).toString()) 81 const parsedCmd = npa(splitCmd[0]) 91 parsed.p = parsed.package = pkg.map(p => npa(p).toString()) 104 npa = require('npm-package-arg') 105 parsedCmd = npa(argv[2]) 134 if (!npa) { npa = require('npm-package-arg') } [all …]
|
/third_party/node/deps/npm/lib/ |
D | unpublish.js | 12 const npa = require('npm-package-arg') constant 53 const pp = npa(cliOpts.partialWord).name 56 return npmFetch.json(npa(pkgs[0]).escapedName, opts).then(doc => { 71 const spec = args.length && npa(args[0]) 91 return libunpub(npa.resolve(data.name, data.version), opts.concat(data.publishConfig))
|
D | dist-tag.js | 8 const npa = require('libnpm/parse-arg') constant 76 spec = npa(spec || '') 110 spec = npa(spec || '') 138 spec = npa(spec)
|
D | owner.js | 6 const npa = require('libnpm/parse-arg') constant 105 const spec = npa(pkg) 133 const spec = npa(pkg) 161 const spec = npa(pkg)
|
D | deprecate.js | 9 const npa = require('libnpm/parse-arg') constant 45 const p = npa(pkg)
|
D | star.js | 8 const npa = require('libnpm/parse-arg') constant 40 return BB.map(args.map(npa), pkg => {
|
D | init.js | 7 var npa = require('npm-package-arg') variable 31 var req = npa(initerName)
|
D | fetch-package-metadata.js | 10 const npa = require('npm-package-arg') constant 52 dep = npa(spec)
|
/third_party/node/deps/npm/node_modules/npm-package-arg/ |
D | README.md | 12 var npa = require("npm-package-arg") 16 var parsed = npa("@bar/foo@1.2") 24 `var npa = require('npm-package-arg')` 26 ### var result = npa(*arg*[, *where*]) 37 ### var result = npa.resolve(*name*, *spec*[, *where*]) 70 * `rawSpec` - The specifier part that was parsed out in calls to `npa(arg)`, 71 or the value of `spec` in calls to `npa.resolve(name, spec). 83 `npa.resolve(name, spec)` then this will be `name + '@' + spec`.
|
D | npa.js | 2 module.exports = npa 22 function npa (arg, where) { function 29 return npa.resolve(arg.name, arg.rawSpec, where || arg.where) 31 return npa(arg.raw, where || arg.where) 265 const subSpec = npa(res.rawSpec.substr(4), where)
|
/third_party/node/deps/npm/node_modules/pacote/ |
D | tarball.js | 8 const npa = require('npm-package-arg') constant 18 spec = npa(spec, opts.where) 25 spec = npa(spec, opts.where) 55 spec = npa(spec, opts.where)
|
D | packument.js | 6 const npa = require('npm-package-arg') constant 11 spec = npa(spec, opts.where)
|
D | manifest.js | 7 const npa = require('npm-package-arg') constant 12 spec = npa(spec, opts.where)
|
D | prefetch.js | 8 const npa = require('npm-package-arg') constant 13 spec = npa(spec, opts.where)
|
/third_party/node/deps/npm/node_modules/lock-verify/ |
D | index.js | 6 const npa = require('npm-package-arg') constant 26 const spec = npa.resolve(name, deps[name]) 40 const lockSpec = npa.resolve(name, lock.version) 60 const lockSpec = npa.resolve(name, lock.version)
|
/third_party/node/deps/npm/node_modules/libcipm/lib/ |
D | extract.js | 7 const npa = require('npm-package-arg') constant 39 const spec = npa.resolve(name, child.version) 48 const spec = typeof args[0] === 'string' ? npa(args[0]) : args[0]
|
/third_party/node/deps/npm/test/need-npm5-update/belongs-in-pacote/ |
D | add-remote-git-get-resolved.js | 6 var npa = require('npm-package-arg') variable 15 return getResolved(npa(uri), uri, treeish)
|