@angular/compiler-cli 13.3.1 → 13.3.2
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-UDG7FV2F.js → chunk-45NS77NQ.js} +4 -4
- package/bundles/{chunk-UDG7FV2F.js.map → chunk-45NS77NQ.js.map} +0 -0
- package/bundles/{chunk-GRNU7Y46.js → chunk-4J2PGUUV.js} +57 -57
- package/bundles/{chunk-GRNU7Y46.js.map → chunk-4J2PGUUV.js.map} +0 -0
- package/bundles/{chunk-M4CVK535.js → chunk-5M5NTL4U.js} +31 -31
- package/bundles/{chunk-M4CVK535.js.map → chunk-5M5NTL4U.js.map} +0 -0
- package/bundles/{chunk-MMWD6KMJ.js → chunk-ADKDNYF2.js} +40 -40
- package/bundles/{chunk-MMWD6KMJ.js.map → chunk-ADKDNYF2.js.map} +0 -0
- package/bundles/{chunk-HAJOG5B7.js → chunk-CLV7JFJQ.js} +7 -7
- package/bundles/{chunk-HAJOG5B7.js.map → chunk-CLV7JFJQ.js.map} +0 -0
- package/bundles/{chunk-HAPVTQDJ.js → chunk-CTW6B5DX.js} +85 -85
- package/bundles/{chunk-HAPVTQDJ.js.map → chunk-CTW6B5DX.js.map} +0 -0
- package/bundles/{chunk-UTSZJQCU.js → chunk-EIFOOEXQ.js} +7 -7
- package/bundles/{chunk-UTSZJQCU.js.map → chunk-EIFOOEXQ.js.map} +0 -0
- package/bundles/{chunk-FDEQP2NW.js → chunk-HTCAZIYK.js} +6 -6
- package/bundles/{chunk-FDEQP2NW.js.map → chunk-HTCAZIYK.js.map} +0 -0
- package/bundles/{chunk-FSD73D6W.js → chunk-IZWUTMTT.js} +26 -26
- package/bundles/{chunk-FSD73D6W.js.map → chunk-IZWUTMTT.js.map} +0 -0
- package/bundles/{chunk-ZCDB56AX.js → chunk-LX5Q27EF.js} +3 -3
- package/bundles/{chunk-ZCDB56AX.js.map → chunk-LX5Q27EF.js.map} +0 -0
- package/bundles/{chunk-2ATXKOUL.js → chunk-OO3CGN6L.js} +70 -70
- package/bundles/{chunk-2ATXKOUL.js.map → chunk-OO3CGN6L.js.map} +0 -0
- package/bundles/{chunk-A7GANIJT.js → chunk-Q5GIQ3RV.js} +6 -6
- package/bundles/{chunk-A7GANIJT.js.map → chunk-Q5GIQ3RV.js.map} +0 -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-LC26KH5A.js → chunk-R4NY3TJC.js} +5 -5
- package/bundles/{chunk-LC26KH5A.js.map → chunk-R4NY3TJC.js.map} +0 -0
- package/bundles/{chunk-QWNLJJDM.js → chunk-SXVPEXYK.js} +5 -5
- package/bundles/{chunk-QWNLJJDM.js.map → chunk-SXVPEXYK.js.map} +0 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +12 -12
- package/bundles/ngcc/main-ngcc.js +13 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
- 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 +5 -5
- package/bundles/private/tooling.js +2 -2
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
SourceFileLoader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EIFOOEXQ.js";
|
|
9
9
|
import {
|
|
10
10
|
Context,
|
|
11
11
|
ExpressionTranslatorVisitor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IZWUTMTT.js";
|
|
13
13
|
import {
|
|
14
14
|
__spreadProps,
|
|
15
15
|
__spreadValues
|
|
16
16
|
} from "./chunk-GMSUYBZP.js";
|
|
17
17
|
|
|
18
|
-
// bazel-out/
|
|
18
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
19
19
|
var FatalLinkerError = class extends Error {
|
|
20
20
|
constructor(node, message) {
|
|
21
21
|
super(message);
|
|
@@ -27,14 +27,14 @@ function isFatalLinkerError(e) {
|
|
|
27
27
|
return e && e.type === "FatalLinkerError";
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
31
31
|
function assert(node, predicate, expected) {
|
|
32
32
|
if (!predicate(node)) {
|
|
33
33
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
// bazel-out/
|
|
37
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
38
38
|
import * as o from "@angular/compiler";
|
|
39
39
|
var AstObject = class {
|
|
40
40
|
constructor(expression, obj, host) {
|
|
@@ -160,10 +160,10 @@ var AstValue = class {
|
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
// bazel-out/
|
|
163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
164
164
|
import { ConstantPool } from "@angular/compiler";
|
|
165
165
|
|
|
166
|
-
// bazel-out/
|
|
166
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
167
167
|
var LinkerImportGenerator = class {
|
|
168
168
|
constructor(ngImport) {
|
|
169
169
|
this.ngImport = ngImport;
|
|
@@ -183,7 +183,7 @@ var LinkerImportGenerator = class {
|
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
|
|
186
|
-
// bazel-out/
|
|
186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
187
187
|
var EmitScope = class {
|
|
188
188
|
constructor(ngImport, translator) {
|
|
189
189
|
this.ngImport = ngImport;
|
|
@@ -199,7 +199,7 @@ var EmitScope = class {
|
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
|
|
202
|
-
// bazel-out/
|
|
202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/iife_emit_scope.mjs
|
|
203
203
|
var IifeEmitScope = class extends EmitScope {
|
|
204
204
|
constructor(ngImport, translator, factory) {
|
|
205
205
|
super(ngImport, translator);
|
|
@@ -217,10 +217,10 @@ var IifeEmitScope = class extends EmitScope {
|
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
219
|
|
|
220
|
-
// bazel-out/
|
|
220
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
221
221
|
import semver from "semver";
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
224
224
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
225
225
|
if (loader === null) {
|
|
226
226
|
return () => null;
|
|
@@ -235,7 +235,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
|
|
238
|
-
// bazel-out/
|
|
238
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
239
239
|
import { compileClassMetadata } from "@angular/compiler";
|
|
240
240
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
241
241
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -252,13 +252,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
// bazel-out/
|
|
255
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
256
256
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, ViewEncapsulation } from "@angular/compiler";
|
|
257
257
|
|
|
258
|
-
// bazel-out/
|
|
258
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
259
259
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
262
262
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
263
263
|
function wrapReference(wrapped) {
|
|
264
264
|
return { value: wrapped, type: wrapped };
|
|
@@ -306,7 +306,7 @@ function extractForwardRef(expr) {
|
|
|
306
306
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
// bazel-out/
|
|
309
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
310
310
|
var PartialDirectiveLinkerVersion1 = class {
|
|
311
311
|
constructor(sourceUrl, code) {
|
|
312
312
|
this.sourceUrl = sourceUrl;
|
|
@@ -404,7 +404,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
404
404
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
// bazel-out/
|
|
407
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
408
408
|
var PartialComponentLinkerVersion1 = class {
|
|
409
409
|
constructor(getSourceFile, sourceUrl, code) {
|
|
410
410
|
this.getSourceFile = getSourceFile;
|
|
@@ -561,7 +561,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
561
561
|
return enumValue;
|
|
562
562
|
}
|
|
563
563
|
|
|
564
|
-
// bazel-out/
|
|
564
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
565
565
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
566
566
|
var PartialFactoryLinkerVersion1 = class {
|
|
567
567
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -599,7 +599,7 @@ function getDependencies(metaObj, propName) {
|
|
|
599
599
|
return null;
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
-
// bazel-out/
|
|
602
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
603
603
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
604
604
|
var PartialInjectableLinkerVersion1 = class {
|
|
605
605
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -639,7 +639,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
639
639
|
return meta;
|
|
640
640
|
}
|
|
641
641
|
|
|
642
|
-
// bazel-out/
|
|
642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
643
643
|
import { compileInjector } from "@angular/compiler";
|
|
644
644
|
var PartialInjectorLinkerVersion1 = class {
|
|
645
645
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -663,7 +663,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
663
663
|
};
|
|
664
664
|
}
|
|
665
665
|
|
|
666
|
-
// bazel-out/
|
|
666
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
667
667
|
import { compileNgModule } from "@angular/compiler";
|
|
668
668
|
var PartialNgModuleLinkerVersion1 = class {
|
|
669
669
|
constructor(emitInline) {
|
|
@@ -735,7 +735,7 @@ function wrapReferences(values) {
|
|
|
735
735
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
736
736
|
}
|
|
737
737
|
|
|
738
|
-
// bazel-out/
|
|
738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
739
739
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
740
740
|
var PartialPipeLinkerVersion1 = class {
|
|
741
741
|
constructor() {
|
|
@@ -764,7 +764,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
764
764
|
};
|
|
765
765
|
}
|
|
766
766
|
|
|
767
|
-
// bazel-out/
|
|
767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
768
768
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
769
769
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
770
770
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -785,7 +785,7 @@ var declarationFunctions = [
|
|
|
785
785
|
];
|
|
786
786
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
787
787
|
const linkers = /* @__PURE__ */ new Map();
|
|
788
|
-
const LATEST_VERSION_RANGE = getRange("<=", "13.3.
|
|
788
|
+
const LATEST_VERSION_RANGE = getRange("<=", "13.3.2");
|
|
789
789
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
790
790
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
791
791
|
]);
|
|
@@ -832,7 +832,7 @@ var PartialLinkerSelector = class {
|
|
|
832
832
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
833
833
|
}
|
|
834
834
|
const linkerRanges = this.linkers.get(functionName);
|
|
835
|
-
if (version === "13.3.
|
|
835
|
+
if (version === "13.3.2") {
|
|
836
836
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
837
837
|
}
|
|
838
838
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -858,7 +858,7 @@ function getRange(comparator, versionStr) {
|
|
|
858
858
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
859
859
|
}
|
|
860
860
|
|
|
861
|
-
// bazel-out/
|
|
861
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
862
862
|
var FileLinker = class {
|
|
863
863
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
864
864
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -901,14 +901,14 @@ var FileLinker = class {
|
|
|
901
901
|
}
|
|
902
902
|
};
|
|
903
903
|
|
|
904
|
-
// bazel-out/
|
|
904
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
905
905
|
var DEFAULT_LINKER_OPTIONS = {
|
|
906
906
|
sourceMapping: true,
|
|
907
907
|
linkerJitMode: false,
|
|
908
908
|
unknownDeclarationVersionHandling: "error"
|
|
909
909
|
};
|
|
910
910
|
|
|
911
|
-
// bazel-out/
|
|
911
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
912
912
|
var Translator = class {
|
|
913
913
|
constructor(factory) {
|
|
914
914
|
this.factory = factory;
|
|
@@ -921,7 +921,7 @@ var Translator = class {
|
|
|
921
921
|
}
|
|
922
922
|
};
|
|
923
923
|
|
|
924
|
-
// bazel-out/
|
|
924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
925
925
|
var LinkerEnvironment = class {
|
|
926
926
|
constructor(fileSystem, logger, host, factory, options) {
|
|
927
927
|
this.fileSystem = fileSystem;
|
|
@@ -942,7 +942,7 @@ var LinkerEnvironment = class {
|
|
|
942
942
|
}
|
|
943
943
|
};
|
|
944
944
|
|
|
945
|
-
// bazel-out/
|
|
945
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
946
946
|
function needsLinking(path, source) {
|
|
947
947
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
948
948
|
}
|
|
@@ -963,4 +963,4 @@ export {
|
|
|
963
963
|
* Use of this source code is governed by an MIT-style license that can be
|
|
964
964
|
* found in the LICENSE file at https://angular.io/license
|
|
965
965
|
*/
|
|
966
|
-
//# sourceMappingURL=chunk-
|
|
966
|
+
//# sourceMappingURL=chunk-5M5NTL4U.js.map
|
|
File without changes
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
removeLockFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-R3C7RFJ4.js";
|
|
9
9
|
import {
|
|
10
10
|
Deferred,
|
|
11
11
|
DirectPackageJsonUpdater,
|
|
@@ -36,24 +36,24 @@ import {
|
|
|
36
36
|
sendMessageToWorker,
|
|
37
37
|
sortTasksByPriority,
|
|
38
38
|
stringifyTask
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-OO3CGN6L.js";
|
|
40
40
|
import {
|
|
41
41
|
LogLevel
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-LX5Q27EF.js";
|
|
43
43
|
import {
|
|
44
44
|
absoluteFrom,
|
|
45
45
|
getFileSystem
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-CLV7JFJQ.js";
|
|
47
47
|
import {
|
|
48
48
|
__require,
|
|
49
49
|
__spreadProps,
|
|
50
50
|
__spreadValues
|
|
51
51
|
} from "./chunk-GMSUYBZP.js";
|
|
52
52
|
|
|
53
|
-
// bazel-out/
|
|
53
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
54
54
|
import ts from "typescript";
|
|
55
55
|
|
|
56
|
-
// bazel-out/
|
|
56
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/module_resolver.mjs
|
|
57
57
|
var ModuleResolver = class {
|
|
58
58
|
constructor(fs, pathMappings, relativeExtensions = ["", ".js", "/index.js"]) {
|
|
59
59
|
this.fs = fs;
|
|
@@ -182,7 +182,7 @@ function isRelativeImport(from, to) {
|
|
|
182
182
|
return to.startsWith(from) && !to.includes("node_modules");
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
// bazel-out/
|
|
185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_host.mjs
|
|
186
186
|
function createDependencyInfo() {
|
|
187
187
|
return { dependencies: /* @__PURE__ */ new Set(), missing: /* @__PURE__ */ new Set(), deepImports: /* @__PURE__ */ new Set() };
|
|
188
188
|
}
|
|
@@ -239,7 +239,7 @@ var DependencyHostBase = class {
|
|
|
239
239
|
}
|
|
240
240
|
};
|
|
241
241
|
|
|
242
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
243
243
|
var CommonJsDependencyHost = class extends DependencyHostBase {
|
|
244
244
|
canSkipFile(fileContents) {
|
|
245
245
|
return !hasRequireCalls(fileContents);
|
|
@@ -283,7 +283,7 @@ function hasRequireCalls(source) {
|
|
|
283
283
|
return /require\(['"]/.test(source);
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
// bazel-out/
|
|
286
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
|
|
287
287
|
import { DepGraph } from "dependency-graph";
|
|
288
288
|
import module from "module";
|
|
289
289
|
var builtinNodeJsModules = new Set(module.builtinModules);
|
|
@@ -387,7 +387,7 @@ var DependencyResolver = class {
|
|
|
387
387
|
}
|
|
388
388
|
};
|
|
389
389
|
|
|
390
|
-
// bazel-out/
|
|
390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.mjs
|
|
391
391
|
import ts2 from "typescript";
|
|
392
392
|
var EsmDependencyHost = class extends DependencyHostBase {
|
|
393
393
|
constructor(fs, moduleResolver, scanImportExpressions = true) {
|
|
@@ -553,7 +553,7 @@ function canPrecedeARegex(kind) {
|
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
|
|
556
|
-
// bazel-out/
|
|
556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.mjs
|
|
557
557
|
var DtsDependencyHost = class extends EsmDependencyHost {
|
|
558
558
|
constructor(fs, pathMappings) {
|
|
559
559
|
super(fs, new ModuleResolver(fs, pathMappings, ["", ".d.ts", "/index.d.ts", ".js", "/index.js"]), false);
|
|
@@ -563,7 +563,7 @@ var DtsDependencyHost = class extends EsmDependencyHost {
|
|
|
563
563
|
}
|
|
564
564
|
};
|
|
565
565
|
|
|
566
|
-
// bazel-out/
|
|
566
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.mjs
|
|
567
567
|
import ts3 from "typescript";
|
|
568
568
|
var UmdDependencyHost = class extends DependencyHostBase {
|
|
569
569
|
canSkipFile(fileContents) {
|
|
@@ -583,7 +583,7 @@ var UmdDependencyHost = class extends DependencyHostBase {
|
|
|
583
583
|
}
|
|
584
584
|
};
|
|
585
585
|
|
|
586
|
-
// bazel-out/
|
|
586
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/utils.mjs
|
|
587
587
|
function getBasePaths(logger, sourceDirectory, pathMappings) {
|
|
588
588
|
const fs = getFileSystem();
|
|
589
589
|
const basePaths = [sourceDirectory];
|
|
@@ -693,7 +693,7 @@ function convertToLeaf(node, path) {
|
|
|
693
693
|
node.path = path;
|
|
694
694
|
}
|
|
695
695
|
|
|
696
|
-
// bazel-out/
|
|
696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.mjs
|
|
697
697
|
var DirectoryWalkerEntryPointFinder = class {
|
|
698
698
|
constructor(logger, resolver, entryPointCollector, entryPointManifest, sourceDirectory, pathMappings) {
|
|
699
699
|
this.logger = logger;
|
|
@@ -720,7 +720,7 @@ var DirectoryWalkerEntryPointFinder = class {
|
|
|
720
720
|
}
|
|
721
721
|
};
|
|
722
722
|
|
|
723
|
-
// bazel-out/
|
|
723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.mjs
|
|
724
724
|
var EntryPointCollector = class {
|
|
725
725
|
constructor(fs, config, logger, resolver) {
|
|
726
726
|
this.fs = fs;
|
|
@@ -798,7 +798,7 @@ function isIgnorablePath(path) {
|
|
|
798
798
|
return path.startsWith(".") || path === "node_modules" || path === NGCC_DIRECTORY;
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
-
// bazel-out/
|
|
801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.mjs
|
|
802
802
|
var TracingEntryPointFinder = class {
|
|
803
803
|
constructor(fs, config, logger, resolver, basePath, pathMappings) {
|
|
804
804
|
this.fs = fs;
|
|
@@ -835,7 +835,7 @@ var TracingEntryPointFinder = class {
|
|
|
835
835
|
}
|
|
836
836
|
};
|
|
837
837
|
|
|
838
|
-
// bazel-out/
|
|
838
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.mjs
|
|
839
839
|
var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
840
840
|
constructor(fs, config, logger, resolver, entryPointCollector, entryPointManifest, basePath, tsConfig, projectPath) {
|
|
841
841
|
super(fs, config, logger, resolver, basePath, getPathMappingsFromTsConfig(fs, tsConfig, projectPath));
|
|
@@ -886,8 +886,8 @@ var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
886
886
|
}
|
|
887
887
|
};
|
|
888
888
|
|
|
889
|
-
// bazel-out/
|
|
890
|
-
var NGCC_VERSION = "13.3.
|
|
889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/build_marker.mjs
|
|
890
|
+
var NGCC_VERSION = "13.3.2";
|
|
891
891
|
function needsCleaning(packageJson) {
|
|
892
892
|
return Object.values(packageJson.__processed_by_ivy_ngcc__ || {}).some((value) => value !== NGCC_VERSION);
|
|
893
893
|
}
|
|
@@ -928,7 +928,7 @@ function markAsProcessed(pkgJsonUpdater, packageJson, packageJsonPath, formatPro
|
|
|
928
928
|
update.writeChanges(packageJsonPath, packageJson);
|
|
929
929
|
}
|
|
930
930
|
|
|
931
|
-
// bazel-out/
|
|
931
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.mjs
|
|
932
932
|
var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
933
933
|
constructor(fs, config, logger, resolver, basePath, pathMappings, targetPath) {
|
|
934
934
|
super(fs, config, logger, resolver, basePath, pathMappings);
|
|
@@ -1043,7 +1043,7 @@ var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
1043
1043
|
}
|
|
1044
1044
|
};
|
|
1045
1045
|
|
|
1046
|
-
// bazel-out/
|
|
1046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.mjs
|
|
1047
1047
|
var BaseTaskQueue = class {
|
|
1048
1048
|
constructor(logger, tasks, dependencies) {
|
|
1049
1049
|
this.logger = logger;
|
|
@@ -1109,7 +1109,7 @@ ${indentation}- ${stringifyTask(task)}`).join("");
|
|
|
1109
1109
|
}
|
|
1110
1110
|
};
|
|
1111
1111
|
|
|
1112
|
-
// bazel-out/
|
|
1112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.mjs
|
|
1113
1113
|
var ParallelTaskQueue = class extends BaseTaskQueue {
|
|
1114
1114
|
constructor(logger, tasks, dependencies) {
|
|
1115
1115
|
super(logger, sortTasksByPriority(tasks, dependencies), dependencies);
|
|
@@ -1149,7 +1149,7 @@ ${indentation}- ${stringifyTask(task)} (${blockingTasks.size}): ` + this.stringi
|
|
|
1149
1149
|
}
|
|
1150
1150
|
};
|
|
1151
1151
|
|
|
1152
|
-
// bazel-out/
|
|
1152
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.mjs
|
|
1153
1153
|
var SerialTaskQueue = class extends BaseTaskQueue {
|
|
1154
1154
|
computeNextTask() {
|
|
1155
1155
|
const nextTask = this.tasks.shift() || null;
|
|
@@ -1164,7 +1164,7 @@ var SerialTaskQueue = class extends BaseTaskQueue {
|
|
|
1164
1164
|
}
|
|
1165
1165
|
};
|
|
1166
1166
|
|
|
1167
|
-
// bazel-out/
|
|
1167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/utils.mjs
|
|
1168
1168
|
function isLocalDirectory(fs, path) {
|
|
1169
1169
|
if (fs.exists(path)) {
|
|
1170
1170
|
const stat = fs.lstat(path);
|
|
@@ -1174,7 +1174,7 @@ function isLocalDirectory(fs, path) {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
1176
1176
|
|
|
1177
|
-
// bazel-out/
|
|
1177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.mjs
|
|
1178
1178
|
var PackageJsonCleaner = class {
|
|
1179
1179
|
constructor(fs) {
|
|
1180
1180
|
this.fs = fs;
|
|
@@ -1213,7 +1213,7 @@ var BackupFileCleaner = class {
|
|
|
1213
1213
|
}
|
|
1214
1214
|
};
|
|
1215
1215
|
|
|
1216
|
-
// bazel-out/
|
|
1216
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.mjs
|
|
1217
1217
|
var PackageCleaner = class {
|
|
1218
1218
|
constructor(fs, cleaners) {
|
|
1219
1219
|
this.fs = fs;
|
|
@@ -1256,7 +1256,7 @@ function cleanOutdatedPackages(fileSystem, entryPoints) {
|
|
|
1256
1256
|
return packagesToClean.size > 0;
|
|
1257
1257
|
}
|
|
1258
1258
|
|
|
1259
|
-
// bazel-out/
|
|
1259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.mjs
|
|
1260
1260
|
function getAnalyzeEntryPointsFn(logger, finder, fileSystem, supportedPropertiesToConsider, typingsOnly, compileAllFormats, propertiesToConsider, inParallel) {
|
|
1261
1261
|
return () => {
|
|
1262
1262
|
logger.debug("Analyzing entry-points...");
|
|
@@ -1345,7 +1345,7 @@ function getTaskQueue(logger, inParallel, tasks, graph) {
|
|
|
1345
1345
|
return inParallel ? new ParallelTaskQueue(logger, tasks, dependencies) : new SerialTaskQueue(logger, tasks, dependencies);
|
|
1346
1346
|
}
|
|
1347
1347
|
|
|
1348
|
-
// bazel-out/
|
|
1348
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
|
|
1349
1349
|
import cluster from "cluster";
|
|
1350
1350
|
import module2 from "module";
|
|
1351
1351
|
var ClusterMaster = class {
|
|
@@ -1542,7 +1542,7 @@ function getClusterWorkerScriptPath(fileSystem) {
|
|
|
1542
1542
|
return fileSystem.resolve(workerScriptPath);
|
|
1543
1543
|
}
|
|
1544
1544
|
|
|
1545
|
-
// bazel-out/
|
|
1545
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/executor.mjs
|
|
1546
1546
|
var ClusterExecutor = class {
|
|
1547
1547
|
constructor(workerCount, fileSystem, logger, fileWriter, pkgJsonUpdater, lockFile, createTaskCompletedCallback) {
|
|
1548
1548
|
this.workerCount = workerCount;
|
|
@@ -1562,7 +1562,7 @@ var ClusterExecutor = class {
|
|
|
1562
1562
|
}
|
|
1563
1563
|
};
|
|
1564
1564
|
|
|
1565
|
-
// bazel-out/
|
|
1565
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/single_process_executor.mjs
|
|
1566
1566
|
var SingleProcessorExecutorBase = class {
|
|
1567
1567
|
constructor(logger, createTaskCompletedCallback) {
|
|
1568
1568
|
this.logger = logger;
|
|
@@ -1604,7 +1604,7 @@ var SingleProcessExecutorAsync = class extends SingleProcessorExecutorBase {
|
|
|
1604
1604
|
}
|
|
1605
1605
|
};
|
|
1606
1606
|
|
|
1607
|
-
// bazel-out/
|
|
1607
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/completion.mjs
|
|
1608
1608
|
function composeTaskCompletedCallbacks(callbacks) {
|
|
1609
1609
|
return (task, outcome, message) => {
|
|
1610
1610
|
const callback = callbacks[outcome];
|
|
@@ -1644,7 +1644,7 @@ function createErrorMessage(fs, task, message) {
|
|
|
1644
1644
|
return `Failed to compile entry-point ${task.entryPoint.name} (${format})` + message;
|
|
1645
1645
|
}
|
|
1646
1646
|
|
|
1647
|
-
// bazel-out/
|
|
1647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/async_locker.mjs
|
|
1648
1648
|
var TimeoutError = class extends Error {
|
|
1649
1649
|
constructor() {
|
|
1650
1650
|
super(...arguments);
|
|
@@ -1693,11 +1693,11 @@ Waiting up to ${this.retryDelay * this.retryAttempts / 1e3}s for it to finish.
|
|
|
1693
1693
|
}
|
|
1694
1694
|
};
|
|
1695
1695
|
|
|
1696
|
-
// bazel-out/
|
|
1696
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
1697
1697
|
import { fork } from "child_process";
|
|
1698
1698
|
import module4 from "module";
|
|
1699
1699
|
|
|
1700
|
-
// bazel-out/
|
|
1700
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file.mjs
|
|
1701
1701
|
import module3 from "module";
|
|
1702
1702
|
function getLockFilePath(fs) {
|
|
1703
1703
|
const requireFn = typeof __require !== "undefined" ? __require : module3.createRequire(__ESM_IMPORT_META_URL__);
|
|
@@ -1705,7 +1705,7 @@ function getLockFilePath(fs) {
|
|
|
1705
1705
|
return fs.resolve(ngccEntryPointFile, "../../../.ngcc_lock_file");
|
|
1706
1706
|
}
|
|
1707
1707
|
|
|
1708
|
-
// bazel-out/
|
|
1708
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
1709
1709
|
var LockFileWithChildProcess = class {
|
|
1710
1710
|
constructor(fs, logger) {
|
|
1711
1711
|
this.fs = fs;
|
|
@@ -1754,7 +1754,7 @@ function getLockFileUnlockerScriptPath(fileSystem) {
|
|
|
1754
1754
|
return fileSystem.resolve(unlockerScriptPath);
|
|
1755
1755
|
}
|
|
1756
1756
|
|
|
1757
|
-
// bazel-out/
|
|
1757
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/sync_locker.mjs
|
|
1758
1758
|
var SyncLocker = class {
|
|
1759
1759
|
constructor(lockFile) {
|
|
1760
1760
|
this.lockFile = lockFile;
|
|
@@ -1785,7 +1785,7 @@ If you are running multiple builds in parallel then you might try pre-processing
|
|
|
1785
1785
|
}
|
|
1786
1786
|
};
|
|
1787
1787
|
|
|
1788
|
-
// bazel-out/
|
|
1788
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/configuration.mjs
|
|
1789
1789
|
import { createHash } from "crypto";
|
|
1790
1790
|
import module5 from "module";
|
|
1791
1791
|
import semver from "semver";
|
|
@@ -1971,7 +1971,7 @@ var NgccConfiguration = class {
|
|
|
1971
1971
|
}
|
|
1972
1972
|
};
|
|
1973
1973
|
|
|
1974
|
-
// bazel-out/
|
|
1974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.mjs
|
|
1975
1975
|
import { createHash as createHash2 } from "crypto";
|
|
1976
1976
|
var EntryPointManifest = class {
|
|
1977
1977
|
constructor(fs, config, logger) {
|
|
@@ -2079,7 +2079,7 @@ var InvalidatingEntryPointManifest = class extends EntryPointManifest {
|
|
|
2079
2079
|
}
|
|
2080
2080
|
};
|
|
2081
2081
|
|
|
2082
|
-
// bazel-out/
|
|
2082
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/main.mjs
|
|
2083
2083
|
function mainNgcc(options) {
|
|
2084
2084
|
const { basePath, targetEntryPointPath, propertiesToConsider, typingsOnly, compileAllFormats, logger, pathMappings, async, errorOnFailedEntryPoint, enableI18nLegacyMessageIdFormat, invalidateEntryPointManifest, fileSystem, absBasePath, projectPath, tsConfig, getFileWriter } = getSharedSetup(options);
|
|
2085
2085
|
const config = new NgccConfiguration(fileSystem, projectPath);
|
|
@@ -2172,4 +2172,4 @@ export {
|
|
|
2172
2172
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2173
2173
|
* found in the LICENSE file at https://angular.io/license
|
|
2174
2174
|
*/
|
|
2175
|
-
//# sourceMappingURL=chunk-
|
|
2175
|
+
//# sourceMappingURL=chunk-ADKDNYF2.js.map
|
|
File without changes
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__require
|
|
8
8
|
} from "./chunk-GMSUYBZP.js";
|
|
9
9
|
|
|
10
|
-
// bazel-out/
|
|
10
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
11
11
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
12
12
|
function normalizeSeparators(path) {
|
|
13
13
|
return path.replace(/\\/g, "/");
|
|
@@ -23,7 +23,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
23
23
|
return sf;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
27
27
|
var InvalidFileSystem = class {
|
|
28
28
|
exists(path) {
|
|
29
29
|
throw makeError();
|
|
@@ -111,7 +111,7 @@ function makeError() {
|
|
|
111
111
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
// bazel-out/
|
|
114
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
115
115
|
var fs = new InvalidFileSystem();
|
|
116
116
|
function getFileSystem() {
|
|
117
117
|
return fs;
|
|
@@ -168,7 +168,7 @@ function toRelativeImport(relativePath) {
|
|
|
168
168
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
// bazel-out/
|
|
171
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
172
172
|
import * as os from "os";
|
|
173
173
|
import ts from "typescript";
|
|
174
174
|
var NgtscCompilerHost = class {
|
|
@@ -226,7 +226,7 @@ var NgtscCompilerHost = class {
|
|
|
226
226
|
}
|
|
227
227
|
};
|
|
228
228
|
|
|
229
|
-
// bazel-out/
|
|
229
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
230
230
|
var LogicalProjectPath = {
|
|
231
231
|
relativePathBetween: function(from, to) {
|
|
232
232
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -272,7 +272,7 @@ function isWithinBasePath(base, path) {
|
|
|
272
272
|
return isLocalRelativePath(relative(base, path));
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
// bazel-out/
|
|
275
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
276
276
|
import * as fs2 from "fs";
|
|
277
277
|
import module from "module";
|
|
278
278
|
import * as p from "path";
|
|
@@ -424,4 +424,4 @@ export {
|
|
|
424
424
|
* Use of this source code is governed by an MIT-style license that can be
|
|
425
425
|
* found in the LICENSE file at https://angular.io/license
|
|
426
426
|
*/
|
|
427
|
-
//# sourceMappingURL=chunk-
|
|
427
|
+
//# sourceMappingURL=chunk-CLV7JFJQ.js.map
|
|
File without changes
|