Socket
Socket
Sign inDemoInstall

@typescript-eslint/type-utils

Package Overview
Dependencies
Maintainers
2
Versions
2108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typescript-eslint/type-utils - npm Package Compare versions

Comparing version 8.1.1-alpha.4 to 8.1.1-alpha.5

4

dist/typeOrValueSpecifiers/typeDeclaredInFile.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc