ember-eslint-parser 0.14.1 → 0.14.3
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/package.json +2 -2
- package/src/parser/transforms.js +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-eslint-parser",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"repository": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@glimmer/syntax": "^0.95.0",
|
|
24
24
|
"@typescript-eslint/tsconfig-utils": "^8.57.1",
|
|
25
25
|
"content-tag": "^4.1.1",
|
|
26
|
-
"ember-estree": "^0.6.
|
|
26
|
+
"ember-estree": "^0.6.10",
|
|
27
27
|
"eslint-scope": "^9.1.2",
|
|
28
28
|
"html-tags": "^5.1.0",
|
|
29
29
|
"mathml-tag-names": "^4.0.0",
|
package/src/parser/transforms.js
CHANGED
|
@@ -279,8 +279,11 @@ export const replaceRange = function replaceRange(s, start, end, substitute) {
|
|
|
279
279
|
};
|
|
280
280
|
|
|
281
281
|
function maskTemplateContentForLint(content) {
|
|
282
|
-
//
|
|
283
|
-
|
|
282
|
+
// Must produce byte-identical output to ember-estree's toPlaceholderJS
|
|
283
|
+
// masking, or typescript-eslint sees two different contents for the same
|
|
284
|
+
// .gts file (disk read vs lint parse) and invalidates + rebuilds the
|
|
285
|
+
// program on every file.
|
|
286
|
+
return content.replace(/[`$]/g, ' ');
|
|
284
287
|
}
|
|
285
288
|
|
|
286
289
|
const processor = new Preprocessor();
|