Searched refs:packageJsonCache (Results 1 – 8 of 8) sorted by relevance
29 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)!;
90 this.packageJsonCache = opt.packageJsonCache || new Map()95 this.packageJsonCache = this.parent.packageJsonCache155 if (this.packageJsonCache.has(ig))156 this.onPackageJson(ig, this.packageJsonCache.get(ig), then)162 this.packageJsonCache.set(ig, pkg) property253 options.packageJsonCache = bw.packageJsonCache265 options.packageJsonCache = bw.packageJsonCache
34 this.packageJsonCache = this.parent.packageJsonCache38 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)
256 const packageJsonCache = new SafeMap(); constant261 const existing = packageJsonCache.get(jsonPath);267 packageJsonCache.set(jsonPath, false);280 packageJsonCache.set(jsonPath, filtered);
771 readonly packageJsonCache: PackageJsonCache;837 this.packageJsonCache = createPackageJsonCache(this);3900 const packageJsonCache = this.packageJsonCache; constant3905 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);
19454 const packageJsonCache = new Map(); constant19553 const existing = packageJsonCache.get(path);19571 packageJsonCache.set(path, packageConfig);19601 packageJsonCache.set(path, packageConfig);19642 packageJsonCache.set(packageJsonPath, packageConfig);
156326 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);
156132 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);