@angular/compiler-cli 14.2.0-next.1 → 14.2.0-rc.0
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-IJA2BQQH.js → chunk-3GWIAJ6N.js} +28 -14
- package/bundles/chunk-3GWIAJ6N.js.map +6 -0
- package/bundles/{chunk-S4JINNFN.js → chunk-4NRCP3Y6.js} +7 -7
- package/bundles/{chunk-S4JINNFN.js.map → chunk-4NRCP3Y6.js.map} +0 -0
- package/bundles/{chunk-I34YWN6W.js → chunk-4OBZ37XJ.js} +115 -110
- package/bundles/chunk-4OBZ37XJ.js.map +6 -0
- package/bundles/{chunk-Z57D3OKU.js → chunk-56O2PTWU.js} +7 -7
- package/bundles/{chunk-Z57D3OKU.js.map → chunk-56O2PTWU.js.map} +0 -0
- package/bundles/{chunk-HZ5F54TQ.js → chunk-5D4YK7IY.js} +5 -5
- package/bundles/{chunk-HZ5F54TQ.js.map → chunk-5D4YK7IY.js.map} +0 -0
- package/bundles/{chunk-4SINIALN.js → chunk-5FZBUSFV.js} +3 -3
- package/bundles/{chunk-4SINIALN.js.map → chunk-5FZBUSFV.js.map} +0 -0
- package/bundles/{chunk-TXUURHQE.js → chunk-B7JAY2ME.js} +40 -40
- package/bundles/{chunk-TXUURHQE.js.map → chunk-B7JAY2ME.js.map} +0 -0
- package/bundles/chunk-CLRZAXXE.js +89 -0
- package/bundles/chunk-CLRZAXXE.js.map +6 -0
- package/bundles/{chunk-GQHLKW4T.js → chunk-DEPZI7L5.js} +31 -31
- package/bundles/{chunk-GQHLKW4T.js.map → chunk-DEPZI7L5.js.map} +0 -0
- package/bundles/{chunk-WJ34B4FT.js → chunk-F25ME2LE.js} +75 -71
- package/bundles/chunk-F25ME2LE.js.map +6 -0
- package/bundles/{chunk-SJL5HBUW.js → chunk-HMWNYAAE.js} +2 -2
- package/bundles/{chunk-SJL5HBUW.js.map → chunk-HMWNYAAE.js.map} +0 -0
- package/bundles/{chunk-N2MCMY3J.js → chunk-ICPLY7FO.js} +4 -4
- package/bundles/{chunk-N2MCMY3J.js.map → chunk-ICPLY7FO.js.map} +0 -0
- package/bundles/{chunk-ZSQCUET7.js → chunk-KL7KPCG5.js} +116 -95
- package/bundles/chunk-KL7KPCG5.js.map +6 -0
- package/bundles/{chunk-AMYIDAXN.js → chunk-NJ2FQOJT.js} +17 -12
- package/bundles/chunk-NJ2FQOJT.js.map +6 -0
- package/bundles/{chunk-CTEVZGOM.js → chunk-RCXOJZDO.js} +5 -5
- package/bundles/{chunk-CTEVZGOM.js.map → chunk-RCXOJZDO.js.map} +0 -0
- package/bundles/{chunk-AHYRDQYO.js → chunk-XR6BVLNN.js} +26 -26
- package/bundles/{chunk-AHYRDQYO.js.map → chunk-XR6BVLNN.js.map} +1 -1
- package/bundles/index.js +13 -12
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +13 -12
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +5 -4
- package/bundles/ngcc/index.js +13 -12
- package/bundles/ngcc/index.js.map +1 -1
- package/bundles/ngcc/main-ngcc.js +14 -13
- package/bundles/ngcc/main-ngcc.js.map +1 -1
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -5
- package/bundles/private/migrations.js.map +1 -1
- package/bundles/private/tooling.js +3 -2
- package/bundles/src/bin/ng_xi18n.js +11 -10
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +9 -8
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/ts_compatibility/index.d.ts +9 -0
- package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +127 -0
- package/src/ngtsc/typecheck/src/ts_util.d.ts +0 -7
- package/bundles/chunk-AMYIDAXN.js.map +0 -6
- package/bundles/chunk-I34YWN6W.js.map +0 -6
- package/bundles/chunk-IJA2BQQH.js.map +0 -6
- package/bundles/chunk-WJ34B4FT.js.map +0 -6
- package/bundles/chunk-ZSQCUET7.js.map +0 -6
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ImportGraph,
|
|
9
9
|
isShim,
|
|
10
10
|
readConfiguration
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4OBZ37XJ.js";
|
|
12
12
|
import {
|
|
13
13
|
CompilationMode,
|
|
14
14
|
ComponentDecoratorHandler,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
TypeCheckScopeRegistry,
|
|
33
33
|
forwardRefResolver,
|
|
34
34
|
readBaseClass
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KL7KPCG5.js";
|
|
36
36
|
import {
|
|
37
37
|
ClassMemberKind,
|
|
38
38
|
KnownDeclaration,
|
|
@@ -43,15 +43,15 @@ import {
|
|
|
43
43
|
isNamedFunctionDeclaration,
|
|
44
44
|
isNamedVariableDeclaration,
|
|
45
45
|
reflectObjectLiteral
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-NJ2FQOJT.js";
|
|
47
47
|
import {
|
|
48
48
|
ConsoleLogger,
|
|
49
49
|
LogLevel
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-5FZBUSFV.js";
|
|
51
51
|
import {
|
|
52
52
|
ContentOrigin,
|
|
53
53
|
SourceFileLoader
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-56O2PTWU.js";
|
|
55
55
|
import {
|
|
56
56
|
AbsoluteModuleStrategy,
|
|
57
57
|
ImportManager,
|
|
@@ -72,7 +72,10 @@ import {
|
|
|
72
72
|
translateStatement,
|
|
73
73
|
translateType,
|
|
74
74
|
validateAndRewriteCoreSymbol
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-XR6BVLNN.js";
|
|
76
|
+
import {
|
|
77
|
+
getModifiers
|
|
78
|
+
} from "./chunk-CLRZAXXE.js";
|
|
76
79
|
import {
|
|
77
80
|
LogicalFileSystem,
|
|
78
81
|
NgtscCompilerHost,
|
|
@@ -84,21 +87,21 @@ import {
|
|
|
84
87
|
isRooted,
|
|
85
88
|
relative,
|
|
86
89
|
toRelativeImport
|
|
87
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-4NRCP3Y6.js";
|
|
88
91
|
import {
|
|
89
92
|
NOOP_PERF_RECORDER
|
|
90
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-RCXOJZDO.js";
|
|
91
94
|
|
|
92
|
-
// bazel-out/
|
|
95
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
93
96
|
import ts23 from "typescript";
|
|
94
97
|
|
|
95
|
-
// bazel-out/
|
|
98
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
96
99
|
import ts7 from "typescript";
|
|
97
100
|
|
|
98
|
-
// bazel-out/
|
|
101
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
99
102
|
import ts6 from "typescript";
|
|
100
103
|
|
|
101
|
-
// bazel-out/
|
|
104
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
102
105
|
import ts from "typescript";
|
|
103
106
|
function isDefined(value) {
|
|
104
107
|
return value !== void 0 && value !== null;
|
|
@@ -189,7 +192,7 @@ function isExportObject(thing) {
|
|
|
189
192
|
return typeof thing === "object" && thing !== null && !Array.isArray(thing);
|
|
190
193
|
}
|
|
191
194
|
|
|
192
|
-
// bazel-out/
|
|
195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
193
196
|
import ts2 from "typescript";
|
|
194
197
|
function findNamespaceOfIdentifier(id) {
|
|
195
198
|
return id.parent && ts2.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts2.isIdentifier(id.parent.expression) ? id.parent.expression : null;
|
|
@@ -275,10 +278,10 @@ function skipAliases(node) {
|
|
|
275
278
|
return node;
|
|
276
279
|
}
|
|
277
280
|
|
|
278
|
-
// bazel-out/
|
|
281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
279
282
|
import ts4 from "typescript";
|
|
280
283
|
|
|
281
|
-
// bazel-out/
|
|
284
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
|
|
282
285
|
function isWithinPackage(packagePath, filePath) {
|
|
283
286
|
const relativePath = relative(packagePath, filePath);
|
|
284
287
|
return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
|
|
@@ -293,13 +296,13 @@ var NoopDependencyTracker = class {
|
|
|
293
296
|
};
|
|
294
297
|
var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
|
|
295
298
|
|
|
296
|
-
// bazel-out/
|
|
299
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
|
|
297
300
|
import ts3 from "typescript";
|
|
298
301
|
function stripParentheses(node) {
|
|
299
302
|
return ts3.isParenthesizedExpression(node) ? node.expression : node;
|
|
300
303
|
}
|
|
301
304
|
|
|
302
|
-
// bazel-out/
|
|
305
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
303
306
|
var DECORATORS = "decorators";
|
|
304
307
|
var PROP_DECORATORS = "propDecorators";
|
|
305
308
|
var CONSTRUCTOR = "__constructor";
|
|
@@ -1037,7 +1040,8 @@ ${declaration.getText()}`);
|
|
|
1037
1040
|
}
|
|
1038
1041
|
}
|
|
1039
1042
|
if (isStatic === void 0) {
|
|
1040
|
-
|
|
1043
|
+
const modifiers = getModifiers(node);
|
|
1044
|
+
isStatic = modifiers !== void 0 && modifiers.some((mod) => mod.kind === ts4.SyntaxKind.StaticKeyword);
|
|
1041
1045
|
}
|
|
1042
1046
|
const type = node.type || null;
|
|
1043
1047
|
return {
|
|
@@ -1527,7 +1531,7 @@ function getOuterNodeFromInnerDeclaration(node) {
|
|
|
1527
1531
|
return outerNode;
|
|
1528
1532
|
}
|
|
1529
1533
|
|
|
1530
|
-
// bazel-out/
|
|
1534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
|
|
1531
1535
|
import ts5 from "typescript";
|
|
1532
1536
|
var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
|
|
1533
1537
|
getBaseClassExpression(clazz) {
|
|
@@ -1861,7 +1865,7 @@ function getIifeFn(classSymbol) {
|
|
|
1861
1865
|
return iifeWrapper && ts5.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
|
|
1862
1866
|
}
|
|
1863
1867
|
|
|
1864
|
-
// bazel-out/
|
|
1868
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
1865
1869
|
var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
1866
1870
|
constructor(logger, isCore, src, dts = null) {
|
|
1867
1871
|
super(logger, isCore, src, dts);
|
|
@@ -2361,7 +2365,7 @@ function isExportsIdentifier(node) {
|
|
|
2361
2365
|
return ts6.isIdentifier(node) && node.text === "exports";
|
|
2362
2366
|
}
|
|
2363
2367
|
|
|
2364
|
-
// bazel-out/
|
|
2368
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
2365
2369
|
var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
|
|
2366
2370
|
var NO_ENTRY_POINT = "no-entry-point";
|
|
2367
2371
|
var IGNORED_ENTRY_POINT = "ignored-entry-point";
|
|
@@ -2536,7 +2540,7 @@ function getRepositoryUrl(packageJson) {
|
|
|
2536
2540
|
return packageJson.repository.url;
|
|
2537
2541
|
}
|
|
2538
2542
|
|
|
2539
|
-
// bazel-out/
|
|
2543
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
|
|
2540
2544
|
var DtsProcessing;
|
|
2541
2545
|
(function(DtsProcessing2) {
|
|
2542
2546
|
DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
|
|
@@ -2545,7 +2549,7 @@ var DtsProcessing;
|
|
|
2545
2549
|
})(DtsProcessing || (DtsProcessing = {}));
|
|
2546
2550
|
var TaskDependencies = Map;
|
|
2547
2551
|
|
|
2548
|
-
// bazel-out/
|
|
2552
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/adjust_cjs_umd_exports.mjs
|
|
2549
2553
|
import ts8 from "typescript";
|
|
2550
2554
|
function adjustElementAccessExports(sourceText) {
|
|
2551
2555
|
if (!/exports\[["']/.test(sourceText)) {
|
|
@@ -2582,10 +2586,10 @@ function isJsIdentifier(text) {
|
|
|
2582
2586
|
return identifierPattern.test(text);
|
|
2583
2587
|
}
|
|
2584
2588
|
|
|
2585
|
-
// bazel-out/
|
|
2589
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
2586
2590
|
import ts10 from "typescript";
|
|
2587
2591
|
|
|
2588
|
-
// bazel-out/
|
|
2592
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
|
|
2589
2593
|
import ts9 from "typescript";
|
|
2590
2594
|
function patchTsGetExpandoInitializer() {
|
|
2591
2595
|
if (isTs31778GetExpandoInitializerFixed()) {
|
|
@@ -2690,7 +2694,7 @@ function makeUnsupportedTypeScriptError() {
|
|
|
2690
2694
|
return new Error("The TypeScript version used is not supported by ngcc.");
|
|
2691
2695
|
}
|
|
2692
2696
|
|
|
2693
|
-
// bazel-out/
|
|
2697
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
2694
2698
|
function makeBundleProgram(fs, isCore, pkg, path, r3FileName, options, host, additionalFiles = []) {
|
|
2695
2699
|
const r3SymbolsPath = isCore ? findR3SymbolsPath(fs, fs.dirname(path), r3FileName) : null;
|
|
2696
2700
|
let rootPaths = r3SymbolsPath ? [path, r3SymbolsPath, ...additionalFiles] : [path, ...additionalFiles];
|
|
@@ -2720,7 +2724,7 @@ function findR3SymbolsPath(fs, directory, filename) {
|
|
|
2720
2724
|
return null;
|
|
2721
2725
|
}
|
|
2722
2726
|
|
|
2723
|
-
// bazel-out/
|
|
2727
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
|
|
2724
2728
|
import ts11 from "typescript";
|
|
2725
2729
|
var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
2726
2730
|
constructor(fs, options, cache, moduleResolutionCache, packagePath) {
|
|
@@ -2765,7 +2769,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
|
|
|
2765
2769
|
}
|
|
2766
2770
|
};
|
|
2767
2771
|
|
|
2768
|
-
// bazel-out/
|
|
2772
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
|
|
2769
2773
|
import ts12 from "typescript";
|
|
2770
2774
|
var SharedFileCache = class {
|
|
2771
2775
|
constructor(fs) {
|
|
@@ -2868,7 +2872,7 @@ function createModuleResolutionCache(fs) {
|
|
|
2868
2872
|
});
|
|
2869
2873
|
}
|
|
2870
2874
|
|
|
2871
|
-
// bazel-out/
|
|
2875
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
|
|
2872
2876
|
function createSourceTextProcessor(format) {
|
|
2873
2877
|
if (format === "umd" || format === "commonjs") {
|
|
2874
2878
|
return adjustElementAccessExports;
|
|
@@ -2917,13 +2921,13 @@ function computePotentialDtsFilesFromJsFiles(fs, srcProgram, formatPath, typings
|
|
|
2917
2921
|
return additionalFiles;
|
|
2918
2922
|
}
|
|
2919
2923
|
|
|
2920
|
-
// bazel-out/
|
|
2924
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
2921
2925
|
import ts22 from "typescript";
|
|
2922
2926
|
|
|
2923
|
-
// bazel-out/
|
|
2927
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
2924
2928
|
import { ConstantPool } from "@angular/compiler";
|
|
2925
2929
|
|
|
2926
|
-
// bazel-out/
|
|
2930
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
|
|
2927
2931
|
import ts13 from "typescript";
|
|
2928
2932
|
function isClassDeclaration(clazz) {
|
|
2929
2933
|
return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
|
|
@@ -3006,7 +3010,7 @@ function reifySourceFile(expr) {
|
|
|
3006
3010
|
return stmt.declarationList.declarations[0].initializer;
|
|
3007
3011
|
}
|
|
3008
3012
|
|
|
3009
|
-
// bazel-out/
|
|
3013
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
|
|
3010
3014
|
var MissingInjectableMigration = class {
|
|
3011
3015
|
apply(clazz, host) {
|
|
3012
3016
|
const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
|
|
@@ -3111,7 +3115,7 @@ function getAngularCoreDecoratorName(decorator) {
|
|
|
3111
3115
|
return decorator.import.name;
|
|
3112
3116
|
}
|
|
3113
3117
|
|
|
3114
|
-
// bazel-out/
|
|
3118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
|
|
3115
3119
|
var UndecoratedChildMigration = class {
|
|
3116
3120
|
apply(clazz, host) {
|
|
3117
3121
|
const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
|
|
@@ -3146,7 +3150,7 @@ var UndecoratedChildMigration = class {
|
|
|
3146
3150
|
}
|
|
3147
3151
|
};
|
|
3148
3152
|
|
|
3149
|
-
// bazel-out/
|
|
3153
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
|
|
3150
3154
|
var UndecoratedParentMigration = class {
|
|
3151
3155
|
apply(clazz, host) {
|
|
3152
3156
|
if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
|
|
@@ -3179,7 +3183,7 @@ function determineBaseClass(clazz, host) {
|
|
|
3179
3183
|
return baseClass;
|
|
3180
3184
|
}
|
|
3181
3185
|
|
|
3182
|
-
// bazel-out/
|
|
3186
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
|
|
3183
3187
|
import ts14 from "typescript";
|
|
3184
3188
|
var DefaultMigrationHost = class {
|
|
3185
3189
|
constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
|
|
@@ -3239,7 +3243,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
|
3239
3243
|
return clone;
|
|
3240
3244
|
}
|
|
3241
3245
|
|
|
3242
|
-
// bazel-out/
|
|
3246
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
|
|
3243
3247
|
var NgccTraitCompiler = class extends TraitCompiler {
|
|
3244
3248
|
constructor(handlers, ngccReflector) {
|
|
3245
3249
|
super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null, { isShim, isResource: () => false });
|
|
@@ -3284,10 +3288,10 @@ var NoIncrementalBuild = class {
|
|
|
3284
3288
|
}
|
|
3285
3289
|
};
|
|
3286
3290
|
|
|
3287
|
-
// bazel-out/
|
|
3291
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
3288
3292
|
var DecorationAnalyses = Map;
|
|
3289
3293
|
|
|
3290
|
-
// bazel-out/
|
|
3294
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
3291
3295
|
var NgccResourceLoader = class {
|
|
3292
3296
|
constructor(fs) {
|
|
3293
3297
|
this.fs = fs;
|
|
@@ -3443,7 +3447,7 @@ var DecorationAnalyzer = class {
|
|
|
3443
3447
|
}
|
|
3444
3448
|
};
|
|
3445
3449
|
|
|
3446
|
-
// bazel-out/
|
|
3450
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
3447
3451
|
import ts15 from "typescript";
|
|
3448
3452
|
var ModuleWithProvidersAnalyses = Map;
|
|
3449
3453
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -3582,7 +3586,7 @@ function isAnyKeyword(typeParam) {
|
|
|
3582
3586
|
return typeParam.kind === ts15.SyntaxKind.AnyKeyword;
|
|
3583
3587
|
}
|
|
3584
3588
|
|
|
3585
|
-
// bazel-out/
|
|
3589
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
3586
3590
|
var NgccReferencesRegistry = class {
|
|
3587
3591
|
constructor(host) {
|
|
3588
3592
|
this.host = host;
|
|
@@ -3603,7 +3607,7 @@ var NgccReferencesRegistry = class {
|
|
|
3603
3607
|
}
|
|
3604
3608
|
};
|
|
3605
3609
|
|
|
3606
|
-
// bazel-out/
|
|
3610
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
3607
3611
|
var PrivateDeclarationsAnalyzer = class {
|
|
3608
3612
|
constructor(host, referencesRegistry) {
|
|
3609
3613
|
this.host = host;
|
|
@@ -3644,7 +3648,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
3644
3648
|
}
|
|
3645
3649
|
};
|
|
3646
3650
|
|
|
3647
|
-
// bazel-out/
|
|
3651
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
3648
3652
|
import ts16 from "typescript";
|
|
3649
3653
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
3650
3654
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -3808,7 +3812,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
3808
3812
|
}
|
|
3809
3813
|
};
|
|
3810
3814
|
|
|
3811
|
-
// bazel-out/
|
|
3815
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
3812
3816
|
var DelegatingReflectionHost = class {
|
|
3813
3817
|
constructor(tsHost, ngccHost) {
|
|
3814
3818
|
this.tsHost = tsHost;
|
|
@@ -3929,16 +3933,16 @@ var DelegatingReflectionHost = class {
|
|
|
3929
3933
|
}
|
|
3930
3934
|
};
|
|
3931
3935
|
|
|
3932
|
-
// bazel-out/
|
|
3936
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
3933
3937
|
import ts19 from "typescript";
|
|
3934
3938
|
|
|
3935
|
-
// bazel-out/
|
|
3939
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
3936
3940
|
import ts18 from "typescript";
|
|
3937
3941
|
|
|
3938
|
-
// bazel-out/
|
|
3942
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
3939
3943
|
import ts17 from "typescript";
|
|
3940
3944
|
|
|
3941
|
-
// bazel-out/
|
|
3945
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
3942
3946
|
var NgccFlatImportRewriter = class {
|
|
3943
3947
|
shouldImportSymbol(symbol, specifier) {
|
|
3944
3948
|
if (specifier === "@angular/core") {
|
|
@@ -3959,7 +3963,7 @@ var NgccFlatImportRewriter = class {
|
|
|
3959
3963
|
}
|
|
3960
3964
|
};
|
|
3961
3965
|
|
|
3962
|
-
// bazel-out/
|
|
3966
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
3963
3967
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
3964
3968
|
if (isCore && isFlat) {
|
|
3965
3969
|
return new NgccFlatImportRewriter();
|
|
@@ -3973,7 +3977,7 @@ function stripExtension2(filePath) {
|
|
|
3973
3977
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
3974
3978
|
}
|
|
3975
3979
|
|
|
3976
|
-
// bazel-out/
|
|
3980
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
3977
3981
|
var EsmRenderingFormatter = class {
|
|
3978
3982
|
constructor(fs, host, isCore) {
|
|
3979
3983
|
this.fs = fs;
|
|
@@ -4133,7 +4137,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
4133
4137
|
return lastToken && lastToken.kind === ts17.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
4134
4138
|
}
|
|
4135
4139
|
|
|
4136
|
-
// bazel-out/
|
|
4140
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
4137
4141
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
4138
4142
|
addDefinitions(output, compiledClass, definitions) {
|
|
4139
4143
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -4161,7 +4165,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
4161
4165
|
}
|
|
4162
4166
|
};
|
|
4163
4167
|
|
|
4164
|
-
// bazel-out/
|
|
4168
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
4165
4169
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4166
4170
|
constructor(fs, commonJsHost, isCore) {
|
|
4167
4171
|
super(fs, commonJsHost, isCore);
|
|
@@ -4210,15 +4214,15 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
4210
4214
|
}
|
|
4211
4215
|
};
|
|
4212
4216
|
|
|
4213
|
-
// bazel-out/
|
|
4217
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4214
4218
|
import MagicString from "magic-string";
|
|
4215
4219
|
import ts20 from "typescript";
|
|
4216
4220
|
|
|
4217
|
-
// bazel-out/
|
|
4221
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
4218
4222
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
4219
4223
|
var NGCC_TIMED_OUT_EXIT_CODE = 177;
|
|
4220
4224
|
|
|
4221
|
-
// bazel-out/
|
|
4225
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
4222
4226
|
import mapHelpers from "convert-source-map";
|
|
4223
4227
|
function renderSourceAndMap(logger, fs, sourceFile, generatedMagicString) {
|
|
4224
4228
|
var _a;
|
|
@@ -4253,7 +4257,7 @@ ${sourceMapComment}` },
|
|
|
4253
4257
|
}
|
|
4254
4258
|
}
|
|
4255
4259
|
|
|
4256
|
-
// bazel-out/
|
|
4260
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4257
4261
|
var DtsRenderInfo = class {
|
|
4258
4262
|
constructor() {
|
|
4259
4263
|
this.classInfo = [];
|
|
@@ -4354,14 +4358,14 @@ function markForEmitAsSingleLine(node) {
|
|
|
4354
4358
|
ts20.forEachChild(node, markForEmitAsSingleLine);
|
|
4355
4359
|
}
|
|
4356
4360
|
|
|
4357
|
-
// bazel-out/
|
|
4361
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4358
4362
|
import { jsDocComment, WrappedNodeExpr, WritePropExpr } from "@angular/compiler";
|
|
4359
4363
|
import MagicString2 from "magic-string";
|
|
4360
4364
|
|
|
4361
|
-
// bazel-out/
|
|
4365
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
4362
4366
|
var RedundantDecoratorMap = Map;
|
|
4363
4367
|
|
|
4364
|
-
// bazel-out/
|
|
4368
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4365
4369
|
var Renderer = class {
|
|
4366
4370
|
constructor(host, srcFormatter, fs, logger, bundle, tsConfig = null) {
|
|
4367
4371
|
this.host = host;
|
|
@@ -4464,7 +4468,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
4464
4468
|
return statement;
|
|
4465
4469
|
}
|
|
4466
4470
|
|
|
4467
|
-
// bazel-out/
|
|
4471
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
4468
4472
|
import ts21 from "typescript";
|
|
4469
4473
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4470
4474
|
constructor(fs, umdHost, isCore) {
|
|
@@ -4580,7 +4584,7 @@ function getGlobalIdentifier(i) {
|
|
|
4580
4584
|
return i.specifier.replace(/^@angular\//, "ng.").replace(/^@/, "").replace(/\//g, ".").replace(/[-_]+(.?)/g, (_, c) => c.toUpperCase()).replace(/^./, (c) => c.toLowerCase());
|
|
4581
4585
|
}
|
|
4582
4586
|
|
|
4583
|
-
// bazel-out/
|
|
4587
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
4584
4588
|
var Transformer = class {
|
|
4585
4589
|
constructor(fs, logger, tsConfig = null) {
|
|
4586
4590
|
this.fs = fs;
|
|
@@ -4661,7 +4665,7 @@ function hasErrors(diagnostics) {
|
|
|
4661
4665
|
return diagnostics.some((d) => d.category === ts22.DiagnosticCategory.Error);
|
|
4662
4666
|
}
|
|
4663
4667
|
|
|
4664
|
-
// bazel-out/
|
|
4668
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
4665
4669
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
4666
4670
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
4667
4671
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -4700,10 +4704,10 @@ ${errors}`);
|
|
|
4700
4704
|
};
|
|
4701
4705
|
}
|
|
4702
4706
|
|
|
4703
|
-
// bazel-out/
|
|
4707
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4704
4708
|
import * as os from "os";
|
|
4705
4709
|
|
|
4706
|
-
// bazel-out/
|
|
4710
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
4707
4711
|
function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
4708
4712
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
4709
4713
|
return {
|
|
@@ -4713,7 +4717,7 @@ function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
|
4713
4717
|
}
|
|
4714
4718
|
}
|
|
4715
4719
|
|
|
4716
|
-
// bazel-out/
|
|
4720
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
4717
4721
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
4718
4722
|
var InPlaceFileWriter = class {
|
|
4719
4723
|
constructor(fs, logger, errorOnFailedEntryPoint) {
|
|
@@ -4762,7 +4766,7 @@ This error may be caused by one of the following:
|
|
|
4762
4766
|
}
|
|
4763
4767
|
};
|
|
4764
4768
|
|
|
4765
|
-
// bazel-out/
|
|
4769
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
4766
4770
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
4767
4771
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
4768
4772
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -4870,7 +4874,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
4870
4874
|
}
|
|
4871
4875
|
};
|
|
4872
4876
|
|
|
4873
|
-
// bazel-out/
|
|
4877
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4874
4878
|
function getSharedSetup(options) {
|
|
4875
4879
|
const fileSystem = getFileSystem();
|
|
4876
4880
|
const absBasePath = absoluteFrom(options.basePath);
|
|
@@ -4946,7 +4950,7 @@ function getMaxNumberOfWorkers() {
|
|
|
4946
4950
|
return numericMaxWorkers;
|
|
4947
4951
|
}
|
|
4948
4952
|
|
|
4949
|
-
// bazel-out/
|
|
4953
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
4950
4954
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
4951
4955
|
function computeTaskDependencies(tasks, graph) {
|
|
4952
4956
|
const dependencies = new TaskDependencies();
|
|
@@ -5006,7 +5010,7 @@ function sortTasksByPriority(tasks, dependencies) {
|
|
|
5006
5010
|
});
|
|
5007
5011
|
}
|
|
5008
5012
|
|
|
5009
|
-
// bazel-out/
|
|
5013
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
5010
5014
|
import cluster from "cluster";
|
|
5011
5015
|
var Deferred = class {
|
|
5012
5016
|
constructor() {
|
|
@@ -5040,7 +5044,7 @@ var sendMessageToWorker = (workerId, msg) => {
|
|
|
5040
5044
|
});
|
|
5041
5045
|
};
|
|
5042
5046
|
|
|
5043
|
-
// bazel-out/
|
|
5047
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
5044
5048
|
var PackageJsonUpdate = class {
|
|
5045
5049
|
constructor(writeChangesImpl) {
|
|
5046
5050
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -5182,4 +5186,4 @@ export {
|
|
|
5182
5186
|
* Use of this source code is governed by an MIT-style license that can be
|
|
5183
5187
|
* found in the LICENSE file at https://angular.io/license
|
|
5184
5188
|
*/
|
|
5185
|
-
//# sourceMappingURL=chunk-
|
|
5189
|
+
//# sourceMappingURL=chunk-F25ME2LE.js.map
|