@angular/compiler-cli 19.0.0-next.7 → 19.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-AOL33GUJ.js → chunk-2TSCCC7T.js} +31 -31
- package/bundles/{chunk-FMA7PJT3.js → chunk-3Z25BX6N.js} +7 -7
- package/bundles/{chunk-6YYOILZF.js → chunk-6JG6NFJ7.js} +141 -129
- package/bundles/chunk-6JG6NFJ7.js.map +6 -0
- package/bundles/{chunk-4SDD6AUK.js → chunk-IXNIFZCK.js} +103 -88
- package/bundles/{chunk-4SDD6AUK.js.map → chunk-IXNIFZCK.js.map} +1 -1
- package/bundles/{chunk-IF37SPTA.js → chunk-IXRL26J5.js} +44 -43
- package/bundles/chunk-IXRL26J5.js.map +6 -0
- package/bundles/{chunk-XMNIXGGD.js → chunk-KICABBHP.js} +3 -3
- package/bundles/{chunk-24RAQD7D.js → chunk-LG56S2LO.js} +5 -5
- package/bundles/{chunk-EWRID7KM.js → chunk-OY6IBSDB.js} +12 -12
- package/bundles/{chunk-EH5E5HQO.js → chunk-RT2QTF73.js} +3 -3
- package/bundles/{chunk-MTBZ3GX2.js → chunk-UJ2J6WV4.js} +8 -8
- package/bundles/{chunk-UQPYSPIX.js → chunk-XSNUHRLJ.js} +5 -5
- 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 +4 -4
- package/bundles/private/tooling.js +6 -6
- 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/ngtsc/annotations/component/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/directive/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/directive/src/shared.d.ts +1 -1
- package/src/ngtsc/annotations/src/pipe.d.ts +2 -1
- package/src/ngtsc/core/api/src/public_options.d.ts +4 -0
- package/src/ngtsc/diagnostics/src/error_code.d.ts +4 -0
- package/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.d.ts +6 -0
- package/bundles/chunk-6YYOILZF.js.map +0 -6
- package/bundles/chunk-IF37SPTA.js.map +0 -6
- /package/bundles/{chunk-AOL33GUJ.js.map → chunk-2TSCCC7T.js.map} +0 -0
- /package/bundles/{chunk-FMA7PJT3.js.map → chunk-3Z25BX6N.js.map} +0 -0
- /package/bundles/{chunk-XMNIXGGD.js.map → chunk-KICABBHP.js.map} +0 -0
- /package/bundles/{chunk-24RAQD7D.js.map → chunk-LG56S2LO.js.map} +0 -0
- /package/bundles/{chunk-EWRID7KM.js.map → chunk-OY6IBSDB.js.map} +0 -0
- /package/bundles/{chunk-EH5E5HQO.js.map → chunk-RT2QTF73.js.map} +0 -0
- /package/bundles/{chunk-MTBZ3GX2.js.map → chunk-UJ2J6WV4.js.map} +0 -0
- /package/bundles/{chunk-UQPYSPIX.js.map → chunk-XSNUHRLJ.js.map} +0 -0
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IXRL26J5.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFileLoader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3Z25BX6N.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) {
|
|
@@ -162,10 +162,10 @@ var AstValue = class {
|
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
|
|
165
|
-
// bazel-out/
|
|
165
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
166
166
|
import { ConstantPool } from "@angular/compiler";
|
|
167
167
|
|
|
168
|
-
// bazel-out/
|
|
168
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
169
169
|
var LinkerImportGenerator = class {
|
|
170
170
|
constructor(factory, ngImport) {
|
|
171
171
|
this.factory = factory;
|
|
@@ -185,7 +185,7 @@ var LinkerImportGenerator = class {
|
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
189
189
|
var EmitScope = class {
|
|
190
190
|
constructor(ngImport, translator, factory) {
|
|
191
191
|
this.ngImport = ngImport;
|
|
@@ -214,7 +214,7 @@ var EmitScope = class {
|
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
216
|
|
|
217
|
-
// bazel-out/
|
|
217
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
218
218
|
var LocalEmitScope = class extends EmitScope {
|
|
219
219
|
translateDefinition(definition) {
|
|
220
220
|
return super.translateDefinition({
|
|
@@ -227,10 +227,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
|
|
230
|
-
// bazel-out/
|
|
230
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
231
231
|
import semver2 from "semver";
|
|
232
232
|
|
|
233
|
-
// bazel-out/
|
|
233
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
234
234
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
235
235
|
if (loader === null) {
|
|
236
236
|
return () => null;
|
|
@@ -245,7 +245,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
// bazel-out/
|
|
248
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_async_linker_1.mjs
|
|
249
249
|
import { compileOpaqueAsyncClassMetadata } from "@angular/compiler";
|
|
250
250
|
var PartialClassMetadataAsyncLinkerVersion1 = class {
|
|
251
251
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -270,7 +270,7 @@ var PartialClassMetadataAsyncLinkerVersion1 = class {
|
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
|
|
273
|
-
// bazel-out/
|
|
273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
274
274
|
import { compileClassMetadata } from "@angular/compiler";
|
|
275
275
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
276
276
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -290,16 +290,16 @@ function toR3ClassMetadata(metaObj) {
|
|
|
290
290
|
};
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
// bazel-out/
|
|
293
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
294
294
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher, ViewEncapsulation } from "@angular/compiler";
|
|
295
295
|
import semver from "semver";
|
|
296
296
|
|
|
297
|
-
// bazel-out/
|
|
297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
298
298
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
299
299
|
|
|
300
|
-
// bazel-out/
|
|
300
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
301
301
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
302
|
-
var PLACEHOLDER_VERSION = "19.0.0-next.
|
|
302
|
+
var PLACEHOLDER_VERSION = "19.0.0-next.8";
|
|
303
303
|
function wrapReference(wrapped) {
|
|
304
304
|
return { value: wrapped, type: wrapped };
|
|
305
305
|
}
|
|
@@ -346,7 +346,7 @@ function extractForwardRef(expr) {
|
|
|
346
346
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
-
// bazel-out/
|
|
349
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
350
350
|
var PartialDirectiveLinkerVersion1 = class {
|
|
351
351
|
constructor(sourceUrl, code) {
|
|
352
352
|
this.sourceUrl = sourceUrl;
|
|
@@ -493,7 +493,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
493
493
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
494
494
|
}
|
|
495
495
|
|
|
496
|
-
// bazel-out/
|
|
496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
497
497
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
498
498
|
return {
|
|
499
499
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -708,7 +708,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
708
708
|
return enumValue;
|
|
709
709
|
}
|
|
710
710
|
|
|
711
|
-
// bazel-out/
|
|
711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
712
712
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
713
713
|
var PartialFactoryLinkerVersion1 = class {
|
|
714
714
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -744,7 +744,7 @@ function getDependencies(metaObj, propName) {
|
|
|
744
744
|
return null;
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
-
// bazel-out/
|
|
747
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
748
748
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
749
749
|
var PartialInjectableLinkerVersion1 = class {
|
|
750
750
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -782,7 +782,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
782
782
|
return meta;
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
-
// bazel-out/
|
|
785
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
786
786
|
import { compileInjector } from "@angular/compiler";
|
|
787
787
|
var PartialInjectorLinkerVersion1 = class {
|
|
788
788
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -804,7 +804,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
804
804
|
};
|
|
805
805
|
}
|
|
806
806
|
|
|
807
|
-
// bazel-out/
|
|
807
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
808
808
|
import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
|
|
809
809
|
var PartialNgModuleLinkerVersion1 = class {
|
|
810
810
|
constructor(emitInline) {
|
|
@@ -876,7 +876,7 @@ function wrapReferences(values) {
|
|
|
876
876
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
877
877
|
}
|
|
878
878
|
|
|
879
|
-
// bazel-out/
|
|
879
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
880
880
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
881
881
|
var PartialPipeLinkerVersion1 = class {
|
|
882
882
|
constructor() {
|
|
@@ -905,7 +905,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
905
905
|
};
|
|
906
906
|
}
|
|
907
907
|
|
|
908
|
-
// bazel-out/
|
|
908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
909
909
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
910
910
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
911
911
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -1007,7 +1007,7 @@ function getRange(comparator, versionStr) {
|
|
|
1007
1007
|
return new semver2.Range(`${comparator}${version.format()}`);
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
-
// bazel-out/
|
|
1010
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
1011
1011
|
var FileLinker = class {
|
|
1012
1012
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
1013
1013
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -1050,14 +1050,14 @@ var FileLinker = class {
|
|
|
1050
1050
|
}
|
|
1051
1051
|
};
|
|
1052
1052
|
|
|
1053
|
-
// bazel-out/
|
|
1053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
1054
1054
|
var DEFAULT_LINKER_OPTIONS = {
|
|
1055
1055
|
sourceMapping: true,
|
|
1056
1056
|
linkerJitMode: false,
|
|
1057
1057
|
unknownDeclarationVersionHandling: "error"
|
|
1058
1058
|
};
|
|
1059
1059
|
|
|
1060
|
-
// bazel-out/
|
|
1060
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
1061
1061
|
var Translator = class {
|
|
1062
1062
|
constructor(factory) {
|
|
1063
1063
|
this.factory = factory;
|
|
@@ -1070,7 +1070,7 @@ var Translator = class {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
};
|
|
1072
1072
|
|
|
1073
|
-
// bazel-out/
|
|
1073
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
1074
1074
|
var LinkerEnvironment = class {
|
|
1075
1075
|
constructor(fileSystem, logger, host, factory, options) {
|
|
1076
1076
|
this.fileSystem = fileSystem;
|
|
@@ -1091,7 +1091,7 @@ var LinkerEnvironment = class {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
};
|
|
1093
1093
|
|
|
1094
|
-
// bazel-out/
|
|
1094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1095
1095
|
function needsLinking(path, source) {
|
|
1096
1096
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1097
1097
|
}
|
|
@@ -1112,4 +1112,4 @@ export {
|
|
|
1112
1112
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1113
1113
|
* found in the LICENSE file at https://angular.dev/license
|
|
1114
1114
|
*/
|
|
1115
|
-
//# sourceMappingURL=chunk-
|
|
1115
|
+
//# sourceMappingURL=chunk-2TSCCC7T.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) {
|
|
@@ -419,4 +419,4 @@ export {
|
|
|
419
419
|
* Use of this source code is governed by an MIT-style license that can be
|
|
420
420
|
* found in the LICENSE file at https://angular.dev/license
|
|
421
421
|
*/
|
|
422
|
-
//# sourceMappingURL=chunk-
|
|
422
|
+
//# sourceMappingURL=chunk-3Z25BX6N.js.map
|