@angular-eslint/bundled-angular-compiler 19.1.1-alpha.0 → 19.1.1-alpha.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/dist/index.js +82 -63
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -265,7 +265,7 @@ __export(index_exports, {
|
|
|
265
265
|
});
|
|
266
266
|
module.exports = __toCommonJS(index_exports);
|
|
267
267
|
|
|
268
|
-
// ../../node_modules/.pnpm/@angular+compiler@19.1.
|
|
268
|
+
// ../../node_modules/.pnpm/@angular+compiler@19.1.7/node_modules/@angular/compiler/fesm2022/compiler.mjs
|
|
269
269
|
var _SELECTOR_REGEXP = new RegExp(
|
|
270
270
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
271
271
|
// 8: ","
|
|
@@ -3275,10 +3275,6 @@ var Identifiers = class {
|
|
|
3275
3275
|
name: "\u0275\u0275HostDirectivesFeature",
|
|
3276
3276
|
moduleName: CORE
|
|
3277
3277
|
};
|
|
3278
|
-
static InputTransformsFeatureFeature = {
|
|
3279
|
-
name: "\u0275\u0275InputTransformsFeature",
|
|
3280
|
-
moduleName: CORE
|
|
3281
|
-
};
|
|
3282
3278
|
static ExternalStylesFeature = {
|
|
3283
3279
|
name: "\u0275\u0275ExternalStylesFeature",
|
|
3284
3280
|
moduleName: CORE
|
|
@@ -9602,7 +9598,13 @@ function transformExpressionsInOp(op, transform2, flags) {
|
|
|
9602
9598
|
op.trustedValueFn = op.trustedValueFn && transformExpressionsInExpression(op.trustedValueFn, transform2, flags);
|
|
9603
9599
|
break;
|
|
9604
9600
|
case OpKind.RepeaterCreate:
|
|
9605
|
-
|
|
9601
|
+
if (op.trackByOps === null) {
|
|
9602
|
+
op.track = transformExpressionsInExpression(op.track, transform2, flags);
|
|
9603
|
+
} else {
|
|
9604
|
+
for (const innerOp of op.trackByOps) {
|
|
9605
|
+
transformExpressionsInOp(innerOp, transform2, flags | VisitorContextFlag.InChildOperation);
|
|
9606
|
+
}
|
|
9607
|
+
}
|
|
9606
9608
|
if (op.trackByFn !== null) {
|
|
9607
9609
|
op.trackByFn = transformExpressionsInExpression(op.trackByFn, transform2, flags);
|
|
9608
9610
|
}
|
|
@@ -10062,6 +10064,7 @@ function createRepeaterCreateOp(primaryView, emptyView, tag, track, varNames, em
|
|
|
10062
10064
|
emptyView,
|
|
10063
10065
|
track,
|
|
10064
10066
|
trackByFn: null,
|
|
10067
|
+
trackByOps: null,
|
|
10065
10068
|
tag,
|
|
10066
10069
|
emptyTag,
|
|
10067
10070
|
emptyAttributes: null,
|
|
@@ -10539,6 +10542,10 @@ var CompilationUnit = class {
|
|
|
10539
10542
|
for (const listenerOp of op.handlerOps) {
|
|
10540
10543
|
yield listenerOp;
|
|
10541
10544
|
}
|
|
10545
|
+
} else if (op.kind === OpKind.RepeaterCreate && op.trackByOps !== null) {
|
|
10546
|
+
for (const trackOp of op.trackByOps) {
|
|
10547
|
+
yield trackOp;
|
|
10548
|
+
}
|
|
10542
10549
|
}
|
|
10543
10550
|
}
|
|
10544
10551
|
for (const op of this.update) {
|
|
@@ -11968,6 +11975,9 @@ function recursivelyProcessView(view, parentScope) {
|
|
|
11968
11975
|
if (op.emptyView) {
|
|
11969
11976
|
recursivelyProcessView(view.job.views.get(op.emptyView), scope);
|
|
11970
11977
|
}
|
|
11978
|
+
if (op.trackByOps !== null) {
|
|
11979
|
+
op.trackByOps.prepend(generateVariablesInScopeForView(view, scope, false));
|
|
11980
|
+
}
|
|
11971
11981
|
break;
|
|
11972
11982
|
case OpKind.Listener:
|
|
11973
11983
|
case OpKind.TwoWayListener:
|
|
@@ -21226,7 +21236,7 @@ function reifyCreateOperations(unit, ops) {
|
|
|
21226
21236
|
emptyDecls = emptyView.decls;
|
|
21227
21237
|
emptyVars = emptyView.vars;
|
|
21228
21238
|
}
|
|
21229
|
-
OpList.replace(op, repeaterCreate(op.handle.slot, repeaterView.fnName, op.decls, op.vars, op.tag, op.attributes, op
|
|
21239
|
+
OpList.replace(op, repeaterCreate(op.handle.slot, repeaterView.fnName, op.decls, op.vars, op.tag, op.attributes, reifyTrackBy(unit, op), op.usesComponentInstance, emptyViewFnName, emptyDecls, emptyVars, op.emptyTag, op.emptyAttributes, op.wholeSourceSpan));
|
|
21230
21240
|
break;
|
|
21231
21241
|
case OpKind.SourceLocation:
|
|
21232
21242
|
const locationsLiteral = literalArr(op.locations.map(({ targetSlot, offset, line, column }) => {
|
|
@@ -21400,6 +21410,8 @@ function reifyIrExpression(expr) {
|
|
|
21400
21410
|
return readContextLet(expr.targetSlot.slot);
|
|
21401
21411
|
case ExpressionKind.StoreLet:
|
|
21402
21412
|
return storeLet(expr.value, expr.sourceSpan);
|
|
21413
|
+
case ExpressionKind.TrackContext:
|
|
21414
|
+
return variable("this");
|
|
21403
21415
|
default:
|
|
21404
21416
|
throw new Error(`AssertionError: Unsupported reification of ir.Expression kind: ${ExpressionKind[expr.kind]}`);
|
|
21405
21417
|
}
|
|
@@ -21421,6 +21433,29 @@ function reifyListenerHandler(unit, name, handlerOps, consumesDollarEvent) {
|
|
|
21421
21433
|
return fn(params, handlerStmts, void 0, void 0, name);
|
|
21422
21434
|
}
|
|
21423
21435
|
__name(reifyListenerHandler, "reifyListenerHandler");
|
|
21436
|
+
function reifyTrackBy(unit, op) {
|
|
21437
|
+
if (op.trackByFn !== null) {
|
|
21438
|
+
return op.trackByFn;
|
|
21439
|
+
}
|
|
21440
|
+
const params = [new FnParam("$index"), new FnParam("$item")];
|
|
21441
|
+
let fn$1;
|
|
21442
|
+
if (op.trackByOps === null) {
|
|
21443
|
+
fn$1 = op.usesComponentInstance ? fn(params, [new ReturnStatement(op.track)]) : arrowFn(params, op.track);
|
|
21444
|
+
} else {
|
|
21445
|
+
reifyUpdateOperations(unit, op.trackByOps);
|
|
21446
|
+
const statements = [];
|
|
21447
|
+
for (const trackOp of op.trackByOps) {
|
|
21448
|
+
if (trackOp.kind !== OpKind.Statement) {
|
|
21449
|
+
throw new Error(`AssertionError: expected reified statements, but found op ${OpKind[trackOp.kind]}`);
|
|
21450
|
+
}
|
|
21451
|
+
statements.push(trackOp.statement);
|
|
21452
|
+
}
|
|
21453
|
+
fn$1 = op.usesComponentInstance || statements.length !== 1 || !(statements[0] instanceof ReturnStatement) ? fn(params, statements) : arrowFn(params, statements[0].value);
|
|
21454
|
+
}
|
|
21455
|
+
op.trackByFn = unit.job.pool.getSharedFunctionReference(fn$1, "_forTrack");
|
|
21456
|
+
return op.trackByFn;
|
|
21457
|
+
}
|
|
21458
|
+
__name(reifyTrackBy, "reifyTrackBy");
|
|
21424
21459
|
function removeEmptyBindings(job) {
|
|
21425
21460
|
for (const unit of job.units) {
|
|
21426
21461
|
for (const op of unit.update) {
|
|
@@ -21500,6 +21535,11 @@ function processLexicalScope$1(view, ops) {
|
|
|
21500
21535
|
case OpKind.TwoWayListener:
|
|
21501
21536
|
processLexicalScope$1(view, op.handlerOps);
|
|
21502
21537
|
break;
|
|
21538
|
+
case OpKind.RepeaterCreate:
|
|
21539
|
+
if (op.trackByOps !== null) {
|
|
21540
|
+
processLexicalScope$1(view, op.trackByOps);
|
|
21541
|
+
}
|
|
21542
|
+
break;
|
|
21503
21543
|
}
|
|
21504
21544
|
}
|
|
21505
21545
|
if (view === view.job.root) {
|
|
@@ -21821,6 +21861,11 @@ function processLexicalScope(unit, ops, savedView) {
|
|
|
21821
21861
|
case OpKind.TwoWayListener:
|
|
21822
21862
|
processLexicalScope(unit, op.handlerOps, savedView);
|
|
21823
21863
|
break;
|
|
21864
|
+
case OpKind.RepeaterCreate:
|
|
21865
|
+
if (op.trackByOps !== null) {
|
|
21866
|
+
processLexicalScope(unit, op.trackByOps, savedView);
|
|
21867
|
+
}
|
|
21868
|
+
break;
|
|
21824
21869
|
}
|
|
21825
21870
|
}
|
|
21826
21871
|
for (const op of ops) {
|
|
@@ -22091,6 +22136,8 @@ function generateTemporaries(ops) {
|
|
|
22091
22136
|
opCount++;
|
|
22092
22137
|
if (op.kind === OpKind.Listener || op.kind === OpKind.TwoWayListener) {
|
|
22093
22138
|
op.handlerOps.prepend(generateTemporaries(op.handlerOps));
|
|
22139
|
+
} else if (op.kind === OpKind.RepeaterCreate && op.trackByOps !== null) {
|
|
22140
|
+
op.trackByOps.prepend(generateTemporaries(op.trackByOps));
|
|
22094
22141
|
}
|
|
22095
22142
|
}
|
|
22096
22143
|
return generatedStatements;
|
|
@@ -22104,38 +22151,6 @@ function assignName(names, expr) {
|
|
|
22104
22151
|
expr.name = name;
|
|
22105
22152
|
}
|
|
22106
22153
|
__name(assignName, "assignName");
|
|
22107
|
-
function generateTrackFns(job) {
|
|
22108
|
-
for (const unit of job.units) {
|
|
22109
|
-
for (const op of unit.create) {
|
|
22110
|
-
if (op.kind !== OpKind.RepeaterCreate) {
|
|
22111
|
-
continue;
|
|
22112
|
-
}
|
|
22113
|
-
if (op.trackByFn !== null) {
|
|
22114
|
-
continue;
|
|
22115
|
-
}
|
|
22116
|
-
let usesComponentContext = false;
|
|
22117
|
-
op.track = transformExpressionsInExpression(op.track, (expr) => {
|
|
22118
|
-
if (expr instanceof PipeBindingExpr || expr instanceof PipeBindingVariadicExpr) {
|
|
22119
|
-
throw new Error(`Illegal State: Pipes are not allowed in this context`);
|
|
22120
|
-
}
|
|
22121
|
-
if (expr instanceof TrackContextExpr) {
|
|
22122
|
-
usesComponentContext = true;
|
|
22123
|
-
return variable("this");
|
|
22124
|
-
}
|
|
22125
|
-
return expr;
|
|
22126
|
-
}, VisitorContextFlag.None);
|
|
22127
|
-
let fn2;
|
|
22128
|
-
const fnParams = [new FnParam("$index"), new FnParam("$item")];
|
|
22129
|
-
if (usesComponentContext) {
|
|
22130
|
-
fn2 = new FunctionExpr(fnParams, [new ReturnStatement(op.track)]);
|
|
22131
|
-
} else {
|
|
22132
|
-
fn2 = arrowFn(fnParams, op.track);
|
|
22133
|
-
}
|
|
22134
|
-
op.trackByFn = job.pool.getSharedFunctionReference(fn2, "_forTrack");
|
|
22135
|
-
}
|
|
22136
|
-
}
|
|
22137
|
-
}
|
|
22138
|
-
__name(generateTrackFns, "generateTrackFns");
|
|
22139
22154
|
function optimizeTrackFns(job) {
|
|
22140
22155
|
for (const unit of job.units) {
|
|
22141
22156
|
for (const op of unit.create) {
|
|
@@ -22156,12 +22171,17 @@ function optimizeTrackFns(job) {
|
|
|
22156
22171
|
}
|
|
22157
22172
|
} else {
|
|
22158
22173
|
op.track = transformExpressionsInExpression(op.track, (expr) => {
|
|
22159
|
-
if (expr instanceof
|
|
22174
|
+
if (expr instanceof PipeBindingExpr || expr instanceof PipeBindingVariadicExpr) {
|
|
22175
|
+
throw new Error(`Illegal State: Pipes are not allowed in this context`);
|
|
22176
|
+
} else if (expr instanceof ContextExpr) {
|
|
22160
22177
|
op.usesComponentInstance = true;
|
|
22161
22178
|
return new TrackContextExpr(expr.view);
|
|
22162
22179
|
}
|
|
22163
22180
|
return expr;
|
|
22164
22181
|
}, VisitorContextFlag.None);
|
|
22182
|
+
const trackOpList = new OpList();
|
|
22183
|
+
trackOpList.push(createStatementOp(new ReturnStatement(op.track, op.track.sourceSpan)));
|
|
22184
|
+
op.trackByOps = trackOpList;
|
|
22165
22185
|
}
|
|
22166
22186
|
}
|
|
22167
22187
|
}
|
|
@@ -22328,6 +22348,8 @@ function optimizeVariables(job) {
|
|
|
22328
22348
|
for (const op of unit.create) {
|
|
22329
22349
|
if (op.kind === OpKind.Listener || op.kind === OpKind.TwoWayListener) {
|
|
22330
22350
|
inlineAlwaysInlineVariables(op.handlerOps);
|
|
22351
|
+
} else if (op.kind === OpKind.RepeaterCreate && op.trackByOps !== null) {
|
|
22352
|
+
inlineAlwaysInlineVariables(op.trackByOps);
|
|
22331
22353
|
}
|
|
22332
22354
|
}
|
|
22333
22355
|
optimizeVariablesInOpList(unit.create, job.compatibility);
|
|
@@ -22335,6 +22357,8 @@ function optimizeVariables(job) {
|
|
|
22335
22357
|
for (const op of unit.create) {
|
|
22336
22358
|
if (op.kind === OpKind.Listener || op.kind === OpKind.TwoWayListener) {
|
|
22337
22359
|
optimizeVariablesInOpList(op.handlerOps, job.compatibility);
|
|
22360
|
+
} else if (op.kind === OpKind.RepeaterCreate && op.trackByOps !== null) {
|
|
22361
|
+
optimizeVariablesInOpList(op.trackByOps, job.compatibility);
|
|
22338
22362
|
}
|
|
22339
22363
|
}
|
|
22340
22364
|
}
|
|
@@ -22733,7 +22757,6 @@ var phases = [
|
|
|
22733
22757
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nElementPlaceholders },
|
|
22734
22758
|
{ kind: CompilationJobKind.Tmpl, fn: resolveI18nExpressionPlaceholders },
|
|
22735
22759
|
{ kind: CompilationJobKind.Tmpl, fn: extractI18nMessages },
|
|
22736
|
-
{ kind: CompilationJobKind.Tmpl, fn: generateTrackFns },
|
|
22737
22760
|
{ kind: CompilationJobKind.Tmpl, fn: collectI18nConsts },
|
|
22738
22761
|
{ kind: CompilationJobKind.Tmpl, fn: collectConstExpressions },
|
|
22739
22762
|
{ kind: CompilationJobKind.Both, fn: collectElementConsts },
|
|
@@ -25755,7 +25778,6 @@ function addFeatures(definitionMap, meta) {
|
|
|
25755
25778
|
const features = [];
|
|
25756
25779
|
const providers = meta.providers;
|
|
25757
25780
|
const viewProviders = meta.viewProviders;
|
|
25758
|
-
const inputKeys = Object.keys(meta.inputs);
|
|
25759
25781
|
if (providers || viewProviders) {
|
|
25760
25782
|
const args = [providers || new LiteralArrayExpr([])];
|
|
25761
25783
|
if (viewProviders) {
|
|
@@ -25763,12 +25785,6 @@ function addFeatures(definitionMap, meta) {
|
|
|
25763
25785
|
}
|
|
25764
25786
|
features.push(importExpr(Identifiers.ProvidersFeature).callFn(args));
|
|
25765
25787
|
}
|
|
25766
|
-
for (const key of inputKeys) {
|
|
25767
|
-
if (meta.inputs[key].transformFunction !== null) {
|
|
25768
|
-
features.push(importExpr(Identifiers.InputTransformsFeatureFeature));
|
|
25769
|
-
break;
|
|
25770
|
-
}
|
|
25771
|
-
}
|
|
25772
25788
|
if (meta.hostDirectives?.length) {
|
|
25773
25789
|
features.push(importExpr(Identifiers.HostDirectivesFeature).callFn([createHostDirectivesFeatureArg(meta.hostDirectives)]));
|
|
25774
25790
|
}
|
|
@@ -27615,7 +27631,7 @@ function publishFacade(global) {
|
|
|
27615
27631
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
27616
27632
|
}
|
|
27617
27633
|
__name(publishFacade, "publishFacade");
|
|
27618
|
-
var VERSION = new Version("19.1.
|
|
27634
|
+
var VERSION = new Version("19.1.7");
|
|
27619
27635
|
var CompilerConfig = class {
|
|
27620
27636
|
static {
|
|
27621
27637
|
__name(this, "CompilerConfig");
|
|
@@ -29323,11 +29339,10 @@ function compileClassDebugInfo(debugInfo) {
|
|
|
29323
29339
|
}
|
|
29324
29340
|
__name(compileClassDebugInfo, "compileClassDebugInfo");
|
|
29325
29341
|
function compileHmrInitializer(meta) {
|
|
29326
|
-
const id = encodeURIComponent(`${meta.filePath}@${meta.className}`);
|
|
29327
|
-
const urlPartial = `./@ng/component?c=${id}&t=`;
|
|
29328
29342
|
const moduleName = "m";
|
|
29329
29343
|
const dataName = "d";
|
|
29330
29344
|
const timestampName = "t";
|
|
29345
|
+
const idName = "id";
|
|
29331
29346
|
const importCallbackName = `${meta.className}_HmrLoad`;
|
|
29332
29347
|
const namespaces = meta.namespaceDependencies.map((dep) => {
|
|
29333
29348
|
return new ExternalExpr({ moduleName: dep.moduleName, name: null });
|
|
@@ -29337,10 +29352,12 @@ function compileHmrInitializer(meta) {
|
|
|
29337
29352
|
meta.type,
|
|
29338
29353
|
defaultRead,
|
|
29339
29354
|
literalArr(namespaces),
|
|
29340
|
-
literalArr(meta.localDependencies.map((l) => l.runtimeRepresentation))
|
|
29355
|
+
literalArr(meta.localDependencies.map((l) => l.runtimeRepresentation)),
|
|
29356
|
+
variable("import").prop("meta"),
|
|
29357
|
+
variable(idName)
|
|
29341
29358
|
]);
|
|
29342
29359
|
const replaceCallback = arrowFn([new FnParam(moduleName)], defaultRead.and(replaceCall));
|
|
29343
|
-
const urlValue = literal(
|
|
29360
|
+
const urlValue = literal(`./@ng/component?c=`).plus(variable(idName)).plus(literal("&t=")).plus(variable("encodeURIComponent").callFn([variable(timestampName)]));
|
|
29344
29361
|
const urlBase = variable("import").prop("meta").prop("url");
|
|
29345
29362
|
const urlHref = new InstantiateExpr(variable("URL"), [urlValue, urlBase]).prop("href");
|
|
29346
29363
|
const importCallback = new DeclareFunctionStmt(importCallbackName, [new FnParam(timestampName)], [
|
|
@@ -29349,11 +29366,13 @@ function compileHmrInitializer(meta) {
|
|
|
29349
29366
|
// programmatically avoid this warning in the future, this added comment can be removed here.
|
|
29350
29367
|
new DynamicImportExpr(urlHref, null, "@vite-ignore").prop("then").callFn([replaceCallback]).toStmt()
|
|
29351
29368
|
], null, StmtModifier.Final);
|
|
29352
|
-
const updateCallback = arrowFn([new FnParam(dataName)], variable(dataName).prop("id").identical(
|
|
29369
|
+
const updateCallback = arrowFn([new FnParam(dataName)], variable(dataName).prop("id").identical(variable(idName)).and(variable(importCallbackName).callFn([variable(dataName).prop("timestamp")])));
|
|
29353
29370
|
const initialCall = variable(importCallbackName).callFn([variable("Date").prop("now").callFn([])]);
|
|
29354
29371
|
const hotRead = variable("import").prop("meta").prop("hot");
|
|
29355
29372
|
const hotListener = hotRead.clone().prop("on").callFn([literal("angular:component-update"), updateCallback]);
|
|
29356
29373
|
return arrowFn([], [
|
|
29374
|
+
// const id = <id>;
|
|
29375
|
+
new DeclareVarStmt(idName, literal(encodeURIComponent(`${meta.filePath}@${meta.className}`)), null, StmtModifier.Final),
|
|
29357
29376
|
// function Cmp_HmrLoad() {...}.
|
|
29358
29377
|
importCallback,
|
|
29359
29378
|
// ngDevMode && Cmp_HmrLoad(Date.now());
|
|
@@ -29390,7 +29409,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
|
29390
29409
|
function compileDeclareClassMetadata(metadata) {
|
|
29391
29410
|
const definitionMap = new DefinitionMap();
|
|
29392
29411
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
29393
|
-
definitionMap.set("version", literal("19.1.
|
|
29412
|
+
definitionMap.set("version", literal("19.1.7"));
|
|
29394
29413
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29395
29414
|
definitionMap.set("type", metadata.type);
|
|
29396
29415
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -29409,7 +29428,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
29409
29428
|
callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
|
|
29410
29429
|
callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
|
|
29411
29430
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
29412
|
-
definitionMap.set("version", literal("19.1.
|
|
29431
|
+
definitionMap.set("version", literal("19.1.7"));
|
|
29413
29432
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29414
29433
|
definitionMap.set("type", metadata.type);
|
|
29415
29434
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -29478,7 +29497,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
29478
29497
|
const definitionMap = new DefinitionMap();
|
|
29479
29498
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
29480
29499
|
definitionMap.set("minVersion", literal(minVersion));
|
|
29481
|
-
definitionMap.set("version", literal("19.1.
|
|
29500
|
+
definitionMap.set("version", literal("19.1.7"));
|
|
29482
29501
|
definitionMap.set("type", meta.type.value);
|
|
29483
29502
|
if (meta.isStandalone !== void 0) {
|
|
29484
29503
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -29806,7 +29825,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$4 = "12.0.0";
|
|
|
29806
29825
|
function compileDeclareFactoryFunction(meta) {
|
|
29807
29826
|
const definitionMap = new DefinitionMap();
|
|
29808
29827
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
29809
|
-
definitionMap.set("version", literal("19.1.
|
|
29828
|
+
definitionMap.set("version", literal("19.1.7"));
|
|
29810
29829
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29811
29830
|
definitionMap.set("type", meta.type.value);
|
|
29812
29831
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -29829,7 +29848,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
|
|
|
29829
29848
|
function createInjectableDefinitionMap(meta) {
|
|
29830
29849
|
const definitionMap = new DefinitionMap();
|
|
29831
29850
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
29832
|
-
definitionMap.set("version", literal("19.1.
|
|
29851
|
+
definitionMap.set("version", literal("19.1.7"));
|
|
29833
29852
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29834
29853
|
definitionMap.set("type", meta.type.value);
|
|
29835
29854
|
if (meta.providedIn !== void 0) {
|
|
@@ -29867,7 +29886,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
|
|
|
29867
29886
|
function createInjectorDefinitionMap(meta) {
|
|
29868
29887
|
const definitionMap = new DefinitionMap();
|
|
29869
29888
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
29870
|
-
definitionMap.set("version", literal("19.1.
|
|
29889
|
+
definitionMap.set("version", literal("19.1.7"));
|
|
29871
29890
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29872
29891
|
definitionMap.set("type", meta.type.value);
|
|
29873
29892
|
definitionMap.set("providers", meta.providers);
|
|
@@ -29891,7 +29910,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
29891
29910
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
29892
29911
|
}
|
|
29893
29912
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
29894
|
-
definitionMap.set("version", literal("19.1.
|
|
29913
|
+
definitionMap.set("version", literal("19.1.7"));
|
|
29895
29914
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29896
29915
|
definitionMap.set("type", meta.type.value);
|
|
29897
29916
|
if (meta.bootstrap.length > 0) {
|
|
@@ -29926,7 +29945,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
|
|
|
29926
29945
|
function createPipeDefinitionMap(meta) {
|
|
29927
29946
|
const definitionMap = new DefinitionMap();
|
|
29928
29947
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
29929
|
-
definitionMap.set("version", literal("19.1.
|
|
29948
|
+
definitionMap.set("version", literal("19.1.7"));
|
|
29930
29949
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29931
29950
|
definitionMap.set("type", meta.type.value);
|
|
29932
29951
|
if (meta.isStandalone !== void 0) {
|
|
@@ -30188,7 +30207,7 @@ publishFacade(_global);
|
|
|
30188
30207
|
|
|
30189
30208
|
@angular/compiler/fesm2022/compiler.mjs:
|
|
30190
30209
|
(**
|
|
30191
|
-
* @license Angular v19.1.
|
|
30210
|
+
* @license Angular v19.1.7
|
|
30192
30211
|
* (c) 2010-2024 Google LLC. https://angular.io/
|
|
30193
30212
|
* License: MIT
|
|
30194
30213
|
*)
|