@typescript-eslint/type-utils 8.67.1-alpha.2 → 8.67.1-alpha.21
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/CHANGELOG.md +2133 -0
- package/dist/TypeOrValueSpecifier.js +1 -0
- package/dist/builtinSymbolLikes.js +1 -0
- package/dist/containsAllTypesByName.js +1 -0
- package/dist/discriminateAnyType.js +1 -0
- package/dist/getConstrainedTypeAtLocation.js +1 -0
- package/dist/getContextualType.js +1 -0
- package/dist/getDeclaration.js +1 -0
- package/dist/getSourceFileOfNode.js +1 -0
- package/dist/getTypeName.js +1 -0
- package/dist/index.js +1 -0
- package/dist/isSymbolFromDefaultLibrary.js +1 -0
- package/dist/isTypeBrandedLiteralLike.js +1 -0
- package/dist/isTypeReadonly.js +1 -0
- package/dist/isUnsafeAssignment.js +1 -0
- package/dist/predicates.js +1 -0
- package/dist/propertyTypes.js +1 -0
- package/dist/requiresQuoting.js +1 -0
- package/dist/typeFlagUtils.js +1 -0
- package/dist/typeOrValueSpecifiers/specifierNameMatches.js +1 -0
- package/dist/typeOrValueSpecifiers/typeDeclaredInFile.js +1 -0
- package/dist/typeOrValueSpecifiers/typeDeclaredInLib.js +1 -0
- package/dist/typeOrValueSpecifiers/typeDeclaredInPackageDeclarationFile.js +1 -0
- package/package.json +8 -7
|
@@ -210,3 +210,4 @@ function valueMatchesSpecifier(node, specifier, program, type) {
|
|
|
210
210
|
}
|
|
211
211
|
const valueMatchesSomeSpecifier = (node, specifiers = [], program, type) => specifiers.some(specifier => valueMatchesSpecifier(node, specifier, program, type));
|
|
212
212
|
exports.valueMatchesSomeSpecifier = valueMatchesSomeSpecifier;
|
|
213
|
+
//# sourceMappingURL=TypeOrValueSpecifier.js.map
|
package/dist/getDeclaration.js
CHANGED
package/dist/getTypeName.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -36,3 +36,4 @@ var typescript_estree_1 = require("@typescript-eslint/typescript-estree");
|
|
|
36
36
|
Object.defineProperty(exports, "getDecorators", { enumerable: true, get: function () { return typescript_estree_1.getDecorators; } });
|
|
37
37
|
Object.defineProperty(exports, "getModifiers", { enumerable: true, get: function () { return typescript_estree_1.getModifiers; } });
|
|
38
38
|
Object.defineProperty(exports, "typescriptVersionIsAtLeast", { enumerable: true, get: function () { return typescript_estree_1.typescriptVersionIsAtLeast; } });
|
|
39
|
+
//# sourceMappingURL=index.js.map
|
package/dist/isTypeReadonly.js
CHANGED
package/dist/predicates.js
CHANGED
package/dist/propertyTypes.js
CHANGED
package/dist/requiresQuoting.js
CHANGED
package/dist/typeFlagUtils.js
CHANGED
|
@@ -14,3 +14,4 @@ function typeDeclaredInFile(relativePath, declarationFiles, program) {
|
|
|
14
14
|
const absolutePath = (0, typescript_estree_1.getCanonicalFileName)(node_path_1.default.join(program.getCurrentDirectory(), relativePath));
|
|
15
15
|
return declarationFiles.some(declaration => (0, typescript_estree_1.getCanonicalFileName)(declaration.fileName) === absolutePath);
|
|
16
16
|
}
|
|
17
|
+
//# sourceMappingURL=typeDeclaredInFile.js.map
|
|
@@ -68,3 +68,4 @@ function typeDeclaredInPackageDeclarationFile(packageName, declarations, declara
|
|
|
68
68
|
return (typeDeclaredInDeclareModule(packageName, declarations) ||
|
|
69
69
|
typeDeclaredInDeclarationFile(packageName, declarationFiles, program));
|
|
70
70
|
}
|
|
71
|
+
//# sourceMappingURL=typeDeclaredInPackageDeclarationFile.js.map
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/type-utils",
|
|
3
|
-
"version": "8.67.1-alpha.
|
|
3
|
+
"version": "8.67.1-alpha.21",
|
|
4
4
|
"description": "Type utilities for working with TypeScript + ESLint together",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
|
+
"!**/*.js.map",
|
|
7
8
|
"!**/*.tsbuildinfo"
|
|
8
9
|
],
|
|
9
10
|
"type": "commonjs",
|
|
@@ -33,11 +34,11 @@
|
|
|
33
34
|
"estree"
|
|
34
35
|
],
|
|
35
36
|
"dependencies": {
|
|
37
|
+
"@typescript-eslint/types": "8.67.1-alpha.21",
|
|
38
|
+
"@typescript-eslint/typescript-estree": "8.67.1-alpha.21",
|
|
39
|
+
"@typescript-eslint/utils": "8.67.1-alpha.21",
|
|
36
40
|
"debug": "^4.4.3",
|
|
37
|
-
"ts-api-utils": "^2.5.0"
|
|
38
|
-
"@typescript-eslint/typescript-estree": "8.67.1-alpha.2",
|
|
39
|
-
"@typescript-eslint/utils": "8.67.1-alpha.2",
|
|
40
|
-
"@typescript-eslint/types": "8.67.1-alpha.2"
|
|
41
|
+
"ts-api-utils": "^2.5.0"
|
|
41
42
|
},
|
|
42
43
|
"peerDependencies": {
|
|
43
44
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
|
@@ -45,14 +46,14 @@
|
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@types/babel__code-frame": "^7.0.6",
|
|
49
|
+
"@typescript-eslint/parser": "8.67.1-alpha.21",
|
|
48
50
|
"@typescript/native": "npm:typescript@^7.0.2",
|
|
49
51
|
"@vitest/coverage-v8": "^4.0.18",
|
|
50
52
|
"ajv": "^6.12.6",
|
|
51
53
|
"eslint": "^10.0.0",
|
|
52
54
|
"rimraf": "^5.0.10",
|
|
53
55
|
"typescript": ">=4.8.4 <6.1.0",
|
|
54
|
-
"vitest": "^4.0.18"
|
|
55
|
-
"@typescript-eslint/parser": "8.67.1-alpha.2"
|
|
56
|
+
"vitest": "^4.0.18"
|
|
56
57
|
},
|
|
57
58
|
"funding": {
|
|
58
59
|
"type": "opencollective",
|