@typescript-eslint/type-utils
Advanced tools
Comparing version 8.1.1-alpha.4 to 8.1.1-alpha.5
@@ -7,4 +7,4 @@ "use strict"; | ||
exports.typeDeclaredInFile = typeDeclaredInFile; | ||
const node_path_1 = __importDefault(require("node:path")); | ||
const typescript_estree_1 = require("@typescript-eslint/typescript-estree"); | ||
const path_1 = __importDefault(require("path")); | ||
function typeDeclaredInFile(relativePath, declarationFiles, program) { | ||
@@ -15,5 +15,5 @@ if (relativePath === undefined) { | ||
} | ||
const absolutePath = (0, typescript_estree_1.getCanonicalFileName)(path_1.default.join(program.getCurrentDirectory(), relativePath)); | ||
const absolutePath = (0, typescript_estree_1.getCanonicalFileName)(node_path_1.default.join(program.getCurrentDirectory(), relativePath)); | ||
return declarationFiles.some(declaration => (0, typescript_estree_1.getCanonicalFileName)(declaration.fileName) === absolutePath); | ||
} | ||
//# sourceMappingURL=typeDeclaredInFile.js.map |
{ | ||
"name": "@typescript-eslint/type-utils", | ||
"version": "8.1.1-alpha.4", | ||
"version": "8.1.1-alpha.5", | ||
"description": "Type utilities for working with TypeScript + ESLint together", | ||
@@ -49,4 +49,4 @@ "files": [ | ||
"dependencies": { | ||
"@typescript-eslint/typescript-estree": "8.1.1-alpha.4", | ||
"@typescript-eslint/utils": "8.1.1-alpha.4", | ||
"@typescript-eslint/typescript-estree": "8.1.1-alpha.5", | ||
"@typescript-eslint/utils": "8.1.1-alpha.5", | ||
"debug": "^4.3.4", | ||
@@ -57,3 +57,3 @@ "ts-api-utils": "^1.3.0" | ||
"@jest/types": "29.6.3", | ||
"@typescript-eslint/parser": "8.1.1-alpha.4", | ||
"@typescript-eslint/parser": "8.1.1-alpha.5", | ||
"ajv": "^6.12.6", | ||
@@ -60,0 +60,0 @@ "downlevel-dts": "*", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
113043
+ Added@typescript-eslint/scope-manager@8.1.1-alpha.5(transitive)
+ Added@typescript-eslint/types@8.1.1-alpha.5(transitive)
+ Added@typescript-eslint/typescript-estree@8.1.1-alpha.5(transitive)
+ Added@typescript-eslint/utils@8.1.1-alpha.5(transitive)
+ Added@typescript-eslint/visitor-keys@8.1.1-alpha.5(transitive)
- Removed@typescript-eslint/scope-manager@8.1.1-alpha.4(transitive)
- Removed@typescript-eslint/types@8.1.1-alpha.4(transitive)
- Removed@typescript-eslint/typescript-estree@8.1.1-alpha.4(transitive)
- Removed@typescript-eslint/utils@8.1.1-alpha.4(transitive)
- Removed@typescript-eslint/visitor-keys@8.1.1-alpha.4(transitive)