@angular/compiler-cli 14.1.0-next.3 → 14.1.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-DPA2FBDE.js → chunk-24DFPZCS.js} +34 -26
- package/bundles/chunk-24DFPZCS.js.map +6 -0
- package/bundles/{chunk-TV7VZNWL.js → chunk-4JF5LVDW.js} +9 -12
- package/bundles/chunk-4JF5LVDW.js.map +6 -0
- package/bundles/{chunk-LC26KH5A.js → chunk-ACXPVP2W.js} +5 -5
- package/bundles/chunk-ACXPVP2W.js.map +6 -0
- package/bundles/{chunk-SOSZHK6P.js → chunk-ATB3HJXN.js} +34 -37
- package/bundles/chunk-ATB3HJXN.js.map +6 -0
- package/bundles/{chunk-OCR5YQMJ.js → chunk-BCXYCOVM.js} +344 -178
- package/bundles/chunk-BCXYCOVM.js.map +6 -0
- package/bundles/{chunk-2WG4XIQ4.js → chunk-C6DN5BLC.js} +8 -12
- package/bundles/chunk-C6DN5BLC.js.map +6 -0
- package/bundles/{chunk-WH4QSABR.js → chunk-CYVTLM4Z.js} +8 -12
- package/bundles/chunk-CYVTLM4Z.js.map +6 -0
- package/bundles/{chunk-ZCDB56AX.js → chunk-E7NQQTT7.js} +3 -3
- package/bundles/{chunk-ZCDB56AX.js.map → chunk-E7NQQTT7.js.map} +1 -1
- package/bundles/{chunk-BRHP6XKM.js → chunk-FM6NPN5V.js} +4 -4
- package/bundles/{chunk-BRHP6XKM.js.map → chunk-FM6NPN5V.js.map} +0 -0
- package/bundles/{chunk-DOITZI4O.js → chunk-KPEPSPYQ.js} +122 -118
- package/bundles/chunk-KPEPSPYQ.js.map +6 -0
- package/bundles/{chunk-EIL2D5BG.js → chunk-MN3YDSGE.js} +46 -47
- package/bundles/chunk-MN3YDSGE.js.map +6 -0
- package/bundles/{chunk-5K2JLFXT.js → chunk-NFCN3OZI.js} +6 -6
- package/bundles/chunk-NFCN3OZI.js.map +6 -0
- package/bundles/{chunk-SJL5HBUW.js → chunk-R3C7RFJ4.js} +2 -2
- package/bundles/{chunk-SJL5HBUW.js.map → chunk-R3C7RFJ4.js.map} +0 -0
- package/bundles/{chunk-CHS76256.js → chunk-S2H6ZNBD.js} +80 -84
- package/bundles/chunk-S2H6ZNBD.js.map +6 -0
- package/bundles/{chunk-TD64C4QJ.js → chunk-TOKOIIBI.js} +8 -8
- package/bundles/chunk-TOKOIIBI.js.map +6 -0
- package/bundles/{chunk-GMSUYBZP.js → chunk-XYNRD7NE.js} +1 -33
- package/bundles/{chunk-GMSUYBZP.js.map → chunk-XYNRD7NE.js.map} +0 -0
- package/bundles/index.js +14 -16
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +20 -24
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +13 -13
- package/bundles/ngcc/main-ngcc.js +14 -14
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
- 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 +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 +3 -3
- package/bundles/src/bin/ng_xi18n.js +12 -15
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/linker/src/linker_import_generator.d.ts +1 -1
- package/ngcc/src/host/commonjs_umd_utils.d.ts +2 -2
- package/ngcc/src/host/esm5_host.d.ts +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/core/api/src/public_options.d.ts +1 -1
- package/src/ngtsc/core/src/compiler.d.ts +2 -2
- package/src/ngtsc/diagnostics/src/error_code.d.ts +49 -1
- package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +5 -1
- package/src/ngtsc/incremental/src/state.d.ts +1 -1
- package/src/ngtsc/indexer/src/context.d.ts +1 -1
- package/src/ngtsc/metadata/src/registry.d.ts +2 -1
- package/src/ngtsc/perf/src/recorder.d.ts +1 -1
- package/src/ngtsc/reflection/src/host.d.ts +1 -1
- package/src/ngtsc/scope/src/dependency.d.ts +1 -1
- package/src/ngtsc/translator/src/api/ast_factory.d.ts +2 -2
- package/src/ngtsc/translator/src/import_manager.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/api/extended_template_checker.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.d.ts +10 -0
- package/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.d.ts +11 -0
- package/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.d.ts +11 -0
- package/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.d.ts +11 -0
- package/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.d.ts +11 -0
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
- package/src/transformers/api.d.ts +2 -2
- package/bundles/chunk-2WG4XIQ4.js.map +0 -6
- package/bundles/chunk-5K2JLFXT.js.map +0 -6
- package/bundles/chunk-CHS76256.js.map +0 -6
- package/bundles/chunk-DOITZI4O.js.map +0 -6
- package/bundles/chunk-DPA2FBDE.js.map +0 -6
- package/bundles/chunk-EIL2D5BG.js.map +0 -6
- package/bundles/chunk-LC26KH5A.js.map +0 -6
- package/bundles/chunk-OCR5YQMJ.js.map +0 -6
- package/bundles/chunk-SOSZHK6P.js.map +0 -6
- package/bundles/chunk-TD64C4QJ.js.map +0 -6
- package/bundles/chunk-TV7VZNWL.js.map +0 -6
- package/bundles/chunk-WH4QSABR.js.map +0 -6
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ImportGraph,
|
|
9
9
|
isShim,
|
|
10
10
|
readConfiguration
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BCXYCOVM.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-KPEPSPYQ.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-NFCN3OZI.js";
|
|
47
47
|
import {
|
|
48
48
|
ConsoleLogger,
|
|
49
49
|
LogLevel
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-E7NQQTT7.js";
|
|
51
51
|
import {
|
|
52
52
|
ContentOrigin,
|
|
53
53
|
SourceFileLoader
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-CYVTLM4Z.js";
|
|
55
55
|
import {
|
|
56
56
|
AbsoluteModuleStrategy,
|
|
57
57
|
ImportManager,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
translateStatement,
|
|
73
73
|
translateType,
|
|
74
74
|
validateAndRewriteCoreSymbol
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-24DFPZCS.js";
|
|
76
76
|
import {
|
|
77
77
|
LogicalFileSystem,
|
|
78
78
|
NgtscCompilerHost,
|
|
@@ -84,25 +84,21 @@ import {
|
|
|
84
84
|
isRooted,
|
|
85
85
|
relative,
|
|
86
86
|
toRelativeImport
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-TOKOIIBI.js";
|
|
88
88
|
import {
|
|
89
89
|
NOOP_PERF_RECORDER
|
|
90
|
-
} from "./chunk-
|
|
91
|
-
import {
|
|
92
|
-
__spreadProps,
|
|
93
|
-
__spreadValues
|
|
94
|
-
} from "./chunk-GMSUYBZP.js";
|
|
90
|
+
} from "./chunk-ACXPVP2W.js";
|
|
95
91
|
|
|
96
|
-
// bazel-out/
|
|
92
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
97
93
|
import ts23 from "typescript";
|
|
98
94
|
|
|
99
|
-
// bazel-out/
|
|
95
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
100
96
|
import ts7 from "typescript";
|
|
101
97
|
|
|
102
|
-
// bazel-out/
|
|
98
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
103
99
|
import ts6 from "typescript";
|
|
104
100
|
|
|
105
|
-
// bazel-out/
|
|
101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/utils.mjs
|
|
106
102
|
import ts from "typescript";
|
|
107
103
|
function isDefined(value) {
|
|
108
104
|
return value !== void 0 && value !== null;
|
|
@@ -193,7 +189,7 @@ function isExportObject(thing) {
|
|
|
193
189
|
return typeof thing === "object" && thing !== null && !Array.isArray(thing);
|
|
194
190
|
}
|
|
195
191
|
|
|
196
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_umd_utils.mjs
|
|
197
193
|
import ts2 from "typescript";
|
|
198
194
|
function findNamespaceOfIdentifier(id) {
|
|
199
195
|
return id.parent && ts2.isPropertyAccessExpression(id.parent) && id.parent.name === id && ts2.isIdentifier(id.parent.expression) ? id.parent.expression : null;
|
|
@@ -279,10 +275,10 @@ function skipAliases(node) {
|
|
|
279
275
|
return node;
|
|
280
276
|
}
|
|
281
277
|
|
|
282
|
-
// bazel-out/
|
|
278
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
283
279
|
import ts4 from "typescript";
|
|
284
280
|
|
|
285
|
-
// bazel-out/
|
|
281
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/util.mjs
|
|
286
282
|
function isWithinPackage(packagePath, filePath) {
|
|
287
283
|
const relativePath = relative(packagePath, filePath);
|
|
288
284
|
return isLocalRelativePath(relativePath) && !relativePath.startsWith("node_modules/");
|
|
@@ -297,13 +293,13 @@ var NoopDependencyTracker = class {
|
|
|
297
293
|
};
|
|
298
294
|
var NOOP_DEPENDENCY_TRACKER = new NoopDependencyTracker();
|
|
299
295
|
|
|
300
|
-
// bazel-out/
|
|
296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/utils.mjs
|
|
301
297
|
import ts3 from "typescript";
|
|
302
298
|
function stripParentheses(node) {
|
|
303
299
|
return ts3.isParenthesizedExpression(node) ? node.expression : node;
|
|
304
300
|
}
|
|
305
301
|
|
|
306
|
-
// bazel-out/
|
|
302
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm2015_host.mjs
|
|
307
303
|
var DECORATORS = "decorators";
|
|
308
304
|
var PROP_DECORATORS = "propDecorators";
|
|
309
305
|
var CONSTRUCTOR = "__constructor";
|
|
@@ -1229,7 +1225,7 @@ ${declaration.getText()}`);
|
|
|
1229
1225
|
return null;
|
|
1230
1226
|
}
|
|
1231
1227
|
const exportDecl = namespaceExports.get(expression.name.text);
|
|
1232
|
-
return
|
|
1228
|
+
return { ...exportDecl, viaModule: namespaceDecl.viaModule };
|
|
1233
1229
|
}
|
|
1234
1230
|
isJavaScriptObjectDeclaration(decl) {
|
|
1235
1231
|
const node = decl.node;
|
|
@@ -1531,7 +1527,7 @@ function getOuterNodeFromInnerDeclaration(node) {
|
|
|
1531
1527
|
return outerNode;
|
|
1532
1528
|
}
|
|
1533
1529
|
|
|
1534
|
-
// bazel-out/
|
|
1530
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/esm5_host.mjs
|
|
1535
1531
|
import ts5 from "typescript";
|
|
1536
1532
|
var Esm5ReflectionHost = class extends Esm2015ReflectionHost {
|
|
1537
1533
|
getBaseClassExpression(clazz) {
|
|
@@ -1865,7 +1861,7 @@ function getIifeFn(classSymbol) {
|
|
|
1865
1861
|
return iifeWrapper && ts5.isFunctionExpression(iifeWrapper) ? iifeWrapper : null;
|
|
1866
1862
|
}
|
|
1867
1863
|
|
|
1868
|
-
// bazel-out/
|
|
1864
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/umd_host.mjs
|
|
1869
1865
|
var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
1870
1866
|
constructor(logger, isCore, src, dts = null) {
|
|
1871
1867
|
super(logger, isCore, src, dts);
|
|
@@ -2067,7 +2063,7 @@ var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
|
2067
2063
|
}
|
|
2068
2064
|
const viaModule = stripExtension(importedFile.fileName);
|
|
2069
2065
|
const reexports = [];
|
|
2070
|
-
importedExports.forEach((decl, name) => reexports.push({ name, declaration:
|
|
2066
|
+
importedExports.forEach((decl, name) => reexports.push({ name, declaration: { ...decl, viaModule } }));
|
|
2071
2067
|
return reexports;
|
|
2072
2068
|
}
|
|
2073
2069
|
extractUmdDefinePropertyExportDeclaration(statement) {
|
|
@@ -2128,7 +2124,7 @@ var UmdReflectionHost = class extends Esm5ReflectionHost {
|
|
|
2128
2124
|
return null;
|
|
2129
2125
|
}
|
|
2130
2126
|
const viaModule = declaration.viaModule === null ? moduleDeclaration.viaModule : declaration.viaModule;
|
|
2131
|
-
return
|
|
2127
|
+
return { ...declaration, viaModule, known: getTsHelperFnFromIdentifier(id) };
|
|
2132
2128
|
}
|
|
2133
2129
|
getExportsDeclaration(id) {
|
|
2134
2130
|
if (!isExportsIdentifier(id)) {
|
|
@@ -2365,7 +2361,7 @@ function isExportsIdentifier(node) {
|
|
|
2365
2361
|
return ts6.isIdentifier(node) && node.text === "exports";
|
|
2366
2362
|
}
|
|
2367
2363
|
|
|
2368
|
-
// bazel-out/
|
|
2364
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point.mjs
|
|
2369
2365
|
var SUPPORTED_FORMAT_PROPERTIES = ["fesm2015", "fesm5", "es2015", "esm2015", "esm5", "main", "module", "browser"];
|
|
2370
2366
|
var NO_ENTRY_POINT = "no-entry-point";
|
|
2371
2367
|
var IGNORED_ENTRY_POINT = "ignored-entry-point";
|
|
@@ -2493,10 +2489,10 @@ function sniffModuleFormat(fs, sourceFilePath) {
|
|
|
2493
2489
|
}
|
|
2494
2490
|
function mergeConfigAndPackageJson(fs, entryPointPackageJson, entryPointConfig, packagePath, entryPointPath) {
|
|
2495
2491
|
if (entryPointPackageJson !== null) {
|
|
2496
|
-
return
|
|
2492
|
+
return { ...entryPointPackageJson, ...entryPointConfig.override };
|
|
2497
2493
|
} else {
|
|
2498
2494
|
const name = `${fs.basename(packagePath)}/${fs.relative(packagePath, entryPointPath)}`;
|
|
2499
|
-
return
|
|
2495
|
+
return { name, ...entryPointConfig.override };
|
|
2500
2496
|
}
|
|
2501
2497
|
}
|
|
2502
2498
|
function guessTypingsFromPackageJson(fs, entryPointPath, entryPointPackageJson) {
|
|
@@ -2540,7 +2536,7 @@ function getRepositoryUrl(packageJson) {
|
|
|
2540
2536
|
return packageJson.repository.url;
|
|
2541
2537
|
}
|
|
2542
2538
|
|
|
2543
|
-
// bazel-out/
|
|
2539
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/api.mjs
|
|
2544
2540
|
var DtsProcessing;
|
|
2545
2541
|
(function(DtsProcessing2) {
|
|
2546
2542
|
DtsProcessing2[DtsProcessing2["Yes"] = 0] = "Yes";
|
|
@@ -2549,7 +2545,7 @@ var DtsProcessing;
|
|
|
2549
2545
|
})(DtsProcessing || (DtsProcessing = {}));
|
|
2550
2546
|
var TaskDependencies = Map;
|
|
2551
2547
|
|
|
2552
|
-
// bazel-out/
|
|
2548
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/adjust_cjs_umd_exports.mjs
|
|
2553
2549
|
import ts8 from "typescript";
|
|
2554
2550
|
function adjustElementAccessExports(sourceText) {
|
|
2555
2551
|
if (!/exports\[["']/.test(sourceText)) {
|
|
@@ -2586,10 +2582,10 @@ function isJsIdentifier(text) {
|
|
|
2586
2582
|
return identifierPattern.test(text);
|
|
2587
2583
|
}
|
|
2588
2584
|
|
|
2589
|
-
// bazel-out/
|
|
2585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
2590
2586
|
import ts10 from "typescript";
|
|
2591
2587
|
|
|
2592
|
-
// bazel-out/
|
|
2588
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/patch_ts_expando_initializer.mjs
|
|
2593
2589
|
import ts9 from "typescript";
|
|
2594
2590
|
function patchTsGetExpandoInitializer() {
|
|
2595
2591
|
if (isTs31778GetExpandoInitializerFixed()) {
|
|
@@ -2694,7 +2690,7 @@ function makeUnsupportedTypeScriptError() {
|
|
|
2694
2690
|
return new Error("The TypeScript version used is not supported by ngcc.");
|
|
2695
2691
|
}
|
|
2696
2692
|
|
|
2697
|
-
// bazel-out/
|
|
2693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/bundle_program.mjs
|
|
2698
2694
|
function makeBundleProgram(fs, isCore, pkg, path, r3FileName, options, host, additionalFiles = []) {
|
|
2699
2695
|
const r3SymbolsPath = isCore ? findR3SymbolsPath(fs, fs.dirname(path), r3FileName) : null;
|
|
2700
2696
|
let rootPaths = r3SymbolsPath ? [path, r3SymbolsPath, ...additionalFiles] : [path, ...additionalFiles];
|
|
@@ -2724,7 +2720,7 @@ function findR3SymbolsPath(fs, directory, filename) {
|
|
|
2724
2720
|
return null;
|
|
2725
2721
|
}
|
|
2726
2722
|
|
|
2727
|
-
// bazel-out/
|
|
2723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/ngcc_compiler_host.mjs
|
|
2728
2724
|
import ts11 from "typescript";
|
|
2729
2725
|
var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
2730
2726
|
constructor(fs, options, cache, moduleResolutionCache, packagePath) {
|
|
@@ -2742,7 +2738,7 @@ var NgccSourcesCompilerHost = class extends NgtscCompilerHost {
|
|
|
2742
2738
|
if ((resolvedModule == null ? void 0 : resolvedModule.extension) === ts11.Extension.Dts && containingFile.endsWith(".js") && isRelativePath(moduleName)) {
|
|
2743
2739
|
const jsFile = resolvedModule.resolvedFileName.replace(/\.d\.ts$/, ".js");
|
|
2744
2740
|
if (this.fileExists(jsFile)) {
|
|
2745
|
-
return
|
|
2741
|
+
return { ...resolvedModule, resolvedFileName: jsFile, extension: ts11.Extension.Js };
|
|
2746
2742
|
}
|
|
2747
2743
|
}
|
|
2748
2744
|
if ((resolvedModule == null ? void 0 : resolvedModule.extension) === ts11.Extension.Js && !isWithinPackage(this.packagePath, this.fs.resolve(resolvedModule.resolvedFileName))) {
|
|
@@ -2769,7 +2765,7 @@ var NgccDtsCompilerHost = class extends NgtscCompilerHost {
|
|
|
2769
2765
|
}
|
|
2770
2766
|
};
|
|
2771
2767
|
|
|
2772
|
-
// bazel-out/
|
|
2768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/source_file_cache.mjs
|
|
2773
2769
|
import ts12 from "typescript";
|
|
2774
2770
|
var SharedFileCache = class {
|
|
2775
2771
|
constructor(fs) {
|
|
@@ -2872,7 +2868,7 @@ function createModuleResolutionCache(fs) {
|
|
|
2872
2868
|
});
|
|
2873
2869
|
}
|
|
2874
2870
|
|
|
2875
|
-
// bazel-out/
|
|
2871
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_bundle.mjs
|
|
2876
2872
|
function createSourceTextProcessor(format) {
|
|
2877
2873
|
if (format === "umd" || format === "commonjs") {
|
|
2878
2874
|
return adjustElementAccessExports;
|
|
@@ -2882,7 +2878,7 @@ function createSourceTextProcessor(format) {
|
|
|
2882
2878
|
}
|
|
2883
2879
|
function makeEntryPointBundle(fs, entryPoint, sharedFileCache, moduleResolutionCache, formatPath, isCore, format, dtsProcessing, pathMappings, mirrorDtsFromSrc = false, enableI18nLegacyMessageIdFormat = true) {
|
|
2884
2880
|
const rootDir = entryPoint.packagePath;
|
|
2885
|
-
const options =
|
|
2881
|
+
const options = { allowJs: true, maxNodeModuleJsDepth: Infinity, rootDir, ...pathMappings };
|
|
2886
2882
|
const processSourceText = createSourceTextProcessor(format);
|
|
2887
2883
|
const entryPointCache = new EntryPointFileCache(fs, sharedFileCache, processSourceText);
|
|
2888
2884
|
const dtsHost = new NgccDtsCompilerHost(fs, options, entryPointCache, moduleResolutionCache);
|
|
@@ -2891,7 +2887,7 @@ function makeEntryPointBundle(fs, entryPoint, sharedFileCache, moduleResolutionC
|
|
|
2891
2887
|
const typingsPath = fs.resolve(entryPoint.path, entryPoint.typings);
|
|
2892
2888
|
const src = makeBundleProgram(fs, isCore, entryPoint.packagePath, absFormatPath, "r3_symbols.js", options, srcHost);
|
|
2893
2889
|
const additionalDtsFiles = dtsProcessing !== DtsProcessing.No && mirrorDtsFromSrc ? computePotentialDtsFilesFromJsFiles(fs, src.program, absFormatPath, typingsPath) : [];
|
|
2894
|
-
const dts = dtsProcessing !== DtsProcessing.No ? makeBundleProgram(fs, isCore, entryPoint.packagePath, typingsPath, "r3_symbols.d.ts",
|
|
2890
|
+
const dts = dtsProcessing !== DtsProcessing.No ? makeBundleProgram(fs, isCore, entryPoint.packagePath, typingsPath, "r3_symbols.d.ts", { ...options, allowJs: false }, dtsHost, additionalDtsFiles) : null;
|
|
2895
2891
|
const isFlatCore = isCore && src.r3SymbolsFile === null;
|
|
2896
2892
|
return {
|
|
2897
2893
|
entryPoint,
|
|
@@ -2921,13 +2917,13 @@ function computePotentialDtsFilesFromJsFiles(fs, srcProgram, formatPath, typings
|
|
|
2921
2917
|
return additionalFiles;
|
|
2922
2918
|
}
|
|
2923
2919
|
|
|
2924
|
-
// bazel-out/
|
|
2920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
2925
2921
|
import ts22 from "typescript";
|
|
2926
2922
|
|
|
2927
|
-
// bazel-out/
|
|
2923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
2928
2924
|
import { ConstantPool } from "@angular/compiler";
|
|
2929
2925
|
|
|
2930
|
-
// bazel-out/
|
|
2926
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/utils.mjs
|
|
2931
2927
|
import ts13 from "typescript";
|
|
2932
2928
|
function isClassDeclaration(clazz) {
|
|
2933
2929
|
return isNamedClassDeclaration(clazz) || isNamedFunctionDeclaration(clazz) || isNamedVariableDeclaration(clazz);
|
|
@@ -3010,7 +3006,7 @@ function reifySourceFile(expr) {
|
|
|
3010
3006
|
return stmt.declarationList.declarations[0].initializer;
|
|
3011
3007
|
}
|
|
3012
3008
|
|
|
3013
|
-
// bazel-out/
|
|
3009
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/missing_injectable_migration.mjs
|
|
3014
3010
|
var MissingInjectableMigration = class {
|
|
3015
3011
|
apply(clazz, host) {
|
|
3016
3012
|
const decorators = host.reflectionHost.getDecoratorsOfDeclaration(clazz);
|
|
@@ -3115,7 +3111,7 @@ function getAngularCoreDecoratorName(decorator) {
|
|
|
3115
3111
|
return decorator.import.name;
|
|
3116
3112
|
}
|
|
3117
3113
|
|
|
3118
|
-
// bazel-out/
|
|
3114
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_child_migration.mjs
|
|
3119
3115
|
var UndecoratedChildMigration = class {
|
|
3120
3116
|
apply(clazz, host) {
|
|
3121
3117
|
const moduleMeta = host.metadata.getNgModuleMetadata(new Reference(clazz));
|
|
@@ -3150,7 +3146,7 @@ var UndecoratedChildMigration = class {
|
|
|
3150
3146
|
}
|
|
3151
3147
|
};
|
|
3152
3148
|
|
|
3153
|
-
// bazel-out/
|
|
3149
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/migrations/undecorated_parent_migration.mjs
|
|
3154
3150
|
var UndecoratedParentMigration = class {
|
|
3155
3151
|
apply(clazz, host) {
|
|
3156
3152
|
if (!hasDirectiveDecorator(host, clazz) || hasConstructor(host, clazz)) {
|
|
@@ -3183,7 +3179,7 @@ function determineBaseClass(clazz, host) {
|
|
|
3183
3179
|
return baseClass;
|
|
3184
3180
|
}
|
|
3185
3181
|
|
|
3186
|
-
// bazel-out/
|
|
3182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/migration_host.mjs
|
|
3187
3183
|
import ts14 from "typescript";
|
|
3188
3184
|
var DefaultMigrationHost = class {
|
|
3189
3185
|
constructor(reflectionHost, metadata, evaluator, compiler, entryPointPath) {
|
|
@@ -3212,7 +3208,7 @@ var DefaultMigrationHost = class {
|
|
|
3212
3208
|
}
|
|
3213
3209
|
};
|
|
3214
3210
|
function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
3215
|
-
const clone =
|
|
3211
|
+
const clone = { ...diagnostic };
|
|
3216
3212
|
const chain = [{
|
|
3217
3213
|
messageText: `Occurs for @${decorator.name} decorator inserted by an automatic migration`,
|
|
3218
3214
|
category: ts14.DiagnosticCategory.Message,
|
|
@@ -3243,7 +3239,7 @@ function createMigrationDiagnostic(diagnostic, source, decorator) {
|
|
|
3243
3239
|
return clone;
|
|
3244
3240
|
}
|
|
3245
3241
|
|
|
3246
|
-
// bazel-out/
|
|
3242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_trait_compiler.mjs
|
|
3247
3243
|
var NgccTraitCompiler = class extends TraitCompiler {
|
|
3248
3244
|
constructor(handlers, ngccReflector) {
|
|
3249
3245
|
super(handlers, ngccReflector, NOOP_PERF_RECORDER, new NoIncrementalBuild(), true, CompilationMode.FULL, new DtsTransformRegistry(), null, { isShim, isResource: () => false });
|
|
@@ -3288,10 +3284,10 @@ var NoIncrementalBuild = class {
|
|
|
3288
3284
|
}
|
|
3289
3285
|
};
|
|
3290
3286
|
|
|
3291
|
-
// bazel-out/
|
|
3287
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/types.mjs
|
|
3292
3288
|
var DecorationAnalyses = Map;
|
|
3293
3289
|
|
|
3294
|
-
// bazel-out/
|
|
3290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/decoration_analyzer.mjs
|
|
3295
3291
|
var NgccResourceLoader = class {
|
|
3296
3292
|
constructor(fs) {
|
|
3297
3293
|
this.fs = fs;
|
|
@@ -3447,7 +3443,7 @@ var DecorationAnalyzer = class {
|
|
|
3447
3443
|
}
|
|
3448
3444
|
};
|
|
3449
3445
|
|
|
3450
|
-
// bazel-out/
|
|
3446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/module_with_providers_analyzer.mjs
|
|
3451
3447
|
import ts15 from "typescript";
|
|
3452
3448
|
var ModuleWithProvidersAnalyses = Map;
|
|
3453
3449
|
var ModuleWithProvidersAnalyzer = class {
|
|
@@ -3586,7 +3582,7 @@ function isAnyKeyword(typeParam) {
|
|
|
3586
3582
|
return typeParam.kind === ts15.SyntaxKind.AnyKeyword;
|
|
3587
3583
|
}
|
|
3588
3584
|
|
|
3589
|
-
// bazel-out/
|
|
3585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/ngcc_references_registry.mjs
|
|
3590
3586
|
var NgccReferencesRegistry = class {
|
|
3591
3587
|
constructor(host) {
|
|
3592
3588
|
this.host = host;
|
|
@@ -3607,7 +3603,7 @@ var NgccReferencesRegistry = class {
|
|
|
3607
3603
|
}
|
|
3608
3604
|
};
|
|
3609
3605
|
|
|
3610
|
-
// bazel-out/
|
|
3606
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/analysis/private_declarations_analyzer.mjs
|
|
3611
3607
|
var PrivateDeclarationsAnalyzer = class {
|
|
3612
3608
|
constructor(host, referencesRegistry) {
|
|
3613
3609
|
this.host = host;
|
|
@@ -3648,7 +3644,7 @@ var PrivateDeclarationsAnalyzer = class {
|
|
|
3648
3644
|
}
|
|
3649
3645
|
};
|
|
3650
3646
|
|
|
3651
|
-
// bazel-out/
|
|
3647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/commonjs_host.mjs
|
|
3652
3648
|
import ts16 from "typescript";
|
|
3653
3649
|
var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
3654
3650
|
constructor(logger, isCore, src, dts = null) {
|
|
@@ -3740,7 +3736,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
3740
3736
|
const reexports = [];
|
|
3741
3737
|
importedExports.forEach((declaration, name) => {
|
|
3742
3738
|
if (viaModule !== null && declaration.viaModule === null) {
|
|
3743
|
-
declaration =
|
|
3739
|
+
declaration = { ...declaration, viaModule };
|
|
3744
3740
|
}
|
|
3745
3741
|
reexports.push({ name, declaration });
|
|
3746
3742
|
});
|
|
@@ -3812,7 +3808,7 @@ var CommonJsReflectionHost = class extends Esm5ReflectionHost {
|
|
|
3812
3808
|
}
|
|
3813
3809
|
};
|
|
3814
3810
|
|
|
3815
|
-
// bazel-out/
|
|
3811
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/host/delegating_host.mjs
|
|
3816
3812
|
var DelegatingReflectionHost = class {
|
|
3817
3813
|
constructor(tsHost, ngccHost) {
|
|
3818
3814
|
this.tsHost = tsHost;
|
|
@@ -3933,16 +3929,16 @@ var DelegatingReflectionHost = class {
|
|
|
3933
3929
|
}
|
|
3934
3930
|
};
|
|
3935
3931
|
|
|
3936
|
-
// bazel-out/
|
|
3932
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
3937
3933
|
import ts19 from "typescript";
|
|
3938
3934
|
|
|
3939
|
-
// bazel-out/
|
|
3935
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
3940
3936
|
import ts18 from "typescript";
|
|
3941
3937
|
|
|
3942
|
-
// bazel-out/
|
|
3938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
3943
3939
|
import ts17 from "typescript";
|
|
3944
3940
|
|
|
3945
|
-
// bazel-out/
|
|
3941
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/ngcc_import_rewriter.mjs
|
|
3946
3942
|
var NgccFlatImportRewriter = class {
|
|
3947
3943
|
shouldImportSymbol(symbol, specifier) {
|
|
3948
3944
|
if (specifier === "@angular/core") {
|
|
@@ -3963,7 +3959,7 @@ var NgccFlatImportRewriter = class {
|
|
|
3963
3959
|
}
|
|
3964
3960
|
};
|
|
3965
3961
|
|
|
3966
|
-
// bazel-out/
|
|
3962
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/utils.mjs
|
|
3967
3963
|
function getImportRewriter(r3SymbolsFile, isCore, isFlat) {
|
|
3968
3964
|
if (isCore && isFlat) {
|
|
3969
3965
|
return new NgccFlatImportRewriter();
|
|
@@ -3977,7 +3973,7 @@ function stripExtension2(filePath) {
|
|
|
3977
3973
|
return filePath.replace(/\.(js|d\.ts)$/, "");
|
|
3978
3974
|
}
|
|
3979
3975
|
|
|
3980
|
-
// bazel-out/
|
|
3976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm_rendering_formatter.mjs
|
|
3981
3977
|
var EsmRenderingFormatter = class {
|
|
3982
3978
|
constructor(fs, host, isCore) {
|
|
3983
3979
|
this.fs = fs;
|
|
@@ -4137,7 +4133,7 @@ function getEndExceptSemicolon(statement) {
|
|
|
4137
4133
|
return lastToken && lastToken.kind === ts17.SyntaxKind.SemicolonToken ? statement.getEnd() - 1 : statement.getEnd();
|
|
4138
4134
|
}
|
|
4139
4135
|
|
|
4140
|
-
// bazel-out/
|
|
4136
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/esm5_rendering_formatter.mjs
|
|
4141
4137
|
var Esm5RenderingFormatter = class extends EsmRenderingFormatter {
|
|
4142
4138
|
addDefinitions(output, compiledClass, definitions) {
|
|
4143
4139
|
const classSymbol = this.host.getClassSymbol(compiledClass.declaration);
|
|
@@ -4165,7 +4161,7 @@ Expected an ES5 IIFE wrapped function. But got:
|
|
|
4165
4161
|
}
|
|
4166
4162
|
};
|
|
4167
4163
|
|
|
4168
|
-
// bazel-out/
|
|
4164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/commonjs_rendering_formatter.mjs
|
|
4169
4165
|
var CommonJsRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4170
4166
|
constructor(fs, commonJsHost, isCore) {
|
|
4171
4167
|
super(fs, commonJsHost, isCore);
|
|
@@ -4214,15 +4210,15 @@ exports.${e.asAlias} = ${importNamespace}${namedImport.symbol};`;
|
|
|
4214
4210
|
}
|
|
4215
4211
|
};
|
|
4216
4212
|
|
|
4217
|
-
// bazel-out/
|
|
4213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4218
4214
|
import MagicString from "magic-string";
|
|
4219
4215
|
import ts20 from "typescript";
|
|
4220
4216
|
|
|
4221
|
-
// bazel-out/
|
|
4217
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/constants.mjs
|
|
4222
4218
|
var IMPORT_PREFIX = "\u0275ngcc";
|
|
4223
4219
|
var NGCC_TIMED_OUT_EXIT_CODE = 177;
|
|
4224
4220
|
|
|
4225
|
-
// bazel-out/
|
|
4221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/source_maps.mjs
|
|
4226
4222
|
import mapHelpers from "convert-source-map";
|
|
4227
4223
|
function renderSourceAndMap(logger, fs, sourceFile, generatedMagicString) {
|
|
4228
4224
|
var _a;
|
|
@@ -4257,7 +4253,7 @@ ${sourceMapComment}` },
|
|
|
4257
4253
|
}
|
|
4258
4254
|
}
|
|
4259
4255
|
|
|
4260
|
-
// bazel-out/
|
|
4256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/dts_renderer.mjs
|
|
4261
4257
|
var DtsRenderInfo = class {
|
|
4262
4258
|
constructor() {
|
|
4263
4259
|
this.classInfo = [];
|
|
@@ -4358,14 +4354,14 @@ function markForEmitAsSingleLine(node) {
|
|
|
4358
4354
|
ts20.forEachChild(node, markForEmitAsSingleLine);
|
|
4359
4355
|
}
|
|
4360
4356
|
|
|
4361
|
-
// bazel-out/
|
|
4357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4362
4358
|
import { jsDocComment, WrappedNodeExpr, WritePropExpr } from "@angular/compiler";
|
|
4363
4359
|
import MagicString2 from "magic-string";
|
|
4364
4360
|
|
|
4365
|
-
// bazel-out/
|
|
4361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/rendering_formatter.mjs
|
|
4366
4362
|
var RedundantDecoratorMap = Map;
|
|
4367
4363
|
|
|
4368
|
-
// bazel-out/
|
|
4364
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/renderer.mjs
|
|
4369
4365
|
var Renderer = class {
|
|
4370
4366
|
constructor(host, srcFormatter, fs, logger, bundle, tsConfig = null) {
|
|
4371
4367
|
this.host = host;
|
|
@@ -4468,7 +4464,7 @@ function createAssignmentStatement(receiverName, propName, initializer, leadingC
|
|
|
4468
4464
|
return statement;
|
|
4469
4465
|
}
|
|
4470
4466
|
|
|
4471
|
-
// bazel-out/
|
|
4467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/rendering/umd_rendering_formatter.mjs
|
|
4472
4468
|
import ts21 from "typescript";
|
|
4473
4469
|
var UmdRenderingFormatter = class extends Esm5RenderingFormatter {
|
|
4474
4470
|
constructor(fs, umdHost, isCore) {
|
|
@@ -4584,7 +4580,7 @@ function getGlobalIdentifier(i) {
|
|
|
4584
4580
|
return i.specifier.replace(/^@angular\//, "ng.").replace(/^@/, "").replace(/\//g, ".").replace(/[-_]+(.?)/g, (_, c) => c.toUpperCase()).replace(/^./, (c) => c.toLowerCase());
|
|
4585
4581
|
}
|
|
4586
4582
|
|
|
4587
|
-
// bazel-out/
|
|
4583
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/transformer.mjs
|
|
4588
4584
|
var Transformer = class {
|
|
4589
4585
|
constructor(fs, logger, tsConfig = null) {
|
|
4590
4586
|
this.fs = fs;
|
|
@@ -4665,7 +4661,7 @@ function hasErrors(diagnostics) {
|
|
|
4665
4661
|
return diagnostics.some((d) => d.category === ts22.DiagnosticCategory.Error);
|
|
4666
4662
|
}
|
|
4667
4663
|
|
|
4668
|
-
// bazel-out/
|
|
4664
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/create_compile_function.mjs
|
|
4669
4665
|
function getCreateCompileFn(fileSystem, logger, fileWriter, enableI18nLegacyMessageIdFormat, tsConfig, pathMappings) {
|
|
4670
4666
|
return (beforeWritingFiles, onTaskCompleted) => {
|
|
4671
4667
|
const transformer = new Transformer(fileSystem, logger, tsConfig);
|
|
@@ -4704,10 +4700,10 @@ ${errors}`);
|
|
|
4704
4700
|
};
|
|
4705
4701
|
}
|
|
4706
4702
|
|
|
4707
|
-
// bazel-out/
|
|
4703
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4708
4704
|
import * as os from "os";
|
|
4709
4705
|
|
|
4710
|
-
// bazel-out/
|
|
4706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/path_mappings.mjs
|
|
4711
4707
|
function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
4712
4708
|
if (tsConfig !== null && tsConfig.options.baseUrl !== void 0 && tsConfig.options.paths !== void 0) {
|
|
4713
4709
|
return {
|
|
@@ -4717,7 +4713,7 @@ function getPathMappingsFromTsConfig(fs, tsConfig, projectPath) {
|
|
|
4717
4713
|
}
|
|
4718
4714
|
}
|
|
4719
4715
|
|
|
4720
|
-
// bazel-out/
|
|
4716
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/in_place_file_writer.mjs
|
|
4721
4717
|
var NGCC_BACKUP_EXTENSION = ".__ivy_ngcc_bak";
|
|
4722
4718
|
var InPlaceFileWriter = class {
|
|
4723
4719
|
constructor(fs, logger, errorOnFailedEntryPoint) {
|
|
@@ -4766,7 +4762,7 @@ This error may be caused by one of the following:
|
|
|
4766
4762
|
}
|
|
4767
4763
|
};
|
|
4768
4764
|
|
|
4769
|
-
// bazel-out/
|
|
4765
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/new_entry_point_file_writer.mjs
|
|
4770
4766
|
var NGCC_DIRECTORY = "__ivy_ngcc__";
|
|
4771
4767
|
var NGCC_PROPERTY_EXTENSION = "_ivy_ngcc";
|
|
4772
4768
|
var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
@@ -4874,7 +4870,7 @@ var NewEntryPointFileWriter = class extends InPlaceFileWriter {
|
|
|
4874
4870
|
}
|
|
4875
4871
|
};
|
|
4876
4872
|
|
|
4877
|
-
// bazel-out/
|
|
4873
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/ngcc_options.mjs
|
|
4878
4874
|
function getSharedSetup(options) {
|
|
4879
4875
|
const fileSystem = getFileSystem();
|
|
4880
4876
|
const absBasePath = absoluteFrom(options.basePath);
|
|
@@ -4950,7 +4946,7 @@ function getMaxNumberOfWorkers() {
|
|
|
4950
4946
|
return numericMaxWorkers;
|
|
4951
4947
|
}
|
|
4952
4948
|
|
|
4953
|
-
// bazel-out/
|
|
4949
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/utils.mjs
|
|
4954
4950
|
var stringifyTask = (task) => `{entryPoint: ${task.entryPoint.name}, formatProperty: ${task.formatProperty}, processDts: ${DtsProcessing[task.processDts]}}`;
|
|
4955
4951
|
function computeTaskDependencies(tasks, graph) {
|
|
4956
4952
|
const dependencies = new TaskDependencies();
|
|
@@ -5010,7 +5006,7 @@ function sortTasksByPriority(tasks, dependencies) {
|
|
|
5010
5006
|
});
|
|
5011
5007
|
}
|
|
5012
5008
|
|
|
5013
|
-
// bazel-out/
|
|
5009
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/utils.mjs
|
|
5014
5010
|
import cluster from "cluster";
|
|
5015
5011
|
var Deferred = class {
|
|
5016
5012
|
constructor() {
|
|
@@ -5044,7 +5040,7 @@ var sendMessageToWorker = (workerId, msg) => {
|
|
|
5044
5040
|
});
|
|
5045
5041
|
};
|
|
5046
5042
|
|
|
5047
|
-
// bazel-out/
|
|
5043
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/package_json_updater.mjs
|
|
5048
5044
|
var PackageJsonUpdate = class {
|
|
5049
5045
|
constructor(writeChangesImpl) {
|
|
5050
5046
|
this.writeChangesImpl = writeChangesImpl;
|
|
@@ -5186,4 +5182,4 @@ export {
|
|
|
5186
5182
|
* Use of this source code is governed by an MIT-style license that can be
|
|
5187
5183
|
* found in the LICENSE file at https://angular.io/license
|
|
5188
5184
|
*/
|
|
5189
|
-
//# sourceMappingURL=chunk-
|
|
5185
|
+
//# sourceMappingURL=chunk-S2H6ZNBD.js.map
|