@eslint-react/ast 1.16.0-next.2 → 1.16.1-next.0
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 +16 -0
- package/dist/index.d.ts +16 -0
- package/package.json +6 -6
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.
|
|
3
|
+
"version": "1.16.1-next.0",
|
|
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.
|
|
39
|
-
"@typescript-eslint/typescript-estree": "^8.
|
|
40
|
-
"@typescript-eslint/utils": "^8.
|
|
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.
|
|
45
|
-
"@eslint-react/types": "1.16.
|
|
44
|
+
"@eslint-react/tools": "1.16.1-next.0",
|
|
45
|
+
"@eslint-react/types": "1.16.1-next.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"tsup": "^8.3.5"
|