@eslint-react/ast 1.16.0-next.0 → 1.16.1-beta.3

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.mts CHANGED
@@ -967,7 +967,23 @@ declare interface ImportDefaultSpecifier extends BaseNode {
967
967
  }
968
968
  declare interface ImportExpression extends BaseNode {
969
969
  type: AST_NODE_TYPES.ImportExpression;
970
+ /**
971
+ * The attributes declared for the dynamic import.
972
+ * @example
973
+ * ```ts
974
+ * import('mod', \{ assert: \{ type: 'json' \} \});
975
+ * ```
976
+ * @deprecated Replaced with {@link `options`}.
977
+ */
970
978
  attributes: Expression | null;
979
+ /**
980
+ * The options bag declared for the dynamic import.
981
+ * @example
982
+ * ```ts
983
+ * import('mod', \{ assert: \{ type: 'json' \} \});
984
+ * ```
985
+ */
986
+ options: Expression | null;
971
987
  source: Expression;
972
988
  }
973
989
  declare type ImportKind = ExportAndImportKind;
package/dist/index.d.ts CHANGED
@@ -967,7 +967,23 @@ declare interface ImportDefaultSpecifier extends BaseNode {
967
967
  }
968
968
  declare interface ImportExpression extends BaseNode {
969
969
  type: AST_NODE_TYPES.ImportExpression;
970
+ /**
971
+ * The attributes declared for the dynamic import.
972
+ * @example
973
+ * ```ts
974
+ * import('mod', \{ assert: \{ type: 'json' \} \});
975
+ * ```
976
+ * @deprecated Replaced with {@link `options`}.
977
+ */
970
978
  attributes: Expression | null;
979
+ /**
980
+ * The options bag declared for the dynamic import.
981
+ * @example
982
+ * ```ts
983
+ * import('mod', \{ assert: \{ type: 'json' \} \});
984
+ * ```
985
+ */
986
+ options: Expression | null;
971
987
  source: Expression;
972
988
  }
973
989
  declare type ImportKind = ExportAndImportKind;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/ast",
3
- "version": "1.16.0-next.0",
3
+ "version": "1.16.1-beta.3",
4
4
  "description": "ESLint React's TSESTree AST utility module.",
5
5
  "homepage": "https://github.com/rel1cx/eslint-react",
6
6
  "bugs": {
@@ -35,14 +35,14 @@
35
35
  "./package.json"
36
36
  ],
37
37
  "dependencies": {
38
- "@typescript-eslint/types": "^8.12.1",
39
- "@typescript-eslint/typescript-estree": "^8.12.1",
40
- "@typescript-eslint/utils": "^8.12.1",
38
+ "@typescript-eslint/types": "^8.13.0",
39
+ "@typescript-eslint/typescript-estree": "^8.13.0",
40
+ "@typescript-eslint/utils": "^8.13.0",
41
41
  "birecord": "^0.1.1",
42
42
  "string-ts": "^2.2.0",
43
43
  "ts-pattern": "^5.5.0",
44
- "@eslint-react/tools": "1.16.0-next.0",
45
- "@eslint-react/types": "1.16.0-next.0"
44
+ "@eslint-react/tools": "1.16.1-beta.3",
45
+ "@eslint-react/types": "1.16.1-beta.3"
46
46
  },
47
47
  "devDependencies": {
48
48
  "tsup": "^8.3.5"