@angular/compiler-cli 16.0.0 → 16.0.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-DZ2JDFLR.js → chunk-2KHZXNEI.js} +31 -31
- package/bundles/{chunk-BZAIS6C3.js → chunk-64MYZ5SD.js} +5 -5
- package/bundles/{chunk-HJOPJLIM.js → chunk-7PCPPTTO.js} +5 -5
- package/bundles/{chunk-WL4F4VQG.js → chunk-B6WD2R2T.js} +21 -21
- package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-SL3W33EA.js → chunk-HE7H76I4.js} +5 -5
- package/bundles/{chunk-AHPF5263.js → chunk-JI4NJHOK.js} +84 -82
- package/bundles/{chunk-AHPF5263.js.map → chunk-JI4NJHOK.js.map} +1 -1
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-UNR3CTVT.js → chunk-T2BBDUF3.js} +14 -9
- package/bundles/chunk-T2BBDUF3.js.map +6 -0
- package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-53CCHRBH.js → chunk-UUUQF5ZZ.js} +99 -96
- package/bundles/chunk-UUUQF5ZZ.js.map +6 -0
- package/bundles/{chunk-ABPMSM4T.js → chunk-VLCBVJOY.js} +56 -12
- package/bundles/chunk-VLCBVJOY.js.map +6 -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 +1 -1
- 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 +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/package.json +2 -2
- package/src/ngtsc/reflection/src/host.d.ts +9 -1
- package/src/ngtsc/transform/src/api.d.ts +3 -3
- package/src/ngtsc/transform/src/declaration.d.ts +4 -4
- package/src/ngtsc/translator/src/type_translator.d.ts +3 -34
- package/src/ngtsc/typecheck/src/environment.d.ts +7 -1
- package/bundles/chunk-53CCHRBH.js.map +0 -6
- package/bundles/chunk-ABPMSM4T.js.map +0 -6
- package/bundles/chunk-UNR3CTVT.js.map +0 -6
- /package/bundles/{chunk-DZ2JDFLR.js.map → chunk-2KHZXNEI.js.map} +0 -0
- /package/bundles/{chunk-BZAIS6C3.js.map → chunk-64MYZ5SD.js.map} +0 -0
- /package/bundles/{chunk-HJOPJLIM.js.map → chunk-7PCPPTTO.js.map} +0 -0
- /package/bundles/{chunk-WL4F4VQG.js.map → chunk-B6WD2R2T.js.map} +0 -0
- /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-SL3W33EA.js.map → chunk-HE7H76I4.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VLCBVJOY.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFileLoader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EKTJ7622.js";
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
14
14
|
var FatalLinkerError = class extends Error {
|
|
15
15
|
constructor(node, message) {
|
|
16
16
|
super(message);
|
|
@@ -22,14 +22,14 @@ function isFatalLinkerError(e) {
|
|
|
22
22
|
return e && e.type === "FatalLinkerError";
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
26
26
|
function assert(node, predicate, expected) {
|
|
27
27
|
if (!predicate(node)) {
|
|
28
28
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
// bazel-out/
|
|
32
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
33
33
|
import * as o from "@angular/compiler";
|
|
34
34
|
var AstObject = class {
|
|
35
35
|
static parse(expression, host) {
|
|
@@ -155,10 +155,10 @@ var AstValue = class {
|
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
// bazel-out/
|
|
158
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
159
159
|
import { ConstantPool } from "@angular/compiler";
|
|
160
160
|
|
|
161
|
-
// bazel-out/
|
|
161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
162
162
|
var LinkerImportGenerator = class {
|
|
163
163
|
constructor(ngImport) {
|
|
164
164
|
this.ngImport = ngImport;
|
|
@@ -178,7 +178,7 @@ var LinkerImportGenerator = class {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
182
182
|
var EmitScope = class {
|
|
183
183
|
constructor(ngImport, translator, factory) {
|
|
184
184
|
this.ngImport = ngImport;
|
|
@@ -207,7 +207,7 @@ var EmitScope = class {
|
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
// bazel-out/
|
|
210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
211
211
|
var LocalEmitScope = class extends EmitScope {
|
|
212
212
|
translateDefinition(definition) {
|
|
213
213
|
return super.translateDefinition({
|
|
@@ -220,10 +220,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
224
224
|
import semver from "semver";
|
|
225
225
|
|
|
226
|
-
// bazel-out/
|
|
226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
227
227
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
228
228
|
if (loader === null) {
|
|
229
229
|
return () => null;
|
|
@@ -238,7 +238,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
// bazel-out/
|
|
241
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
242
242
|
import { compileClassMetadata } from "@angular/compiler";
|
|
243
243
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
244
244
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -258,13 +258,13 @@ function toR3ClassMetadata(metaObj) {
|
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
262
262
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TemplateDependencyKind, ViewEncapsulation } from "@angular/compiler";
|
|
263
263
|
|
|
264
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
265
265
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
266
266
|
|
|
267
|
-
// bazel-out/
|
|
267
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
268
268
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
269
269
|
function wrapReference(wrapped) {
|
|
270
270
|
return { value: wrapped, type: wrapped };
|
|
@@ -312,7 +312,7 @@ function extractForwardRef(expr) {
|
|
|
312
312
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
313
313
|
}
|
|
314
314
|
|
|
315
|
-
// bazel-out/
|
|
315
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
316
316
|
var PartialDirectiveLinkerVersion1 = class {
|
|
317
317
|
constructor(sourceUrl, code) {
|
|
318
318
|
this.sourceUrl = sourceUrl;
|
|
@@ -431,7 +431,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
431
431
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
-
// bazel-out/
|
|
434
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
435
435
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
436
436
|
return {
|
|
437
437
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -624,7 +624,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
624
624
|
return enumValue;
|
|
625
625
|
}
|
|
626
626
|
|
|
627
|
-
// bazel-out/
|
|
627
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
628
628
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
629
629
|
var PartialFactoryLinkerVersion1 = class {
|
|
630
630
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -660,7 +660,7 @@ function getDependencies(metaObj, propName) {
|
|
|
660
660
|
return null;
|
|
661
661
|
}
|
|
662
662
|
|
|
663
|
-
// bazel-out/
|
|
663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
664
664
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
665
665
|
var PartialInjectableLinkerVersion1 = class {
|
|
666
666
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -698,7 +698,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
698
698
|
return meta;
|
|
699
699
|
}
|
|
700
700
|
|
|
701
|
-
// bazel-out/
|
|
701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
702
702
|
import { compileInjector } from "@angular/compiler";
|
|
703
703
|
var PartialInjectorLinkerVersion1 = class {
|
|
704
704
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -720,7 +720,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
|
|
723
|
-
// bazel-out/
|
|
723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
724
724
|
import { compileNgModule, R3SelectorScopeMode } from "@angular/compiler";
|
|
725
725
|
var PartialNgModuleLinkerVersion1 = class {
|
|
726
726
|
constructor(emitInline) {
|
|
@@ -791,7 +791,7 @@ function wrapReferences(values) {
|
|
|
791
791
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
792
792
|
}
|
|
793
793
|
|
|
794
|
-
// bazel-out/
|
|
794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
795
795
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
796
796
|
var PartialPipeLinkerVersion1 = class {
|
|
797
797
|
constructor() {
|
|
@@ -820,7 +820,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
820
820
|
};
|
|
821
821
|
}
|
|
822
822
|
|
|
823
|
-
// bazel-out/
|
|
823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
824
824
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
825
825
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
826
826
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -841,7 +841,7 @@ var declarationFunctions = [
|
|
|
841
841
|
];
|
|
842
842
|
function createLinkerMap(environment, sourceUrl, code) {
|
|
843
843
|
const linkers = /* @__PURE__ */ new Map();
|
|
844
|
-
const LATEST_VERSION_RANGE = getRange("<=", "16.0.
|
|
844
|
+
const LATEST_VERSION_RANGE = getRange("<=", "16.0.1");
|
|
845
845
|
linkers.set(\u0275\u0275ngDeclareDirective, [
|
|
846
846
|
{ range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
|
|
847
847
|
]);
|
|
@@ -888,7 +888,7 @@ var PartialLinkerSelector = class {
|
|
|
888
888
|
throw new Error(`Unknown partial declaration function ${functionName}.`);
|
|
889
889
|
}
|
|
890
890
|
const linkerRanges = this.linkers.get(functionName);
|
|
891
|
-
if (version === "16.0.
|
|
891
|
+
if (version === "16.0.1") {
|
|
892
892
|
return linkerRanges[linkerRanges.length - 1].linker;
|
|
893
893
|
}
|
|
894
894
|
const declarationRange = getRange(">=", minVersion);
|
|
@@ -914,7 +914,7 @@ function getRange(comparator, versionStr) {
|
|
|
914
914
|
return new semver.Range(`${comparator}${version.format()}`);
|
|
915
915
|
}
|
|
916
916
|
|
|
917
|
-
// bazel-out/
|
|
917
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
918
918
|
var FileLinker = class {
|
|
919
919
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
920
920
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -957,14 +957,14 @@ var FileLinker = class {
|
|
|
957
957
|
}
|
|
958
958
|
};
|
|
959
959
|
|
|
960
|
-
// bazel-out/
|
|
960
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
961
961
|
var DEFAULT_LINKER_OPTIONS = {
|
|
962
962
|
sourceMapping: true,
|
|
963
963
|
linkerJitMode: false,
|
|
964
964
|
unknownDeclarationVersionHandling: "error"
|
|
965
965
|
};
|
|
966
966
|
|
|
967
|
-
// bazel-out/
|
|
967
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
968
968
|
var Translator = class {
|
|
969
969
|
constructor(factory) {
|
|
970
970
|
this.factory = factory;
|
|
@@ -977,7 +977,7 @@ var Translator = class {
|
|
|
977
977
|
}
|
|
978
978
|
};
|
|
979
979
|
|
|
980
|
-
// bazel-out/
|
|
980
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
981
981
|
var LinkerEnvironment = class {
|
|
982
982
|
constructor(fileSystem, logger, host, factory, options) {
|
|
983
983
|
this.fileSystem = fileSystem;
|
|
@@ -998,7 +998,7 @@ var LinkerEnvironment = class {
|
|
|
998
998
|
}
|
|
999
999
|
};
|
|
1000
1000
|
|
|
1001
|
-
// bazel-out/
|
|
1001
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1002
1002
|
function needsLinking(path, source) {
|
|
1003
1003
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1004
1004
|
}
|
|
@@ -1019,4 +1019,4 @@ export {
|
|
|
1019
1019
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1020
1020
|
* found in the LICENSE file at https://angular.io/license
|
|
1021
1021
|
*/
|
|
1022
|
-
//# sourceMappingURL=chunk-
|
|
1022
|
+
//# sourceMappingURL=chunk-2KHZXNEI.js.map
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
TypeScriptReflectionHost
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-T2BBDUF3.js";
|
|
8
8
|
import {
|
|
9
9
|
isAliasImportDeclaration,
|
|
10
10
|
loadIsReferencedAliasDeclarationPatch
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-B6WD2R2T.js";
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
14
14
|
import ts from "typescript";
|
|
15
15
|
function isAngularDecorator(decorator, isCore) {
|
|
16
16
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
@@ -313,7 +313,7 @@ function cloneClassElementWithModifiers(node, modifiers) {
|
|
|
313
313
|
return ts.setOriginalNode(clone, node);
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
// bazel-out/
|
|
316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
317
317
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
318
318
|
ngDevMode: false,
|
|
319
319
|
ngI18nClosureMode: false
|
|
@@ -346,4 +346,4 @@ export {
|
|
|
346
346
|
* Use of this source code is governed by an MIT-style license that can be
|
|
347
347
|
* found in the LICENSE file at https://angular.io/license
|
|
348
348
|
*/
|
|
349
|
-
//# sourceMappingURL=chunk-
|
|
349
|
+
//# sourceMappingURL=chunk-64MYZ5SD.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
7
7
|
var PerfPhase;
|
|
8
8
|
(function(PerfPhase2) {
|
|
9
9
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -70,7 +70,7 @@ var PerfCheckpoint;
|
|
|
70
70
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
71
71
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
72
72
|
|
|
73
|
-
// bazel-out/
|
|
73
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
74
74
|
var NoopPerfRecorder = class {
|
|
75
75
|
eventCount() {
|
|
76
76
|
}
|
|
@@ -87,7 +87,7 @@ var NoopPerfRecorder = class {
|
|
|
87
87
|
};
|
|
88
88
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
89
89
|
|
|
90
|
-
// bazel-out/
|
|
90
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
91
91
|
function mark() {
|
|
92
92
|
return process.hrtime();
|
|
93
93
|
}
|
|
@@ -96,7 +96,7 @@ function timeSinceInMicros(mark2) {
|
|
|
96
96
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
// bazel-out/
|
|
99
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
100
100
|
var ActivePerfRecorder = class {
|
|
101
101
|
static zeroedToNow() {
|
|
102
102
|
return new ActivePerfRecorder(mark());
|
|
@@ -204,4 +204,4 @@ export {
|
|
|
204
204
|
* Use of this source code is governed by an MIT-style license that can be
|
|
205
205
|
* found in the LICENSE file at https://angular.io/license
|
|
206
206
|
*/
|
|
207
|
-
//# sourceMappingURL=chunk-
|
|
207
|
+
//# sourceMappingURL=chunk-7PCPPTTO.js.map
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TBUSSXUA.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
18
18
|
import ts from "typescript";
|
|
19
19
|
var TS = /\.tsx?$/i;
|
|
20
20
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -115,7 +115,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
115
115
|
return redirectInfo.unredirected;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
// bazel-out/
|
|
118
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
119
119
|
var Reference = class {
|
|
120
120
|
constructor(node, bestGuessOwningModule = null) {
|
|
121
121
|
this.node = node;
|
|
@@ -178,14 +178,14 @@ var Reference = class {
|
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
// bazel-out/
|
|
181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
182
182
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
183
183
|
|
|
184
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
185
185
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
186
186
|
import ts3 from "typescript";
|
|
187
187
|
|
|
188
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
189
189
|
var ErrorCode;
|
|
190
190
|
(function(ErrorCode2) {
|
|
191
191
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -258,7 +258,7 @@ var ErrorCode;
|
|
|
258
258
|
ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
|
|
259
259
|
})(ErrorCode || (ErrorCode = {}));
|
|
260
260
|
|
|
261
|
-
// bazel-out/
|
|
261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
262
262
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
263
263
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
264
264
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -270,10 +270,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
270
270
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
271
271
|
]);
|
|
272
272
|
|
|
273
|
-
// bazel-out/
|
|
273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
274
274
|
import ts2 from "typescript";
|
|
275
275
|
|
|
276
|
-
// bazel-out/
|
|
276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
277
277
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
278
278
|
function replaceTsWithNgInErrors(errors) {
|
|
279
279
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -282,7 +282,7 @@ function ngErrorCode(code) {
|
|
|
282
282
|
return parseInt("-99" + code);
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
// bazel-out/
|
|
285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
286
286
|
var FatalDiagnosticError = class {
|
|
287
287
|
constructor(code, node, message, relatedInformation) {
|
|
288
288
|
this.code = code;
|
|
@@ -338,10 +338,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
338
338
|
return messageText;
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
// bazel-out/
|
|
341
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
342
342
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
343
343
|
|
|
344
|
-
// bazel-out/
|
|
344
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
345
345
|
var ExtendedTemplateDiagnosticName;
|
|
346
346
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
347
347
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -354,7 +354,7 @@ var ExtendedTemplateDiagnosticName;
|
|
|
354
354
|
ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
|
|
355
355
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
356
356
|
|
|
357
|
-
// bazel-out/
|
|
357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
358
358
|
function findExportedNameOfNode(target, file, reflector) {
|
|
359
359
|
const exports = reflector.getExportsOfModule(file);
|
|
360
360
|
if (exports === null) {
|
|
@@ -374,7 +374,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
374
374
|
return foundExportName;
|
|
375
375
|
}
|
|
376
376
|
|
|
377
|
-
// bazel-out/
|
|
377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
378
378
|
var ImportFlags;
|
|
379
379
|
(function(ImportFlags2) {
|
|
380
380
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -590,7 +590,7 @@ var UnifiedModulesStrategy = class {
|
|
|
590
590
|
}
|
|
591
591
|
};
|
|
592
592
|
|
|
593
|
-
// bazel-out/
|
|
593
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
594
594
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
595
595
|
var UnifiedModulesAliasingHost = class {
|
|
596
596
|
constructor(unifiedModulesHost) {
|
|
@@ -657,7 +657,7 @@ var AliasStrategy = class {
|
|
|
657
657
|
}
|
|
658
658
|
};
|
|
659
659
|
|
|
660
|
-
// bazel-out/
|
|
660
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
661
661
|
function relativePathBetween(from, to) {
|
|
662
662
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
663
663
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -666,7 +666,7 @@ function normalizeSeparators(path) {
|
|
|
666
666
|
return path.replace(/\\/g, "/");
|
|
667
667
|
}
|
|
668
668
|
|
|
669
|
-
// bazel-out/
|
|
669
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
670
670
|
var NoopImportRewriter = class {
|
|
671
671
|
shouldImportSymbol(symbol, specifier) {
|
|
672
672
|
return true;
|
|
@@ -724,7 +724,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
724
724
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
725
725
|
}
|
|
726
726
|
|
|
727
|
-
// bazel-out/
|
|
727
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
728
728
|
import ts4 from "typescript";
|
|
729
729
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
730
730
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -759,7 +759,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
759
759
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
760
760
|
}
|
|
761
761
|
|
|
762
|
-
// bazel-out/
|
|
762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
763
763
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
764
764
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
765
765
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -800,7 +800,7 @@ var DefaultImportTracker = class {
|
|
|
800
800
|
}
|
|
801
801
|
};
|
|
802
802
|
|
|
803
|
-
// bazel-out/
|
|
803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
804
804
|
var ModuleResolver = class {
|
|
805
805
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
806
806
|
this.program = program;
|
|
@@ -873,4 +873,4 @@ export {
|
|
|
873
873
|
* Use of this source code is governed by an MIT-style license that can be
|
|
874
874
|
* found in the LICENSE file at https://angular.io/license
|
|
875
875
|
*/
|
|
876
|
-
//# sourceMappingURL=chunk-
|
|
876
|
+
//# sourceMappingURL=chunk-B6WD2R2T.js.map
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
7
7
|
import { decode, encode } from "@jridgewell/sourcemap-codec";
|
|
8
8
|
import mapHelpers from "convert-source-map";
|
|
9
9
|
|
|
10
|
-
// bazel-out/
|
|
10
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
|
|
11
11
|
function compareSegments(a, b) {
|
|
12
12
|
return a.position - b.position;
|
|
13
13
|
}
|
|
@@ -27,7 +27,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
|
|
|
27
27
|
return { line, column, position, next: void 0 };
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
// bazel-out/
|
|
30
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
|
|
31
31
|
function removeSourceMapComments(contents) {
|
|
32
32
|
return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
|
|
33
33
|
}
|
|
@@ -278,10 +278,10 @@ var Cache = class {
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
// bazel-out/
|
|
281
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
282
282
|
import mapHelpers2 from "convert-source-map";
|
|
283
283
|
|
|
284
|
-
// bazel-out/
|
|
284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
|
|
285
285
|
var ContentOrigin;
|
|
286
286
|
(function(ContentOrigin2) {
|
|
287
287
|
ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
|
|
@@ -289,7 +289,7 @@ var ContentOrigin;
|
|
|
289
289
|
ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
|
|
290
290
|
})(ContentOrigin || (ContentOrigin = {}));
|
|
291
291
|
|
|
292
|
-
// bazel-out/
|
|
292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
|
|
293
293
|
var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
|
|
294
294
|
var SourceFileLoader = class {
|
|
295
295
|
constructor(fs, logger, schemeMap) {
|
|
@@ -416,4 +416,4 @@ export {
|
|
|
416
416
|
* Use of this source code is governed by an MIT-style license that can be
|
|
417
417
|
* found in the LICENSE file at https://angular.io/license
|
|
418
418
|
*/
|
|
419
|
-
//# sourceMappingURL=chunk-
|
|
419
|
+
//# sourceMappingURL=chunk-EKTJ7622.js.map
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UUUQF5ZZ.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
18
18
|
import ts2 from "typescript";
|
|
19
19
|
import yargs from "yargs";
|
|
20
20
|
|
|
21
|
-
// bazel-out/
|
|
21
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
|
|
22
22
|
import * as chokidar from "chokidar";
|
|
23
23
|
import * as path from "path";
|
|
24
24
|
import ts from "typescript";
|
|
@@ -234,7 +234,7 @@ function performWatchCompilation(host) {
|
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
238
238
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles, tsickle) {
|
|
239
239
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
240
240
|
if (configErrors.length) {
|
|
@@ -375,4 +375,4 @@ export {
|
|
|
375
375
|
* Use of this source code is governed by an MIT-style license that can be
|
|
376
376
|
* found in the LICENSE file at https://angular.io/license
|
|
377
377
|
*/
|
|
378
|
-
//# sourceMappingURL=chunk-
|
|
378
|
+
//# sourceMappingURL=chunk-HE7H76I4.js.map
|