Home
last modified time | relevance | path

Searched refs:npmFetch (Results 1 – 12 of 12) sorted by relevance

/third_party/node/deps/npm/test/lib/commands/
Dstars.js7 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 …]
Dlogout.js3 const npmFetch = require('npm-registry-fetch') constant
16 }, npmFetch),
/third_party/node/deps/npm/node_modules/libnpmaccess/lib/
Dindex.js4 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/
Dindex.js4 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/
Dunpublish.js5 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}`, {
Dpublish.js2 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/
Downer.js2 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, {
Dlogout.js2 const npmFetch = require('npm-registry-fetch') constant
24 await npmFetch(`/-/user/token/${encodeURIComponent(auth.token)}`, {
Dunpublish.js4 const npmFetch = require('npm-registry-fetch') constant
27 const json = await npmFetch.json(`${pkgUri}?write=true`, {
Dpublish.js8 const npmFetch = require('npm-registry-fetch') constant
100 const registry = npmFetch.pickRegistry(resolved, opts)
/third_party/node/deps/npm/lib/utils/
Dget-identity.js1 const npmFetch = require('npm-registry-fetch') constant
14 const registryData = await npmFetch.json('/-/whoami', { ...opts })
/third_party/node/deps/npm/node_modules/libnpmsearch/lib/
Dindex.js3 const npmFetch = require('npm-registry-fetch') constant
48 return npmFetch.json.stream('/-/v1/search', 'objects.*',