@eslint-react/ast 2.0.0-next.160 → 2.0.0-next.162

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 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.160",
3
+ "version": "2.0.0-next.162",
4
4
  "description": "ESLint React's TSESTree AST utility module.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -32,7 +32,7 @@
32
32
  "@typescript-eslint/utils": "^8.41.0",
33
33
  "string-ts": "^2.2.1",
34
34
  "ts-pattern": "^5.8.0",
35
- "@eslint-react/eff": "2.0.0-next.160"
35
+ "@eslint-react/eff": "2.0.0-next.162"
36
36
  },
37
37
  "devDependencies": {
38
38
  "tsdown": "^0.14.2",