@angular/compiler-cli 17.1.0 → 17.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-P34DHQ65.js → chunk-24NMPW5I.js} +30 -30
- package/bundles/{chunk-WMUBJYYX.js → chunk-2WQIUGOU.js} +7 -7
- package/bundles/{chunk-YFIBJR5K.js → chunk-5YHUYFQ5.js} +141 -132
- package/bundles/chunk-5YHUYFQ5.js.map +6 -0
- package/bundles/{chunk-JOIB3454.js → chunk-64JBPJBS.js} +5 -5
- package/bundles/{chunk-TGR3NXO6.js → chunk-6VEEN3ZS.js} +5 -5
- package/bundles/{chunk-I3M5LXMW.js → chunk-DUY2FPLZ.js} +7 -7
- package/bundles/{chunk-GM44CTB7.js → chunk-GKQNBAG5.js} +74 -74
- package/bundles/{chunk-CF2CT7RQ.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-5KZ4IU2X.js → chunk-MIB7EGOT.js} +5 -5
- package/bundles/{chunk-3WRR7A6G.js → chunk-TFBB265K.js} +36 -36
- package/bundles/{chunk-MLI2QFE3.js → chunk-TKJ4KX5N.js} +6 -6
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/bin/ng_xi18n.d.ts +1 -1
- package/src/bin/ngc.d.ts +1 -1
- package/src/ngtsc/typecheck/src/comments.d.ts +2 -1
- package/bundles/chunk-YFIBJR5K.js.map +0 -6
- /package/bundles/{chunk-P34DHQ65.js.map → chunk-24NMPW5I.js.map} +0 -0
- /package/bundles/{chunk-WMUBJYYX.js.map → chunk-2WQIUGOU.js.map} +0 -0
- /package/bundles/{chunk-JOIB3454.js.map → chunk-64JBPJBS.js.map} +0 -0
- /package/bundles/{chunk-TGR3NXO6.js.map → chunk-6VEEN3ZS.js.map} +0 -0
- /package/bundles/{chunk-I3M5LXMW.js.map → chunk-DUY2FPLZ.js.map} +0 -0
- /package/bundles/{chunk-GM44CTB7.js.map → chunk-GKQNBAG5.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-5KZ4IU2X.js.map → chunk-MIB7EGOT.js.map} +0 -0
- /package/bundles/{chunk-3WRR7A6G.js.map → chunk-TFBB265K.js.map} +0 -0
- /package/bundles/{chunk-MLI2QFE3.js.map → chunk-TKJ4KX5N.js.map} +0 -0
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TFBB265K.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFileLoader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2WQIUGOU.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) {
|
|
@@ -159,10 +159,10 @@ var AstValue = class {
|
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
161
|
|
|
162
|
-
// bazel-out/
|
|
162
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
163
163
|
import { ConstantPool } from "@angular/compiler";
|
|
164
164
|
|
|
165
|
-
// bazel-out/
|
|
165
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
166
166
|
var LinkerImportGenerator = class {
|
|
167
167
|
constructor(ngImport) {
|
|
168
168
|
this.ngImport = ngImport;
|
|
@@ -182,7 +182,7 @@ var LinkerImportGenerator = class {
|
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
// bazel-out/
|
|
185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
186
186
|
var EmitScope = class {
|
|
187
187
|
constructor(ngImport, translator, factory) {
|
|
188
188
|
this.ngImport = ngImport;
|
|
@@ -211,7 +211,7 @@ var EmitScope = class {
|
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
-
// bazel-out/
|
|
214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
215
215
|
var LocalEmitScope = class extends EmitScope {
|
|
216
216
|
translateDefinition(definition) {
|
|
217
217
|
return super.translateDefinition({
|
|
@@ -224,10 +224,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
224
224
|
}
|
|
225
225
|
};
|
|
226
226
|
|
|
227
|
-
// bazel-out/
|
|
227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
228
228
|
import semver2 from "semver";
|
|
229
229
|
|
|
230
|
-
// bazel-out/
|
|
230
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
231
231
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
232
232
|
if (loader === null) {
|
|
233
233
|
return () => null;
|
|
@@ -242,7 +242,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
// bazel-out/
|
|
245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
246
246
|
import { compileClassMetadata } from "@angular/compiler";
|
|
247
247
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
248
248
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -262,16 +262,16 @@ function toR3ClassMetadata(metaObj) {
|
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
// bazel-out/
|
|
265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
266
266
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher, ViewEncapsulation } from "@angular/compiler";
|
|
267
267
|
import semver from "semver";
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
270
270
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
271
271
|
|
|
272
|
-
// bazel-out/
|
|
272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
273
273
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
274
|
-
var PLACEHOLDER_VERSION = "17.1.
|
|
274
|
+
var PLACEHOLDER_VERSION = "17.1.2";
|
|
275
275
|
function wrapReference(wrapped) {
|
|
276
276
|
return { value: wrapped, type: wrapped };
|
|
277
277
|
}
|
|
@@ -318,7 +318,7 @@ function extractForwardRef(expr) {
|
|
|
318
318
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
// bazel-out/
|
|
321
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
322
322
|
var PartialDirectiveLinkerVersion1 = class {
|
|
323
323
|
constructor(sourceUrl, code) {
|
|
324
324
|
this.sourceUrl = sourceUrl;
|
|
@@ -464,7 +464,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
464
464
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
-
// bazel-out/
|
|
467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
468
468
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
469
469
|
return {
|
|
470
470
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -682,7 +682,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
682
682
|
return enumValue;
|
|
683
683
|
}
|
|
684
684
|
|
|
685
|
-
// bazel-out/
|
|
685
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
686
686
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
687
687
|
var PartialFactoryLinkerVersion1 = class {
|
|
688
688
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -718,7 +718,7 @@ function getDependencies(metaObj, propName) {
|
|
|
718
718
|
return null;
|
|
719
719
|
}
|
|
720
720
|
|
|
721
|
-
// bazel-out/
|
|
721
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
722
722
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
723
723
|
var PartialInjectableLinkerVersion1 = class {
|
|
724
724
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -756,7 +756,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
756
756
|
return meta;
|
|
757
757
|
}
|
|
758
758
|
|
|
759
|
-
// bazel-out/
|
|
759
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
760
760
|
import { compileInjector } from "@angular/compiler";
|
|
761
761
|
var PartialInjectorLinkerVersion1 = class {
|
|
762
762
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -778,7 +778,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
778
778
|
};
|
|
779
779
|
}
|
|
780
780
|
|
|
781
|
-
// bazel-out/
|
|
781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
782
782
|
import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
|
|
783
783
|
var PartialNgModuleLinkerVersion1 = class {
|
|
784
784
|
constructor(emitInline) {
|
|
@@ -850,7 +850,7 @@ function wrapReferences(values) {
|
|
|
850
850
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
851
851
|
}
|
|
852
852
|
|
|
853
|
-
// bazel-out/
|
|
853
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
854
854
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
855
855
|
var PartialPipeLinkerVersion1 = class {
|
|
856
856
|
constructor() {
|
|
@@ -879,7 +879,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
879
879
|
};
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
-
// bazel-out/
|
|
882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
883
883
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
884
884
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
885
885
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -973,7 +973,7 @@ function getRange(comparator, versionStr) {
|
|
|
973
973
|
return new semver2.Range(`${comparator}${version.format()}`);
|
|
974
974
|
}
|
|
975
975
|
|
|
976
|
-
// bazel-out/
|
|
976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
977
977
|
var FileLinker = class {
|
|
978
978
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
979
979
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -1016,14 +1016,14 @@ var FileLinker = class {
|
|
|
1016
1016
|
}
|
|
1017
1017
|
};
|
|
1018
1018
|
|
|
1019
|
-
// bazel-out/
|
|
1019
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
1020
1020
|
var DEFAULT_LINKER_OPTIONS = {
|
|
1021
1021
|
sourceMapping: true,
|
|
1022
1022
|
linkerJitMode: false,
|
|
1023
1023
|
unknownDeclarationVersionHandling: "error"
|
|
1024
1024
|
};
|
|
1025
1025
|
|
|
1026
|
-
// bazel-out/
|
|
1026
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
1027
1027
|
var Translator = class {
|
|
1028
1028
|
constructor(factory) {
|
|
1029
1029
|
this.factory = factory;
|
|
@@ -1036,7 +1036,7 @@ var Translator = class {
|
|
|
1036
1036
|
}
|
|
1037
1037
|
};
|
|
1038
1038
|
|
|
1039
|
-
// bazel-out/
|
|
1039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
1040
1040
|
var LinkerEnvironment = class {
|
|
1041
1041
|
constructor(fileSystem, logger, host, factory, options) {
|
|
1042
1042
|
this.fileSystem = fileSystem;
|
|
@@ -1057,7 +1057,7 @@ var LinkerEnvironment = class {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
};
|
|
1059
1059
|
|
|
1060
|
-
// bazel-out/
|
|
1060
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1061
1061
|
function needsLinking(path, source) {
|
|
1062
1062
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1063
1063
|
}
|
|
@@ -1078,4 +1078,4 @@ export {
|
|
|
1078
1078
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1079
1079
|
* found in the LICENSE file at https://angular.io/license
|
|
1080
1080
|
*/
|
|
1081
|
-
//# sourceMappingURL=chunk-
|
|
1081
|
+
//# sourceMappingURL=chunk-24NMPW5I.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-2WQIUGOU.js.map
|