@typescript-eslint/typescript-estree 8.44.2-alpha.5 → 8.44.2-alpha.7

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.
@@ -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] - textStart
60
+ range[1]
61
61
  : // multiline comments end 2 characters early
62
- range[1] - textStart - 2;
62
+ range[1] - 2;
63
63
  comments.push({
64
64
  type,
65
65
  loc,
66
66
  range,
67
- value: code.slice(textStart, textStart + textEnd),
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.5",
3
+ "version": "8.44.2-alpha.7",
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.5",
56
- "@typescript-eslint/tsconfig-utils": "8.44.2-alpha.5",
57
- "@typescript-eslint/types": "8.44.2-alpha.5",
58
- "@typescript-eslint/visitor-keys": "8.44.2-alpha.5",
55
+ "@typescript-eslint/project-service": "8.44.2-alpha.7",
56
+ "@typescript-eslint/tsconfig-utils": "8.44.2-alpha.7",
57
+ "@typescript-eslint/types": "8.44.2-alpha.7",
58
+ "@typescript-eslint/visitor-keys": "8.44.2-alpha.7",
59
59
  "debug": "^4.3.4",
60
60
  "fast-glob": "^3.3.2",
61
61
  "is-glob": "^4.0.3",