Home
last modified time | relevance | path

Searched refs:packageJsonCache (Results 1 – 8 of 8) sorted by relevance

/third_party/typescript/src/testRunner/unittests/tsserver/
DpackageJsonInfo.ts29 assert.isUndefined(projectService.packageJsonCache.getInDirectory("/" as Path));
33 let packageJsonInfo = projectService.packageJsonCache.getInDirectory("/" as Path)!;
45 packageJsonInfo = projectService.packageJsonCache.getInDirectory("/" as Path)!;
53 assert.ok(projectService.packageJsonCache.getInDirectory("/" as Path));
57 assert.isUndefined(projectService.packageJsonCache.getInDirectory("/" as Path));
73 const packageJsonInfo = projectService.packageJsonCache.getInDirectory("/" as Path)!;
78 const packageJsonInfo2 = projectService.packageJsonCache.getInDirectory("/" as Path)!;
90 const packageJsonInfo = projectService.packageJsonCache.getInDirectory("/" as Path)!;
95 const packageJsonInfo2 = projectService.packageJsonCache.getInDirectory("/" as Path)!;
/third_party/node/deps/npm/node_modules/npm-packlist/
Dindex.js90 this.packageJsonCache = opt.packageJsonCache || new Map()
95 this.packageJsonCache = this.parent.packageJsonCache
155 if (this.packageJsonCache.has(ig))
156 this.onPackageJson(ig, this.packageJsonCache.get(ig), then)
162 this.packageJsonCache.set(ig, pkg) property
253 options.packageJsonCache = bw.packageJsonCache
265 options.packageJsonCache = bw.packageJsonCache
/third_party/node/deps/npm/node_modules/npm-bundled/
Dindex.js34 this.packageJsonCache = this.parent.packageJsonCache
38 this.packageJsonCache = opt.packageJsonCache || new Map()
76 if (this.packageJsonCache.has(pj))
77 this.onPackage(this.packageJsonCache.get(pj))
94 this.packageJsonCache.set(pj, this.package)
/third_party/node/lib/internal/modules/cjs/
Dloader.js256 const packageJsonCache = new SafeMap(); constant
261 const existing = packageJsonCache.get(jsonPath);
267 packageJsonCache.set(jsonPath, false);
280 packageJsonCache.set(jsonPath, filtered);
/third_party/typescript/src/server/
DeditorServices.ts771 readonly packageJsonCache: PackageJsonCache;
837 this.packageJsonCache = createPackageJsonCache(this);
3900 const packageJsonCache = this.packageJsonCache; constant
3905 switch (packageJsonCache.directoryHasPackageJson(directory)) {
3908 packageJsonCache.searchDirectoryAndAncestors(directory);
3914 const info = packageJsonCache.getInDirectory(directory);
3929 switch (this.packageJsonCache.directoryHasPackageJson(this.toPath(directory))) {
3953 this.packageJsonCache.addOrUpdate(path);
3957 this.packageJsonCache.delete(path);
3972 this.packageJsonCache.addOrUpdate(path);
/third_party/node/tools/
Dlint-md.mjs19454 const packageJsonCache = new Map(); constant
19553 const existing = packageJsonCache.get(path);
19571 packageJsonCache.set(path, packageConfig);
19601 packageJsonCache.set(path, packageConfig);
19642 packageJsonCache.set(packageJsonPath, packageConfig);
/third_party/typescript/lib/
Dtsserverlibrary.js156326 this.packageJsonCache = server.createPackageJsonCache(this);
159054 var packageJsonCache = this.packageJsonCache;
159059 switch (packageJsonCache.directoryHasPackageJson(directory)) {
159062 packageJsonCache.searchDirectoryAndAncestors(directory);
159068 var info = packageJsonCache.getInDirectory(directory);
159083 … switch (_this.packageJsonCache.directoryHasPackageJson(_this.toPath(directory))) {
159105 _this.packageJsonCache.addOrUpdate(path);
159109 _this.packageJsonCache.delete(path);
159119 this.packageJsonCache.addOrUpdate(path);
Dtsserver.js156132 this.packageJsonCache = server.createPackageJsonCache(this);
158860 var packageJsonCache = this.packageJsonCache;
158865 switch (packageJsonCache.directoryHasPackageJson(directory)) {
158868 packageJsonCache.searchDirectoryAndAncestors(directory);
158874 var info = packageJsonCache.getInDirectory(directory);
158889 … switch (_this.packageJsonCache.directoryHasPackageJson(_this.toPath(directory))) {
158911 _this.packageJsonCache.addOrUpdate(path);
158915 _this.packageJsonCache.delete(path);
158925 this.packageJsonCache.addOrUpdate(path);