@typescript-eslint/utils 8.60.1-alpha.0 → 8.60.1-alpha.2
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/ast-utils/misc.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type { TSESTree } from '../ts-estree';
|
|
2
|
+
/**
|
|
3
|
+
* A regular expression to match line terminators.
|
|
4
|
+
* @see https://tc39.es/ecma262/multipage/ecmascript-language-lexical-grammar.html#prod-LineTerminator
|
|
5
|
+
*/
|
|
2
6
|
export declare const LINEBREAK_MATCHER: RegExp;
|
|
3
7
|
/**
|
|
4
8
|
* Determines whether two adjacent tokens are on the same line
|
package/dist/ast-utils/misc.js
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LINEBREAK_MATCHER = void 0;
|
|
4
4
|
exports.isTokenOnSameLine = isTokenOnSameLine;
|
|
5
|
+
/**
|
|
6
|
+
* A regular expression to match line terminators.
|
|
7
|
+
* @see https://tc39.es/ecma262/multipage/ecmascript-language-lexical-grammar.html#prod-LineTerminator
|
|
8
|
+
*/
|
|
5
9
|
exports.LINEBREAK_MATCHER = /\r\n|[\r\n\u2028\u2029]/;
|
|
6
10
|
/**
|
|
7
11
|
* Determines whether two adjacent tokens are on the same line
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/utils",
|
|
3
|
-
"version": "8.60.1-alpha.
|
|
3
|
+
"version": "8.60.1-alpha.2",
|
|
4
4
|
"description": "Utilities for working with TypeScript + ESLint together",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
],
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@eslint-community/eslint-utils": "^4.9.1",
|
|
57
|
-
"@typescript-eslint/
|
|
58
|
-
"@typescript-eslint/
|
|
59
|
-
"@typescript-eslint/typescript-estree": "8.60.1-alpha.
|
|
57
|
+
"@typescript-eslint/types": "8.60.1-alpha.2",
|
|
58
|
+
"@typescript-eslint/scope-manager": "8.60.1-alpha.2",
|
|
59
|
+
"@typescript-eslint/typescript-estree": "8.60.1-alpha.2"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|