@angular-eslint/bundled-angular-compiler 19.0.1-alpha.2 → 19.0.1-alpha.3
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/dist/index.js +62 -51
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -267,7 +267,7 @@ __export(src_exports, {
|
|
|
267
267
|
});
|
|
268
268
|
module.exports = __toCommonJS(src_exports);
|
|
269
269
|
|
|
270
|
-
// ../../node_modules/.pnpm/@angular+compiler@19.0.
|
|
270
|
+
// ../../node_modules/.pnpm/@angular+compiler@19.0.3/node_modules/@angular/compiler/fesm2022/compiler.mjs
|
|
271
271
|
var _SELECTOR_REGEXP = new RegExp(
|
|
272
272
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
273
273
|
// 8: ","
|
|
@@ -7319,7 +7319,7 @@ function getPolicy() {
|
|
|
7319
7319
|
if (trustedTypes) {
|
|
7320
7320
|
try {
|
|
7321
7321
|
policy = trustedTypes.createPolicy("angular#unsafe-jit", {
|
|
7322
|
-
createScript: (s) => s
|
|
7322
|
+
createScript: /* @__PURE__ */ __name((s) => s, "createScript")
|
|
7323
7323
|
});
|
|
7324
7324
|
} catch {
|
|
7325
7325
|
}
|
|
@@ -10471,6 +10471,7 @@ function createDeferOp(xref, main, mainSlot, ownResolverFn, resolverFn, sourceSp
|
|
|
10471
10471
|
errorSlot: null,
|
|
10472
10472
|
ownResolverFn,
|
|
10473
10473
|
resolverFn,
|
|
10474
|
+
flags: null,
|
|
10474
10475
|
sourceSpan,
|
|
10475
10476
|
...NEW_OP,
|
|
10476
10477
|
...TRAIT_CONSUMES_SLOT,
|
|
@@ -20223,7 +20224,7 @@ function nonInterpolationPropertyKindTest(op) {
|
|
|
20223
20224
|
}
|
|
20224
20225
|
__name(nonInterpolationPropertyKindTest, "nonInterpolationPropertyKindTest");
|
|
20225
20226
|
var CREATE_ORDERING = [
|
|
20226
|
-
{ test: (op) => op.kind === OpKind.Listener && op.hostListener && op.isAnimationListener },
|
|
20227
|
+
{ test: /* @__PURE__ */ __name((op) => op.kind === OpKind.Listener && op.hostListener && op.isAnimationListener, "test") },
|
|
20227
20228
|
{ test: basicListenerKindTest }
|
|
20228
20229
|
];
|
|
20229
20230
|
var UPDATE_ORDERING = [
|
|
@@ -20692,7 +20693,7 @@ function text(slot, initialValue, sourceSpan) {
|
|
|
20692
20693
|
return call(Identifiers.text, args, sourceSpan);
|
|
20693
20694
|
}
|
|
20694
20695
|
__name(text, "text");
|
|
20695
|
-
function defer(selfSlot, primarySlot, dependencyResolverFn, loadingSlot, placeholderSlot, errorSlot, loadingConfig, placeholderConfig, enableTimerScheduling, sourceSpan) {
|
|
20696
|
+
function defer(selfSlot, primarySlot, dependencyResolverFn, loadingSlot, placeholderSlot, errorSlot, loadingConfig, placeholderConfig, enableTimerScheduling, sourceSpan, flags) {
|
|
20696
20697
|
const args = [
|
|
20697
20698
|
literal(selfSlot),
|
|
20698
20699
|
literal(primarySlot),
|
|
@@ -20702,7 +20703,8 @@ function defer(selfSlot, primarySlot, dependencyResolverFn, loadingSlot, placeho
|
|
|
20702
20703
|
literal(errorSlot),
|
|
20703
20704
|
loadingConfig ?? literal(null),
|
|
20704
20705
|
placeholderConfig ?? literal(null),
|
|
20705
|
-
enableTimerScheduling ? importExpr(Identifiers.deferEnableTimerScheduling) : literal(null)
|
|
20706
|
+
enableTimerScheduling ? importExpr(Identifiers.deferEnableTimerScheduling) : literal(null),
|
|
20707
|
+
literal(flags)
|
|
20706
20708
|
];
|
|
20707
20709
|
let expr;
|
|
20708
20710
|
while ((expr = args[args.length - 1]) !== null && expr instanceof LiteralExpr && expr.value === null) {
|
|
@@ -21110,12 +21112,12 @@ var TEXT_INTERPOLATE_CONFIG = {
|
|
|
21110
21112
|
Identifiers.textInterpolate8
|
|
21111
21113
|
],
|
|
21112
21114
|
variable: Identifiers.textInterpolateV,
|
|
21113
|
-
mapping: (n) => {
|
|
21115
|
+
mapping: /* @__PURE__ */ __name((n) => {
|
|
21114
21116
|
if (n % 2 === 0) {
|
|
21115
21117
|
throw new Error(`Expected odd number of arguments`);
|
|
21116
21118
|
}
|
|
21117
21119
|
return (n - 1) / 2;
|
|
21118
|
-
}
|
|
21120
|
+
}, "mapping")
|
|
21119
21121
|
};
|
|
21120
21122
|
var PROPERTY_INTERPOLATE_CONFIG = {
|
|
21121
21123
|
constant: [
|
|
@@ -21130,12 +21132,12 @@ var PROPERTY_INTERPOLATE_CONFIG = {
|
|
|
21130
21132
|
Identifiers.propertyInterpolate8
|
|
21131
21133
|
],
|
|
21132
21134
|
variable: Identifiers.propertyInterpolateV,
|
|
21133
|
-
mapping: (n) => {
|
|
21135
|
+
mapping: /* @__PURE__ */ __name((n) => {
|
|
21134
21136
|
if (n % 2 === 0) {
|
|
21135
21137
|
throw new Error(`Expected odd number of arguments`);
|
|
21136
21138
|
}
|
|
21137
21139
|
return (n - 1) / 2;
|
|
21138
|
-
}
|
|
21140
|
+
}, "mapping")
|
|
21139
21141
|
};
|
|
21140
21142
|
var STYLE_PROP_INTERPOLATE_CONFIG = {
|
|
21141
21143
|
constant: [
|
|
@@ -21150,12 +21152,12 @@ var STYLE_PROP_INTERPOLATE_CONFIG = {
|
|
|
21150
21152
|
Identifiers.stylePropInterpolate8
|
|
21151
21153
|
],
|
|
21152
21154
|
variable: Identifiers.stylePropInterpolateV,
|
|
21153
|
-
mapping: (n) => {
|
|
21155
|
+
mapping: /* @__PURE__ */ __name((n) => {
|
|
21154
21156
|
if (n % 2 === 0) {
|
|
21155
21157
|
throw new Error(`Expected odd number of arguments`);
|
|
21156
21158
|
}
|
|
21157
21159
|
return (n - 1) / 2;
|
|
21158
|
-
}
|
|
21160
|
+
}, "mapping")
|
|
21159
21161
|
};
|
|
21160
21162
|
var ATTRIBUTE_INTERPOLATE_CONFIG = {
|
|
21161
21163
|
constant: [
|
|
@@ -21170,12 +21172,12 @@ var ATTRIBUTE_INTERPOLATE_CONFIG = {
|
|
|
21170
21172
|
Identifiers.attributeInterpolate8
|
|
21171
21173
|
],
|
|
21172
21174
|
variable: Identifiers.attributeInterpolateV,
|
|
21173
|
-
mapping: (n) => {
|
|
21175
|
+
mapping: /* @__PURE__ */ __name((n) => {
|
|
21174
21176
|
if (n % 2 === 0) {
|
|
21175
21177
|
throw new Error(`Expected odd number of arguments`);
|
|
21176
21178
|
}
|
|
21177
21179
|
return (n - 1) / 2;
|
|
21178
|
-
}
|
|
21180
|
+
}, "mapping")
|
|
21179
21181
|
};
|
|
21180
21182
|
var STYLE_MAP_INTERPOLATE_CONFIG = {
|
|
21181
21183
|
constant: [
|
|
@@ -21190,12 +21192,12 @@ var STYLE_MAP_INTERPOLATE_CONFIG = {
|
|
|
21190
21192
|
Identifiers.styleMapInterpolate8
|
|
21191
21193
|
],
|
|
21192
21194
|
variable: Identifiers.styleMapInterpolateV,
|
|
21193
|
-
mapping: (n) => {
|
|
21195
|
+
mapping: /* @__PURE__ */ __name((n) => {
|
|
21194
21196
|
if (n % 2 === 0) {
|
|
21195
21197
|
throw new Error(`Expected odd number of arguments`);
|
|
21196
21198
|
}
|
|
21197
21199
|
return (n - 1) / 2;
|
|
21198
|
-
}
|
|
21200
|
+
}, "mapping")
|
|
21199
21201
|
};
|
|
21200
21202
|
var CLASS_MAP_INTERPOLATE_CONFIG = {
|
|
21201
21203
|
constant: [
|
|
@@ -21210,12 +21212,12 @@ var CLASS_MAP_INTERPOLATE_CONFIG = {
|
|
|
21210
21212
|
Identifiers.classMapInterpolate8
|
|
21211
21213
|
],
|
|
21212
21214
|
variable: Identifiers.classMapInterpolateV,
|
|
21213
|
-
mapping: (n) => {
|
|
21215
|
+
mapping: /* @__PURE__ */ __name((n) => {
|
|
21214
21216
|
if (n % 2 === 0) {
|
|
21215
21217
|
throw new Error(`Expected odd number of arguments`);
|
|
21216
21218
|
}
|
|
21217
21219
|
return (n - 1) / 2;
|
|
21218
|
-
}
|
|
21220
|
+
}, "mapping")
|
|
21219
21221
|
};
|
|
21220
21222
|
var PURE_FUNCTION_CONFIG = {
|
|
21221
21223
|
constant: [
|
|
@@ -21230,7 +21232,7 @@ var PURE_FUNCTION_CONFIG = {
|
|
|
21230
21232
|
Identifiers.pureFunction8
|
|
21231
21233
|
],
|
|
21232
21234
|
variable: Identifiers.pureFunctionV,
|
|
21233
|
-
mapping: (n) => n
|
|
21235
|
+
mapping: /* @__PURE__ */ __name((n) => n, "mapping")
|
|
21234
21236
|
};
|
|
21235
21237
|
function callVariadicInstructionExpr(config, baseArgs, interpolationArgs, extraArgs, sourceSpan) {
|
|
21236
21238
|
const n = config.mapping(interpolationArgs.length);
|
|
@@ -21353,7 +21355,7 @@ function reifyCreateOperations(unit, ops) {
|
|
|
21353
21355
|
break;
|
|
21354
21356
|
case OpKind.Defer:
|
|
21355
21357
|
const timerScheduling = !!op.loadingMinimumTime || !!op.loadingAfterTime || !!op.placeholderMinimumTime;
|
|
21356
|
-
OpList.replace(op, defer(op.handle.slot, op.mainSlot.slot, op.resolverFn, op.loadingSlot?.slot ?? null, op.placeholderSlot?.slot ?? null, op.errorSlot?.slot ?? null, op.loadingConfig, op.placeholderConfig, timerScheduling, op.sourceSpan));
|
|
21358
|
+
OpList.replace(op, defer(op.handle.slot, op.mainSlot.slot, op.resolverFn, op.loadingSlot?.slot ?? null, op.placeholderSlot?.slot ?? null, op.errorSlot?.slot ?? null, op.loadingConfig, op.placeholderConfig, timerScheduling, op.sourceSpan, op.flags));
|
|
21357
21359
|
break;
|
|
21358
21360
|
case OpKind.DeferOn:
|
|
21359
21361
|
let args = [];
|
|
@@ -23335,6 +23337,7 @@ function ingestDeferBlock(unit, deferBlock) {
|
|
|
23335
23337
|
deferOp.placeholderMinimumTime = deferBlock.placeholder?.minimumTime ?? null;
|
|
23336
23338
|
deferOp.loadingMinimumTime = deferBlock.loading?.minimumTime ?? null;
|
|
23337
23339
|
deferOp.loadingAfterTime = deferBlock.loading?.afterTime ?? null;
|
|
23340
|
+
deferOp.flags = calcDeferBlockFlags(deferBlock);
|
|
23338
23341
|
unit.create.push(deferOp);
|
|
23339
23342
|
const deferOnOps = [];
|
|
23340
23343
|
const deferWhenOps = [];
|
|
@@ -23355,6 +23358,13 @@ function ingestDeferBlock(unit, deferBlock) {
|
|
|
23355
23358
|
unit.update.push(deferWhenOps);
|
|
23356
23359
|
}
|
|
23357
23360
|
__name(ingestDeferBlock, "ingestDeferBlock");
|
|
23361
|
+
function calcDeferBlockFlags(deferBlockDetails) {
|
|
23362
|
+
if (Object.keys(deferBlockDetails.hydrateTriggers).length > 0) {
|
|
23363
|
+
return 1;
|
|
23364
|
+
}
|
|
23365
|
+
return null;
|
|
23366
|
+
}
|
|
23367
|
+
__name(calcDeferBlockFlags, "calcDeferBlockFlags");
|
|
23358
23368
|
function ingestDeferTriggers(modifier, triggers, onOps, whenOps, unit, deferXref) {
|
|
23359
23369
|
if (triggers.idle !== void 0) {
|
|
23360
23370
|
const deferOnOp = createDeferOnOp(deferXref, { kind: DeferTriggerKind.Idle }, modifier, triggers.idle.sourceSpan);
|
|
@@ -23974,13 +23984,11 @@ var BindingParser = class {
|
|
|
23974
23984
|
_interpolationConfig;
|
|
23975
23985
|
_schemaRegistry;
|
|
23976
23986
|
errors;
|
|
23977
|
-
|
|
23978
|
-
constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors, _allowInvalidAssignmentEvents = false) {
|
|
23987
|
+
constructor(_exprParser, _interpolationConfig, _schemaRegistry, errors) {
|
|
23979
23988
|
this._exprParser = _exprParser;
|
|
23980
23989
|
this._interpolationConfig = _interpolationConfig;
|
|
23981
23990
|
this._schemaRegistry = _schemaRegistry;
|
|
23982
23991
|
this.errors = errors;
|
|
23983
|
-
this._allowInvalidAssignmentEvents = _allowInvalidAssignmentEvents;
|
|
23984
23992
|
}
|
|
23985
23993
|
get interpolationConfig() {
|
|
23986
23994
|
return this._interpolationConfig;
|
|
@@ -24343,13 +24351,7 @@ var BindingParser = class {
|
|
|
24343
24351
|
if (ast instanceof PropertyRead || ast instanceof KeyedRead) {
|
|
24344
24352
|
return true;
|
|
24345
24353
|
}
|
|
24346
|
-
|
|
24347
|
-
return false;
|
|
24348
|
-
}
|
|
24349
|
-
if (ast instanceof Binary) {
|
|
24350
|
-
return (ast.operation === "&&" || ast.operation === "||" || ast.operation === "??") && (ast.right instanceof PropertyRead || ast.right instanceof KeyedRead);
|
|
24351
|
-
}
|
|
24352
|
-
return ast instanceof Conditional || ast instanceof PrefixNot;
|
|
24354
|
+
return false;
|
|
24353
24355
|
}
|
|
24354
24356
|
};
|
|
24355
24357
|
function isAnimationLabel(name) {
|
|
@@ -25786,8 +25788,8 @@ function textContents(node) {
|
|
|
25786
25788
|
__name(textContents, "textContents");
|
|
25787
25789
|
var LEADING_TRIVIA_CHARS = [" ", "\n", "\r", " "];
|
|
25788
25790
|
function parseTemplate(template2, templateUrl, options = {}) {
|
|
25789
|
-
const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat
|
|
25790
|
-
const bindingParser = makeBindingParser(interpolationConfig
|
|
25791
|
+
const { interpolationConfig, preserveWhitespaces, enableI18nLegacyMessageIdFormat } = options;
|
|
25792
|
+
const bindingParser = makeBindingParser(interpolationConfig);
|
|
25791
25793
|
const htmlParser = new HtmlParser();
|
|
25792
25794
|
const parseResult = htmlParser.parse(template2, templateUrl, {
|
|
25793
25795
|
leadingTriviaChars: LEADING_TRIVIA_CHARS,
|
|
@@ -25882,8 +25884,8 @@ function parseTemplate(template2, templateUrl, options = {}) {
|
|
|
25882
25884
|
}
|
|
25883
25885
|
__name(parseTemplate, "parseTemplate");
|
|
25884
25886
|
var elementRegistry = new DomElementSchemaRegistry();
|
|
25885
|
-
function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG
|
|
25886
|
-
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, []
|
|
25887
|
+
function makeBindingParser(interpolationConfig = DEFAULT_INTERPOLATION_CONFIG) {
|
|
25888
|
+
return new BindingParser(new Parser(new Lexer()), interpolationConfig, elementRegistry, []);
|
|
25887
25889
|
}
|
|
25888
25890
|
__name(makeBindingParser, "makeBindingParser");
|
|
25889
25891
|
var COMPONENT_VARIABLE = "%COMP%";
|
|
@@ -27779,7 +27781,7 @@ function publishFacade(global) {
|
|
|
27779
27781
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
27780
27782
|
}
|
|
27781
27783
|
__name(publishFacade, "publishFacade");
|
|
27782
|
-
var VERSION = new Version("19.0.
|
|
27784
|
+
var VERSION = new Version("19.0.3");
|
|
27783
27785
|
var CompilerConfig = class {
|
|
27784
27786
|
static {
|
|
27785
27787
|
__name(this, "CompilerConfig");
|
|
@@ -28484,6 +28486,7 @@ var XliffParser = class {
|
|
|
28484
28486
|
}
|
|
28485
28487
|
}
|
|
28486
28488
|
break;
|
|
28489
|
+
// ignore those tags
|
|
28487
28490
|
case _SOURCE_TAG$1:
|
|
28488
28491
|
case _SEGMENT_SOURCE_TAG:
|
|
28489
28492
|
case _ALT_TRANS_TAG:
|
|
@@ -28984,14 +28987,14 @@ function createLazyProperty(messages, id, valueFn) {
|
|
|
28984
28987
|
Object.defineProperty(messages, id, {
|
|
28985
28988
|
configurable: true,
|
|
28986
28989
|
enumerable: true,
|
|
28987
|
-
get: function() {
|
|
28990
|
+
get: /* @__PURE__ */ __name(function() {
|
|
28988
28991
|
const value = valueFn();
|
|
28989
28992
|
Object.defineProperty(messages, id, { enumerable: true, value });
|
|
28990
28993
|
return value;
|
|
28991
|
-
},
|
|
28992
|
-
set: (_) => {
|
|
28994
|
+
}, "get"),
|
|
28995
|
+
set: /* @__PURE__ */ __name((_) => {
|
|
28993
28996
|
throw new Error("Could not overwrite an XTB translation");
|
|
28994
|
-
}
|
|
28997
|
+
}, "set")
|
|
28995
28998
|
});
|
|
28996
28999
|
}
|
|
28997
29000
|
__name(createLazyProperty, "createLazyProperty");
|
|
@@ -29492,9 +29495,12 @@ function compileHmrInitializer(meta) {
|
|
|
29492
29495
|
const dataName = "d";
|
|
29493
29496
|
const timestampName = "t";
|
|
29494
29497
|
const importCallbackName = `${meta.className}_HmrLoad`;
|
|
29495
|
-
const locals = meta.
|
|
29498
|
+
const locals = meta.localDependencies.map((localName) => variable(localName));
|
|
29499
|
+
const namespaces = meta.namespaceDependencies.map((dep) => {
|
|
29500
|
+
return new ExternalExpr({ moduleName: dep.moduleName, name: null });
|
|
29501
|
+
});
|
|
29496
29502
|
const defaultRead = variable(moduleName).prop("default");
|
|
29497
|
-
const replaceCall = importExpr(Identifiers.replaceMetadata).callFn([meta.type, defaultRead,
|
|
29503
|
+
const replaceCall = importExpr(Identifiers.replaceMetadata).callFn([meta.type, defaultRead, literalArr(namespaces), literalArr(locals)]);
|
|
29498
29504
|
const replaceCallback = arrowFn([new FnParam(moduleName)], defaultRead.and(replaceCall));
|
|
29499
29505
|
const urlValue = literal(urlPartial).plus(variable("encodeURIComponent").callFn([variable(timestampName)]));
|
|
29500
29506
|
const importCallback = new DeclareFunctionStmt(importCallbackName, [new FnParam(timestampName)], [
|
|
@@ -29518,8 +29524,13 @@ function compileHmrInitializer(meta) {
|
|
|
29518
29524
|
}
|
|
29519
29525
|
__name(compileHmrInitializer, "compileHmrInitializer");
|
|
29520
29526
|
function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
29521
|
-
const
|
|
29522
|
-
const
|
|
29527
|
+
const namespaces = "\u0275\u0275namespaces";
|
|
29528
|
+
const params = [meta.className, namespaces, ...meta.localDependencies].map((name) => new FnParam(name, DYNAMIC_TYPE));
|
|
29529
|
+
const body = [];
|
|
29530
|
+
for (let i = 0; i < meta.namespaceDependencies.length; i++) {
|
|
29531
|
+
body.push(new DeclareVarStmt(meta.namespaceDependencies[i].assignedName, variable(namespaces).key(literal(i)), DYNAMIC_TYPE, StmtModifier.Final));
|
|
29532
|
+
}
|
|
29533
|
+
body.push(...constantStatements);
|
|
29523
29534
|
for (const field of definitions) {
|
|
29524
29535
|
if (field.initializer !== null) {
|
|
29525
29536
|
body.push(variable(meta.className).prop(field.name).set(field.initializer).toStmt());
|
|
@@ -29536,7 +29547,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
|
29536
29547
|
function compileDeclareClassMetadata(metadata) {
|
|
29537
29548
|
const definitionMap = new DefinitionMap();
|
|
29538
29549
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
29539
|
-
definitionMap.set("version", literal("19.0.
|
|
29550
|
+
definitionMap.set("version", literal("19.0.3"));
|
|
29540
29551
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29541
29552
|
definitionMap.set("type", metadata.type);
|
|
29542
29553
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -29555,7 +29566,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
29555
29566
|
callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
|
|
29556
29567
|
callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
|
|
29557
29568
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
29558
|
-
definitionMap.set("version", literal("19.0.
|
|
29569
|
+
definitionMap.set("version", literal("19.0.3"));
|
|
29559
29570
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29560
29571
|
definitionMap.set("type", metadata.type);
|
|
29561
29572
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -29624,7 +29635,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
29624
29635
|
const definitionMap = new DefinitionMap();
|
|
29625
29636
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
29626
29637
|
definitionMap.set("minVersion", literal(minVersion));
|
|
29627
|
-
definitionMap.set("version", literal("19.0.
|
|
29638
|
+
definitionMap.set("version", literal("19.0.3"));
|
|
29628
29639
|
definitionMap.set("type", meta.type.value);
|
|
29629
29640
|
if (meta.isStandalone !== void 0) {
|
|
29630
29641
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -29952,7 +29963,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$4 = "12.0.0";
|
|
|
29952
29963
|
function compileDeclareFactoryFunction(meta) {
|
|
29953
29964
|
const definitionMap = new DefinitionMap();
|
|
29954
29965
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
29955
|
-
definitionMap.set("version", literal("19.0.
|
|
29966
|
+
definitionMap.set("version", literal("19.0.3"));
|
|
29956
29967
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29957
29968
|
definitionMap.set("type", meta.type.value);
|
|
29958
29969
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -29975,7 +29986,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
|
|
|
29975
29986
|
function createInjectableDefinitionMap(meta) {
|
|
29976
29987
|
const definitionMap = new DefinitionMap();
|
|
29977
29988
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
29978
|
-
definitionMap.set("version", literal("19.0.
|
|
29989
|
+
definitionMap.set("version", literal("19.0.3"));
|
|
29979
29990
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29980
29991
|
definitionMap.set("type", meta.type.value);
|
|
29981
29992
|
if (meta.providedIn !== void 0) {
|
|
@@ -30013,7 +30024,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
|
|
|
30013
30024
|
function createInjectorDefinitionMap(meta) {
|
|
30014
30025
|
const definitionMap = new DefinitionMap();
|
|
30015
30026
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
30016
|
-
definitionMap.set("version", literal("19.0.
|
|
30027
|
+
definitionMap.set("version", literal("19.0.3"));
|
|
30017
30028
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30018
30029
|
definitionMap.set("type", meta.type.value);
|
|
30019
30030
|
definitionMap.set("providers", meta.providers);
|
|
@@ -30037,7 +30048,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
30037
30048
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
30038
30049
|
}
|
|
30039
30050
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
30040
|
-
definitionMap.set("version", literal("19.0.
|
|
30051
|
+
definitionMap.set("version", literal("19.0.3"));
|
|
30041
30052
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30042
30053
|
definitionMap.set("type", meta.type.value);
|
|
30043
30054
|
if (meta.bootstrap.length > 0) {
|
|
@@ -30072,7 +30083,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
|
|
|
30072
30083
|
function createPipeDefinitionMap(meta) {
|
|
30073
30084
|
const definitionMap = new DefinitionMap();
|
|
30074
30085
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
30075
|
-
definitionMap.set("version", literal("19.0.
|
|
30086
|
+
definitionMap.set("version", literal("19.0.3"));
|
|
30076
30087
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30077
30088
|
definitionMap.set("type", meta.type.value);
|
|
30078
30089
|
if (meta.isStandalone !== void 0) {
|
|
@@ -30336,7 +30347,7 @@ publishFacade(_global);
|
|
|
30336
30347
|
|
|
30337
30348
|
@angular/compiler/fesm2022/compiler.mjs:
|
|
30338
30349
|
(**
|
|
30339
|
-
* @license Angular v19.0.
|
|
30350
|
+
* @license Angular v19.0.3
|
|
30340
30351
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
30341
30352
|
* License: MIT
|
|
30342
30353
|
*)
|