@angular/compiler-cli 17.0.0-next.7 → 17.0.0-next.8
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-PBDWVP2J.js → chunk-35SQ73FP.js} +687 -548
- package/bundles/chunk-35SQ73FP.js.map +6 -0
- package/bundles/{chunk-3NXCUQ44.js → chunk-5WC7IWWT.js} +8 -8
- package/bundles/{chunk-HJOPJLIM.js → chunk-BV3ZUD7T.js} +9 -8
- package/bundles/chunk-BV3ZUD7T.js.map +6 -0
- package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-PYIYPY3X.js → chunk-EQ7Q3KIO.js} +30 -30
- package/bundles/{chunk-W3AMRN7J.js → chunk-JPBJE7OS.js} +5 -5
- package/bundles/{chunk-UHYH6BYB.js → chunk-JZC4T2RR.js} +1 -1
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-C4TR4DIO.js → chunk-NNS2FLUN.js} +4 -4
- package/bundles/{chunk-PAPUMJUA.js → chunk-NVNYQX3M.js} +29 -27
- package/bundles/{chunk-PAPUMJUA.js.map → chunk-NVNYQX3M.js.map} +1 -1
- package/bundles/{chunk-CSOLWS7O.js → chunk-PCMLSPQF.js} +7 -7
- package/bundles/{chunk-I3FLXBLP.js → chunk-XXCMYI3O.js} +182 -147
- package/bundles/chunk-XXCMYI3O.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/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/annotations/common/index.d.ts +1 -0
- package/src/ngtsc/annotations/common/src/debug_info.d.ts +10 -0
- package/src/ngtsc/annotations/common/src/util.d.ts +1 -1
- package/src/ngtsc/annotations/component/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/component/src/metadata.d.ts +2 -1
- package/src/ngtsc/core/api/src/public_options.d.ts +8 -0
- package/src/ngtsc/diagnostics/src/error_code.d.ts +9 -0
- package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +2 -1
- package/src/ngtsc/docs/src/entities.d.ts +5 -0
- package/src/ngtsc/docs/src/extractor.d.ts +4 -0
- package/src/ngtsc/docs/src/filters.d.ts +9 -0
- package/src/ngtsc/docs/src/function_extractor.d.ts +3 -0
- package/src/ngtsc/docs/src/type_alias_extractor.d.ts +18 -0
- package/src/ngtsc/perf/src/api.d.ts +7 -3
- package/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.d.ts +10 -0
- package/bundles/chunk-HJOPJLIM.js.map +0 -6
- package/bundles/chunk-I3FLXBLP.js.map +0 -6
- package/bundles/chunk-PBDWVP2J.js.map +0 -6
- /package/bundles/{chunk-3NXCUQ44.js.map → chunk-5WC7IWWT.js.map} +0 -0
- /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-PYIYPY3X.js.map → chunk-EQ7Q3KIO.js.map} +0 -0
- /package/bundles/{chunk-W3AMRN7J.js.map → chunk-JPBJE7OS.js.map} +0 -0
- /package/bundles/{chunk-UHYH6BYB.js.map → chunk-JZC4T2RR.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-C4TR4DIO.js.map → chunk-NNS2FLUN.js.map} +0 -0
- /package/bundles/{chunk-CSOLWS7O.js.map → chunk-PCMLSPQF.js.map} +0 -0
|
@@ -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
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5WC7IWWT.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 semver2 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,16 +258,16 @@ 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, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher, ViewEncapsulation } from "@angular/compiler";
|
|
263
263
|
import semver from "semver";
|
|
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
|
-
var PLACEHOLDER_VERSION = "17.0.0-next.
|
|
270
|
+
var PLACEHOLDER_VERSION = "17.0.0-next.8";
|
|
271
271
|
function wrapReference(wrapped) {
|
|
272
272
|
return { value: wrapped, type: wrapped };
|
|
273
273
|
}
|
|
@@ -314,7 +314,7 @@ function extractForwardRef(expr) {
|
|
|
314
314
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
// bazel-out/
|
|
317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
318
318
|
var PartialDirectiveLinkerVersion1 = class {
|
|
319
319
|
constructor(sourceUrl, code) {
|
|
320
320
|
this.sourceUrl = sourceUrl;
|
|
@@ -444,7 +444,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
444
444
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
// bazel-out/
|
|
447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
448
448
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
449
449
|
return {
|
|
450
450
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -660,7 +660,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
660
660
|
return enumValue;
|
|
661
661
|
}
|
|
662
662
|
|
|
663
|
-
// bazel-out/
|
|
663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
664
664
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
665
665
|
var PartialFactoryLinkerVersion1 = class {
|
|
666
666
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -696,7 +696,7 @@ function getDependencies(metaObj, propName) {
|
|
|
696
696
|
return null;
|
|
697
697
|
}
|
|
698
698
|
|
|
699
|
-
// bazel-out/
|
|
699
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
700
700
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
701
701
|
var PartialInjectableLinkerVersion1 = class {
|
|
702
702
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -734,7 +734,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
734
734
|
return meta;
|
|
735
735
|
}
|
|
736
736
|
|
|
737
|
-
// bazel-out/
|
|
737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
738
738
|
import { compileInjector } from "@angular/compiler";
|
|
739
739
|
var PartialInjectorLinkerVersion1 = class {
|
|
740
740
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -756,7 +756,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
756
756
|
};
|
|
757
757
|
}
|
|
758
758
|
|
|
759
|
-
// bazel-out/
|
|
759
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
760
760
|
import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
|
|
761
761
|
var PartialNgModuleLinkerVersion1 = class {
|
|
762
762
|
constructor(emitInline) {
|
|
@@ -828,7 +828,7 @@ function wrapReferences(values) {
|
|
|
828
828
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
829
829
|
}
|
|
830
830
|
|
|
831
|
-
// bazel-out/
|
|
831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
832
832
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
833
833
|
var PartialPipeLinkerVersion1 = class {
|
|
834
834
|
constructor() {
|
|
@@ -857,7 +857,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
857
857
|
};
|
|
858
858
|
}
|
|
859
859
|
|
|
860
|
-
// bazel-out/
|
|
860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
861
861
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
862
862
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
863
863
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -951,7 +951,7 @@ function getRange(comparator, versionStr) {
|
|
|
951
951
|
return new semver2.Range(`${comparator}${version.format()}`);
|
|
952
952
|
}
|
|
953
953
|
|
|
954
|
-
// bazel-out/
|
|
954
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
955
955
|
var FileLinker = class {
|
|
956
956
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
957
957
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -994,14 +994,14 @@ var FileLinker = class {
|
|
|
994
994
|
}
|
|
995
995
|
};
|
|
996
996
|
|
|
997
|
-
// bazel-out/
|
|
997
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
998
998
|
var DEFAULT_LINKER_OPTIONS = {
|
|
999
999
|
sourceMapping: true,
|
|
1000
1000
|
linkerJitMode: false,
|
|
1001
1001
|
unknownDeclarationVersionHandling: "error"
|
|
1002
1002
|
};
|
|
1003
1003
|
|
|
1004
|
-
// bazel-out/
|
|
1004
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
1005
1005
|
var Translator = class {
|
|
1006
1006
|
constructor(factory) {
|
|
1007
1007
|
this.factory = factory;
|
|
@@ -1014,7 +1014,7 @@ var Translator = class {
|
|
|
1014
1014
|
}
|
|
1015
1015
|
};
|
|
1016
1016
|
|
|
1017
|
-
// bazel-out/
|
|
1017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
1018
1018
|
var LinkerEnvironment = class {
|
|
1019
1019
|
constructor(fileSystem, logger, host, factory, options) {
|
|
1020
1020
|
this.fileSystem = fileSystem;
|
|
@@ -1035,7 +1035,7 @@ var LinkerEnvironment = class {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
};
|
|
1037
1037
|
|
|
1038
|
-
// bazel-out/
|
|
1038
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1039
1039
|
function needsLinking(path, source) {
|
|
1040
1040
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1041
1041
|
}
|
|
@@ -1056,4 +1056,4 @@ export {
|
|
|
1056
1056
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1057
1057
|
* found in the LICENSE file at https://angular.io/license
|
|
1058
1058
|
*/
|
|
1059
|
-
//# sourceMappingURL=chunk-
|
|
1059
|
+
//# sourceMappingURL=chunk-EQ7Q3KIO.js.map
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-35SQ73FP.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) {
|
|
239
239
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
240
240
|
if (configErrors.length) {
|
|
@@ -342,4 +342,4 @@ export {
|
|
|
342
342
|
* Use of this source code is governed by an MIT-style license that can be
|
|
343
343
|
* found in the LICENSE file at https://angular.io/license
|
|
344
344
|
*/
|
|
345
|
-
//# sourceMappingURL=chunk-
|
|
345
|
+
//# sourceMappingURL=chunk-JPBJE7OS.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/logging/src/logger.mjs
|
|
7
7
|
var LogLevel;
|
|
8
8
|
(function(LogLevel2) {
|
|
9
9
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -12,7 +12,7 @@ var LogLevel;
|
|
|
12
12
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
13
13
|
})(LogLevel || (LogLevel = {}));
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
16
16
|
var RESET = "\x1B[0m";
|
|
17
17
|
var RED = "\x1B[31m";
|
|
18
18
|
var YELLOW = "\x1B[33m";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
* Use of this source code is governed by an MIT-style license that can be
|
|
54
54
|
* found in the LICENSE file at https://angular.io/license
|
|
55
55
|
*/
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-LYJKWJUC.js.map
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
TypeScriptReflectionHost,
|
|
7
7
|
isAliasImportDeclaration,
|
|
8
8
|
loadIsReferencedAliasDeclarationPatch
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NVNYQX3M.js";
|
|
10
10
|
|
|
11
|
-
// bazel-out/
|
|
11
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
|
|
12
12
|
import ts from "typescript";
|
|
13
13
|
function isAngularDecorator(decorator, isCore) {
|
|
14
14
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
@@ -311,7 +311,7 @@ function cloneClassElementWithModifiers(node, modifiers) {
|
|
|
311
311
|
return ts.setOriginalNode(clone, node);
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
// bazel-out/
|
|
314
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
315
315
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
316
316
|
ngDevMode: false,
|
|
317
317
|
ngI18nClosureMode: false
|
|
@@ -344,4 +344,4 @@ export {
|
|
|
344
344
|
* Use of this source code is governed by an MIT-style license that can be
|
|
345
345
|
* found in the LICENSE file at https://angular.io/license
|
|
346
346
|
*/
|
|
347
|
-
//# sourceMappingURL=chunk-
|
|
347
|
+
//# sourceMappingURL=chunk-NNS2FLUN.js.map
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PCMLSPQF.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
18
18
|
import ts4 from "typescript";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
21
21
|
import ts from "typescript";
|
|
22
22
|
function isDecoratorIdentifier(exp) {
|
|
23
23
|
return ts.isIdentifier(exp) || ts.isPropertyAccessExpression(exp) && ts.isIdentifier(exp.expression) && ts.isIdentifier(exp.name);
|
|
@@ -31,7 +31,7 @@ var ClassMemberKind;
|
|
|
31
31
|
ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
|
|
32
32
|
})(ClassMemberKind || (ClassMemberKind = {}));
|
|
33
33
|
|
|
34
|
-
// bazel-out/
|
|
34
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
35
35
|
import ts2 from "typescript";
|
|
36
36
|
function typeToValue(typeNode, checker) {
|
|
37
37
|
if (typeNode === null) {
|
|
@@ -197,7 +197,7 @@ function extractModuleName(node) {
|
|
|
197
197
|
return node.moduleSpecifier.text;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
// bazel-out/
|
|
200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
201
201
|
import ts3 from "typescript";
|
|
202
202
|
function isNamedClassDeclaration(node) {
|
|
203
203
|
return ts3.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -206,7 +206,7 @@ function isIdentifier(node) {
|
|
|
206
206
|
return node !== void 0 && ts3.isIdentifier(node);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
210
210
|
var TypeScriptReflectionHost = class {
|
|
211
211
|
constructor(checker) {
|
|
212
212
|
this.checker = checker;
|
|
@@ -640,7 +640,7 @@ function getExportedName(decl, originalId) {
|
|
|
640
640
|
}
|
|
641
641
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
642
642
|
|
|
643
|
-
// bazel-out/
|
|
643
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
644
644
|
import ts5 from "typescript";
|
|
645
645
|
var TS = /\.tsx?$/i;
|
|
646
646
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -741,7 +741,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
741
741
|
return redirectInfo.unredirected;
|
|
742
742
|
}
|
|
743
743
|
|
|
744
|
-
// bazel-out/
|
|
744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
745
745
|
var Reference = class {
|
|
746
746
|
constructor(node, bestGuessOwningModule = null) {
|
|
747
747
|
this.node = node;
|
|
@@ -804,14 +804,14 @@ var Reference = class {
|
|
|
804
804
|
}
|
|
805
805
|
};
|
|
806
806
|
|
|
807
|
-
// bazel-out/
|
|
807
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
808
808
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
809
809
|
|
|
810
|
-
// bazel-out/
|
|
810
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
811
811
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
812
812
|
import ts7 from "typescript";
|
|
813
813
|
|
|
814
|
-
// bazel-out/
|
|
814
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
815
815
|
var ErrorCode;
|
|
816
816
|
(function(ErrorCode2) {
|
|
817
817
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -880,6 +880,7 @@ var ErrorCode;
|
|
|
880
880
|
ErrorCode2[ErrorCode2["SUFFIX_NOT_SUPPORTED"] = 8106] = "SUFFIX_NOT_SUPPORTED";
|
|
881
881
|
ErrorCode2[ErrorCode2["OPTIONAL_CHAIN_NOT_NULLABLE"] = 8107] = "OPTIONAL_CHAIN_NOT_NULLABLE";
|
|
882
882
|
ErrorCode2[ErrorCode2["SKIP_HYDRATION_NOT_STATIC"] = 8108] = "SKIP_HYDRATION_NOT_STATIC";
|
|
883
|
+
ErrorCode2[ErrorCode2["INTERPOLATED_SIGNAL_NOT_INVOKED"] = 8109] = "INTERPOLATED_SIGNAL_NOT_INVOKED";
|
|
883
884
|
ErrorCode2[ErrorCode2["INLINE_TCB_REQUIRED"] = 8900] = "INLINE_TCB_REQUIRED";
|
|
884
885
|
ErrorCode2[ErrorCode2["INLINE_TYPE_CTOR_REQUIRED"] = 8901] = "INLINE_TYPE_CTOR_REQUIRED";
|
|
885
886
|
ErrorCode2[ErrorCode2["INJECTABLE_DUPLICATE_PROV"] = 9001] = "INJECTABLE_DUPLICATE_PROV";
|
|
@@ -889,7 +890,7 @@ var ErrorCode;
|
|
|
889
890
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_STYLES_STRING"] = 11002] = "LOCAL_COMPILATION_IMPORTED_STYLES_STRING";
|
|
890
891
|
})(ErrorCode || (ErrorCode = {}));
|
|
891
892
|
|
|
892
|
-
// bazel-out/
|
|
893
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
893
894
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
894
895
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
895
896
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -901,10 +902,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
901
902
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
902
903
|
]);
|
|
903
904
|
|
|
904
|
-
// bazel-out/
|
|
905
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
905
906
|
import ts6 from "typescript";
|
|
906
907
|
|
|
907
|
-
// bazel-out/
|
|
908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
908
909
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
909
910
|
function replaceTsWithNgInErrors(errors) {
|
|
910
911
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -913,7 +914,7 @@ function ngErrorCode(code) {
|
|
|
913
914
|
return parseInt("-99" + code);
|
|
914
915
|
}
|
|
915
916
|
|
|
916
|
-
// bazel-out/
|
|
917
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
917
918
|
var FatalDiagnosticError = class {
|
|
918
919
|
constructor(code, node, message, relatedInformation) {
|
|
919
920
|
this.code = code;
|
|
@@ -969,10 +970,10 @@ function addDiagnosticChain(messageText, add) {
|
|
|
969
970
|
return messageText;
|
|
970
971
|
}
|
|
971
972
|
|
|
972
|
-
// bazel-out/
|
|
973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
973
974
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
974
975
|
|
|
975
|
-
// bazel-out/
|
|
976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
976
977
|
var ExtendedTemplateDiagnosticName;
|
|
977
978
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
978
979
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -983,9 +984,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
983
984
|
ExtendedTemplateDiagnosticName2["MISSING_NGFOROF_LET"] = "missingNgForOfLet";
|
|
984
985
|
ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
|
|
985
986
|
ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
|
|
987
|
+
ExtendedTemplateDiagnosticName2["INTERPOLATED_SIGNAL_NOT_INVOKED"] = "interpolatedSignalNotInvoked";
|
|
986
988
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
987
989
|
|
|
988
|
-
// bazel-out/
|
|
990
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
989
991
|
function findExportedNameOfNode(target, file, reflector) {
|
|
990
992
|
const exports = reflector.getExportsOfModule(file);
|
|
991
993
|
if (exports === null) {
|
|
@@ -1005,7 +1007,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1005
1007
|
return foundExportName;
|
|
1006
1008
|
}
|
|
1007
1009
|
|
|
1008
|
-
// bazel-out/
|
|
1010
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1009
1011
|
var ImportFlags;
|
|
1010
1012
|
(function(ImportFlags2) {
|
|
1011
1013
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1221,7 +1223,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1221
1223
|
}
|
|
1222
1224
|
};
|
|
1223
1225
|
|
|
1224
|
-
// bazel-out/
|
|
1226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1225
1227
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1226
1228
|
var UnifiedModulesAliasingHost = class {
|
|
1227
1229
|
constructor(unifiedModulesHost) {
|
|
@@ -1288,7 +1290,7 @@ var AliasStrategy = class {
|
|
|
1288
1290
|
}
|
|
1289
1291
|
};
|
|
1290
1292
|
|
|
1291
|
-
// bazel-out/
|
|
1293
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1292
1294
|
function relativePathBetween(from, to) {
|
|
1293
1295
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1294
1296
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1297,7 +1299,7 @@ function normalizeSeparators(path) {
|
|
|
1297
1299
|
return path.replace(/\\/g, "/");
|
|
1298
1300
|
}
|
|
1299
1301
|
|
|
1300
|
-
// bazel-out/
|
|
1302
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1301
1303
|
var NoopImportRewriter = class {
|
|
1302
1304
|
shouldImportSymbol(symbol, specifier) {
|
|
1303
1305
|
return true;
|
|
@@ -1356,7 +1358,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1356
1358
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1357
1359
|
}
|
|
1358
1360
|
|
|
1359
|
-
// bazel-out/
|
|
1361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1360
1362
|
import ts8 from "typescript";
|
|
1361
1363
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1362
1364
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1391,7 +1393,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1391
1393
|
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.");
|
|
1392
1394
|
}
|
|
1393
1395
|
|
|
1394
|
-
// bazel-out/
|
|
1396
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1395
1397
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1396
1398
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1397
1399
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1432,7 +1434,7 @@ var DefaultImportTracker = class {
|
|
|
1432
1434
|
}
|
|
1433
1435
|
};
|
|
1434
1436
|
|
|
1435
|
-
// bazel-out/
|
|
1437
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1436
1438
|
import ts9 from "typescript";
|
|
1437
1439
|
var AssumeEager = "AssumeEager";
|
|
1438
1440
|
var DeferredSymbolTracker = class {
|
|
@@ -1525,7 +1527,7 @@ var DeferredSymbolTracker = class {
|
|
|
1525
1527
|
}
|
|
1526
1528
|
};
|
|
1527
1529
|
|
|
1528
|
-
// bazel-out/
|
|
1530
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1529
1531
|
var ModuleResolver = class {
|
|
1530
1532
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1531
1533
|
this.program = program;
|
|
@@ -1606,4 +1608,4 @@ export {
|
|
|
1606
1608
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1607
1609
|
* found in the LICENSE file at https://angular.io/license
|
|
1608
1610
|
*/
|
|
1609
|
-
//# sourceMappingURL=chunk-
|
|
1611
|
+
//# sourceMappingURL=chunk-NVNYQX3M.js.map
|