Home
last modified time | relevance | path

Searched refs:packageId (Results 1 – 25 of 49) sorted by relevance

12

/third_party/node/deps/npm/test/tap/
Dunit-package-id.js3 var packageId = require('../../lib/utils/package-id.js') variable
6 t.is(packageId({package: {_id: 'abc@123'}}), 'abc@123', 'basic')
7 t.is(packageId({_id: 'abc@123'}), 'abc@123', 'basic no tree')
8 t.is(packageId({package: {name: 'abc', version: '123'}}), 'abc@123', 'computed')
9 …t.is(packageId({package: {_id: '@', name: 'abc', version: '123'}}), 'abc@123', 'computed, ignore i…
10 t.is(packageId({package: {name: 'abc'}}), 'abc', 'no version')
11 t.is(packageId({package: {version: '123'}}), '!invalid#1@123', 'version, no name')
12 t.is(packageId({package: {version: '123'}, path: '/path/to/abc'}), 'abc@123', 'version path-name')
13 …t.is(packageId({package: {version: '123'}, path: '/path/@to/abc'}), '@to/abc@123', 'version scoped…
14 t.is(packageId({path: '/path/to/abc'}), 'abc', 'path name, no version')
[all …]
/third_party/node/deps/npm/lib/install/action/
Dpreinstall.js3 var packageId = require('../../utils/package-id.js') variable
6 log.silly('preinstall', packageId(pkg))
Dpostinstall.js3 var packageId = require('../../utils/package-id.js') variable
6 log.silly('postinstall', packageId(pkg))
Dinstall.js3 var packageId = require('../../utils/package-id.js') variable
6 log.silly('install', packageId(pkg))
Dglobal-link.js4 var packageId = require('../../utils/package-id.js') variable
7 log.silly('global-link', packageId(pkg))
Dbuild.js5 var packageId = require('../../utils/package-id.js') variable
8 log.silly('build', packageId(pkg))
Dfetch.js7 const packageId = require('../../utils/package-id.js') constant
12 log.silly('fetch', packageId(pkg))
Dprepare.js4 var packageId = require('../../utils/package-id.js') variable
9 log.silly('prepublish', packageId(pkg))
Dunbuild.js4 var packageId = require('../../utils/package-id.js') variable
8 log.silly('unbuild', packageId(pkg))
Dglobal-install.js5 var packageId = require('../../utils/package-id.js') variable
9 log.silly('global-install', packageId(pkg))
Dfinalize.js16 const packageId = require('../../utils/package-id.js') constant
103 …log.warn('rollback', `Rolling back ${packageId(pkg)} failed (this is probably harmless): ${err.mes…
Dextract.js15 const packageId = require('../../utils/package-id.js') constant
49 log.silly('extract', packageId(pkg))
/third_party/typescript/src/compiler/
Dwatch.ts196 message = referenceLocation.packageId ?
201 message = referenceLocation.packageId ?
206 message = referenceLocation.packageId ?
212 Debug.assert(!referenceLocation.packageId);
216 message = referenceLocation.packageId ?
221 Debug.assert(!referenceLocation.packageId);
232 referenceLocation.packageId && packageIdToString(referenceLocation.packageId)
271 reason.packageId ?
274 reason.packageId ?
278 reason.packageId && packageIdToString(reason.packageId),
DmoduleNameResolver.ts15 let packageId: PackageId | undefined;
19 packageId = {
26 return r && { path: r.path, extension: r.ext, packageId };
35 Debug.assert(r.packageId === undefined);
44 packageId: PackageId | undefined; property
77 readonly packageId: PackageId | undefined; property
85 return { fileName: resolved.path, packageId: resolved.packageId };
94 …ginalPath, extension: resolved.extension, isExternalLibraryImport, packageId: resolved.packageId },
328 const { fileName, packageId } = resolved; constant
331 if (packageId) {
[all …]
/third_party/node/deps/npm/lib/install/
Dvalidate-tree.js14 var packageId = require('../utils/package-id.js') variable
42 var warn = new Error(packageId(tree) + ' requires a peer of ' + pkgname + '@' +
61 var warnObj = new Error(packageId(idealTree) + ' ' + warn)
Daudit.js14 const packageId = require('../utils/package-id.js') constant
261 const auditInstall = (install || []).filter((a) => a.name).map(packageId)
262 const auditRemove = (remove || []).filter((a) => a.name).map(packageId)
272 auditDiffs[mutation].push({location: child.location, previous: packageId(child.oldPkg)})
274 auditDiffs[mutation].push({previous: packageId(child)})
Dmutate-into-logical-tree.js8 var packageId = require('../utils/package-id.js') variable
129 requiredBy: packageId(child),
/third_party/node/deps/npm/lib/config/
Dbin-links.js4 var packageId = require('../utils/package-id.js') variable
19 pkgId: packageId(pkg),
/third_party/typescript/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/
DjsxImportSource-option-changed.js47 …x-runtime" from file '/user/username/projects/myproject/index.tsx' with packageId 'react/jsx-runti…
58 …Imported via "react/jsx-runtime" from file 'index.tsx' with packageId 'react/jsx-runtime/index.d.t…
/third_party/typescript/tests/baselines/reference/tsc/declarationEmit/
Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link-moduleCaseChange.js155 …Imported via "typescript-fsa" from file 'plugin-two/dist/commonjs/index.d.ts' with packageId 'type…
157 …Imported via "plugin-two" from file 'plugin-one/index.ts' with packageId 'plugin-two/dist/commonjs…
159 …Imported via "typescript-fsa" from file 'plugin-one/index.ts' with packageId 'typescript-fsa/index…
Dwhen-same-version-is-referenced-through-source-and-another-symlinked-package-with-indirect-link.js155 …Imported via "typescript-fsa" from file 'plugin-two/dist/commonjs/index.d.ts' with packageId 'type…
157 …Imported via "plugin-two" from file 'plugin-one/index.ts' with packageId 'plugin-two/dist/commonjs…
159 …Imported via "typescript-fsa" from file 'plugin-one/index.ts' with packageId 'typescript-fsa/index…
Dwhen-pkg-references-sibling-package-through-indirect-symlink-moduleCaseChange.js70 …Imported via '@raymondfeng/pkg1' from file 'pkg2/dist/types.d.ts' with packageId '@raymondfeng/pkg…
74 …Imported via "@raymondfeng/pkg2" from file 'pkg3/src/keys.ts' with packageId '@raymondfeng/pkg2/di…
Dwhen-pkg-references-sibling-package-through-indirect-symlink.js70 …Imported via '@raymondfeng/pkg1' from file 'pkg2/dist/types.d.ts' with packageId '@raymondfeng/pkg…
74 …Imported via "@raymondfeng/pkg2" from file 'pkg3/src/keys.ts' with packageId '@raymondfeng/pkg2/di…
/third_party/typescript/tests/baselines/reference/tscWatch/incremental/
DjsxImportSource-option-changed-incremental.js63 …Imported via "react/jsx-runtime" from file 'index.tsx' with packageId 'react/jsx-runtime/index.d.t…
163 …Imported via "preact/jsx-runtime" from file 'index.tsx' with packageId 'preact/jsx-runtime/index.d…
/third_party/node/deps/npm/lib/
Dls.js22 var packageId = require('./utils/package-id.js') variable
191 lite.problems.push('extraneous: ' + packageId(data) + ' ' + (data.path || ''))
214 packageId(data) +
222 packageId(data) +
240 packageId(data)

12