@angular/compiler-cli 13.1.0-next.0 → 13.1.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-AMD3PZ5E.js → chunk-2DL256T3.js} +84 -73
- package/bundles/chunk-2DL256T3.js.map +6 -0
- package/bundles/{chunk-GKA4YGOR.js → chunk-ACINBTQB.js} +5 -5
- package/bundles/{chunk-GKA4YGOR.js.map → chunk-ACINBTQB.js.map} +0 -0
- package/bundles/{chunk-XPUO7JIT.js → chunk-BUHTODFL.js} +6 -6
- package/bundles/{chunk-XPUO7JIT.js.map → chunk-BUHTODFL.js.map} +0 -0
- package/bundles/{chunk-DLQQUCPJ.js → chunk-EP5JHXG2.js} +8 -8
- package/bundles/{chunk-DLQQUCPJ.js.map → chunk-EP5JHXG2.js.map} +0 -0
- package/bundles/{chunk-J6CW3T62.js → chunk-GLCRIILX.js} +5 -5
- package/bundles/{chunk-J6CW3T62.js.map → chunk-GLCRIILX.js.map} +0 -0
- package/bundles/{chunk-E64KJMKN.js → chunk-JNWO3JB2.js} +42 -42
- package/bundles/chunk-JNWO3JB2.js.map +6 -0
- package/bundles/{chunk-DDB2HQYR.js → chunk-MIQ5UCHZ.js} +66 -66
- package/bundles/{chunk-DDB2HQYR.js.map → chunk-MIQ5UCHZ.js.map} +1 -1
- package/bundles/{chunk-M7P4HAA4.js → chunk-PBA67OV4.js} +4 -4
- package/bundles/{chunk-M7P4HAA4.js.map → chunk-PBA67OV4.js.map} +0 -0
- package/bundles/{chunk-BPCUCINV.js → chunk-QDWL7SZJ.js} +2 -2
- package/bundles/{chunk-BPCUCINV.js.map → chunk-QDWL7SZJ.js.map} +0 -0
- package/bundles/{chunk-IG72ZKR7.js → chunk-QL6ZC3U3.js} +8 -8
- package/bundles/{chunk-IG72ZKR7.js.map → chunk-QL6ZC3U3.js.map} +0 -0
- package/bundles/{chunk-CRTDZEUV.js → chunk-S3QIIFH7.js} +6 -6
- package/bundles/{chunk-CRTDZEUV.js.map → chunk-S3QIIFH7.js.map} +0 -0
- package/bundles/{chunk-JTYUTYS2.js → chunk-SKBLJA43.js} +3 -3
- package/bundles/{chunk-JTYUTYS2.js.map → chunk-SKBLJA43.js.map} +0 -0
- package/bundles/{chunk-XKKOHZ3B.js → chunk-UMUIU7TE.js} +4 -4
- package/bundles/{chunk-XKKOHZ3B.js.map → chunk-UMUIU7TE.js.map} +0 -0
- package/bundles/{chunk-QLSZVEIC.js → chunk-VKIZ4TCJ.js} +137 -132
- package/bundles/chunk-VKIZ4TCJ.js.map +6 -0
- package/bundles/{chunk-WOCQ7IIB.js → chunk-WOC6KEUY.js} +43 -41
- package/bundles/{chunk-WOCQ7IIB.js.map → chunk-WOC6KEUY.js.map} +1 -1
- package/bundles/{chunk-QKLPWCHI.js → chunk-WYO7JO2T.js} +19 -19
- package/bundles/{chunk-QKLPWCHI.js.map → chunk-WYO7JO2T.js.map} +0 -0
- package/bundles/{chunk-5VGHS4A4.js → chunk-XA5IZLLC.js} +1 -1
- package/bundles/{chunk-5VGHS4A4.js.map → chunk-XA5IZLLC.js.map} +0 -0
- package/bundles/index.js +15 -15
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +14 -14
- package/bundles/ngcc/main-ngcc.js +15 -15
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +15 -15
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +5 -5
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/localize.js +4 -4
- package/bundles/private/migrations.js +6 -6
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +12 -12
- package/bundles/src/bin/ngc.js +10 -10
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +2 -2
- package/linker/src/file_linker/translator.d.ts +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/ngcc/src/packages/entry_point.d.ts +5 -0
- package/ngcc/src/rendering/commonjs_rendering_formatter.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/typecheck/api/checker.d.ts +1 -1
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
- package/bundles/chunk-AMD3PZ5E.js.map +0 -6
- package/bundles/chunk-E64KJMKN.js.map +0 -6
- package/bundles/chunk-QLSZVEIC.js.map +0 -6
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
MetadataDtsModuleScopeResolver,
|
|
11
11
|
TypeCheckScopeRegistry,
|
|
12
12
|
readConfiguration
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VKIZ4TCJ.js";
|
|
14
14
|
import {
|
|
15
15
|
CompilationMode,
|
|
16
16
|
ComponentDecoratorHandler,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isFatalDiagnosticError,
|
|
34
34
|
readBaseClass,
|
|
35
35
|
replaceTsWithNgInErrors
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-MIQ5UCHZ.js";
|
|
37
37
|
import {
|
|
38
38
|
ClassMemberKind,
|
|
39
39
|
KnownDeclaration,
|
|
@@ -44,15 +44,15 @@ import {
|
|
|
44
44
|
isNamedFunctionDeclaration,
|
|
45
45
|
isNamedVariableDeclaration,
|
|
46
46
|
reflectObjectLiteral
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-S3QIIFH7.js";
|
|
48
48
|
import {
|
|
49
49
|
ConsoleLogger,
|
|
50
50
|
LogLevel
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-SKBLJA43.js";
|
|
52
52
|
import {
|
|
53
53
|
ContentOrigin,
|
|
54
54
|
SourceFileLoader
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-QL6ZC3U3.js";
|
|
56
56
|
import {
|
|
57
57
|
AbsoluteModuleStrategy,
|
|
58
58
|
ImportManager,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
translateStatement,
|
|
72
72
|
translateType,
|
|
73
73
|
validateAndRewriteCoreSymbol
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-WYO7JO2T.js";
|
|
75
75
|
import {
|
|
76
76
|
LogicalFileSystem,
|
|
77
77
|
NgtscCompilerHost,
|
|
@@ -83,25 +83,25 @@ import {
|
|
|
83
83
|
isRooted,
|
|
84
84
|
relative,
|
|
85
85
|
toRelativeImport
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-EP5JHXG2.js";
|
|
87
87
|
import {
|
|
88
88
|
NOOP_PERF_RECORDER
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-GLCRIILX.js";
|
|
90
90
|
import {
|
|
91
91
|
__spreadProps,
|
|
92
92
|
__spreadValues
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-XA5IZLLC.js";
|
|
94
94
|
|
|
95
|
-
// bazel-out/
|
|
95
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
96
96
|
import ts23 from "typescript";
|
|
97
97
|
|
|
98
|
-
// bazel-out/
|
|
98
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
99
99
|
import ts8 from "typescript";
|
|
100
100
|
|
|
101
|
-
// bazel-out/
|
|
101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
102
102
|
import ts7 from "typescript";
|
|
103
103
|
|
|
104
|
-
// bazel-out/
|
|
104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
105
105
|
import ts from "typescript";
|
|
106
106
|
function isDefined(value) {
|
|
107
107
|
return value !== void 0 && value !== null;
|
|
@@ -184,7 +184,7 @@ function stripExtension(fileName) {
|
|
|
184
184
|
return fileName.replace(/\..+$/, "");
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
// bazel-out/
|
|
187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
188
188
|
import ts2 from "typescript";
|
|
189
189
|
function findNamespaceOfIdentifier(id) {
|
|
190
190
|
return id.parent && ts2.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts2.isIdentifier(id.parent.expression) ? id.parent.expression : null;
|
|
@@ -270,10 +270,10 @@ function skipAliases(node) {
|
|
|
270
270
|
return node;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
// bazel-out/
|
|
273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
274
274
|
import ts5 from "typescript";
|
|
275
275
|
|
|
276
|
-
// bazel-out/
|
|
276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
|
|
277
277
|
function isWithinPackage(packagePath, filePath) {
|
|
278
278
|
const relativePath = relative(packagePath, filePath);
|
|
279
279
|
return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
|
|
@@ -288,7 +288,7 @@ var NoopDependencyTracker = class {
|
|
|
288
288
|
};
|
|
289
289
|
var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
|
|
290
290
|
|
|
291
|
-
// bazel-out/
|
|
291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/ngcc_host.mjs
|
|
292
292
|
import ts3 from "typescript";
|
|
293
293
|
var PRE_R3_MARKER = "__PRE_R3__";
|
|
294
294
|
var POST_R3_MARKER = "__POST_R3__";
|
|
@@ -296,13 +296,13 @@ function isSwitchableVariableDeclaration(node) {
|
|
|
296
296
|
return ts3.isVariableDeclaration(node) && !!node.initializer && ts3.isIdentifier(node.initializer) && node.initializer.text.endsWith(PRE_R3_MARKER);
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
// bazel-out/
|
|
299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
|
|
300
300
|
import ts4 from "typescript";
|
|
301
301
|
function stripParentheses(node) {
|
|
302
302
|
return ts4.isParenthesizedExpression(node) ? node.expression : node;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
// bazel-out/
|
|
305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
306
306
|
var DECORATORS = "decorators";
|
|
307
307
|
var PROP_DECORATORS = "propDecorators";
|
|
308
308
|
var CONSTRUCTOR = "__constructor";
|
|
@@ -1533,7 +1533,7 @@ function getOuterNodeFromInnerDeclaration(node) {
|
|
|
1533
1533
|
return outerNode;
|
|
1534
1534
|
}
|
|
1535
1535
|
|
|
1536
|
-
// bazel-out/
|
|
1536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
|
|
1537
1537
|
import ts6 from "typescript";
|
|
1538
1538
|
var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
|
|
1539
1539
|
getBaseClassExpression(clazz) {
|
|
@@ -1867,7 +1867,7 @@ function getIifeFn(classSymbol) {
|
|
|
1867
1867
|
return iifeWrapper && ts6.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
|
|
1868
1868
|
}
|
|
1869
1869
|
|
|
1870
|
-
// bazel-out/
|
|
1870
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
1871
1871
|
var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
1872
1872
|
constructor(logger, isCore, src, dts = null) {
|
|
1873
1873
|
super(logger, isCore, src, dts);
|
|
@@ -2258,7 +2258,7 @@ function isExportsIdentifier(node) {
|
|
|
2258
2258
|
return ts7.isIdentifier(node) && node.text === "exports";
|
|
2259
2259
|
}
|
|
2260
2260
|
|
|
2261
|
-
// bazel-out/
|
|
2261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
2262
2262
|
var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
|
|
2263
2263
|
var NO_ENTRY_POINT = "no-entry-point";
|
|
2264
2264
|
var IGNORED_ENTRY_POINT = "ignored-entry-point";
|
|
@@ -2269,6 +2269,7 @@ function getEntryPointInfo(fs, config, logger, packagePath, entryPointPath) {
|
|
|
2269
2269
|
const loadedPackagePackageJson = loadPackageJson(fs, packagePackageJsonPath);
|
|
2270
2270
|
const loadedEntryPointPackageJson = packagePackageJsonPath === entryPointPackageJsonPath ? loadedPackagePackageJson : loadPackageJson(fs, entryPointPackageJsonPath);
|
|
2271
2271
|
const { packageName, packageVersion } = getPackageNameAndVersion(fs, packagePath, loadedPackagePackageJson, loadedEntryPointPackageJson);
|
|
2272
|
+
const repositoryUrl = getRepositoryUrl(loadedPackagePackageJson);
|
|
2272
2273
|
const packageConfig = config.getPackageConfig(packageName, packagePath, packageVersion);
|
|
2273
2274
|
const entryPointConfig = packageConfig.entryPoints.get(entryPointPath);
|
|
2274
2275
|
let entryPointPackageJson;
|
|
@@ -2297,6 +2298,7 @@ function getEntryPointInfo(fs, config, logger, packagePath, entryPointPath) {
|
|
|
2297
2298
|
path: entryPointPath,
|
|
2298
2299
|
packageName,
|
|
2299
2300
|
packagePath,
|
|
2301
|
+
repositoryUrl,
|
|
2300
2302
|
packageJson: entryPointPackageJson,
|
|
2301
2303
|
typings: fs.resolve(entryPointPath, typings),
|
|
2302
2304
|
compiledByAngular,
|
|
@@ -2405,8 +2407,17 @@ function getPackageNameAndVersion(fs, packagePath, packagePackageJson, entryPoin
|
|
|
2405
2407
|
packageVersion: (_a = packagePackageJson == null ? void 0 : packagePackageJson.version) != null ? _a : null
|
|
2406
2408
|
};
|
|
2407
2409
|
}
|
|
2410
|
+
function getRepositoryUrl(packageJson) {
|
|
2411
|
+
if ((packageJson == null ? void 0 : packageJson.repository) === void 0) {
|
|
2412
|
+
return "";
|
|
2413
|
+
}
|
|
2414
|
+
if (typeof packageJson.repository === "string") {
|
|
2415
|
+
return packageJson.repository;
|
|
2416
|
+
}
|
|
2417
|
+
return packageJson.repository.url;
|
|
2418
|
+
}
|
|
2408
2419
|
|
|
2409
|
-
// bazel-out/
|
|
2420
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
|
|
2410
2421
|
var DtsProcessing;
|
|
2411
2422
|
(function(DtsProcessing2) {
|
|
2412
2423
|
DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
|
|
@@ -2415,10 +2426,10 @@ var DtsProcessing;
|
|
|
2415
2426
|
})(DtsProcessing || (DtsProcessing = {}));
|
|
2416
2427
|
var TaskDependencies = Map;
|
|
2417
2428
|
|
|
2418
|
-
// bazel-out/
|
|
2429
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
2419
2430
|
import ts10 from "typescript";
|
|
2420
2431
|
|
|
2421
|
-
// bazel-out/
|
|
2432
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
|
|
2422
2433
|
import ts9 from "typescript";
|
|
2423
2434
|
function patchTsGetExpandoInitializer() {
|
|
2424
2435
|
if (isTs31778GetExpandoInitializerFixed()) {
|
|
@@ -2523,7 +2534,7 @@ function makeUnsupportedTypeScriptError() {
|
|
|
2523
2534
|
return new Error("The TypeScript version used is not supported by ngcc.");
|
|
2524
2535
|
}
|
|
2525
2536
|
|
|
2526
|
-
// bazel-out/
|
|
2537
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
2527
2538
|
function makeBundleProgram(fs, isCore, pkg, path, r3FileName, options, host, additionalFiles = []) {
|
|
2528
2539
|
const r3SymbolsPath = isCore ? findR3SymbolsPath(fs, fs.dirname(path), r3FileName) : null;
|
|
2529
2540
|
let rootPaths = r3SymbolsPath ? [path, r3SymbolsPath, ...additionalFiles] : [path, ...additionalFiles];
|
|
@@ -2553,7 +2564,7 @@ function findR3SymbolsPath(fs, directory, filename) {
|
|
|
2553
2564
|
return null;
|
|
2554
2565
|
}
|
|
2555
2566
|
|
|
2556
|
-
// bazel-out/
|
|
2567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
|
|
2557
2568
|
import ts11 from "typescript";
|
|
2558
2569
|
var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
2559
2570
|
constructor(fs, options, cache, moduleResolutionCache, packagePath) {
|
|
@@ -2598,7 +2609,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
|
|
|
2598
2609
|
}
|
|
2599
2610
|
};
|
|
2600
2611
|
|
|
2601
|
-
// bazel-out/
|
|
2612
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
|
|
2602
2613
|
import ts12 from "typescript";
|
|
2603
2614
|
var SharedFileCache = class {
|
|
2604
2615
|
constructor(fs) {
|
|
@@ -2699,7 +2710,7 @@ function createModuleResolutionCache(fs) {
|
|
|
2699
2710
|
});
|
|
2700
2711
|
}
|
|
2701
2712
|
|
|
2702
|
-
// bazel-out/
|
|
2713
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
|
|
2703
2714
|
function makeEntryPointBundle(fs, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, dtsProcessing, pathMappings, mirrorDtsFromSrc = false, enableI18nLegacyMessageIdFormat = true) {
|
|
2704
2715
|
const rootDir = entryPoint.packagePath;
|
|
2705
2716
|
const options = __spreadValues({ allowJs: true, maxNodeModuleJsDepth: Infinity, rootDir }, pathMappings);
|
|
@@ -2740,13 +2751,13 @@ function computePotentialDtsFilesFromJsFiles(fs, srcProgram, formatPath, typings
|
|
|
2740
2751
|
return additionalFiles;
|
|
2741
2752
|
}
|
|
2742
2753
|
|
|
2743
|
-
// bazel-out/
|
|
2754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
2744
2755
|
import ts22 from "typescript";
|
|
2745
2756
|
|
|
2746
|
-
// bazel-out/
|
|
2757
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
2747
2758
|
import { ConstantPool } from "@angular/compiler";
|
|
2748
2759
|
|
|
2749
|
-
// bazel-out/
|
|
2760
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
|
|
2750
2761
|
import ts13 from "typescript";
|
|
2751
2762
|
function isClassDeclaration(clazz) {
|
|
2752
2763
|
return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
|
|
@@ -2829,7 +2840,7 @@ function reifySourceFile(expr) {
|
|
|
2829
2840
|
return stmt.declarationList.declarations[0].initializer;
|
|
2830
2841
|
}
|
|
2831
2842
|
|
|
2832
|
-
// bazel-out/
|
|
2843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
|
|
2833
2844
|
var MissingInjectableMigration = class {
|
|
2834
2845
|
apply(clazz, host) {
|
|
2835
2846
|
const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
|
|
@@ -2934,7 +2945,7 @@ function getAngularCoreDecoratorName(decorator) {
|
|
|
2934
2945
|
return decorator.import.name;
|
|
2935
2946
|
}
|
|
2936
2947
|
|
|
2937
|
-
// bazel-out/
|
|
2948
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
|
|
2938
2949
|
var UndecoratedChildMigration = class {
|
|
2939
2950
|
apply(clazz, host) {
|
|
2940
2951
|
const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
|
|
@@ -2969,7 +2980,7 @@ var UndecoratedChildMigration = class {
|
|
|
2969
2980
|
}
|
|
2970
2981
|
};
|
|
2971
2982
|
|
|
2972
|
-
// bazel-out/
|
|
2983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
|
|
2973
2984
|
var UndecoratedParentMigration = class {
|
|
2974
2985
|
apply(clazz, host) {
|
|
2975
2986
|
if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
|
|
@@ -3002,7 +3013,7 @@ function determineBaseClass(clazz, host) {
|
|
|
3002
3013
|
return baseClass;
|
|
3003
3014
|
}
|
|
3004
3015
|
|
|
3005
|
-
// bazel-out/
|
|
3016
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
|
|
3006
3017
|
import ts14 from "typescript";
|
|
3007
3018
|
var DefaultMigrationHost = class {
|
|
3008
3019
|
constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
|
|
@@ -3062,7 +3073,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
|
3062
3073
|
return clone;
|
|
3063
3074
|
}
|
|
3064
3075
|
|
|
3065
|
-
// bazel-out/
|
|
3076
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
|
|
3066
3077
|
var NgccTraitCompiler = class extends TraitCompiler {
|
|
3067
3078
|
constructor(handlers, ngccReflector) {
|
|
3068
3079
|
super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null);
|
|
@@ -3107,10 +3118,10 @@ var NoIncrementalBuild = class {
|
|
|
3107
3118
|
}
|
|
3108
3119
|
};
|
|
3109
3120
|
|
|
3110
|
-
// bazel-out/
|
|
3121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
3111
3122
|
var DecorationAnalyses = Map;
|
|
3112
3123
|
|
|
3113
|
-
// bazel-out/
|
|
3124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
3114
3125
|
var NgccResourceLoader = class {
|
|
3115
3126
|
constructor(fs) {
|
|
3116
3127
|
this.fs = fs;
|
|
@@ -3266,7 +3277,7 @@ var DecorationAnalyzer = class {
|
|
|
3266
3277
|
}
|
|
3267
3278
|
};
|
|
3268
3279
|
|
|
3269
|
-
// bazel-out/
|
|
3280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
3270
3281
|
import ts15 from "typescript";
|
|
3271
3282
|
var ModuleWithProvidersAnalyses = Map;
|
|
3272
3283
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -3405,7 +3416,7 @@ function isAnyKeyword(typeParam) {
|
|
|
3405
3416
|
return typeParam.kind === ts15.SyntaxKind.AnyKeyword;
|
|
3406
3417
|
}
|
|
3407
3418
|
|
|
3408
|
-
// bazel-out/
|
|
3419
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
3409
3420
|
var NgccReferencesRegistry = class {
|
|
3410
3421
|
constructor(host) {
|
|
3411
3422
|
this.host = host;
|
|
@@ -3426,7 +3437,7 @@ var NgccReferencesRegistry = class {
|
|
|
3426
3437
|
}
|
|
3427
3438
|
};
|
|
3428
3439
|
|
|
3429
|
-
// bazel-out/
|
|
3440
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
3430
3441
|
var PrivateDeclarationsAnalyzer = class {
|
|
3431
3442
|
constructor(host, referencesRegistry) {
|
|
3432
3443
|
this.host = host;
|
|
@@ -3467,7 +3478,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
3467
3478
|
}
|
|
3468
3479
|
};
|
|
3469
3480
|
|
|
3470
|
-
// bazel-out/
|
|
3481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/switch_marker_analyzer.mjs
|
|
3471
3482
|
var SwitchMarkerAnalyses = Map;
|
|
3472
3483
|
var SwitchMarkerAnalyzer = class {
|
|
3473
3484
|
constructor(host, packagePath) {
|
|
@@ -3486,7 +3497,7 @@ var SwitchMarkerAnalyzer = class {
|
|
|
3486
3497
|
}
|
|
3487
3498
|
};
|
|
3488
3499
|
|
|
3489
|
-
// bazel-out/
|
|
3500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
3490
3501
|
import ts16 from "typescript";
|
|
3491
3502
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
3492
3503
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -3650,7 +3661,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
3650
3661
|
}
|
|
3651
3662
|
};
|
|
3652
3663
|
|
|
3653
|
-
// bazel-out/
|
|
3664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
3654
3665
|
var DelegatingReflectionHost = class {
|
|
3655
3666
|
constructor(tsHost, ngccHost) {
|
|
3656
3667
|
this.tsHost = tsHost;
|
|
@@ -3774,16 +3785,16 @@ var DelegatingReflectionHost = class {
|
|
|
3774
3785
|
}
|
|
3775
3786
|
};
|
|
3776
3787
|
|
|
3777
|
-
// bazel-out/
|
|
3788
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
3778
3789
|
import ts19 from "typescript";
|
|
3779
3790
|
|
|
3780
|
-
// bazel-out/
|
|
3791
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
3781
3792
|
import ts18 from "typescript";
|
|
3782
3793
|
|
|
3783
|
-
// bazel-out/
|
|
3794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
3784
3795
|
import ts17 from "typescript";
|
|
3785
3796
|
|
|
3786
|
-
// bazel-out/
|
|
3797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
3787
3798
|
var NgccFlatImportRewriter = class {
|
|
3788
3799
|
shouldImportSymbol(symbol, specifier) {
|
|
3789
3800
|
if (specifier === "@angular/core") {
|
|
@@ -3804,7 +3815,7 @@ var NgccFlatImportRewriter = class {
|
|
|
3804
3815
|
}
|
|
3805
3816
|
};
|
|
3806
3817
|
|
|
3807
|
-
// bazel-out/
|
|
3818
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
3808
3819
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
3809
3820
|
if (isCore && isFlat) {
|
|
3810
3821
|
return new NgccFlatImportRewriter();
|
|
@@ -3818,7 +3829,7 @@ function stripExtension2(filePath) {
|
|
|
3818
3829
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
3819
3830
|
}
|
|
3820
3831
|
|
|
3821
|
-
// bazel-out/
|
|
3832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
3822
3833
|
var EsmRenderingFormatter = class {
|
|
3823
3834
|
constructor(fs, host, isCore) {
|
|
3824
3835
|
this.fs = fs;
|
|
@@ -3986,7 +3997,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
3986
3997
|
return lastToken && lastToken.kind === ts17.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
3987
3998
|
}
|
|
3988
3999
|
|
|
3989
|
-
// bazel-out/
|
|
4000
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
3990
4001
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
3991
4002
|
addDefinitions(output, compiledClass, definitions) {
|
|
3992
4003
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -4014,7 +4025,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
4014
4025
|
}
|
|
4015
4026
|
};
|
|
4016
4027
|
|
|
4017
|
-
// bazel-out/
|
|
4028
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
4018
4029
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4019
4030
|
constructor(fs, commonJsHost, isCore) {
|
|
4020
4031
|
super(fs, commonJsHost, isCore);
|
|
@@ -4063,15 +4074,15 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
4063
4074
|
}
|
|
4064
4075
|
};
|
|
4065
4076
|
|
|
4066
|
-
// bazel-out/
|
|
4077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4067
4078
|
import MagicString from "magic-string";
|
|
4068
4079
|
import ts20 from "typescript";
|
|
4069
4080
|
|
|
4070
|
-
// bazel-out/
|
|
4081
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
4071
4082
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
4072
4083
|
var NGCC_TIMED_OUT_EXIT_CODE = 177;
|
|
4073
4084
|
|
|
4074
|
-
// bazel-out/
|
|
4085
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
4075
4086
|
import mapHelpers from "convert-source-map";
|
|
4076
4087
|
function renderSourceAndMap(logger, fs, sourceFile, generatedMagicString) {
|
|
4077
4088
|
var _a;
|
|
@@ -4106,7 +4117,7 @@ ${sourceMapComment}` },
|
|
|
4106
4117
|
}
|
|
4107
4118
|
}
|
|
4108
4119
|
|
|
4109
|
-
// bazel-out/
|
|
4120
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4110
4121
|
var DtsRenderInfo = class {
|
|
4111
4122
|
constructor() {
|
|
4112
4123
|
this.classInfo = [];
|
|
@@ -4207,14 +4218,14 @@ function markForEmitAsSingleLine(node) {
|
|
|
4207
4218
|
ts20.forEachChild(node, markForEmitAsSingleLine);
|
|
4208
4219
|
}
|
|
4209
4220
|
|
|
4210
|
-
// bazel-out/
|
|
4221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4211
4222
|
import { jsDocComment, WrappedNodeExpr, WritePropExpr } from "@angular/compiler";
|
|
4212
4223
|
import MagicString2 from "magic-string";
|
|
4213
4224
|
|
|
4214
|
-
// bazel-out/
|
|
4225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
4215
4226
|
var RedundantDecoratorMap = Map;
|
|
4216
4227
|
|
|
4217
|
-
// bazel-out/
|
|
4228
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4218
4229
|
var Renderer = class {
|
|
4219
4230
|
constructor(host, srcFormatter, fs, logger, bundle, tsConfig = null) {
|
|
4220
4231
|
this.host = host;
|
|
@@ -4321,7 +4332,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
4321
4332
|
return statement;
|
|
4322
4333
|
}
|
|
4323
4334
|
|
|
4324
|
-
// bazel-out/
|
|
4335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
4325
4336
|
import ts21 from "typescript";
|
|
4326
4337
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4327
4338
|
constructor(fs, umdHost, isCore) {
|
|
@@ -4492,7 +4503,7 @@ function isTypeOf(node, ...types) {
|
|
|
4492
4503
|
return ts21.isBinaryExpression(node) && ts21.isTypeOfExpression(node.left) && ts21.isIdentifier(node.left.expression) && types.indexOf(node.left.expression.text) !== -1;
|
|
4493
4504
|
}
|
|
4494
4505
|
|
|
4495
|
-
// bazel-out/
|
|
4506
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
4496
4507
|
var Transformer = class {
|
|
4497
4508
|
constructor(fs, logger, tsConfig = null) {
|
|
4498
4509
|
this.fs = fs;
|
|
@@ -4576,7 +4587,7 @@ function hasErrors(diagnostics) {
|
|
|
4576
4587
|
return diagnostics.some((d) => d.category === ts22.DiagnosticCategory.Error);
|
|
4577
4588
|
}
|
|
4578
4589
|
|
|
4579
|
-
// bazel-out/
|
|
4590
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
4580
4591
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
4581
4592
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
4582
4593
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -4592,7 +4603,7 @@ function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMess
|
|
|
4592
4603
|
onTaskCompleted(task, 1, `property \`${formatProperty}\` pointing to a missing or empty file: ${formatPath}`);
|
|
4593
4604
|
return;
|
|
4594
4605
|
}
|
|
4595
|
-
logger.info(
|
|
4606
|
+
logger.info(`- ${entryPoint.name} [${formatProperty}/${format}] (${entryPoint.repositoryUrl})`);
|
|
4596
4607
|
const bundle = makeEntryPointBundle(fileSystem, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, processDts, pathMappings, true, enableI18nLegacyMessageIdFormat);
|
|
4597
4608
|
const result = transformer.transform(bundle);
|
|
4598
4609
|
if (result.success) {
|
|
@@ -4615,12 +4626,12 @@ ${errors}`);
|
|
|
4615
4626
|
};
|
|
4616
4627
|
}
|
|
4617
4628
|
|
|
4618
|
-
// bazel-out/
|
|
4629
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4619
4630
|
import {
|
|
4620
4631
|
cpus
|
|
4621
4632
|
} from "os";
|
|
4622
4633
|
|
|
4623
|
-
// bazel-out/
|
|
4634
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
4624
4635
|
function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
4625
4636
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
4626
4637
|
return {
|
|
@@ -4630,7 +4641,7 @@ function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
|
4630
4641
|
}
|
|
4631
4642
|
}
|
|
4632
4643
|
|
|
4633
|
-
// bazel-out/
|
|
4644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
4634
4645
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
4635
4646
|
var InPlaceFileWriter = class {
|
|
4636
4647
|
constructor(fs, logger, errorOnFailedEntryPoint) {
|
|
@@ -4679,7 +4690,7 @@ This error may be caused by one of the following:
|
|
|
4679
4690
|
}
|
|
4680
4691
|
};
|
|
4681
4692
|
|
|
4682
|
-
// bazel-out/
|
|
4693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
4683
4694
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
4684
4695
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
4685
4696
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -4787,7 +4798,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
4787
4798
|
}
|
|
4788
4799
|
};
|
|
4789
4800
|
|
|
4790
|
-
// bazel-out/
|
|
4801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4791
4802
|
function getSharedSetup(options) {
|
|
4792
4803
|
const fileSystem = getFileSystem();
|
|
4793
4804
|
const absBasePath = absoluteFrom(options.basePath);
|
|
@@ -4863,7 +4874,7 @@ function getMaxNumberOfWorkers() {
|
|
|
4863
4874
|
return numericMaxWorkers;
|
|
4864
4875
|
}
|
|
4865
4876
|
|
|
4866
|
-
// bazel-out/
|
|
4877
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
4867
4878
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
4868
4879
|
function computeTaskDependencies(tasks, graph) {
|
|
4869
4880
|
const dependencies = new TaskDependencies();
|
|
@@ -4923,7 +4934,7 @@ function sortTasksByPriority(tasks, dependencies) {
|
|
|
4923
4934
|
});
|
|
4924
4935
|
}
|
|
4925
4936
|
|
|
4926
|
-
// bazel-out/
|
|
4937
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
4927
4938
|
import cluster from "cluster";
|
|
4928
4939
|
var Deferred = class {
|
|
4929
4940
|
constructor() {
|
|
@@ -4957,7 +4968,7 @@ var sendMessageToWorker = (workerId, msg) => {
|
|
|
4957
4968
|
});
|
|
4958
4969
|
};
|
|
4959
4970
|
|
|
4960
|
-
// bazel-out/
|
|
4971
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
4961
4972
|
var PackageJsonUpdate = class {
|
|
4962
4973
|
constructor(writeChangesImpl) {
|
|
4963
4974
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -5091,4 +5102,4 @@ export {
|
|
|
5091
5102
|
* Use of this source code is governed by an MIT-style license that can be
|
|
5092
5103
|
* found in the LICENSE file at https://angular.io/license
|
|
5093
5104
|
*/
|
|
5094
|
-
//# sourceMappingURL=chunk-
|
|
5105
|
+
//# sourceMappingURL=chunk-2DL256T3.js.map
|