File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 12
12
"license" : " ISC" ,
13
13
"packageManager" :
" [email protected] " ,
14
14
"engines" : {
15
- "node" : " ^16.17 .0 || >=18.6 .0"
15
+ "node" : " ^14.18 .0 || >=16.0 .0"
16
16
},
17
17
"main" : " lib/index.cjs" ,
18
18
"module" : " lib/index.js" ,
77
77
}
78
78
},
79
79
"dependencies" : {
80
- "@nolyfill/is-core-module" : " 1.0.39" ,
80
+ "@nolyfill/is-core-module" : " ^ 1.0.39" ,
81
81
"debug" : " ^4.4.0" ,
82
82
"get-tsconfig" : " ^4.10.0" ,
83
83
"is-bun-module" : " ^1.3.0" ,
Original file line number Diff line number Diff line change 1
- import { isBuiltin } from 'node:module'
2
1
import path from 'node:path'
3
2
3
+ import isNodeCoreModule from '@nolyfill/is-core-module'
4
4
import type { ResolvedResult } from 'eslint-plugin-import-x/types.js'
5
5
import {
6
6
type FileMatcher ,
@@ -65,7 +65,7 @@ export const resolve = (
65
65
) : ResolvedResult => {
66
66
// don't worry about core node/bun modules
67
67
if (
68
- isBuiltin ( source ) ||
68
+ isNodeCoreModule ( source ) ||
69
69
( process . versions . bun &&
70
70
isBunModule ( source , process . versions . bun as Version ) )
71
71
) {
Original file line number Diff line number Diff line change @@ -3271,7 +3271,7 @@ __metadata:
3271
3271
languageName: node
3272
3272
linkType: hard
3273
3273
3274
- "@nolyfill/is-core-module@npm:1.0.39":
3274
+ "@nolyfill/is-core-module@npm:^ 1.0.39":
3275
3275
version: 1.0.39
3276
3276
resolution: "@nolyfill/is-core-module@npm:1.0.39"
3277
3277
checksum: 10/0d6e098b871eca71d875651288e1f0fa770a63478b0b50479c99dc760c64175a56b5b04f58d5581bbcc6b552b8191ab415eada093d8df9597ab3423c8cac1815
@@ -6689,7 +6689,7 @@ __metadata:
6689
6689
"@changesets/cli": "npm:^2.28.1"
6690
6690
"@commitlint/cli": "npm:^19.8.0"
6691
6691
"@mozilla/glean": "npm:^5.0.3"
6692
- "@nolyfill/is-core-module": "npm:1.0.39"
6692
+ "@nolyfill/is-core-module": "npm:^ 1.0.39"
6693
6693
"@pkgr/rollup": "npm:^6.0.0"
6694
6694
"@types/debug": "npm:^4.1.12"
6695
6695
"@types/node": "npm:^22.13.10"
You can’t perform that action at this time.
0 commit comments