@angular-eslint/template-parser 19.2.2-alpha.4 → 19.2.2-alpha.6

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.
@@ -16,7 +16,7 @@ function convertNodeSourceSpanToLoc(sourceSpan) {
16
16
  };
17
17
  }
18
18
  function convertElementSourceSpanToLoc(context, node) {
19
- if (node.type !== 'Element$1') {
19
+ if (node.type !== 'Element') {
20
20
  // We explicitly throw an exception since this function should not be used
21
21
  // with non-element nodes, e.g. `TextAttribute` or `MethodDefinition`, etc.
22
22
  throw new Error('convertElementSourceSpanToLoc is intended to be used only with elements.');
package/dist/index.js CHANGED
@@ -16,8 +16,8 @@ const KEYS = {
16
16
  Call: ['receiver', 'args'],
17
17
  SafeCall: ['receiver', 'args'],
18
18
  Conditional: ['condition', 'trueExp', 'falseExp'],
19
- Element$1: ['children', 'inputs', 'outputs', 'attributes'],
20
- Interpolation$1: ['expressions'],
19
+ Element: ['children', 'inputs', 'outputs', 'attributes'],
20
+ Interpolation: ['expressions'],
21
21
  PrefixNot: ['expression'],
22
22
  Program: ['templateNodes'],
23
23
  PropertyRead: ['receiver'],
@@ -43,7 +43,7 @@ const KEYS = {
43
43
  ForLoopBlock: ['children', 'empty', 'expression', 'trackBy'],
44
44
  ForLoopBlockEmpty: ['children'],
45
45
  Content: ['children'],
46
- LetDeclaration$1: ['value'],
46
+ LetDeclaration: ['value'],
47
47
  };
48
48
  function fallbackKeysFilter(key) {
49
49
  let value = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-eslint/template-parser",
3
- "version": "19.2.2-alpha.4",
3
+ "version": "19.2.2-alpha.6",
4
4
  "description": "Angular Template parser for ESLint",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -19,7 +19,7 @@
19
19
  ],
20
20
  "dependencies": {
21
21
  "eslint-scope": "^8.0.2",
22
- "@angular-eslint/bundled-angular-compiler": "19.2.2-alpha.4"
22
+ "@angular-eslint/bundled-angular-compiler": "19.2.2-alpha.6"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "eslint": "^8.57.0 || ^9.0.0",