@eslint-react/ast 5.30.0-rc.0 → 5.30.0-rc.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/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /** Helpers for checking `TSESTree` node types. */
1
2
  import { AST_NODE_TYPES, TSESTree } from "@typescript-eslint/types";
2
3
  import { VisitorKeys } from "@typescript-eslint/visitor-keys";
3
4
  /** An expression statement that is a directive (ex: `"use strict"`). */
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as __exportAll } from "./rolldown-runtime-D8jQpDG7.js";
1
+ import { t as __exportAll } from "./rolldown-runtime-D3KUYPsf.js";
2
2
  import { AST_NODE_TYPES } from "@typescript-eslint/types";
3
3
  import * as ASTUtils from "@typescript-eslint/utils/ast-utils";
4
4
  import { visitorKeys } from "@typescript-eslint/visitor-keys";
@@ -0,0 +1,12 @@
1
+ // \0rolldown/runtime.js
2
+ var __defProp = Object.defineProperty;
3
+ var __exportAll = (all, flags) => {
4
+ let target = Object.setPrototypeOf({}, null);
5
+ for (var name in all) __defProp(target, name, {
6
+ get: all[name],
7
+ enumerable: true
8
+ });
9
+ if (!(flags & 1)) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
+ return flags & 2 ? target : Object.preventExtensions(target);
11
+ };
12
+ export { __exportAll as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/ast",
3
- "version": "5.30.0-rc.0",
3
+ "version": "5.30.0-rc.2",
4
4
  "description": "ESLint React's TSESTree AST utility module.",
5
5
  "homepage": "https://github.com/Rel1cx/eslint-react",
6
6
  "bugs": {
@@ -40,7 +40,7 @@
40
40
  "@tsconfig/node20": "^20.1.10",
41
41
  "@types/node": "^20.19.43",
42
42
  "eslint": "^10.14.0",
43
- "tsdown": "^0.23.5",
43
+ "tsdown": "^0.23.7",
44
44
  "typescript": "6.0.3",
45
45
  "vitest": "^5.1.0"
46
46
  },
@@ -1,12 +0,0 @@
1
- // \0rolldown/runtime.js
2
- var __defProp = Object.defineProperty;
3
- var __exportAll = (all, no_symbols) => {
4
- let target = {};
5
- for (var name in all) __defProp(target, name, {
6
- get: all[name],
7
- enumerable: true
8
- });
9
- if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
10
- return target;
11
- };
12
- export { __exportAll as t };