/third_party/node/deps/npm/node_modules/npm-pick-manifest/ |
D | index.js | 14 function pickManifest (packument, wanted, opts) { argument 16 const time = opts.enjoyBy && packument.time && +(new Date(opts.enjoyBy)) 17 const spec = npa.resolve(packument.name, wanted) 22 const distTags = packument['dist-tags'] || {} 23 const versions = Object.keys(packument.versions || {}).filter(v => { 26 const policyRestrictions = packument.policyRestrictions 32 packument.time[v] && time >= +(new Date(packument.time[v])) 39 err = new Error(`No valid versions available for ${packument.name}`) 41 err.name = packument.name 62 packument.versions[tagVersion] && [all …]
|
D | README.md | 25 }).then(packument => { 26 return pickManifest(packument, '^1.0.0') 45 #### <a name="pick-manifest"></a> `> pickManifest(packument, selector, [opts]) -> manifest` 72 `ENOVERSIONS` if the packument object has no valid versions in `versions`.
|
/third_party/node/deps/npm/node_modules/pacote/lib/fetchers/registry/ |
D | packument.js | 13 module.exports = packument 14 function packument (spec, opts) { function 52 })).then(res => res.json().then(packument => { 53 packument._cached = res.headers.has('x-local-cache') 54 packument._contentLength = +res.headers.get('content-length') 59 mem.set(memoKey, packument) 61 return packument
|
D | manifest.js | 22 return fetchPackument(spec, opts).then(packument => { 24 return pickManifest(packument, spec.fetchSpec, { 30 if ((err.code === 'ETARGET' || err.code === 'E403') && packument._cached && !opts.offline) { 42 })).then(packument => { 43 return pickManifest(packument, spec.fetchSpec, {
|
D | index.js | 12 packument (spec, opts) { method
|
/third_party/node/deps/npm/node_modules/libnpmpublish/test/ |
D | publish.js | 32 const packument = { variable 64 t.deepEqual(body, packument, 'posted packument matches expectations') 90 const packument = { variable 123 t.deepEqual(body, packument, 'posted packument matches expectations') 417 const packument = { variable 462 t.deepEqual(body, packument, 'posted packument matches expectations') 490 const packument = { variable 523 t.deepEqual(body, packument, 'posted packument matches expectations') 550 const packument = { variable 583 t.deepEqual(body, packument, 'posted packument matches expectations') [all …]
|
/third_party/node/deps/npm/node_modules/pacote/lib/ |
D | fetch.js | 6 packument: ['spec', 'opts'], property 14 module.exports.packument = packument 15 function packument (spec, opts) { function 17 return fetcher.packument(spec, opts)
|
/third_party/node/deps/npm/lib/ |
D | deprecate.js | 59 })).then(packument => { 61 Object.keys(packument.versions) 63 .forEach(v => { packument.versions[v].deprecated = msg }) 67 body: packument,
|
D | view.js | 16 const packument = require('libnpm/packument') constant 48 return packument(spec, config).then(d => { 123 return packument(nv, opts.concat({ 208 function prettyView (packument, manifest, opts) { argument 217 `> npm view ${packument.name} versions` 222 Object.keys(packument['dist-tags']).forEach((t) => { 223 const version = packument['dist-tags'][t] 233 versions: color.yellow(packument.versions.length + ''), 236 keywords: (packument.keywords || []).map(color.yellow), 247 …modified: packument.time ? color.yellow(relativeDate(packument.time[packument.version])) : undefin… [all …]
|
D | owner.js | 11 const packument = require('libnpm/packument') constant 106 return packument(spec, opts.concat({fullMetadata: true})).then( 206 return packument(spec, opts.concat({
|
D | outdated.js | 39 const packument = require('libnpm/packument') constant 375 return packument(parsed, opts.concat({
|
/third_party/node/deps/npm/node_modules/pacote/ |
D | packument.js | 3 const fetchPackument = require('./lib/fetch').packument 8 module.exports = packument 9 function packument (spec, opts) { function
|
D | README.md | 19 * [`packument`](#packument) 92 #### <a name="packument"></a> `> pacote.packument(spec, [opts])` 94 Fetches the *packument* for a package. Packument objects are general metadata 124 pacote.packument('pacote').then(pkgJson => { 256 If `true`, the full packument will be fetched when doing metadata requests. By
|
D | index.js | 6 packument: require('./packument'), property
|
D | CHANGELOG.md | 198 * **packument:** group together all registry specs in silly log ([2333a17](https://github.com/npm/p… 210 * **packument:** take accept header into account when memoizing ([3c637e8](https://github.com/npm/p… 216 * **packument:** add packument api ([97888d9](https://github.com/npm/pacote/commit/97888d9)) 1177 * **memoization:** better packument memoization + pacote.clearMemoized() ([eb1bd4f](https://github.… 1229 * **notice:** only log npm-notice if the packument came from network ([eeeb411](https://github.com/… 1362 …hash) once registries start supporting them: `packument.dist.integrity` will be prioritized over `…
|
/third_party/node/deps/npm/node_modules/pacote/lib/fetchers/ |
D | alias.js | 9 packument (spec, opts) { method 10 return fetchRegistry.packument(spec.subSpec, opts)
|
D | remote.js | 11 packument (spec, opts) { method
|
D | file.js | 20 packument (spec, opts) { method
|
D | directory.js | 19 packument (spec, opts) { method
|
D | git.js | 24 packument (spec, opts) { method
|
/third_party/node/deps/npm/test/tap/ |
D | install-before.js | 31 const packument = { 57 server.get('/foo').reply(200, packument)
|
D | aliases.js | 34 const packument = { 54 server.get('/foo').reply(200, packument)
|
/third_party/node/deps/npm/node_modules/libnpm/ |
D | README.md | 19 * [`packument`](https://www.npmjs.com/package/pacote#packument)
|
D | index.js | 14 packument: require('./packument.js'), property
|
/third_party/node/deps/npm/node_modules/libnpmpublish/ |
D | README.md | 63 the outgoing packument. It's recommended you add your own user agent string in
|