@typescript-eslint/typescript-estree 8.70.1-alpha.21 → 8.70.1-alpha.23
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.
|
@@ -229,6 +229,13 @@ function checkSyntaxError(tsNode, parent, allowPattern) {
|
|
|
229
229
|
}
|
|
230
230
|
break;
|
|
231
231
|
}
|
|
232
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
233
|
+
case SyntaxKind.AssertEntry:
|
|
234
|
+
case SyntaxKind.ImportAttribute:
|
|
235
|
+
if (node.value.kind !== SyntaxKind.StringLiteral) {
|
|
236
|
+
throw (0, node_utils_1.createError)(node.value, 'String literal expected.');
|
|
237
|
+
}
|
|
238
|
+
break;
|
|
232
239
|
case SyntaxKind.ExternalModuleReference:
|
|
233
240
|
if (node.expression.kind !== SyntaxKind.StringLiteral) {
|
|
234
241
|
throw (0, node_utils_1.createError)(node.expression, 'String literal expected.');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/typescript-estree",
|
|
3
|
-
"version": "8.70.1-alpha.
|
|
3
|
+
"version": "8.70.1-alpha.23",
|
|
4
4
|
"description": "A parser that converts TypeScript source code into an ESTree compatible form",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"syntax"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@typescript-eslint/project-service": "8.70.1-alpha.
|
|
47
|
-
"@typescript-eslint/tsconfig-utils": "8.70.1-alpha.
|
|
48
|
-
"@typescript-eslint/types": "8.70.1-alpha.
|
|
49
|
-
"@typescript-eslint/visitor-keys": "8.70.1-alpha.
|
|
46
|
+
"@typescript-eslint/project-service": "8.70.1-alpha.23",
|
|
47
|
+
"@typescript-eslint/tsconfig-utils": "8.70.1-alpha.23",
|
|
48
|
+
"@typescript-eslint/types": "8.70.1-alpha.23",
|
|
49
|
+
"@typescript-eslint/visitor-keys": "8.70.1-alpha.23",
|
|
50
50
|
"debug": "^4.4.3",
|
|
51
51
|
"minimatch": "^10.2.2",
|
|
52
52
|
"semver": "^7.7.3",
|