/third_party/node/deps/npm/test/lib/commands/ |
D | stars.js | 7 const mockStars = async (t, { npmFetch = noop, exec = true, ...opts }) => { argument 12 'npm-registry-fetch': Object.assign(noop, realFetch, { json: npmFetch }), 28 const npmFetch = async (uri, opts) => { 43 const { result } = await mockStars(t, { npmFetch }) field 54 const npmFetch = async (uri, opts) => { 63 const { result } = await mockStars(t, { npmFetch, exec: ['ruyadorno'] }) property 73 const npmFetch = async () => { function 80 const { joinedOutput, stars, logs } = await mockStars(t, { npmFetch, exec: false }) property 102 const npmFetch = async () => { 106 const { stars, logs } = await mockStars(t, { npmFetch, exec: false }) property [all …]
|
D | logout.js | 3 const npmFetch = require('npm-registry-fetch') constant 16 }, npmFetch),
|
/third_party/node/deps/npm/node_modules/libnpmaccess/lib/ |
D | index.js | 4 const npmFetch = require('npm-registry-fetch') constant 33 return await npmFetch.json(uri, opts) 37 return npmFetch.json(uri, opts) 46 return npmFetch.json(uri, opts) 52 return npmFetch.json(uri, opts) 58 await npmFetch(uri, { 89 await npmFetch(uri, { 106 await npmFetch(uri, { 121 await npmFetch(uri, {
|
/third_party/node/deps/npm/node_modules/libnpmteam/lib/ |
D | index.js | 4 const npmFetch = require('npm-registry-fetch') constant 14 return npmFetch.json(uri, { 27 await npmFetch(uri, { 40 return npmFetch.json(uri, { 52 await npmFetch(uri, { 67 return npmFetch.json.stream(uri, '.*', { 79 return npmFetch.json.stream(uri, '.*', {
|
/third_party/node/deps/npm/node_modules/libnpmpublish/lib/ |
D | unpublish.js | 5 const npmFetch = require('npm-registry-fetch') constant 36 const pkg = await npmFetch.json(pkgUri, { 61 await npmFetch(`${pkgUri}/-rev/${pkg._rev}`, { 90 await npmFetch(`${pkgUri}/-rev/${pkg._rev}`, { 98 const { _rev } = await npmFetch.json(pkgUri, { 103 await npmFetch(`${tarballUrl}/-rev/${_rev}`, {
|
D | publish.js | 2 const npmFetch = require('npm-registry-fetch') constant 33 const reg = npmFetch.pickRegistry(spec, opts) 54 const res = await npmFetch(spec.escapedName, { 72 const current = await npmFetch.json(spec.escapedName, { 77 const res = await npmFetch(spec.escapedName, { 277 const res = await npmFetch
|
/third_party/node/deps/npm/lib/commands/ |
D | owner.js | 2 const npmFetch = require('npm-registry-fetch') constant 122 log.error('owner ls', "Couldn't get owner data", npmFetch.cleanUrl(pkg)) 155 u = await npmFetch.json(uri, this.npm.flatOptions) 206 return npmFetch.json(dataPath, {
|
D | logout.js | 2 const npmFetch = require('npm-registry-fetch') constant 24 await npmFetch(`/-/user/token/${encodeURIComponent(auth.token)}`, {
|
D | unpublish.js | 4 const npmFetch = require('npm-registry-fetch') constant 27 const json = await npmFetch.json(`${pkgUri}?write=true`, {
|
D | publish.js | 8 const npmFetch = require('npm-registry-fetch') constant 100 const registry = npmFetch.pickRegistry(resolved, opts)
|
/third_party/node/deps/npm/lib/utils/ |
D | get-identity.js | 1 const npmFetch = require('npm-registry-fetch') constant 14 const registryData = await npmFetch.json('/-/whoami', { ...opts })
|
/third_party/node/deps/npm/node_modules/libnpmsearch/lib/ |
D | index.js | 3 const npmFetch = require('npm-registry-fetch') constant 48 return npmFetch.json.stream('/-/v1/search', 'objects.*',
|