@eslint-react/ast 2.0.0-next.160 → 2.0.0-next.164
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/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ declare const isNodeEqual: {
|
|
|
28
28
|
*/
|
|
29
29
|
declare function toDelimiterFormat(node: TSESTree.Node, delimiter?: string): "RegExp literal" | Lowercase<string> | `JSX ${Lowercase<string>}`;
|
|
30
30
|
/**
|
|
31
|
+
* Incomplete but sufficient stringification of AST nodes for common use cases
|
|
32
|
+
*
|
|
31
33
|
* @internal
|
|
32
34
|
*/
|
|
33
35
|
declare function toStringFormat(node: TSESTree.Node, getText: (node: TSESTree.Node) => string): string;
|
package/dist/index.js
CHANGED
|
@@ -178,6 +178,8 @@ function toDelimiterFormat(node, delimiter = " ") {
|
|
|
178
178
|
return toLowerCase(delimiterCase(node.type, delimiter));
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
|
+
* Incomplete but sufficient stringification of AST nodes for common use cases
|
|
182
|
+
*
|
|
181
183
|
* @internal
|
|
182
184
|
*/
|
|
183
185
|
function toStringFormat(node, getText) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/ast",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.164",
|
|
4
4
|
"description": "ESLint React's TSESTree AST utility module.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"./package.json"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@typescript-eslint/types": "^8.
|
|
31
|
-
"@typescript-eslint/typescript-estree": "^8.
|
|
32
|
-
"@typescript-eslint/utils": "^8.
|
|
30
|
+
"@typescript-eslint/types": "^8.42.0",
|
|
31
|
+
"@typescript-eslint/typescript-estree": "^8.42.0",
|
|
32
|
+
"@typescript-eslint/utils": "^8.42.0",
|
|
33
33
|
"string-ts": "^2.2.1",
|
|
34
34
|
"ts-pattern": "^5.8.0",
|
|
35
|
-
"@eslint-react/eff": "2.0.0-next.
|
|
35
|
+
"@eslint-react/eff": "2.0.0-next.164"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"tsdown": "^0.14.2",
|