Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-import-resolver-typescript

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-import-resolver-typescript - npm Package Compare versions

Comparing version 3.6.1 to 3.6.3

6

lib/index.js
import fs from 'node:fs';
import path from 'node:path';
import isNodeCoreModule from '@nolyfill/is-core-module';
import debug from 'debug';

@@ -8,3 +9,3 @@ import enhancedResolve from 'enhanced-resolve';

import { createPathsMatcher, getTsconfig } from 'get-tsconfig';
import isCore from 'is-core-module';
import { isBunModule } from 'is-bun-module';
import isGlob from 'is-glob';

@@ -90,3 +91,4 @@ const { globSync } = fg;

source = removeQuerystring(source);
if (isCore(source)) {
if (isNodeCoreModule(source) ||
isBunModule(source, (process.versions.bun ?? 'latest'))) {
log('matched core:', source);

@@ -93,0 +95,0 @@ return {

{
"name": "eslint-import-resolver-typescript",
"version": "3.6.1",
"version": "3.6.3",
"type": "module",

@@ -13,3 +13,3 @@ "description": "This plugin adds `TypeScript` support to `eslint-plugin-import`",

"license": "ISC",
"packageManager": "pnpm@8.7.6",
"packageManager": "yarn@4.0.2",
"engines": {

@@ -45,36 +45,73 @@ "node": "^14.18.0 || >=16.0.0"

],
"scripts": {
"build": "run-p 'build:*'",
"build:r": "r -f cjs,es2020",
"build:ts": "tsc -b",
"lint": "run-p 'lint:*'",
"lint:es": "eslint src --cache -f friendly",
"lint:tsc": "tsc --noEmit",
"prepare": "simple-git-hooks",
"release": "changeset publish",
"test": "run-p 'test:*'",
"test:multipleEslintrcs": "eslint --ext ts,tsx tests/multipleEslintrcs",
"test:multipleTsconfigs": "eslint --ext ts,tsx tests/multipleTsconfigs",
"test:withJsExtension": "node tests/withJsExtension/test.js && eslint --ext ts,tsx tests/withJsExtension",
"test:withJsconfig": "eslint --ext js tests/withJsconfig",
"test:withPaths": "eslint --ext ts,tsx tests/withPaths",
"test:withPathsAndNestedBaseUrl": "eslint --ext ts,tsx tests/withPathsAndNestedBaseUrl",
"test:withQuerystring": "eslint --ext ts,tsx tests/withQuerystring",
"test:withoutPaths": "eslint --ext ts,tsx tests/withoutPaths",
"typecov": "type-coverage"
},
"peerDependencies": {
"eslint": "*",
"eslint-plugin-import": "*"
"eslint-plugin-import": "*",
"eslint-plugin-import-x": "*"
},
"peerDependenciesMeta": {
"eslint-plugin-import": {
"optional": true
},
"eslint-plugin-import-x": {
"optional": true
}
},
"dependencies": {
"debug": "^4.3.4",
"enhanced-resolve": "^5.12.0",
"eslint-module-utils": "^2.7.4",
"fast-glob": "^3.3.1",
"get-tsconfig": "^4.5.0",
"is-core-module": "^2.11.0",
"@nolyfill/is-core-module": "1.0.39",
"debug": "^4.3.5",
"enhanced-resolve": "^5.15.0",
"eslint-module-utils": "^2.8.1",
"fast-glob": "^3.3.2",
"get-tsconfig": "^4.7.5",
"is-bun-module": "^1.0.2",
"is-glob": "^4.0.3"
},
"devDependencies": {
"@1stg/lib-config": "^11.0.1",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@mozilla/glean": "^1.3.0",
"@types/debug": "^4.1.7",
"@types/is-core-module": "^2.2.0",
"@types/is-glob": "^4.0.2",
"@types/node": "^18.15.11",
"@types/unist": "^2.0.8",
"@1stg/lib-config": "^12.0.1",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.7",
"@commitlint/cli": "^17.8.1",
"@mozilla/glean": "^3.0.0",
"@pkgr/rollup": "^4.1.3",
"@types/debug": "^4.1.12",
"@types/is-glob": "^4.0.4",
"@types/node": "^18.19.42",
"@types/unist": "^2.0.10",
"dummy.js": "link:dummy.js",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "link:.",
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
"lint-staged": "^13.3.0",
"npm-run-all2": "^5.0.2",
"prettier": "^2.8.8",
"react": "^18.2.0",
"size-limit": "^8.2.4",
"size-limit-preset-node-lib": "^0.2.0",
"type-coverage": "^2.25.0",
"typescript": "^5.0.4"
"simple-git-hooks": "^2.9.0",
"size-limit": "^11.0.0",
"size-limit-preset-node-lib": "^0.3.0",
"type-coverage": "^2.27.0",
"typescript": "^5.3.2"
},
"resolutions": {
"eslint-import-resolver-typescript": "link:.",
"eslint-plugin-import": "^2.27.5",
"prettier": "^2.8.7"
"prettier": "^2.8.8"
},

@@ -90,22 +127,3 @@ "typeCoverage": {

"update": true
},
"scripts": {
"build": "run-p build:*",
"build:r": "r -f cjs,es2020",
"build:ts": "tsc -b",
"lint": "run-p lint:*",
"lint:es": "eslint src --cache -f friendly",
"lint:tsc": "tsc --noEmit",
"release": "changeset publish",
"test": "run-p test:*",
"test:multipleEslintrcs": "eslint --ext ts,tsx tests/multipleEslintrcs",
"test:multipleTsconfigs": "eslint --ext ts,tsx tests/multipleTsconfigs",
"test:withJsExtension": "node tests/withJsExtension/test.js && eslint --ext ts,tsx tests/withJsExtension",
"test:withJsconfig": "eslint --ext js tests/withJsconfig",
"test:withPaths": "eslint --ext ts,tsx tests/withPaths",
"test:withPathsAndNestedBaseUrl": "eslint --ext ts,tsx tests/withPathsAndNestedBaseUrl",
"test:withQuerystring": "eslint --ext ts,tsx tests/withQuerystring",
"test:withoutPaths": "eslint --ext ts,tsx tests/withoutPaths",
"typecov": "type-coverage"
}
}
}

@@ -61,2 +61,4 @@ # eslint-import-resolver-typescript

**Important when using `eslint-plugin-i` and `npm`**: Use `npm i -D eslint-plugin-import@eslint-plugin-i@latest eslint-import-resolver-typescript`, or you will end up with both `eslint-plugin-import` and `eslint-plugin-i` in your node_modules.
## Configuration

@@ -63,0 +65,0 @@

Sorry, the diff of this file is not supported yet

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