Home
last modified time | relevance | path

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

/third_party/typescript/src/server/
DpackageJsonCache.ts14 const packageJsons = new Map<string, PackageJsonInfo>(); constant
18 forEach: packageJsons.forEach.bind(packageJsons),
19 get: packageJsons.get.bind(packageJsons),
21 packageJsons.delete(fileName);
25 return packageJsons.get(combinePaths(directory, "package.json")) || undefined;
46 packageJsons.set(fileName, packageJsonInfo);
51 return packageJsons.has(combinePaths(directory, "package.json")) ? Ternary.True :
Dproject.ts1708 …const packageJsons = this.getPackageJsonsVisibleToFile(combinePaths(this.currentDirectory, inferre… constant
1709 this.packageJsonsForAutoImport = new Set(packageJsons.map(p => p.fileName));
1710 return packageJsons;
1940 …const packageJsons = hostProject.getPackageJsonsForAutoImport(combinePaths(hostProject.currentDire… constant
1941 for (const packageJson of packageJsons) {
/third_party/typescript/src/services/codefixes/
DimportFixes.ts1013 const packageJsons = ( constant
1022 for (const packageJson of packageJsons) {
1031 if (!packageJsons.length) {
1051 if (!packageJsons.length) {
1069 if (!packageJsons.length || isAllowedCoreNodeModulesImport(moduleSpecifier)) {
/third_party/typescript/src/services/
Dutilities.ts2743 const packageJsons: PackageJsonInfo[] = []; constant
2749 packageJsons.push(info);
2754 return packageJsons;
/third_party/typescript/lib/
Dtsserverlibrary.js118403 var packageJsons = [];
118409 packageJsons.push(info);
118413 return packageJsons;
139763 …var packageJsons = ((host.getPackageJsonsVisibleToFile && host.getPackageJsonsVisibleToFile(fromFi…
139768 for (var _i = 0, packageJsons_1 = packageJsons; _i < packageJsons_1.length; _i++) {
139777 if (!packageJsons.length) {
139793 if (!packageJsons.length) {
139808 if (!packageJsons.length || isAllowedCoreNodeModulesImport(moduleSpecifier)) {
155298 …var packageJsons = this.getPackageJsonsVisibleToFile(ts.combinePaths(this.currentDirectory, ts.inf…
155299 …this.packageJsonsForAutoImport = new ts.Set(packageJsons.map(function (p) { return p.fileName; }));
[all …]
Dtsserver.js117834 var packageJsons = [];
117840 packageJsons.push(info);
117844 return packageJsons;
139194 …var packageJsons = ((host.getPackageJsonsVisibleToFile && host.getPackageJsonsVisibleToFile(fromFi…
139199 for (var _i = 0, packageJsons_1 = packageJsons; _i < packageJsons_1.length; _i++) {
139208 if (!packageJsons.length) {
139224 if (!packageJsons.length) {
139239 if (!packageJsons.length || isAllowedCoreNodeModulesImport(moduleSpecifier)) {
155104 …var packageJsons = this.getPackageJsonsVisibleToFile(ts.combinePaths(this.currentDirectory, ts.inf…
155105 …this.packageJsonsForAutoImport = new ts.Set(packageJsons.map(function (p) { return p.fileName; }));
[all …]
Dtypescript.js118403 var packageJsons = [];
118409 packageJsons.push(info);
118413 return packageJsons;
139763 …var packageJsons = ((host.getPackageJsonsVisibleToFile && host.getPackageJsonsVisibleToFile(fromFi…
139768 for (var _i = 0, packageJsons_1 = packageJsons; _i < packageJsons_1.length; _i++) {
139777 if (!packageJsons.length) {
139793 if (!packageJsons.length) {
139808 if (!packageJsons.length || isAllowedCoreNodeModulesImport(moduleSpecifier)) {
DtypescriptServices.js118403 var packageJsons = [];
118409 packageJsons.push(info);
118413 return packageJsons;
139763 …var packageJsons = ((host.getPackageJsonsVisibleToFile && host.getPackageJsonsVisibleToFile(fromFi…
139768 for (var _i = 0, packageJsons_1 = packageJsons; _i < packageJsons_1.length; _i++) {
139777 if (!packageJsons.length) {
139793 if (!packageJsons.length) {
139808 if (!packageJsons.length || isAllowedCoreNodeModulesImport(moduleSpecifier)) {