@angular-eslint/bundled-angular-compiler 19.6.1-alpha.0 → 19.6.1-alpha.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/dist/index.js +16 -18
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -273,7 +273,7 @@ __export(index_exports, {
|
|
|
273
273
|
});
|
|
274
274
|
module.exports = __toCommonJS(index_exports);
|
|
275
275
|
|
|
276
|
-
// ../../node_modules/.pnpm/@angular+compiler@19.2.
|
|
276
|
+
// ../../node_modules/.pnpm/@angular+compiler@19.2.14/node_modules/@angular/compiler/fesm2022/compiler.mjs
|
|
277
277
|
var _SELECTOR_REGEXP = new RegExp(
|
|
278
278
|
`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
|
|
279
279
|
// 8: ","
|
|
@@ -16636,8 +16636,7 @@ var _Scanner = class {
|
|
|
16636
16636
|
length;
|
|
16637
16637
|
peek = 0;
|
|
16638
16638
|
index = -1;
|
|
16639
|
-
|
|
16640
|
-
braceDepth = 0;
|
|
16639
|
+
braceStack = [];
|
|
16641
16640
|
constructor(input) {
|
|
16642
16641
|
this.input = input;
|
|
16643
16642
|
this.length = input.length;
|
|
@@ -16739,18 +16738,17 @@ var _Scanner = class {
|
|
|
16739
16738
|
return newOperatorToken(start, this.index, str);
|
|
16740
16739
|
}
|
|
16741
16740
|
scanOpenBrace(start, code) {
|
|
16742
|
-
this.
|
|
16741
|
+
this.braceStack.push("expression");
|
|
16743
16742
|
this.advance();
|
|
16744
16743
|
return newCharacterToken(start, this.index, code);
|
|
16745
16744
|
}
|
|
16746
16745
|
scanCloseBrace(start, code) {
|
|
16747
16746
|
this.advance();
|
|
16748
|
-
|
|
16749
|
-
|
|
16747
|
+
const currentBrace = this.braceStack.pop();
|
|
16748
|
+
if (currentBrace === "interpolation") {
|
|
16750
16749
|
this.tokens.push(newOperatorToken(start, this.index, "}"));
|
|
16751
16750
|
return this.scanTemplateLiteralPart(this.index);
|
|
16752
16751
|
}
|
|
16753
|
-
this.braceDepth--;
|
|
16754
16752
|
return newCharacterToken(start, this.index, code);
|
|
16755
16753
|
}
|
|
16756
16754
|
/**
|
|
@@ -16877,7 +16875,7 @@ var _Scanner = class {
|
|
|
16877
16875
|
const dollar = this.index;
|
|
16878
16876
|
this.advance();
|
|
16879
16877
|
if (this.peek === $LBRACE) {
|
|
16880
|
-
this.
|
|
16878
|
+
this.braceStack.push("interpolation");
|
|
16881
16879
|
this.tokens.push(new StringToken(start, dollar, buffer + this.input.substring(marker, dollar), StringTokenKind.TemplateLiteralPart));
|
|
16882
16880
|
this.advance();
|
|
16883
16881
|
return newOperatorToken(dollar, this.index, this.input.substring(dollar, this.index));
|
|
@@ -27897,7 +27895,7 @@ function publishFacade(global) {
|
|
|
27897
27895
|
ng.\u0275compilerFacade = new CompilerFacadeImpl();
|
|
27898
27896
|
}
|
|
27899
27897
|
__name(publishFacade, "publishFacade");
|
|
27900
|
-
var VERSION = new Version("19.2.
|
|
27898
|
+
var VERSION = new Version("19.2.14");
|
|
27901
27899
|
var CompilerConfig = class {
|
|
27902
27900
|
static {
|
|
27903
27901
|
__name(this, "CompilerConfig");
|
|
@@ -29669,7 +29667,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
|
29669
29667
|
function compileDeclareClassMetadata(metadata) {
|
|
29670
29668
|
const definitionMap = new DefinitionMap();
|
|
29671
29669
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
29672
|
-
definitionMap.set("version", literal("19.2.
|
|
29670
|
+
definitionMap.set("version", literal("19.2.14"));
|
|
29673
29671
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29674
29672
|
definitionMap.set("type", metadata.type);
|
|
29675
29673
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -29688,7 +29686,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
29688
29686
|
callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
|
|
29689
29687
|
callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
|
|
29690
29688
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
29691
|
-
definitionMap.set("version", literal("19.2.
|
|
29689
|
+
definitionMap.set("version", literal("19.2.14"));
|
|
29692
29690
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29693
29691
|
definitionMap.set("type", metadata.type);
|
|
29694
29692
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -29757,7 +29755,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
29757
29755
|
const definitionMap = new DefinitionMap();
|
|
29758
29756
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
29759
29757
|
definitionMap.set("minVersion", literal(minVersion));
|
|
29760
|
-
definitionMap.set("version", literal("19.2.
|
|
29758
|
+
definitionMap.set("version", literal("19.2.14"));
|
|
29761
29759
|
definitionMap.set("type", meta.type.value);
|
|
29762
29760
|
if (meta.isStandalone !== void 0) {
|
|
29763
29761
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -30084,7 +30082,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$4 = "12.0.0";
|
|
|
30084
30082
|
function compileDeclareFactoryFunction(meta) {
|
|
30085
30083
|
const definitionMap = new DefinitionMap();
|
|
30086
30084
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
30087
|
-
definitionMap.set("version", literal("19.2.
|
|
30085
|
+
definitionMap.set("version", literal("19.2.14"));
|
|
30088
30086
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30089
30087
|
definitionMap.set("type", meta.type.value);
|
|
30090
30088
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -30107,7 +30105,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
|
|
|
30107
30105
|
function createInjectableDefinitionMap(meta) {
|
|
30108
30106
|
const definitionMap = new DefinitionMap();
|
|
30109
30107
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
30110
|
-
definitionMap.set("version", literal("19.2.
|
|
30108
|
+
definitionMap.set("version", literal("19.2.14"));
|
|
30111
30109
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30112
30110
|
definitionMap.set("type", meta.type.value);
|
|
30113
30111
|
if (meta.providedIn !== void 0) {
|
|
@@ -30145,7 +30143,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
|
|
|
30145
30143
|
function createInjectorDefinitionMap(meta) {
|
|
30146
30144
|
const definitionMap = new DefinitionMap();
|
|
30147
30145
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
30148
|
-
definitionMap.set("version", literal("19.2.
|
|
30146
|
+
definitionMap.set("version", literal("19.2.14"));
|
|
30149
30147
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30150
30148
|
definitionMap.set("type", meta.type.value);
|
|
30151
30149
|
definitionMap.set("providers", meta.providers);
|
|
@@ -30169,7 +30167,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
30169
30167
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
30170
30168
|
}
|
|
30171
30169
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
30172
|
-
definitionMap.set("version", literal("19.2.
|
|
30170
|
+
definitionMap.set("version", literal("19.2.14"));
|
|
30173
30171
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30174
30172
|
definitionMap.set("type", meta.type.value);
|
|
30175
30173
|
if (meta.bootstrap.length > 0) {
|
|
@@ -30204,7 +30202,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
|
|
|
30204
30202
|
function createPipeDefinitionMap(meta) {
|
|
30205
30203
|
const definitionMap = new DefinitionMap();
|
|
30206
30204
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
30207
|
-
definitionMap.set("version", literal("19.2.
|
|
30205
|
+
definitionMap.set("version", literal("19.2.14"));
|
|
30208
30206
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30209
30207
|
definitionMap.set("type", meta.type.value);
|
|
30210
30208
|
if (meta.isStandalone !== void 0) {
|
|
@@ -30474,7 +30472,7 @@ publishFacade(_global);
|
|
|
30474
30472
|
|
|
30475
30473
|
@angular/compiler/fesm2022/compiler.mjs:
|
|
30476
30474
|
(**
|
|
30477
|
-
* @license Angular v19.2.
|
|
30475
|
+
* @license Angular v19.2.14
|
|
30478
30476
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
30479
30477
|
* License: MIT
|
|
30480
30478
|
*)
|