@angular-eslint/bundled-angular-compiler 22.5.1-alpha.11 → 22.5.1-alpha.13
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 +12 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -306,7 +306,7 @@ __export(index_exports, {
|
|
|
306
306
|
});
|
|
307
307
|
module.exports = __toCommonJS(index_exports);
|
|
308
308
|
|
|
309
|
-
// ../../node_modules/.pnpm/@angular+compiler@22.1.
|
|
309
|
+
// ../../node_modules/.pnpm/@angular+compiler@22.1.7/node_modules/@angular/compiler/fesm2022/compiler.mjs
|
|
310
310
|
var _SELECTOR_REGEXP = new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`, "g");
|
|
311
311
|
var CssSelector = class _CssSelector {
|
|
312
312
|
static {
|
|
@@ -23234,7 +23234,6 @@ function addSaveRestoreViewOperation(unit, opList, restoreViewTarget) {
|
|
|
23234
23234
|
}
|
|
23235
23235
|
__name(addSaveRestoreViewOperation, "addSaveRestoreViewOperation");
|
|
23236
23236
|
function allocateSlots(job) {
|
|
23237
|
-
const slotMap = /* @__PURE__ */ new Map();
|
|
23238
23237
|
for (const unit of job.units) {
|
|
23239
23238
|
let slotCount = 0;
|
|
23240
23239
|
for (const op of unit.create) {
|
|
@@ -23242,7 +23241,6 @@ function allocateSlots(job) {
|
|
|
23242
23241
|
continue;
|
|
23243
23242
|
}
|
|
23244
23243
|
op.handle.slot = slotCount;
|
|
23245
|
-
slotMap.set(op.xref, op.handle.slot);
|
|
23246
23244
|
slotCount += op.numSlotsUsed;
|
|
23247
23245
|
}
|
|
23248
23246
|
unit.decls = slotCount;
|
|
@@ -23410,7 +23408,6 @@ function generateTemporaries(ops) {
|
|
|
23410
23408
|
});
|
|
23411
23409
|
let count = 0;
|
|
23412
23410
|
const assigned = /* @__PURE__ */ new Set();
|
|
23413
|
-
const released = /* @__PURE__ */ new Set();
|
|
23414
23411
|
const defs = /* @__PURE__ */ new Map();
|
|
23415
23412
|
visitExpressionsInOp(op, (expr, flag) => {
|
|
23416
23413
|
if (flag & VisitorContextFlag.InChildOperation) {
|
|
@@ -23424,7 +23421,6 @@ function generateTemporaries(ops) {
|
|
|
23424
23421
|
assignName(defs, expr);
|
|
23425
23422
|
} else if (expr instanceof ReadTemporaryExpr) {
|
|
23426
23423
|
if (finalReads.get(expr.xref) === expr) {
|
|
23427
|
-
released.add(expr.xref);
|
|
23428
23424
|
count--;
|
|
23429
23425
|
}
|
|
23430
23426
|
assignName(defs, expr);
|
|
@@ -31526,7 +31522,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
|
31526
31522
|
function compileDeclareClassMetadata(metadata) {
|
|
31527
31523
|
const definitionMap = new DefinitionMap();
|
|
31528
31524
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$6));
|
|
31529
|
-
definitionMap.set("version", literal("22.1.
|
|
31525
|
+
definitionMap.set("version", literal("22.1.7"));
|
|
31530
31526
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
31531
31527
|
definitionMap.set("type", metadata.type);
|
|
31532
31528
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -31545,7 +31541,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
31545
31541
|
callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
|
|
31546
31542
|
callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
|
|
31547
31543
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
31548
|
-
definitionMap.set("version", literal("22.1.
|
|
31544
|
+
definitionMap.set("version", literal("22.1.7"));
|
|
31549
31545
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
31550
31546
|
definitionMap.set("type", metadata.type);
|
|
31551
31547
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -31622,7 +31618,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
31622
31618
|
const definitionMap = new DefinitionMap();
|
|
31623
31619
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
31624
31620
|
definitionMap.set("minVersion", literal(minVersion));
|
|
31625
|
-
definitionMap.set("version", literal("22.1.
|
|
31621
|
+
definitionMap.set("version", literal("22.1.7"));
|
|
31626
31622
|
definitionMap.set("type", meta.type.value);
|
|
31627
31623
|
if (meta.isStandalone !== void 0) {
|
|
31628
31624
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -31978,7 +31974,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$5 = "12.0.0";
|
|
|
31978
31974
|
function compileDeclareFactoryFunction(meta) {
|
|
31979
31975
|
const definitionMap = new DefinitionMap();
|
|
31980
31976
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
31981
|
-
definitionMap.set("version", literal("22.1.
|
|
31977
|
+
definitionMap.set("version", literal("22.1.7"));
|
|
31982
31978
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
31983
31979
|
definitionMap.set("type", meta.type.value);
|
|
31984
31980
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -32005,7 +32001,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
|
|
|
32005
32001
|
function createInjectableDefinitionMap(meta) {
|
|
32006
32002
|
const definitionMap = new DefinitionMap();
|
|
32007
32003
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
32008
|
-
definitionMap.set("version", literal("22.1.
|
|
32004
|
+
definitionMap.set("version", literal("22.1.7"));
|
|
32009
32005
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
32010
32006
|
definitionMap.set("type", meta.type.value);
|
|
32011
32007
|
if (meta.providedIn !== void 0) {
|
|
@@ -32047,7 +32043,7 @@ __name(compileDeclareServiceFromMetadata, "compileDeclareServiceFromMetadata");
|
|
|
32047
32043
|
function createServiceDefinitionMap(meta) {
|
|
32048
32044
|
const definitionMap = new DefinitionMap();
|
|
32049
32045
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
32050
|
-
definitionMap.set("version", literal("22.1.
|
|
32046
|
+
definitionMap.set("version", literal("22.1.7"));
|
|
32051
32047
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
32052
32048
|
definitionMap.set("type", meta.type.value);
|
|
32053
32049
|
if (meta.autoProvided === false) {
|
|
@@ -32074,7 +32070,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
|
|
|
32074
32070
|
function createInjectorDefinitionMap(meta) {
|
|
32075
32071
|
const definitionMap = new DefinitionMap();
|
|
32076
32072
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
32077
|
-
definitionMap.set("version", literal("22.1.
|
|
32073
|
+
definitionMap.set("version", literal("22.1.7"));
|
|
32078
32074
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
32079
32075
|
definitionMap.set("type", meta.type.value);
|
|
32080
32076
|
definitionMap.set("providers", meta.providers);
|
|
@@ -32105,7 +32101,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
32105
32101
|
throw new Error("Invalid path! Isolated compilation mode should not get into the partial compilation path");
|
|
32106
32102
|
}
|
|
32107
32103
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
32108
|
-
definitionMap.set("version", literal("22.1.
|
|
32104
|
+
definitionMap.set("version", literal("22.1.7"));
|
|
32109
32105
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
32110
32106
|
definitionMap.set("type", meta.type.value);
|
|
32111
32107
|
if (meta.bootstrap.length > 0) {
|
|
@@ -32144,7 +32140,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
|
|
|
32144
32140
|
function createPipeDefinitionMap(meta) {
|
|
32145
32141
|
const definitionMap = new DefinitionMap();
|
|
32146
32142
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
32147
|
-
definitionMap.set("version", literal("22.1.
|
|
32143
|
+
definitionMap.set("version", literal("22.1.7"));
|
|
32148
32144
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
32149
32145
|
definitionMap.set("type", meta.type.value);
|
|
32150
32146
|
if (meta.isStandalone !== void 0) {
|
|
@@ -32219,7 +32215,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
32219
32215
|
return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
|
|
32220
32216
|
}
|
|
32221
32217
|
__name(compileHmrUpdateCallback, "compileHmrUpdateCallback");
|
|
32222
|
-
var VERSION = new Version("22.1.
|
|
32218
|
+
var VERSION = new Version("22.1.7");
|
|
32223
32219
|
var HOST_BINDING_GUARD_COMMENT_TEXT = "hostBindingsBlockGuard";
|
|
32224
32220
|
function createHostElement(type, selector, nameSpan, hostObjectLiteralBindings, hostBindingDecorators, hostListenerDecorators) {
|
|
32225
32221
|
const bindings = [];
|
|
@@ -35588,7 +35584,7 @@ publishFacade(_global);
|
|
|
35588
35584
|
|
|
35589
35585
|
@angular/compiler/fesm2022/compiler.mjs:
|
|
35590
35586
|
(**
|
|
35591
|
-
* @license Angular v22.1.
|
|
35587
|
+
* @license Angular v22.1.7
|
|
35592
35588
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
35593
35589
|
* License: MIT
|
|
35594
35590
|
*)
|