@angular/compiler-cli 14.1.0-next.0 → 14.1.0-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-ZJCM37WF.js → chunk-2IMT6JFI.js} +6 -6
- package/bundles/{chunk-ZJCM37WF.js.map → chunk-2IMT6JFI.js.map} +0 -0
- package/bundles/{chunk-UERCMXQE.js → chunk-32MQTE7C.js} +74 -71
- package/bundles/{chunk-UERCMXQE.js.map → chunk-32MQTE7C.js.map} +1 -1
- package/bundles/{chunk-GIDRICZE.js → chunk-5OLIDMUF.js} +5 -5
- package/bundles/{chunk-GIDRICZE.js.map → chunk-5OLIDMUF.js.map} +0 -0
- package/bundles/{chunk-VAPEAGED.js → chunk-DSIJ6FBS.js} +146 -126
- package/bundles/chunk-DSIJ6FBS.js.map +6 -0
- package/bundles/{chunk-SFACRVMZ.js → chunk-KGCKQ2PH.js} +28 -26
- package/bundles/chunk-KGCKQ2PH.js.map +6 -0
- package/bundles/{chunk-7J66ZDC5.js → chunk-LX5Q27EF.js} +3 -3
- package/bundles/{chunk-7J66ZDC5.js.map → chunk-LX5Q27EF.js.map} +0 -0
- package/bundles/{chunk-U2VFXNL7.js → chunk-OLGEBPBY.js} +4 -4
- package/bundles/{chunk-U2VFXNL7.js.map → chunk-OLGEBPBY.js.map} +0 -0
- package/bundles/{chunk-PI2777Z6.js → chunk-QGR2YCRK.js} +70 -70
- package/bundles/{chunk-PI2777Z6.js.map → chunk-QGR2YCRK.js.map} +0 -0
- package/bundles/{chunk-HMWNYAAE.js → chunk-R3C7RFJ4.js} +2 -2
- package/bundles/{chunk-HMWNYAAE.js.map → chunk-R3C7RFJ4.js.map} +0 -0
- package/bundles/{chunk-QK4SXRQA.js → chunk-R4NY3TJC.js} +5 -5
- package/bundles/{chunk-QK4SXRQA.js.map → chunk-R4NY3TJC.js.map} +0 -0
- package/bundles/{chunk-JJOKGPPP.js → chunk-SO3HP2WO.js} +31 -31
- package/bundles/{chunk-JJOKGPPP.js.map → chunk-SO3HP2WO.js.map} +0 -0
- package/bundles/{chunk-MURZUYM7.js → chunk-T7MYRXIE.js} +7 -7
- package/bundles/{chunk-MURZUYM7.js.map → chunk-T7MYRXIE.js.map} +0 -0
- package/bundles/{chunk-CFXFF2GM.js → chunk-U2GR6UX6.js} +40 -40
- package/bundles/{chunk-CFXFF2GM.js.map → chunk-U2GR6UX6.js.map} +0 -0
- package/bundles/{chunk-AKU7LV22.js → chunk-W6KM7BUM.js} +6 -6
- package/bundles/{chunk-AKU7LV22.js.map → chunk-W6KM7BUM.js.map} +0 -0
- package/bundles/{chunk-BFPVXDJN.js → chunk-WGBFSDVQ.js} +7 -7
- package/bundles/{chunk-BFPVXDJN.js.map → chunk-WGBFSDVQ.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
- package/src/ngtsc/diagnostics/src/error_code.d.ts +5 -0
- package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +2 -1
- package/src/ngtsc/program.d.ts +1 -0
- package/src/ngtsc/typecheck/api/api.d.ts +1 -0
- package/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.d.ts +11 -0
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
- package/src/ngtsc/typecheck/src/ts_util.d.ts +0 -3
- package/src/perform_compile.d.ts +2 -1
- package/src/transformers/api.d.ts +2 -1
- package/bundles/chunk-SFACRVMZ.js.map +0 -6
- package/bundles/chunk-VAPEAGED.js.map +0 -6
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
SourceFileLoader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WGBFSDVQ.js";
|
|
9
9
|
import {
|
|
10
10
|
Context,
|
|
11
11
|
ExpressionTranslatorVisitor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KGCKQ2PH.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, factory) {
|
|
189
189
|
this.ngImport = ngImport;
|
|
@@ -212,7 +212,7 @@ var EmitScope = class {
|
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
|
|
215
|
-
// bazel-out/
|
|
215
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
216
216
|
var LocalEmitScope = class extends EmitScope {
|
|
217
217
|
translateDefinition(definition) {
|
|
218
218
|
return super.translateDefinition({
|
|
@@ -225,10 +225,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
225
225
|
}
|
|
226
226
|
};
|
|
227
227
|
|
|
228
|
-
// bazel-out/
|
|
228
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
229
229
|
import semver from "semver";
|
|
230
230
|
|
|
231
|
-
// bazel-out/
|
|
231
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
232
232
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
233
233
|
if (loader === null) {
|
|
234
234
|
return () => null;
|
|
@@ -243,7 +243,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
-
// bazel-out/
|
|
246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
247
247
|
import { compileClassMetadata } from "@angular/compiler";
|
|
248
248
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
249
249
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -263,13 +263,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
// bazel-out/
|
|
266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
267
267
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TemplateDependencyKind, ViewEncapsulation } from "@angular/compiler";
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
270
270
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
271
271
|
|
|
272
|
-
// bazel-out/
|
|
272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
273
273
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
274
274
|
function wrapReference(wrapped) {
|
|
275
275
|
return { value: wrapped, type: wrapped };
|
|
@@ -317,7 +317,7 @@ function extractForwardRef(expr) {
|
|
|
317
317
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
// bazel-out/
|
|
320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
321
321
|
var PartialDirectiveLinkerVersion1 = class {
|
|
322
322
|
constructor(sourceUrl, code) {
|
|
323
323
|
this.sourceUrl = sourceUrl;
|
|
@@ -415,7 +415,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
415
415
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
416
416
|
}
|
|
417
417
|
|
|
418
|
-
// bazel-out/
|
|
418
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
419
419
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
420
420
|
return {
|
|
421
421
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -607,7 +607,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
607
607
|
return enumValue;
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
// bazel-out/
|
|
610
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
611
611
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
612
612
|
var PartialFactoryLinkerVersion1 = class {
|
|
613
613
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -644,7 +644,7 @@ function getDependencies(metaObj, propName) {
|
|
|
644
644
|
return null;
|
|
645
645
|
}
|
|
646
646
|
|
|
647
|
-
// bazel-out/
|
|
647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
648
648
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
649
649
|
var PartialInjectableLinkerVersion1 = class {
|
|
650
650
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -683,7 +683,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
683
683
|
return meta;
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
-
// bazel-out/
|
|
686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
687
687
|
import { compileInjector } from "@angular/compiler";
|
|
688
688
|
var PartialInjectorLinkerVersion1 = class {
|
|
689
689
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -706,7 +706,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
706
706
|
};
|
|
707
707
|
}
|
|
708
708
|
|
|
709
|
-
// bazel-out/
|
|
709
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
710
710
|
import { compileNgModule, R3SelectorScopeMode } from "@angular/compiler";
|
|
711
711
|
var PartialNgModuleLinkerVersion1 = class {
|
|
712
712
|
constructor(emitInline) {
|
|
@@ -779,7 +779,7 @@ function wrapReferences(values) {
|
|
|
779
779
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
780
780
|
}
|
|
781
781
|
|
|
782
|
-
// bazel-out/
|
|
782
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
783
783
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
784
784
|
var PartialPipeLinkerVersion1 = class {
|
|
785
785
|
constructor() {
|
|
@@ -809,7 +809,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
809
809
|
};
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
// bazel-out/
|
|
812
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
813
813
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
814
814
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
815
815
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -830,7 +830,7 @@ var declarationFunctions = [
|
|
|
830
830
|
];
|
|
831
831
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
832
832
|
const linkers = /* @__PURE__ */ new Map();
|
|
833
|
-
const LATEST_VERSION_RANGE = getRange("<=", "14.1.0-next.
|
|
833
|
+
const LATEST_VERSION_RANGE = getRange("<=", "14.1.0-next.1");
|
|
834
834
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
835
835
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
836
836
|
]);
|
|
@@ -877,7 +877,7 @@ var PartialLinkerSelector = class {
|
|
|
877
877
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
878
878
|
}
|
|
879
879
|
const linkerRanges = this.linkers.get(functionName);
|
|
880
|
-
if (version === "14.1.0-next.
|
|
880
|
+
if (version === "14.1.0-next.1") {
|
|
881
881
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
882
882
|
}
|
|
883
883
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -903,7 +903,7 @@ function getRange(comparator, versionStr) {
|
|
|
903
903
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
904
904
|
}
|
|
905
905
|
|
|
906
|
-
// bazel-out/
|
|
906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
907
907
|
var FileLinker = class {
|
|
908
908
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
909
909
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -946,14 +946,14 @@ var FileLinker = class {
|
|
|
946
946
|
}
|
|
947
947
|
};
|
|
948
948
|
|
|
949
|
-
// bazel-out/
|
|
949
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
950
950
|
var DEFAULT_LINKER_OPTIONS = {
|
|
951
951
|
sourceMapping: true,
|
|
952
952
|
linkerJitMode: false,
|
|
953
953
|
unknownDeclarationVersionHandling: "error"
|
|
954
954
|
};
|
|
955
955
|
|
|
956
|
-
// bazel-out/
|
|
956
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
957
957
|
var Translator = class {
|
|
958
958
|
constructor(factory) {
|
|
959
959
|
this.factory = factory;
|
|
@@ -966,7 +966,7 @@ var Translator = class {
|
|
|
966
966
|
}
|
|
967
967
|
};
|
|
968
968
|
|
|
969
|
-
// bazel-out/
|
|
969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
970
970
|
var LinkerEnvironment = class {
|
|
971
971
|
constructor(fileSystem, logger, host, factory, options) {
|
|
972
972
|
this.fileSystem = fileSystem;
|
|
@@ -987,7 +987,7 @@ var LinkerEnvironment = class {
|
|
|
987
987
|
}
|
|
988
988
|
};
|
|
989
989
|
|
|
990
|
-
// bazel-out/
|
|
990
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
991
991
|
function needsLinking(path, source) {
|
|
992
992
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
993
993
|
}
|
|
@@ -1008,4 +1008,4 @@ export {
|
|
|
1008
1008
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1009
1009
|
* found in the LICENSE file at https://angular.io/license
|
|
1010
1010
|
*/
|
|
1011
|
-
//# sourceMappingURL=chunk-
|
|
1011
|
+
//# sourceMappingURL=chunk-SO3HP2WO.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-T7MYRXIE.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,
|
|
@@ -38,24 +38,24 @@ import {
|
|
|
38
38
|
sendMessageToWorker,
|
|
39
39
|
sortTasksByPriority,
|
|
40
40
|
stringifyTask
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-QGR2YCRK.js";
|
|
42
42
|
import {
|
|
43
43
|
LogLevel
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-LX5Q27EF.js";
|
|
45
45
|
import {
|
|
46
46
|
absoluteFrom,
|
|
47
47
|
getFileSystem
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-T7MYRXIE.js";
|
|
49
49
|
import {
|
|
50
50
|
__require,
|
|
51
51
|
__spreadProps,
|
|
52
52
|
__spreadValues
|
|
53
53
|
} from "./chunk-GMSUYBZP.js";
|
|
54
54
|
|
|
55
|
-
// bazel-out/
|
|
55
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
56
56
|
import ts from "typescript";
|
|
57
57
|
|
|
58
|
-
// bazel-out/
|
|
58
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/module_resolver.mjs
|
|
59
59
|
var ModuleResolver = class {
|
|
60
60
|
constructor(fs, pathMappings, relativeExtensions = ["", ".js", "/index.js"]) {
|
|
61
61
|
this.fs = fs;
|
|
@@ -193,7 +193,7 @@ function isRelativeImport(from, to) {
|
|
|
193
193
|
return to.startsWith(from) && !to.includes("node_modules");
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
// bazel-out/
|
|
196
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_host.mjs
|
|
197
197
|
function createDependencyInfo() {
|
|
198
198
|
return { dependencies: /* @__PURE__ */ new Set(), missing: /* @__PURE__ */ new Set(), deepImports: /* @__PURE__ */ new Set() };
|
|
199
199
|
}
|
|
@@ -250,7 +250,7 @@ var DependencyHostBase = class {
|
|
|
250
250
|
}
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
// bazel-out/
|
|
253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
254
254
|
var CommonJsDependencyHost = class extends DependencyHostBase {
|
|
255
255
|
canSkipFile(fileContents) {
|
|
256
256
|
return !hasRequireCalls(fileContents);
|
|
@@ -294,7 +294,7 @@ function hasRequireCalls(source) {
|
|
|
294
294
|
return /require\(['"]/.test(source);
|
|
295
295
|
}
|
|
296
296
|
|
|
297
|
-
// bazel-out/
|
|
297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
|
|
298
298
|
import { DepGraph } from "dependency-graph";
|
|
299
299
|
import module from "module";
|
|
300
300
|
var builtinNodeJsModules = new Set(module.builtinModules);
|
|
@@ -398,7 +398,7 @@ var DependencyResolver = class {
|
|
|
398
398
|
}
|
|
399
399
|
};
|
|
400
400
|
|
|
401
|
-
// bazel-out/
|
|
401
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.mjs
|
|
402
402
|
import ts2 from "typescript";
|
|
403
403
|
var EsmDependencyHost = class extends DependencyHostBase {
|
|
404
404
|
constructor(fs, moduleResolver, scanImportExpressions = true) {
|
|
@@ -564,7 +564,7 @@ function canPrecedeARegex(kind) {
|
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
|
|
567
|
-
// bazel-out/
|
|
567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.mjs
|
|
568
568
|
var DtsDependencyHost = class extends EsmDependencyHost {
|
|
569
569
|
constructor(fs, pathMappings) {
|
|
570
570
|
super(fs, new ModuleResolver(fs, pathMappings, ["", ".d.ts", "/index.d.ts", ".js", "/index.js"]), false);
|
|
@@ -574,7 +574,7 @@ var DtsDependencyHost = class extends EsmDependencyHost {
|
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
576
|
|
|
577
|
-
// bazel-out/
|
|
577
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.mjs
|
|
578
578
|
import ts3 from "typescript";
|
|
579
579
|
var UmdDependencyHost = class extends DependencyHostBase {
|
|
580
580
|
canSkipFile(fileContents) {
|
|
@@ -594,7 +594,7 @@ var UmdDependencyHost = class extends DependencyHostBase {
|
|
|
594
594
|
}
|
|
595
595
|
};
|
|
596
596
|
|
|
597
|
-
// bazel-out/
|
|
597
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/utils.mjs
|
|
598
598
|
function getBasePaths(logger, sourceDirectory, pathMappings) {
|
|
599
599
|
const fs = getFileSystem();
|
|
600
600
|
const basePaths = [sourceDirectory];
|
|
@@ -704,7 +704,7 @@ function convertToLeaf(node, path) {
|
|
|
704
704
|
node.path = path;
|
|
705
705
|
}
|
|
706
706
|
|
|
707
|
-
// bazel-out/
|
|
707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.mjs
|
|
708
708
|
var DirectoryWalkerEntryPointFinder = class {
|
|
709
709
|
constructor(logger, resolver, entryPointCollector, entryPointManifest, sourceDirectory, pathMappings) {
|
|
710
710
|
this.logger = logger;
|
|
@@ -731,7 +731,7 @@ var DirectoryWalkerEntryPointFinder = class {
|
|
|
731
731
|
}
|
|
732
732
|
};
|
|
733
733
|
|
|
734
|
-
// bazel-out/
|
|
734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.mjs
|
|
735
735
|
var EntryPointCollector = class {
|
|
736
736
|
constructor(fs, config, logger, resolver) {
|
|
737
737
|
this.fs = fs;
|
|
@@ -809,7 +809,7 @@ function isIgnorablePath(path) {
|
|
|
809
809
|
return path.startsWith(".") || path === "node_modules" || path === NGCC_DIRECTORY;
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
// bazel-out/
|
|
812
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.mjs
|
|
813
813
|
var TracingEntryPointFinder = class {
|
|
814
814
|
constructor(fs, config, logger, resolver, basePath, pathMappings) {
|
|
815
815
|
this.fs = fs;
|
|
@@ -846,7 +846,7 @@ var TracingEntryPointFinder = class {
|
|
|
846
846
|
}
|
|
847
847
|
};
|
|
848
848
|
|
|
849
|
-
// bazel-out/
|
|
849
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.mjs
|
|
850
850
|
var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
851
851
|
constructor(fs, config, logger, resolver, entryPointCollector, entryPointManifest, basePath, tsConfig, projectPath) {
|
|
852
852
|
super(fs, config, logger, resolver, basePath, getPathMappingsFromTsConfig(fs, tsConfig, projectPath));
|
|
@@ -897,8 +897,8 @@ var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
897
897
|
}
|
|
898
898
|
};
|
|
899
899
|
|
|
900
|
-
// bazel-out/
|
|
901
|
-
var NGCC_VERSION = "14.1.0-next.
|
|
900
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/build_marker.mjs
|
|
901
|
+
var NGCC_VERSION = "14.1.0-next.1";
|
|
902
902
|
function needsCleaning(packageJson) {
|
|
903
903
|
return Object.values(packageJson.__processed_by_ivy_ngcc__ || {}).some((value) => value !== NGCC_VERSION);
|
|
904
904
|
}
|
|
@@ -939,7 +939,7 @@ function markAsProcessed(pkgJsonUpdater, packageJson, packageJsonPath, formatPro
|
|
|
939
939
|
update.writeChanges(packageJsonPath, packageJson);
|
|
940
940
|
}
|
|
941
941
|
|
|
942
|
-
// bazel-out/
|
|
942
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.mjs
|
|
943
943
|
var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
944
944
|
constructor(fs, config, logger, resolver, basePath, pathMappings, targetPath) {
|
|
945
945
|
super(fs, config, logger, resolver, basePath, pathMappings);
|
|
@@ -1054,7 +1054,7 @@ var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
};
|
|
1056
1056
|
|
|
1057
|
-
// bazel-out/
|
|
1057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.mjs
|
|
1058
1058
|
var BaseTaskQueue = class {
|
|
1059
1059
|
constructor(logger, tasks, dependencies) {
|
|
1060
1060
|
this.logger = logger;
|
|
@@ -1120,7 +1120,7 @@ ${indentation}- ${stringifyTask(task)}`).join("");
|
|
|
1120
1120
|
}
|
|
1121
1121
|
};
|
|
1122
1122
|
|
|
1123
|
-
// bazel-out/
|
|
1123
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.mjs
|
|
1124
1124
|
var ParallelTaskQueue = class extends BaseTaskQueue {
|
|
1125
1125
|
constructor(logger, tasks, dependencies) {
|
|
1126
1126
|
super(logger, sortTasksByPriority(tasks, dependencies), dependencies);
|
|
@@ -1160,7 +1160,7 @@ ${indentation}- ${stringifyTask(task)} (${blockingTasks.size}): ` + this.stringi
|
|
|
1160
1160
|
}
|
|
1161
1161
|
};
|
|
1162
1162
|
|
|
1163
|
-
// bazel-out/
|
|
1163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.mjs
|
|
1164
1164
|
var SerialTaskQueue = class extends BaseTaskQueue {
|
|
1165
1165
|
computeNextTask() {
|
|
1166
1166
|
const nextTask = this.tasks.shift() || null;
|
|
@@ -1175,7 +1175,7 @@ var SerialTaskQueue = class extends BaseTaskQueue {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
};
|
|
1177
1177
|
|
|
1178
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/utils.mjs
|
|
1179
1179
|
function isLocalDirectory(fs, path) {
|
|
1180
1180
|
if (fs.exists(path)) {
|
|
1181
1181
|
const stat = fs.lstat(path);
|
|
@@ -1185,7 +1185,7 @@ function isLocalDirectory(fs, path) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
|
-
// bazel-out/
|
|
1188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.mjs
|
|
1189
1189
|
var PackageJsonCleaner = class {
|
|
1190
1190
|
constructor(fs) {
|
|
1191
1191
|
this.fs = fs;
|
|
@@ -1224,7 +1224,7 @@ var BackupFileCleaner = class {
|
|
|
1224
1224
|
}
|
|
1225
1225
|
};
|
|
1226
1226
|
|
|
1227
|
-
// bazel-out/
|
|
1227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.mjs
|
|
1228
1228
|
var PackageCleaner = class {
|
|
1229
1229
|
constructor(fs, cleaners) {
|
|
1230
1230
|
this.fs = fs;
|
|
@@ -1267,7 +1267,7 @@ function cleanOutdatedPackages(fileSystem, entryPoints) {
|
|
|
1267
1267
|
return packagesToClean.size > 0;
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
|
-
// bazel-out/
|
|
1270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.mjs
|
|
1271
1271
|
function getAnalyzeEntryPointsFn(logger, finder, fileSystem, supportedPropertiesToConsider, typingsOnly, compileAllFormats, propertiesToConsider, inParallel) {
|
|
1272
1272
|
return () => {
|
|
1273
1273
|
logger.debug("Analyzing entry-points...");
|
|
@@ -1356,7 +1356,7 @@ function getTaskQueue(logger, inParallel, tasks, graph) {
|
|
|
1356
1356
|
return inParallel ? new ParallelTaskQueue(logger, tasks, dependencies) : new SerialTaskQueue(logger, tasks, dependencies);
|
|
1357
1357
|
}
|
|
1358
1358
|
|
|
1359
|
-
// bazel-out/
|
|
1359
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
|
|
1360
1360
|
import cluster from "cluster";
|
|
1361
1361
|
import module2 from "module";
|
|
1362
1362
|
var ClusterMaster = class {
|
|
@@ -1553,7 +1553,7 @@ function getClusterWorkerScriptPath(fileSystem) {
|
|
|
1553
1553
|
return fileSystem.resolve(workerScriptPath);
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
1556
|
-
// bazel-out/
|
|
1556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/executor.mjs
|
|
1557
1557
|
var ClusterExecutor = class {
|
|
1558
1558
|
constructor(workerCount, fileSystem, logger, fileWriter, pkgJsonUpdater, lockFile, createTaskCompletedCallback) {
|
|
1559
1559
|
this.workerCount = workerCount;
|
|
@@ -1573,7 +1573,7 @@ var ClusterExecutor = class {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
};
|
|
1575
1575
|
|
|
1576
|
-
// bazel-out/
|
|
1576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/single_process_executor.mjs
|
|
1577
1577
|
var SingleProcessorExecutorBase = class {
|
|
1578
1578
|
constructor(logger, createTaskCompletedCallback) {
|
|
1579
1579
|
this.logger = logger;
|
|
@@ -1615,7 +1615,7 @@ var SingleProcessExecutorAsync = class extends SingleProcessorExecutorBase {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
};
|
|
1617
1617
|
|
|
1618
|
-
// bazel-out/
|
|
1618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/completion.mjs
|
|
1619
1619
|
function composeTaskCompletedCallbacks(callbacks) {
|
|
1620
1620
|
return (task, outcome, message) => {
|
|
1621
1621
|
const callback = callbacks[outcome];
|
|
@@ -1655,7 +1655,7 @@ function createErrorMessage(fs, task, message) {
|
|
|
1655
1655
|
return `Failed to compile entry-point ${task.entryPoint.name} (${format})` + message;
|
|
1656
1656
|
}
|
|
1657
1657
|
|
|
1658
|
-
// bazel-out/
|
|
1658
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/async_locker.mjs
|
|
1659
1659
|
var TimeoutError = class extends Error {
|
|
1660
1660
|
constructor() {
|
|
1661
1661
|
super(...arguments);
|
|
@@ -1704,11 +1704,11 @@ Waiting up to ${this.retryDelay * this.retryAttempts / 1e3}s for it to finish.
|
|
|
1704
1704
|
}
|
|
1705
1705
|
};
|
|
1706
1706
|
|
|
1707
|
-
// bazel-out/
|
|
1707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
1708
1708
|
import { fork } from "child_process";
|
|
1709
1709
|
import module4 from "module";
|
|
1710
1710
|
|
|
1711
|
-
// bazel-out/
|
|
1711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file.mjs
|
|
1712
1712
|
import module3 from "module";
|
|
1713
1713
|
function getLockFilePath(fs) {
|
|
1714
1714
|
const requireFn = typeof __require !== "undefined" ? __require : module3.createRequire(__ESM_IMPORT_META_URL__);
|
|
@@ -1716,7 +1716,7 @@ function getLockFilePath(fs) {
|
|
|
1716
1716
|
return fs.resolve(ngccEntryPointFile, "../../../.ngcc_lock_file");
|
|
1717
1717
|
}
|
|
1718
1718
|
|
|
1719
|
-
// bazel-out/
|
|
1719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
1720
1720
|
var LockFileWithChildProcess = class {
|
|
1721
1721
|
constructor(fs, logger) {
|
|
1722
1722
|
this.fs = fs;
|
|
@@ -1765,7 +1765,7 @@ function getLockFileUnlockerScriptPath(fileSystem) {
|
|
|
1765
1765
|
return fileSystem.resolve(unlockerScriptPath);
|
|
1766
1766
|
}
|
|
1767
1767
|
|
|
1768
|
-
// bazel-out/
|
|
1768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/sync_locker.mjs
|
|
1769
1769
|
var SyncLocker = class {
|
|
1770
1770
|
constructor(lockFile) {
|
|
1771
1771
|
this.lockFile = lockFile;
|
|
@@ -1796,7 +1796,7 @@ If you are running multiple builds in parallel then you might try pre-processing
|
|
|
1796
1796
|
}
|
|
1797
1797
|
};
|
|
1798
1798
|
|
|
1799
|
-
// bazel-out/
|
|
1799
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/configuration.mjs
|
|
1800
1800
|
import { createHash } from "crypto";
|
|
1801
1801
|
import module5 from "module";
|
|
1802
1802
|
import semver from "semver";
|
|
@@ -1982,7 +1982,7 @@ var NgccConfiguration = class {
|
|
|
1982
1982
|
}
|
|
1983
1983
|
};
|
|
1984
1984
|
|
|
1985
|
-
// bazel-out/
|
|
1985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.mjs
|
|
1986
1986
|
import { createHash as createHash2 } from "crypto";
|
|
1987
1987
|
var EntryPointManifest = class {
|
|
1988
1988
|
constructor(fs, config, logger) {
|
|
@@ -2090,7 +2090,7 @@ var InvalidatingEntryPointManifest = class extends EntryPointManifest {
|
|
|
2090
2090
|
}
|
|
2091
2091
|
};
|
|
2092
2092
|
|
|
2093
|
-
// bazel-out/
|
|
2093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/main.mjs
|
|
2094
2094
|
function mainNgcc(options) {
|
|
2095
2095
|
const { basePath, targetEntryPointPath, propertiesToConsider, typingsOnly, compileAllFormats, logger, pathMappings, async, errorOnFailedEntryPoint, enableI18nLegacyMessageIdFormat, invalidateEntryPointManifest, fileSystem, absBasePath, projectPath, tsConfig, getFileWriter } = getSharedSetup(options);
|
|
2096
2096
|
const config = new NgccConfiguration(fileSystem, projectPath);
|
|
@@ -2183,4 +2183,4 @@ export {
|
|
|
2183
2183
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2184
2184
|
* found in the LICENSE file at https://angular.io/license
|
|
2185
2185
|
*/
|
|
2186
|
-
//# sourceMappingURL=chunk-
|
|
2186
|
+
//# sourceMappingURL=chunk-U2GR6UX6.js.map
|
|
File without changes
|