@typescript-eslint/typescript-estree 8.44.2-alpha.6 → 8.44.2-alpha.8
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/convert-comments.js +3 -3
- package/package.json +5 -5
package/dist/convert-comments.js
CHANGED
|
@@ -57,14 +57,14 @@ function convertComments(ast, code) {
|
|
|
57
57
|
const textStart = range[0] + 2;
|
|
58
58
|
const textEnd = comment.kind === ts.SyntaxKind.SingleLineCommentTrivia
|
|
59
59
|
? // single line comments end at the end
|
|
60
|
-
range[1]
|
|
60
|
+
range[1]
|
|
61
61
|
: // multiline comments end 2 characters early
|
|
62
|
-
range[1] -
|
|
62
|
+
range[1] - 2;
|
|
63
63
|
comments.push({
|
|
64
64
|
type,
|
|
65
65
|
loc,
|
|
66
66
|
range,
|
|
67
|
-
value: code.slice(textStart,
|
|
67
|
+
value: code.slice(textStart, textEnd),
|
|
68
68
|
});
|
|
69
69
|
}, ast);
|
|
70
70
|
return comments;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/typescript-estree",
|
|
3
|
-
"version": "8.44.2-alpha.
|
|
3
|
+
"version": "8.44.2-alpha.8",
|
|
4
4
|
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"typecheck": "yarn run -BT nx typecheck"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@typescript-eslint/project-service": "8.44.2-alpha.
|
|
56
|
-
"@typescript-eslint/tsconfig-utils": "8.44.2-alpha.
|
|
57
|
-
"@typescript-eslint/types": "8.44.2-alpha.
|
|
58
|
-
"@typescript-eslint/visitor-keys": "8.44.2-alpha.
|
|
55
|
+
"@typescript-eslint/project-service": "8.44.2-alpha.8",
|
|
56
|
+
"@typescript-eslint/tsconfig-utils": "8.44.2-alpha.8",
|
|
57
|
+
"@typescript-eslint/types": "8.44.2-alpha.8",
|
|
58
|
+
"@typescript-eslint/visitor-keys": "8.44.2-alpha.8",
|
|
59
59
|
"debug": "^4.3.4",
|
|
60
60
|
"fast-glob": "^3.3.2",
|
|
61
61
|
"is-glob": "^4.0.3",
|