@angular/compiler-cli 14.2.3 → 14.2.5
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-RCXOJZDO.js → chunk-2HPI44CB.js} +5 -5
- package/bundles/{chunk-RCXOJZDO.js.map → chunk-2HPI44CB.js.map} +0 -0
- package/bundles/{chunk-CQCM2MKZ.js → chunk-2VBPNPMZ.js} +70 -70
- package/bundles/{chunk-CQCM2MKZ.js.map → chunk-2VBPNPMZ.js.map} +0 -0
- package/bundles/{chunk-DM4TYSFG.js → chunk-7YHMCUJT.js} +2 -2
- package/bundles/{chunk-DM4TYSFG.js.map → chunk-7YHMCUJT.js.map} +0 -0
- package/bundles/{chunk-UQK6FAVE.js → chunk-AE5KHCRE.js} +5 -5
- package/bundles/{chunk-UQK6FAVE.js.map → chunk-AE5KHCRE.js.map} +0 -0
- package/bundles/{chunk-EEHU2KKY.js → chunk-CCZYJWBX.js} +71 -71
- package/bundles/{chunk-EEHU2KKY.js.map → chunk-CCZYJWBX.js.map} +0 -0
- package/bundles/{chunk-56O2PTWU.js → chunk-CYVTLM4Z.js} +7 -7
- package/bundles/{chunk-56O2PTWU.js.map → chunk-CYVTLM4Z.js.map} +0 -0
- package/bundles/{chunk-5FZBUSFV.js → chunk-E7NQQTT7.js} +3 -3
- package/bundles/{chunk-5FZBUSFV.js.map → chunk-E7NQQTT7.js.map} +0 -0
- package/bundles/{chunk-ICPLY7FO.js → chunk-FM6NPN5V.js} +4 -4
- package/bundles/{chunk-ICPLY7FO.js.map → chunk-FM6NPN5V.js.map} +0 -0
- package/bundles/{chunk-IS6SUBRS.js → chunk-L2QFSPXM.js} +31 -31
- package/bundles/{chunk-IS6SUBRS.js.map → chunk-L2QFSPXM.js.map} +0 -0
- package/bundles/{chunk-OFWCUUXP.js → chunk-NYGWZR47.js} +40 -40
- package/bundles/{chunk-OFWCUUXP.js.map → chunk-NYGWZR47.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-3WGLAG5S.js → chunk-RO4YJD54.js} +105 -98
- package/bundles/chunk-RO4YJD54.js.map +6 -0
- package/bundles/{chunk-4NRCP3Y6.js → chunk-TOKOIIBI.js} +7 -7
- package/bundles/{chunk-4NRCP3Y6.js.map → chunk-TOKOIIBI.js.map} +0 -0
- package/bundles/{chunk-JN4TT3OU.js → chunk-UZLFREET.js} +7 -7
- package/bundles/{chunk-JN4TT3OU.js.map → chunk-UZLFREET.js.map} +0 -0
- package/bundles/{chunk-IGUYDR56.js → chunk-WAZH2LJQ.js} +26 -26
- package/bundles/{chunk-IGUYDR56.js.map → chunk-WAZH2LJQ.js.map} +0 -0
- package/bundles/{chunk-MOE5WKIA.js → chunk-XDX5RDY5.js} +7 -7
- package/bundles/{chunk-MOE5WKIA.js.map → chunk-XDX5RDY5.js.map} +0 -0
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- 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/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -6
- package/bundles/private/tooling.js +3 -3
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/bundles/chunk-3WGLAG5S.js.map +0 -6
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
import {
|
|
7
7
|
ConsoleLogger,
|
|
8
8
|
LogLevel
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-E7NQQTT7.js";
|
|
10
10
|
import {
|
|
11
11
|
NodeJSFileSystem,
|
|
12
12
|
setFileSystem
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TOKOIIBI.js";
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/command_line_options.mjs
|
|
16
16
|
import yargs from "yargs";
|
|
17
17
|
function parseCommandLineOptions(args) {
|
|
18
18
|
var _a;
|
|
@@ -113,4 +113,4 @@ export {
|
|
|
113
113
|
* Use of this source code is governed by an MIT-style license that can be
|
|
114
114
|
* found in the LICENSE file at https://angular.io/license
|
|
115
115
|
*/
|
|
116
|
-
//# sourceMappingURL=chunk-
|
|
116
|
+
//# sourceMappingURL=chunk-FM6NPN5V.js.map
|
|
File without changes
|
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
SourceFileLoader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CYVTLM4Z.js";
|
|
9
9
|
import {
|
|
10
10
|
Context,
|
|
11
11
|
ExpressionTranslatorVisitor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WAZH2LJQ.js";
|
|
13
13
|
|
|
14
|
-
// bazel-out/
|
|
14
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
15
15
|
var FatalLinkerError = class extends Error {
|
|
16
16
|
constructor(node, message) {
|
|
17
17
|
super(message);
|
|
@@ -23,14 +23,14 @@ function isFatalLinkerError(e) {
|
|
|
23
23
|
return e && e.type === "FatalLinkerError";
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
// bazel-out/
|
|
26
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
27
27
|
function assert(node, predicate, expected) {
|
|
28
28
|
if (!predicate(node)) {
|
|
29
29
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
// bazel-out/
|
|
33
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
34
34
|
import * as o from "@angular/compiler";
|
|
35
35
|
var AstObject = class {
|
|
36
36
|
constructor(expression, obj, host) {
|
|
@@ -156,10 +156,10 @@ var AstValue = class {
|
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
// bazel-out/
|
|
159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
160
160
|
import { ConstantPool } from "@angular/compiler";
|
|
161
161
|
|
|
162
|
-
// bazel-out/
|
|
162
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
163
163
|
var LinkerImportGenerator = class {
|
|
164
164
|
constructor(ngImport) {
|
|
165
165
|
this.ngImport = ngImport;
|
|
@@ -179,7 +179,7 @@ var LinkerImportGenerator = class {
|
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
// bazel-out/
|
|
182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
183
183
|
var EmitScope = class {
|
|
184
184
|
constructor(ngImport, translator, factory) {
|
|
185
185
|
this.ngImport = ngImport;
|
|
@@ -208,7 +208,7 @@ var EmitScope = class {
|
|
|
208
208
|
}
|
|
209
209
|
};
|
|
210
210
|
|
|
211
|
-
// bazel-out/
|
|
211
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
212
212
|
var LocalEmitScope = class extends EmitScope {
|
|
213
213
|
translateDefinition(definition) {
|
|
214
214
|
return super.translateDefinition({
|
|
@@ -221,10 +221,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
221
221
|
}
|
|
222
222
|
};
|
|
223
223
|
|
|
224
|
-
// bazel-out/
|
|
224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
225
225
|
import semver from "semver";
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
228
228
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
229
229
|
if (loader === null) {
|
|
230
230
|
return () => null;
|
|
@@ -239,7 +239,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
243
243
|
import { compileClassMetadata } from "@angular/compiler";
|
|
244
244
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
245
245
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -259,13 +259,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
// bazel-out/
|
|
262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
263
263
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TemplateDependencyKind, ViewEncapsulation } from "@angular/compiler";
|
|
264
264
|
|
|
265
|
-
// bazel-out/
|
|
265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
266
266
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
267
267
|
|
|
268
|
-
// bazel-out/
|
|
268
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
269
269
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
270
270
|
function wrapReference(wrapped) {
|
|
271
271
|
return { value: wrapped, type: wrapped };
|
|
@@ -313,7 +313,7 @@ function extractForwardRef(expr) {
|
|
|
313
313
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
// bazel-out/
|
|
316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
317
317
|
var PartialDirectiveLinkerVersion1 = class {
|
|
318
318
|
constructor(sourceUrl, code) {
|
|
319
319
|
this.sourceUrl = sourceUrl;
|
|
@@ -411,7 +411,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
411
411
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
// bazel-out/
|
|
414
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
415
415
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
416
416
|
return {
|
|
417
417
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -604,7 +604,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
604
604
|
return enumValue;
|
|
605
605
|
}
|
|
606
606
|
|
|
607
|
-
// bazel-out/
|
|
607
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
608
608
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
609
609
|
var PartialFactoryLinkerVersion1 = class {
|
|
610
610
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -641,7 +641,7 @@ function getDependencies(metaObj, propName) {
|
|
|
641
641
|
return null;
|
|
642
642
|
}
|
|
643
643
|
|
|
644
|
-
// bazel-out/
|
|
644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
645
645
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
646
646
|
var PartialInjectableLinkerVersion1 = class {
|
|
647
647
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -680,7 +680,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
680
680
|
return meta;
|
|
681
681
|
}
|
|
682
682
|
|
|
683
|
-
// bazel-out/
|
|
683
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
684
684
|
import { compileInjector } from "@angular/compiler";
|
|
685
685
|
var PartialInjectorLinkerVersion1 = class {
|
|
686
686
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -703,7 +703,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
703
703
|
};
|
|
704
704
|
}
|
|
705
705
|
|
|
706
|
-
// bazel-out/
|
|
706
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
707
707
|
import { compileNgModule, R3SelectorScopeMode } from "@angular/compiler";
|
|
708
708
|
var PartialNgModuleLinkerVersion1 = class {
|
|
709
709
|
constructor(emitInline) {
|
|
@@ -776,7 +776,7 @@ function wrapReferences(values) {
|
|
|
776
776
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
777
777
|
}
|
|
778
778
|
|
|
779
|
-
// bazel-out/
|
|
779
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
780
780
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
781
781
|
var PartialPipeLinkerVersion1 = class {
|
|
782
782
|
constructor() {
|
|
@@ -806,7 +806,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
806
806
|
};
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
-
// bazel-out/
|
|
809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
810
810
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
811
811
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
812
812
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -827,7 +827,7 @@ var declarationFunctions = [
|
|
|
827
827
|
];
|
|
828
828
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
829
829
|
const linkers = /* @__PURE__ */ new Map();
|
|
830
|
-
const LATEST_VERSION_RANGE = getRange("<=", "14.2.
|
|
830
|
+
const LATEST_VERSION_RANGE = getRange("<=", "14.2.5");
|
|
831
831
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
832
832
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
833
833
|
]);
|
|
@@ -874,7 +874,7 @@ var PartialLinkerSelector = class {
|
|
|
874
874
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
875
875
|
}
|
|
876
876
|
const linkerRanges = this.linkers.get(functionName);
|
|
877
|
-
if (version === "14.2.
|
|
877
|
+
if (version === "14.2.5") {
|
|
878
878
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
879
879
|
}
|
|
880
880
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -900,7 +900,7 @@ function getRange(comparator, versionStr) {
|
|
|
900
900
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
901
901
|
}
|
|
902
902
|
|
|
903
|
-
// bazel-out/
|
|
903
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
904
904
|
var FileLinker = class {
|
|
905
905
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
906
906
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -943,14 +943,14 @@ var FileLinker = class {
|
|
|
943
943
|
}
|
|
944
944
|
};
|
|
945
945
|
|
|
946
|
-
// bazel-out/
|
|
946
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
947
947
|
var DEFAULT_LINKER_OPTIONS = {
|
|
948
948
|
sourceMapping: true,
|
|
949
949
|
linkerJitMode: false,
|
|
950
950
|
unknownDeclarationVersionHandling: "error"
|
|
951
951
|
};
|
|
952
952
|
|
|
953
|
-
// bazel-out/
|
|
953
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
954
954
|
var Translator = class {
|
|
955
955
|
constructor(factory) {
|
|
956
956
|
this.factory = factory;
|
|
@@ -963,7 +963,7 @@ var Translator = class {
|
|
|
963
963
|
}
|
|
964
964
|
};
|
|
965
965
|
|
|
966
|
-
// bazel-out/
|
|
966
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
967
967
|
var LinkerEnvironment = class {
|
|
968
968
|
constructor(fileSystem, logger, host, factory, options) {
|
|
969
969
|
this.fileSystem = fileSystem;
|
|
@@ -984,7 +984,7 @@ var LinkerEnvironment = class {
|
|
|
984
984
|
}
|
|
985
985
|
};
|
|
986
986
|
|
|
987
|
-
// bazel-out/
|
|
987
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
988
988
|
function needsLinking(path, source) {
|
|
989
989
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
990
990
|
}
|
|
@@ -1005,4 +1005,4 @@ export {
|
|
|
1005
1005
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1006
1006
|
* found in the LICENSE file at https://angular.io/license
|
|
1007
1007
|
*/
|
|
1008
|
-
//# sourceMappingURL=chunk-
|
|
1008
|
+
//# sourceMappingURL=chunk-L2QFSPXM.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,22 +38,22 @@ import {
|
|
|
38
38
|
sendMessageToWorker,
|
|
39
39
|
sortTasksByPriority,
|
|
40
40
|
stringifyTask
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-CCZYJWBX.js";
|
|
42
42
|
import {
|
|
43
43
|
LogLevel
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-E7NQQTT7.js";
|
|
45
45
|
import {
|
|
46
46
|
absoluteFrom,
|
|
47
47
|
getFileSystem
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-TOKOIIBI.js";
|
|
49
49
|
import {
|
|
50
50
|
__require
|
|
51
51
|
} from "./chunk-XYNRD7NE.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;
|
|
@@ -191,7 +191,7 @@ function isRelativeImport(from, to) {
|
|
|
191
191
|
return to.startsWith(from) && !to.includes("node_modules");
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
// bazel-out/
|
|
194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_host.mjs
|
|
195
195
|
function createDependencyInfo() {
|
|
196
196
|
return { dependencies: /* @__PURE__ */ new Set(), missing: /* @__PURE__ */ new Set(), deepImports: /* @__PURE__ */ new Set() };
|
|
197
197
|
}
|
|
@@ -248,7 +248,7 @@ var DependencyHostBase = class {
|
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
250
|
|
|
251
|
-
// bazel-out/
|
|
251
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/commonjs_dependency_host.mjs
|
|
252
252
|
var CommonJsDependencyHost = class extends DependencyHostBase {
|
|
253
253
|
canSkipFile(fileContents) {
|
|
254
254
|
return !hasRequireCalls(fileContents);
|
|
@@ -292,7 +292,7 @@ function hasRequireCalls(source) {
|
|
|
292
292
|
return /require\(['"]/.test(source);
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
// bazel-out/
|
|
295
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dependency_resolver.mjs
|
|
296
296
|
import { DepGraph } from "dependency-graph";
|
|
297
297
|
import module from "module";
|
|
298
298
|
var builtinNodeJsModules = new Set(module.builtinModules);
|
|
@@ -396,7 +396,7 @@ var DependencyResolver = class {
|
|
|
396
396
|
}
|
|
397
397
|
};
|
|
398
398
|
|
|
399
|
-
// bazel-out/
|
|
399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/esm_dependency_host.mjs
|
|
400
400
|
import ts2 from "typescript";
|
|
401
401
|
var EsmDependencyHost = class extends DependencyHostBase {
|
|
402
402
|
constructor(fs, moduleResolver, scanImportExpressions = true) {
|
|
@@ -562,7 +562,7 @@ function canPrecedeARegex(kind) {
|
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
564
|
|
|
565
|
-
// bazel-out/
|
|
565
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/dts_dependency_host.mjs
|
|
566
566
|
var DtsDependencyHost = class extends EsmDependencyHost {
|
|
567
567
|
constructor(fs, pathMappings) {
|
|
568
568
|
super(fs, new ModuleResolver(fs, pathMappings, ["", ".d.ts", "/index.d.ts", ".js", "/index.js"]), false);
|
|
@@ -572,7 +572,7 @@ var DtsDependencyHost = class extends EsmDependencyHost {
|
|
|
572
572
|
}
|
|
573
573
|
};
|
|
574
574
|
|
|
575
|
-
// bazel-out/
|
|
575
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/dependencies/umd_dependency_host.mjs
|
|
576
576
|
import ts3 from "typescript";
|
|
577
577
|
var UmdDependencyHost = class extends DependencyHostBase {
|
|
578
578
|
canSkipFile(fileContents) {
|
|
@@ -592,7 +592,7 @@ var UmdDependencyHost = class extends DependencyHostBase {
|
|
|
592
592
|
}
|
|
593
593
|
};
|
|
594
594
|
|
|
595
|
-
// bazel-out/
|
|
595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/utils.mjs
|
|
596
596
|
function getBasePaths(logger, sourceDirectory, pathMappings) {
|
|
597
597
|
const fs = getFileSystem();
|
|
598
598
|
const basePaths = [sourceDirectory];
|
|
@@ -702,7 +702,7 @@ function convertToLeaf(node, path) {
|
|
|
702
702
|
node.path = path;
|
|
703
703
|
}
|
|
704
704
|
|
|
705
|
-
// bazel-out/
|
|
705
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.mjs
|
|
706
706
|
var DirectoryWalkerEntryPointFinder = class {
|
|
707
707
|
constructor(logger, resolver, entryPointCollector, entryPointManifest, sourceDirectory, pathMappings) {
|
|
708
708
|
this.logger = logger;
|
|
@@ -729,7 +729,7 @@ var DirectoryWalkerEntryPointFinder = class {
|
|
|
729
729
|
}
|
|
730
730
|
};
|
|
731
731
|
|
|
732
|
-
// bazel-out/
|
|
732
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/entry_point_collector.mjs
|
|
733
733
|
var EntryPointCollector = class {
|
|
734
734
|
constructor(fs, config, logger, resolver) {
|
|
735
735
|
this.fs = fs;
|
|
@@ -807,7 +807,7 @@ function isIgnorablePath(path) {
|
|
|
807
807
|
return path.startsWith(".") || path === "node_modules" || path === NGCC_DIRECTORY;
|
|
808
808
|
}
|
|
809
809
|
|
|
810
|
-
// bazel-out/
|
|
810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/tracing_entry_point_finder.mjs
|
|
811
811
|
var TracingEntryPointFinder = class {
|
|
812
812
|
constructor(fs, config, logger, resolver, basePath, pathMappings) {
|
|
813
813
|
this.fs = fs;
|
|
@@ -844,7 +844,7 @@ var TracingEntryPointFinder = class {
|
|
|
844
844
|
}
|
|
845
845
|
};
|
|
846
846
|
|
|
847
|
-
// bazel-out/
|
|
847
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/program_based_entry_point_finder.mjs
|
|
848
848
|
var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
849
849
|
constructor(fs, config, logger, resolver, entryPointCollector, entryPointManifest, basePath, tsConfig, projectPath) {
|
|
850
850
|
super(fs, config, logger, resolver, basePath, getPathMappingsFromTsConfig(fs, tsConfig, projectPath));
|
|
@@ -895,8 +895,8 @@ var ProgramBasedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
895
895
|
}
|
|
896
896
|
};
|
|
897
897
|
|
|
898
|
-
// bazel-out/
|
|
899
|
-
var NGCC_VERSION = "14.2.
|
|
898
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/build_marker.mjs
|
|
899
|
+
var NGCC_VERSION = "14.2.5";
|
|
900
900
|
function needsCleaning(packageJson) {
|
|
901
901
|
return Object.values(packageJson.__processed_by_ivy_ngcc__ || {}).some((value) => value !== NGCC_VERSION);
|
|
902
902
|
}
|
|
@@ -937,7 +937,7 @@ function markAsProcessed(pkgJsonUpdater, packageJson, packageJsonPath, formatPro
|
|
|
937
937
|
update.writeChanges(packageJsonPath, packageJson);
|
|
938
938
|
}
|
|
939
939
|
|
|
940
|
-
// bazel-out/
|
|
940
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/entry_point_finder/targeted_entry_point_finder.mjs
|
|
941
941
|
var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
942
942
|
constructor(fs, config, logger, resolver, basePath, pathMappings, targetPath) {
|
|
943
943
|
super(fs, config, logger, resolver, basePath, pathMappings);
|
|
@@ -1052,7 +1052,7 @@ var TargetedEntryPointFinder = class extends TracingEntryPointFinder {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
};
|
|
1054
1054
|
|
|
1055
|
-
// bazel-out/
|
|
1055
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/base_task_queue.mjs
|
|
1056
1056
|
var BaseTaskQueue = class {
|
|
1057
1057
|
constructor(logger, tasks, dependencies) {
|
|
1058
1058
|
this.logger = logger;
|
|
@@ -1118,7 +1118,7 @@ ${indentation}- ${stringifyTask(task)}`).join("");
|
|
|
1118
1118
|
}
|
|
1119
1119
|
};
|
|
1120
1120
|
|
|
1121
|
-
// bazel-out/
|
|
1121
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/parallel_task_queue.mjs
|
|
1122
1122
|
var ParallelTaskQueue = class extends BaseTaskQueue {
|
|
1123
1123
|
constructor(logger, tasks, dependencies) {
|
|
1124
1124
|
super(logger, sortTasksByPriority(tasks, dependencies), dependencies);
|
|
@@ -1158,7 +1158,7 @@ ${indentation}- ${stringifyTask(task)} (${blockingTasks.size}): ` + this.stringi
|
|
|
1158
1158
|
}
|
|
1159
1159
|
};
|
|
1160
1160
|
|
|
1161
|
-
// bazel-out/
|
|
1161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/queues/serial_task_queue.mjs
|
|
1162
1162
|
var SerialTaskQueue = class extends BaseTaskQueue {
|
|
1163
1163
|
computeNextTask() {
|
|
1164
1164
|
const nextTask = this.tasks.shift() || null;
|
|
@@ -1173,7 +1173,7 @@ var SerialTaskQueue = class extends BaseTaskQueue {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
};
|
|
1175
1175
|
|
|
1176
|
-
// bazel-out/
|
|
1176
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/utils.mjs
|
|
1177
1177
|
function isLocalDirectory(fs, path) {
|
|
1178
1178
|
if (fs.exists(path)) {
|
|
1179
1179
|
const stat = fs.lstat(path);
|
|
@@ -1183,7 +1183,7 @@ function isLocalDirectory(fs, path) {
|
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
1185
|
|
|
1186
|
-
// bazel-out/
|
|
1186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/cleaning_strategies.mjs
|
|
1187
1187
|
var PackageJsonCleaner = class {
|
|
1188
1188
|
constructor(fs) {
|
|
1189
1189
|
this.fs = fs;
|
|
@@ -1222,7 +1222,7 @@ var BackupFileCleaner = class {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
};
|
|
1224
1224
|
|
|
1225
|
-
// bazel-out/
|
|
1225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/writing/cleaning/package_cleaner.mjs
|
|
1226
1226
|
var PackageCleaner = class {
|
|
1227
1227
|
constructor(fs, cleaners) {
|
|
1228
1228
|
this.fs = fs;
|
|
@@ -1265,7 +1265,7 @@ function cleanOutdatedPackages(fileSystem, entryPoints) {
|
|
|
1265
1265
|
return packagesToClean.size > 0;
|
|
1266
1266
|
}
|
|
1267
1267
|
|
|
1268
|
-
// bazel-out/
|
|
1268
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/analyze_entry_points.mjs
|
|
1269
1269
|
function getAnalyzeEntryPointsFn(logger, finder, fileSystem, supportedPropertiesToConsider, typingsOnly, compileAllFormats, propertiesToConsider, inParallel) {
|
|
1270
1270
|
return () => {
|
|
1271
1271
|
logger.debug("Analyzing entry-points...");
|
|
@@ -1354,7 +1354,7 @@ function getTaskQueue(logger, inParallel, tasks, graph) {
|
|
|
1354
1354
|
return inParallel ? new ParallelTaskQueue(logger, tasks, dependencies) : new SerialTaskQueue(logger, tasks, dependencies);
|
|
1355
1355
|
}
|
|
1356
1356
|
|
|
1357
|
-
// bazel-out/
|
|
1357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/master.mjs
|
|
1358
1358
|
import cluster from "cluster";
|
|
1359
1359
|
import module2 from "module";
|
|
1360
1360
|
var ClusterMaster = class {
|
|
@@ -1551,7 +1551,7 @@ function getClusterWorkerScriptPath(fileSystem) {
|
|
|
1551
1551
|
return fileSystem.resolve(workerScriptPath);
|
|
1552
1552
|
}
|
|
1553
1553
|
|
|
1554
|
-
// bazel-out/
|
|
1554
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/cluster/executor.mjs
|
|
1555
1555
|
var ClusterExecutor = class {
|
|
1556
1556
|
constructor(workerCount, fileSystem, logger, fileWriter, pkgJsonUpdater, lockFile, createTaskCompletedCallback) {
|
|
1557
1557
|
this.workerCount = workerCount;
|
|
@@ -1571,7 +1571,7 @@ var ClusterExecutor = class {
|
|
|
1571
1571
|
}
|
|
1572
1572
|
};
|
|
1573
1573
|
|
|
1574
|
-
// bazel-out/
|
|
1574
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/single_process_executor.mjs
|
|
1575
1575
|
var SingleProcessorExecutorBase = class {
|
|
1576
1576
|
constructor(logger, createTaskCompletedCallback) {
|
|
1577
1577
|
this.logger = logger;
|
|
@@ -1613,7 +1613,7 @@ var SingleProcessExecutorAsync = class extends SingleProcessorExecutorBase {
|
|
|
1613
1613
|
}
|
|
1614
1614
|
};
|
|
1615
1615
|
|
|
1616
|
-
// bazel-out/
|
|
1616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/execution/tasks/completion.mjs
|
|
1617
1617
|
function composeTaskCompletedCallbacks(callbacks) {
|
|
1618
1618
|
return (task, outcome, message) => {
|
|
1619
1619
|
const callback = callbacks[outcome];
|
|
@@ -1653,7 +1653,7 @@ function createErrorMessage(fs, task, message) {
|
|
|
1653
1653
|
return `Failed to compile entry-point ${task.entryPoint.name} (${format})` + message;
|
|
1654
1654
|
}
|
|
1655
1655
|
|
|
1656
|
-
// bazel-out/
|
|
1656
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/async_locker.mjs
|
|
1657
1657
|
var TimeoutError = class extends Error {
|
|
1658
1658
|
constructor() {
|
|
1659
1659
|
super(...arguments);
|
|
@@ -1702,11 +1702,11 @@ Waiting up to ${this.retryDelay * this.retryAttempts / 1e3}s for it to finish.
|
|
|
1702
1702
|
}
|
|
1703
1703
|
};
|
|
1704
1704
|
|
|
1705
|
-
// bazel-out/
|
|
1705
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
1706
1706
|
import { fork } from "child_process";
|
|
1707
1707
|
import module4 from "module";
|
|
1708
1708
|
|
|
1709
|
-
// bazel-out/
|
|
1709
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file.mjs
|
|
1710
1710
|
import module3 from "module";
|
|
1711
1711
|
function getLockFilePath(fs) {
|
|
1712
1712
|
const requireFn = typeof __require !== "undefined" ? __require : module3.createRequire(__ESM_IMPORT_META_URL__);
|
|
@@ -1714,7 +1714,7 @@ function getLockFilePath(fs) {
|
|
|
1714
1714
|
return fs.resolve(ngccEntryPointFile, "../../../.ngcc_lock_file");
|
|
1715
1715
|
}
|
|
1716
1716
|
|
|
1717
|
-
// bazel-out/
|
|
1717
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/index.mjs
|
|
1718
1718
|
var LockFileWithChildProcess = class {
|
|
1719
1719
|
constructor(fs, logger) {
|
|
1720
1720
|
this.fs = fs;
|
|
@@ -1763,7 +1763,7 @@ function getLockFileUnlockerScriptPath(fileSystem) {
|
|
|
1763
1763
|
return fileSystem.resolve(unlockerScriptPath);
|
|
1764
1764
|
}
|
|
1765
1765
|
|
|
1766
|
-
// bazel-out/
|
|
1766
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/sync_locker.mjs
|
|
1767
1767
|
var SyncLocker = class {
|
|
1768
1768
|
constructor(lockFile) {
|
|
1769
1769
|
this.lockFile = lockFile;
|
|
@@ -1794,7 +1794,7 @@ If you are running multiple builds in parallel then you might try pre-processing
|
|
|
1794
1794
|
}
|
|
1795
1795
|
};
|
|
1796
1796
|
|
|
1797
|
-
// bazel-out/
|
|
1797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/configuration.mjs
|
|
1798
1798
|
import { createHash } from "crypto";
|
|
1799
1799
|
import module5 from "module";
|
|
1800
1800
|
import semver from "semver";
|
|
@@ -1981,7 +1981,7 @@ var NgccConfiguration = class {
|
|
|
1981
1981
|
}
|
|
1982
1982
|
};
|
|
1983
1983
|
|
|
1984
|
-
// bazel-out/
|
|
1984
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/packages/entry_point_manifest.mjs
|
|
1985
1985
|
import { createHash as createHash2 } from "crypto";
|
|
1986
1986
|
var EntryPointManifest = class {
|
|
1987
1987
|
constructor(fs, config, logger) {
|
|
@@ -2089,7 +2089,7 @@ var InvalidatingEntryPointManifest = class extends EntryPointManifest {
|
|
|
2089
2089
|
}
|
|
2090
2090
|
};
|
|
2091
2091
|
|
|
2092
|
-
// bazel-out/
|
|
2092
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/main.mjs
|
|
2093
2093
|
function mainNgcc(options) {
|
|
2094
2094
|
const { basePath, targetEntryPointPath, propertiesToConsider, typingsOnly, compileAllFormats, logger, pathMappings, async, errorOnFailedEntryPoint, enableI18nLegacyMessageIdFormat, invalidateEntryPointManifest, fileSystem, absBasePath, projectPath, tsConfig, getFileWriter } = getSharedSetup(options);
|
|
2095
2095
|
const config = new NgccConfiguration(fileSystem, projectPath);
|
|
@@ -2182,4 +2182,4 @@ export {
|
|
|
2182
2182
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2183
2183
|
* found in the LICENSE file at https://angular.io/license
|
|
2184
2184
|
*/
|
|
2185
|
-
//# sourceMappingURL=chunk-
|
|
2185
|
+
//# sourceMappingURL=chunk-NYGWZR47.js.map
|
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
const __ESM_IMPORT_META_URL__ = import.meta.url;
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/ngcc/src/locking/lock_file_with_child_process/util.mjs
|
|
7
7
|
function removeLockFile(fs, logger, lockFilePath, pid) {
|
|
8
8
|
try {
|
|
9
9
|
logger.debug(`Attempting to remove lock-file at ${lockFilePath}.`);
|
|
@@ -26,4 +26,4 @@ function removeLockFile(fs, logger, lockFilePath, pid) {
|
|
|
26
26
|
export {
|
|
27
27
|
removeLockFile
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=chunk-
|
|
29
|
+
//# sourceMappingURL=chunk-R3C7RFJ4.js.map
|
|
File without changes
|