@angular/compiler-cli 15.2.0-rc.0 → 15.2.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-6ZJFIQBG.js → chunk-2NLFVEGY.js} +7 -7
- package/bundles/{chunk-ZB4CDKOH.js → chunk-5WBIJMZH.js} +5 -5
- package/bundles/{chunk-64X67E3N.js → chunk-7GNUPQOI.js} +31 -31
- package/bundles/{chunk-7DUI3BSX.js → chunk-B57SP4JB.js} +2 -2
- package/bundles/chunk-IJECERTO.js +714 -0
- package/bundles/chunk-IJECERTO.js.map +6 -0
- package/bundles/chunk-IYYB2HTK.js +877 -0
- package/bundles/chunk-IYYB2HTK.js.map +6 -0
- package/bundles/{chunk-YRDMG3GM.js → chunk-K7P4IHT5.js} +4 -4
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-JYL7IHZC.js → chunk-P5LISIUG.js} +97 -86
- package/bundles/chunk-P5LISIUG.js.map +6 -0
- package/bundles/{chunk-BEXFRTBC.js → chunk-PKXB2WOZ.js} +40 -40
- package/bundles/{chunk-HYFCMILZ.js → chunk-RMPM4VAI.js} +102 -100
- package/bundles/chunk-RMPM4VAI.js.map +6 -0
- package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-Q6W3UCXI.js → chunk-TGEKDMUX.js} +94 -127
- package/bundles/chunk-TGEKDMUX.js.map +6 -0
- package/bundles/{chunk-OAZD7RII.js → chunk-WN75SNW4.js} +75 -73
- package/bundles/chunk-WN75SNW4.js.map +6 -0
- package/bundles/{chunk-NJMZRTB6.js → chunk-YZWN2KWE.js} +5 -5
- package/bundles/{chunk-O4JLZZWJ.js → chunk-ZF3IVDQ2.js} +6 -6
- 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/tooling.js +4 -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 +2 -2
- package/src/ngtsc/annotations/component/src/resources.d.ts +1 -1
- package/src/ngtsc/imports/index.d.ts +1 -0
- package/src/ngtsc/imports/src/default.d.ts +6 -10
- package/src/ngtsc/imports/src/patch_alias_reference_resolution.d.ts +61 -0
- package/bundles/chunk-HYFCMILZ.js.map +0 -6
- package/bundles/chunk-JYL7IHZC.js.map +0 -6
- package/bundles/chunk-OAZD7RII.js.map +0 -6
- package/bundles/chunk-Q6W3UCXI.js.map +0 -6
- package/bundles/chunk-Z534TW2O.js +0 -1540
- package/bundles/chunk-Z534TW2O.js.map +0 -6
- package/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.d.ts +0 -14
- /package/bundles/{chunk-6ZJFIQBG.js.map → chunk-2NLFVEGY.js.map} +0 -0
- /package/bundles/{chunk-ZB4CDKOH.js.map → chunk-5WBIJMZH.js.map} +0 -0
- /package/bundles/{chunk-64X67E3N.js.map → chunk-7GNUPQOI.js.map} +0 -0
- /package/bundles/{chunk-7DUI3BSX.js.map → chunk-B57SP4JB.js.map} +0 -0
- /package/bundles/{chunk-YRDMG3GM.js.map → chunk-K7P4IHT5.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-BEXFRTBC.js.map → chunk-PKXB2WOZ.js.map} +0 -0
- /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
- /package/bundles/{chunk-NJMZRTB6.js.map → chunk-YZWN2KWE.js.map} +0 -0
- /package/bundles/{chunk-O4JLZZWJ.js.map → chunk-ZF3IVDQ2.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
ImportGraph,
|
|
8
8
|
isShim,
|
|
9
9
|
readConfiguration
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RMPM4VAI.js";
|
|
11
11
|
import {
|
|
12
12
|
CompilationMode,
|
|
13
13
|
ComponentDecoratorHandler,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
TypeCheckScopeRegistry,
|
|
33
33
|
forwardRefResolver,
|
|
34
34
|
readBaseClass
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-P5LISIUG.js";
|
|
36
36
|
import {
|
|
37
37
|
ClassMemberKind,
|
|
38
38
|
KnownDeclaration,
|
|
@@ -43,18 +43,22 @@ import {
|
|
|
43
43
|
isNamedFunctionDeclaration,
|
|
44
44
|
isNamedVariableDeclaration,
|
|
45
45
|
reflectObjectLiteral
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ZF3IVDQ2.js";
|
|
47
47
|
import {
|
|
48
48
|
ConsoleLogger,
|
|
49
49
|
LogLevel
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-LYJKWJUC.js";
|
|
51
51
|
import {
|
|
52
52
|
ContentOrigin,
|
|
53
53
|
SourceFileLoader
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-2NLFVEGY.js";
|
|
55
55
|
import {
|
|
56
|
-
AbsoluteModuleStrategy,
|
|
57
56
|
ImportManager,
|
|
57
|
+
translateStatement,
|
|
58
|
+
translateType
|
|
59
|
+
} from "./chunk-IJECERTO.js";
|
|
60
|
+
import {
|
|
61
|
+
AbsoluteModuleStrategy,
|
|
58
62
|
LocalIdentifierStrategy,
|
|
59
63
|
LogicalProjectStrategy,
|
|
60
64
|
ModuleResolver,
|
|
@@ -69,10 +73,8 @@ import {
|
|
|
69
73
|
isFromDtsFile,
|
|
70
74
|
isSymbolWithValueDeclaration,
|
|
71
75
|
replaceTsWithNgInErrors,
|
|
72
|
-
translateStatement,
|
|
73
|
-
translateType,
|
|
74
76
|
validateAndRewriteCoreSymbol
|
|
75
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-IYYB2HTK.js";
|
|
76
78
|
import {
|
|
77
79
|
LogicalFileSystem,
|
|
78
80
|
NgtscCompilerHost,
|
|
@@ -84,21 +86,21 @@ import {
|
|
|
84
86
|
isRooted,
|
|
85
87
|
relative,
|
|
86
88
|
toRelativeImport
|
|
87
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-TBUSSXUA.js";
|
|
88
90
|
import {
|
|
89
91
|
NOOP_PERF_RECORDER
|
|
90
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-YZWN2KWE.js";
|
|
91
93
|
|
|
92
|
-
// bazel-out/
|
|
94
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
93
95
|
import ts23 from "typescript";
|
|
94
96
|
|
|
95
|
-
// bazel-out/
|
|
97
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
96
98
|
import ts7 from "typescript";
|
|
97
99
|
|
|
98
|
-
// bazel-out/
|
|
100
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
99
101
|
import ts6 from "typescript";
|
|
100
102
|
|
|
101
|
-
// bazel-out/
|
|
103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
102
104
|
import ts from "typescript";
|
|
103
105
|
function isDefined(value) {
|
|
104
106
|
return value !== void 0 && value !== null;
|
|
@@ -189,7 +191,7 @@ function isExportObject(thing) {
|
|
|
189
191
|
return typeof thing === "object" && thing !== null && !Array.isArray(thing);
|
|
190
192
|
}
|
|
191
193
|
|
|
192
|
-
// bazel-out/
|
|
194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
193
195
|
import ts2 from "typescript";
|
|
194
196
|
function findNamespaceOfIdentifier(id) {
|
|
195
197
|
return id.parent && ts2.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts2.isIdentifier(id.parent.expression) ? id.parent.expression : null;
|
|
@@ -275,10 +277,10 @@ function skipAliases(node) {
|
|
|
275
277
|
return node;
|
|
276
278
|
}
|
|
277
279
|
|
|
278
|
-
// bazel-out/
|
|
280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
279
281
|
import ts4 from "typescript";
|
|
280
282
|
|
|
281
|
-
// bazel-out/
|
|
283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
|
|
282
284
|
function isWithinPackage(packagePath, filePath) {
|
|
283
285
|
const relativePath = relative(packagePath, filePath);
|
|
284
286
|
return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
|
|
@@ -293,13 +295,13 @@ var NoopDependencyTracker = class {
|
|
|
293
295
|
};
|
|
294
296
|
var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
|
|
295
297
|
|
|
296
|
-
// bazel-out/
|
|
298
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
|
|
297
299
|
import ts3 from "typescript";
|
|
298
300
|
function stripParentheses(node) {
|
|
299
301
|
return ts3.isParenthesizedExpression(node) ? node.expression : node;
|
|
300
302
|
}
|
|
301
303
|
|
|
302
|
-
// bazel-out/
|
|
304
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
303
305
|
var DECORATORS = "decorators";
|
|
304
306
|
var PROP_DECORATORS = "propDecorators";
|
|
305
307
|
var CONSTRUCTOR = "__constructor";
|
|
@@ -1528,7 +1530,7 @@ function getOuterNodeFromInnerDeclaration(node) {
|
|
|
1528
1530
|
return outerNode;
|
|
1529
1531
|
}
|
|
1530
1532
|
|
|
1531
|
-
// bazel-out/
|
|
1533
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
|
|
1532
1534
|
import ts5 from "typescript";
|
|
1533
1535
|
var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
|
|
1534
1536
|
getBaseClassExpression(clazz) {
|
|
@@ -1862,7 +1864,7 @@ function getIifeFn(classSymbol) {
|
|
|
1862
1864
|
return iifeWrapper && ts5.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
|
|
1863
1865
|
}
|
|
1864
1866
|
|
|
1865
|
-
// bazel-out/
|
|
1867
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
1866
1868
|
var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
1867
1869
|
constructor(logger, isCore, src, dts = null) {
|
|
1868
1870
|
super(logger, isCore, src, dts);
|
|
@@ -2362,7 +2364,7 @@ function isExportsIdentifier(node) {
|
|
|
2362
2364
|
return ts6.isIdentifier(node) && node.text === "exports";
|
|
2363
2365
|
}
|
|
2364
2366
|
|
|
2365
|
-
// bazel-out/
|
|
2367
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
2366
2368
|
var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
|
|
2367
2369
|
var NO_ENTRY_POINT = "no-entry-point";
|
|
2368
2370
|
var IGNORED_ENTRY_POINT = "ignored-entry-point";
|
|
@@ -2537,7 +2539,7 @@ function getRepositoryUrl(packageJson) {
|
|
|
2537
2539
|
return packageJson.repository.url;
|
|
2538
2540
|
}
|
|
2539
2541
|
|
|
2540
|
-
// bazel-out/
|
|
2542
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
|
|
2541
2543
|
var DtsProcessing;
|
|
2542
2544
|
(function(DtsProcessing2) {
|
|
2543
2545
|
DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
|
|
@@ -2546,7 +2548,7 @@ var DtsProcessing;
|
|
|
2546
2548
|
})(DtsProcessing || (DtsProcessing = {}));
|
|
2547
2549
|
var TaskDependencies = Map;
|
|
2548
2550
|
|
|
2549
|
-
// bazel-out/
|
|
2551
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/adjust_cjs_umd_exports.mjs
|
|
2550
2552
|
import ts8 from "typescript";
|
|
2551
2553
|
function adjustElementAccessExports(sourceText) {
|
|
2552
2554
|
if (!/exports\[["']/.test(sourceText)) {
|
|
@@ -2583,10 +2585,10 @@ function isJsIdentifier(text) {
|
|
|
2583
2585
|
return identifierPattern.test(text);
|
|
2584
2586
|
}
|
|
2585
2587
|
|
|
2586
|
-
// bazel-out/
|
|
2588
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
2587
2589
|
import ts10 from "typescript";
|
|
2588
2590
|
|
|
2589
|
-
// bazel-out/
|
|
2591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
|
|
2590
2592
|
import ts9 from "typescript";
|
|
2591
2593
|
function patchTsGetExpandoInitializer() {
|
|
2592
2594
|
if (isTs31778GetExpandoInitializerFixed()) {
|
|
@@ -2691,7 +2693,7 @@ function makeUnsupportedTypeScriptError() {
|
|
|
2691
2693
|
return new Error("The TypeScript version used is not supported by ngcc.");
|
|
2692
2694
|
}
|
|
2693
2695
|
|
|
2694
|
-
// bazel-out/
|
|
2696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
2695
2697
|
function makeBundleProgram(fs, isCore, pkg, path, r3FileName, options, host, additionalFiles = []) {
|
|
2696
2698
|
const r3SymbolsPath = isCore ? findR3SymbolsPath(fs, fs.dirname(path), r3FileName) : null;
|
|
2697
2699
|
let rootPaths = r3SymbolsPath ? [path, r3SymbolsPath, ...additionalFiles] : [path, ...additionalFiles];
|
|
@@ -2721,7 +2723,7 @@ function findR3SymbolsPath(fs, directory, filename) {
|
|
|
2721
2723
|
return null;
|
|
2722
2724
|
}
|
|
2723
2725
|
|
|
2724
|
-
// bazel-out/
|
|
2726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
|
|
2725
2727
|
import ts11 from "typescript";
|
|
2726
2728
|
var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
2727
2729
|
constructor(fs, options, cache, moduleResolutionCache, packagePath) {
|
|
@@ -2766,7 +2768,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
|
|
|
2766
2768
|
}
|
|
2767
2769
|
};
|
|
2768
2770
|
|
|
2769
|
-
// bazel-out/
|
|
2771
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
|
|
2770
2772
|
import ts12 from "typescript";
|
|
2771
2773
|
var SharedFileCache = class {
|
|
2772
2774
|
constructor(fs) {
|
|
@@ -2869,7 +2871,7 @@ function createModuleResolutionCache(fs) {
|
|
|
2869
2871
|
});
|
|
2870
2872
|
}
|
|
2871
2873
|
|
|
2872
|
-
// bazel-out/
|
|
2874
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
|
|
2873
2875
|
function createSourceTextProcessor(format) {
|
|
2874
2876
|
if (format === "umd" || format === "commonjs") {
|
|
2875
2877
|
return adjustElementAccessExports;
|
|
@@ -2918,13 +2920,13 @@ function computePotentialDtsFilesFromJsFiles(fs, srcProgram, formatPath, typings
|
|
|
2918
2920
|
return additionalFiles;
|
|
2919
2921
|
}
|
|
2920
2922
|
|
|
2921
|
-
// bazel-out/
|
|
2923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
2922
2924
|
import ts22 from "typescript";
|
|
2923
2925
|
|
|
2924
|
-
// bazel-out/
|
|
2926
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
2925
2927
|
import { ConstantPool } from "@angular/compiler";
|
|
2926
2928
|
|
|
2927
|
-
// bazel-out/
|
|
2929
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
|
|
2928
2930
|
import ts13 from "typescript";
|
|
2929
2931
|
function isClassDeclaration(clazz) {
|
|
2930
2932
|
return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
|
|
@@ -3007,7 +3009,7 @@ function reifySourceFile(expr) {
|
|
|
3007
3009
|
return stmt.declarationList.declarations[0].initializer;
|
|
3008
3010
|
}
|
|
3009
3011
|
|
|
3010
|
-
// bazel-out/
|
|
3012
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
|
|
3011
3013
|
var MissingInjectableMigration = class {
|
|
3012
3014
|
apply(clazz, host) {
|
|
3013
3015
|
const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
|
|
@@ -3112,7 +3114,7 @@ function getAngularCoreDecoratorName(decorator) {
|
|
|
3112
3114
|
return decorator.import.name;
|
|
3113
3115
|
}
|
|
3114
3116
|
|
|
3115
|
-
// bazel-out/
|
|
3117
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
|
|
3116
3118
|
var UndecoratedChildMigration = class {
|
|
3117
3119
|
apply(clazz, host) {
|
|
3118
3120
|
const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
|
|
@@ -3147,7 +3149,7 @@ var UndecoratedChildMigration = class {
|
|
|
3147
3149
|
}
|
|
3148
3150
|
};
|
|
3149
3151
|
|
|
3150
|
-
// bazel-out/
|
|
3152
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
|
|
3151
3153
|
var UndecoratedParentMigration = class {
|
|
3152
3154
|
apply(clazz, host) {
|
|
3153
3155
|
if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
|
|
@@ -3180,7 +3182,7 @@ function determineBaseClass(clazz, host) {
|
|
|
3180
3182
|
return baseClass;
|
|
3181
3183
|
}
|
|
3182
3184
|
|
|
3183
|
-
// bazel-out/
|
|
3185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
|
|
3184
3186
|
import ts14 from "typescript";
|
|
3185
3187
|
var DefaultMigrationHost = class {
|
|
3186
3188
|
constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
|
|
@@ -3240,7 +3242,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
|
3240
3242
|
return clone;
|
|
3241
3243
|
}
|
|
3242
3244
|
|
|
3243
|
-
// bazel-out/
|
|
3245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
|
|
3244
3246
|
var NgccTraitCompiler = class extends TraitCompiler {
|
|
3245
3247
|
constructor(handlers, ngccReflector) {
|
|
3246
3248
|
super(
|
|
@@ -3295,10 +3297,10 @@ var NoIncrementalBuild = class {
|
|
|
3295
3297
|
}
|
|
3296
3298
|
};
|
|
3297
3299
|
|
|
3298
|
-
// bazel-out/
|
|
3300
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
3299
3301
|
var DecorationAnalyses = Map;
|
|
3300
3302
|
|
|
3301
|
-
// bazel-out/
|
|
3303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
3302
3304
|
var NgccResourceLoader = class {
|
|
3303
3305
|
constructor(fs) {
|
|
3304
3306
|
this.fs = fs;
|
|
@@ -3520,7 +3522,7 @@ var DecorationAnalyzer = class {
|
|
|
3520
3522
|
}
|
|
3521
3523
|
};
|
|
3522
3524
|
|
|
3523
|
-
// bazel-out/
|
|
3525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
3524
3526
|
import ts15 from "typescript";
|
|
3525
3527
|
var ModuleWithProvidersAnalyses = Map;
|
|
3526
3528
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -3659,7 +3661,7 @@ function isAnyKeyword(typeParam) {
|
|
|
3659
3661
|
return typeParam.kind === ts15.SyntaxKind.AnyKeyword;
|
|
3660
3662
|
}
|
|
3661
3663
|
|
|
3662
|
-
// bazel-out/
|
|
3664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
3663
3665
|
var NgccReferencesRegistry = class {
|
|
3664
3666
|
constructor(host) {
|
|
3665
3667
|
this.host = host;
|
|
@@ -3680,7 +3682,7 @@ var NgccReferencesRegistry = class {
|
|
|
3680
3682
|
}
|
|
3681
3683
|
};
|
|
3682
3684
|
|
|
3683
|
-
// bazel-out/
|
|
3685
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
3684
3686
|
var PrivateDeclarationsAnalyzer = class {
|
|
3685
3687
|
constructor(host, referencesRegistry) {
|
|
3686
3688
|
this.host = host;
|
|
@@ -3721,7 +3723,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
3721
3723
|
}
|
|
3722
3724
|
};
|
|
3723
3725
|
|
|
3724
|
-
// bazel-out/
|
|
3726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
3725
3727
|
import ts16 from "typescript";
|
|
3726
3728
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
3727
3729
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -3885,7 +3887,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
3885
3887
|
}
|
|
3886
3888
|
};
|
|
3887
3889
|
|
|
3888
|
-
// bazel-out/
|
|
3890
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
3889
3891
|
var DelegatingReflectionHost = class {
|
|
3890
3892
|
constructor(tsHost, ngccHost) {
|
|
3891
3893
|
this.tsHost = tsHost;
|
|
@@ -4006,16 +4008,16 @@ var DelegatingReflectionHost = class {
|
|
|
4006
4008
|
}
|
|
4007
4009
|
};
|
|
4008
4010
|
|
|
4009
|
-
// bazel-out/
|
|
4011
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
4010
4012
|
import ts19 from "typescript";
|
|
4011
4013
|
|
|
4012
|
-
// bazel-out/
|
|
4014
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
4013
4015
|
import ts18 from "typescript";
|
|
4014
4016
|
|
|
4015
|
-
// bazel-out/
|
|
4017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
4016
4018
|
import ts17 from "typescript";
|
|
4017
4019
|
|
|
4018
|
-
// bazel-out/
|
|
4020
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
4019
4021
|
var NgccFlatImportRewriter = class {
|
|
4020
4022
|
shouldImportSymbol(symbol, specifier) {
|
|
4021
4023
|
if (specifier === "@angular/core") {
|
|
@@ -4036,7 +4038,7 @@ var NgccFlatImportRewriter = class {
|
|
|
4036
4038
|
}
|
|
4037
4039
|
};
|
|
4038
4040
|
|
|
4039
|
-
// bazel-out/
|
|
4041
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
4040
4042
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
4041
4043
|
if (isCore && isFlat) {
|
|
4042
4044
|
return new NgccFlatImportRewriter();
|
|
@@ -4050,7 +4052,7 @@ function stripExtension2(filePath) {
|
|
|
4050
4052
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
4051
4053
|
}
|
|
4052
4054
|
|
|
4053
|
-
// bazel-out/
|
|
4055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
4054
4056
|
var EsmRenderingFormatter = class {
|
|
4055
4057
|
constructor(fs, host, isCore) {
|
|
4056
4058
|
this.fs = fs;
|
|
@@ -4210,7 +4212,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
4210
4212
|
return lastToken && lastToken.kind === ts17.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
4211
4213
|
}
|
|
4212
4214
|
|
|
4213
|
-
// bazel-out/
|
|
4215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
4214
4216
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
4215
4217
|
addDefinitions(output, compiledClass, definitions) {
|
|
4216
4218
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -4238,7 +4240,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
4238
4240
|
}
|
|
4239
4241
|
};
|
|
4240
4242
|
|
|
4241
|
-
// bazel-out/
|
|
4243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
4242
4244
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4243
4245
|
constructor(fs, commonJsHost, isCore) {
|
|
4244
4246
|
super(fs, commonJsHost, isCore);
|
|
@@ -4287,15 +4289,15 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
4287
4289
|
}
|
|
4288
4290
|
};
|
|
4289
4291
|
|
|
4290
|
-
// bazel-out/
|
|
4292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4291
4293
|
import MagicString from "magic-string";
|
|
4292
4294
|
import ts20 from "typescript";
|
|
4293
4295
|
|
|
4294
|
-
// bazel-out/
|
|
4296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
4295
4297
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
4296
4298
|
var NGCC_TIMED_OUT_EXIT_CODE = 177;
|
|
4297
4299
|
|
|
4298
|
-
// bazel-out/
|
|
4300
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
4299
4301
|
import mapHelpers from "convert-source-map";
|
|
4300
4302
|
function renderSourceAndMap(logger, fs, sourceFile, generatedMagicString) {
|
|
4301
4303
|
var _a;
|
|
@@ -4330,7 +4332,7 @@ ${sourceMapComment}` },
|
|
|
4330
4332
|
}
|
|
4331
4333
|
}
|
|
4332
4334
|
|
|
4333
|
-
// bazel-out/
|
|
4335
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4334
4336
|
var DtsRenderInfo = class {
|
|
4335
4337
|
constructor() {
|
|
4336
4338
|
this.classInfo = [];
|
|
@@ -4431,14 +4433,14 @@ function markForEmitAsSingleLine(node) {
|
|
|
4431
4433
|
ts20.forEachChild(node, markForEmitAsSingleLine);
|
|
4432
4434
|
}
|
|
4433
4435
|
|
|
4434
|
-
// bazel-out/
|
|
4436
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4435
4437
|
import { jsDocComment, WrappedNodeExpr, WritePropExpr } from "@angular/compiler";
|
|
4436
4438
|
import MagicString2 from "magic-string";
|
|
4437
4439
|
|
|
4438
|
-
// bazel-out/
|
|
4440
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
4439
4441
|
var RedundantDecoratorMap = Map;
|
|
4440
4442
|
|
|
4441
|
-
// bazel-out/
|
|
4443
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4442
4444
|
var Renderer = class {
|
|
4443
4445
|
constructor(host, srcFormatter, fs, logger, bundle, tsConfig = null) {
|
|
4444
4446
|
this.host = host;
|
|
@@ -4541,7 +4543,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
4541
4543
|
return statement;
|
|
4542
4544
|
}
|
|
4543
4545
|
|
|
4544
|
-
// bazel-out/
|
|
4546
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
4545
4547
|
import ts21 from "typescript";
|
|
4546
4548
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4547
4549
|
constructor(fs, umdHost, isCore) {
|
|
@@ -4657,7 +4659,7 @@ function getGlobalIdentifier(i) {
|
|
|
4657
4659
|
return i.specifier.replace(/^@angular\//, "ng.").replace(/^@/, "").replace(/\//g, ".").replace(/[-_]+(.?)/g, (_, c) => c.toUpperCase()).replace(/^./, (c) => c.toLowerCase());
|
|
4658
4660
|
}
|
|
4659
4661
|
|
|
4660
|
-
// bazel-out/
|
|
4662
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
4661
4663
|
var Transformer = class {
|
|
4662
4664
|
constructor(fs, logger, tsConfig = null) {
|
|
4663
4665
|
this.fs = fs;
|
|
@@ -4738,7 +4740,7 @@ function hasErrors(diagnostics) {
|
|
|
4738
4740
|
return diagnostics.some((d) => d.category === ts22.DiagnosticCategory.Error);
|
|
4739
4741
|
}
|
|
4740
4742
|
|
|
4741
|
-
// bazel-out/
|
|
4743
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
4742
4744
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
4743
4745
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
4744
4746
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -4777,10 +4779,10 @@ ${errors}`);
|
|
|
4777
4779
|
};
|
|
4778
4780
|
}
|
|
4779
4781
|
|
|
4780
|
-
// bazel-out/
|
|
4782
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4781
4783
|
import os from "os";
|
|
4782
4784
|
|
|
4783
|
-
// bazel-out/
|
|
4785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
4784
4786
|
function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
4785
4787
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
4786
4788
|
return {
|
|
@@ -4790,7 +4792,7 @@ function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
|
4790
4792
|
}
|
|
4791
4793
|
}
|
|
4792
4794
|
|
|
4793
|
-
// bazel-out/
|
|
4795
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
4794
4796
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
4795
4797
|
var InPlaceFileWriter = class {
|
|
4796
4798
|
constructor(fs, logger, errorOnFailedEntryPoint) {
|
|
@@ -4839,7 +4841,7 @@ This error may be caused by one of the following:
|
|
|
4839
4841
|
}
|
|
4840
4842
|
};
|
|
4841
4843
|
|
|
4842
|
-
// bazel-out/
|
|
4844
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
4843
4845
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
4844
4846
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
4845
4847
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -4947,7 +4949,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
4947
4949
|
}
|
|
4948
4950
|
};
|
|
4949
4951
|
|
|
4950
|
-
// bazel-out/
|
|
4952
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4951
4953
|
function getSharedSetup(options) {
|
|
4952
4954
|
const fileSystem = getFileSystem();
|
|
4953
4955
|
const absBasePath = absoluteFrom(options.basePath);
|
|
@@ -5023,7 +5025,7 @@ function getMaxNumberOfWorkers() {
|
|
|
5023
5025
|
return numericMaxWorkers;
|
|
5024
5026
|
}
|
|
5025
5027
|
|
|
5026
|
-
// bazel-out/
|
|
5028
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
5027
5029
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
5028
5030
|
function computeTaskDependencies(tasks, graph) {
|
|
5029
5031
|
const dependencies = new TaskDependencies();
|
|
@@ -5083,7 +5085,7 @@ function sortTasksByPriority(tasks, dependencies) {
|
|
|
5083
5085
|
});
|
|
5084
5086
|
}
|
|
5085
5087
|
|
|
5086
|
-
// bazel-out/
|
|
5088
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
5087
5089
|
import cluster from "cluster";
|
|
5088
5090
|
var Deferred = class {
|
|
5089
5091
|
constructor() {
|
|
@@ -5118,7 +5120,7 @@ var sendMessageToWorker = (workerId, msg) => {
|
|
|
5118
5120
|
});
|
|
5119
5121
|
};
|
|
5120
5122
|
|
|
5121
|
-
// bazel-out/
|
|
5123
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
5122
5124
|
var PackageJsonUpdate = class {
|
|
5123
5125
|
constructor(writeChangesImpl) {
|
|
5124
5126
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -5260,4 +5262,4 @@ export {
|
|
|
5260
5262
|
* Use of this source code is governed by an MIT-style license that can be
|
|
5261
5263
|
* found in the LICENSE file at https://angular.io/license
|
|
5262
5264
|
*/
|
|
5263
|
-
//# sourceMappingURL=chunk-
|
|
5265
|
+
//# sourceMappingURL=chunk-WN75SNW4.js.map
|