@angular-eslint/utils 12.5.1-alpha.3 → 12.6.0
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [12.6.0](https://github.com/angular-eslint/angular-eslint/compare/v12.5.0...v12.6.0) (2021-10-25)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **bundled-angular-compiler:** create own bundle for `@angular/compiler` ([#720](https://github.com/angular-eslint/angular-eslint/issues/720)) ([0c42299](https://github.com/angular-eslint/angular-eslint/commit/0c422993496bb2670fbd31f55a5fe829704f5112))
|
|
11
|
+
|
|
6
12
|
# [12.5.0](https://github.com/angular-eslint/angular-eslint/compare/v12.4.1...v12.5.0) (2021-09-20)
|
|
7
13
|
|
|
8
14
|
### Features
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.checkSelector = exports.checkValidOptions = exports.reportTypeError = exports.reportStyleError = exports.reportPrefixError = exports.SelectorValidator = exports.OPTION_TYPE_ELEMENT = exports.OPTION_TYPE_ATTRS = exports.OPTION_TYPE_ATTRIBUTE = void 0;
|
|
4
|
-
const
|
|
4
|
+
const bundled_angular_compiler_1 = require("@angular-eslint/bundled-angular-compiler");
|
|
5
5
|
const ast_utils_1 = require("./ast-utils");
|
|
6
6
|
const utils_1 = require("../utils");
|
|
7
7
|
exports.OPTION_TYPE_ATTRIBUTE = 'attribute';
|
|
@@ -102,10 +102,10 @@ const checkSelector = (node, typeOption, prefixOption, styleOption) => {
|
|
|
102
102
|
: exports.SelectorValidator.camelCase;
|
|
103
103
|
let listSelectors = null;
|
|
104
104
|
if (node && ast_utils_1.isLiteral(node)) {
|
|
105
|
-
listSelectors =
|
|
105
|
+
listSelectors = bundled_angular_compiler_1.CssSelector.parse(node.raw);
|
|
106
106
|
}
|
|
107
107
|
else if (node && ast_utils_1.isTemplateLiteral(node) && node.quasis[0]) {
|
|
108
|
-
listSelectors =
|
|
108
|
+
listSelectors = bundled_angular_compiler_1.CssSelector.parse(node.quasis[0].value.raw);
|
|
109
109
|
}
|
|
110
110
|
if (!listSelectors) {
|
|
111
111
|
return null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular-eslint/utils",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.6.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"typescript": "*"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
+
"@angular-eslint/bundled-angular-compiler": "12.6.0",
|
|
18
19
|
"@typescript-eslint/experimental-utils": "4.28.2"
|
|
19
20
|
},
|
|
20
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "4e478ea0259ea7b57ee6e9f44ab943ad8cfef101"
|
|
21
22
|
}
|