File tree 3 files changed +3
-12
lines changed
3 files changed +3
-12
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" : " ^14.18 .0 || >=16.0 .0"
15
+ "node" : " ^16.17 .0 || >=18.6 .0"
16
16
},
17
17
"main" : " lib/index.cjs" ,
18
18
"module" : " lib/index.js" ,
76
76
}
77
77
},
78
78
"dependencies" : {
79
- "@nolyfill/is-core-module" : " 1.0.39" ,
80
79
"@pkgr/core" : " ^0.1.1" ,
81
80
"debug" : " ^4.3.7" ,
82
81
"eslint-import-resolver-oxc" : " ^0.12.0" ,
Original file line number Diff line number Diff line change
1
+ import { isBuiltin } from 'node:module'
1
2
import path from 'node:path'
2
3
3
- import isNodeCoreModule from '@nolyfill/is-core-module'
4
4
import { resolve as oxcResolve } from 'eslint-import-resolver-oxc'
5
5
import { type Version , isBunModule } from 'is-bun-module'
6
6
import { ResolverFactory } from 'oxc-resolver'
@@ -27,7 +27,7 @@ export const resolve = (
27
27
} => {
28
28
// don't worry about core node/bun modules
29
29
if (
30
- isNodeCoreModule ( source ) ||
30
+ isBuiltin ( source ) ||
31
31
( process . versions . bun &&
32
32
isBunModule ( source , process . versions . bun as Version ) )
33
33
) {
Original file line number Diff line number Diff line change @@ -3244,13 +3244,6 @@ __metadata:
3244
3244
languageName: node
3245
3245
linkType: hard
3246
3246
3247
- "@nolyfill/is-core-module@npm:1.0.39":
3248
- version: 1.0.39
3249
- resolution: "@nolyfill/is-core-module@npm:1.0.39"
3250
- checksum: 10/0d6e098b871eca71d875651288e1f0fa770a63478b0b50479c99dc760c64175a56b5b04f58d5581bbcc6b552b8191ab415eada093d8df9597ab3423c8cac1815
3251
- languageName: node
3252
- linkType: hard
3253
-
3254
3247
"@nolyfill/json-stable-stringify@npm:^1.0.30":
3255
3248
version: 1.0.44
3256
3249
resolution: "@nolyfill/json-stable-stringify@npm:1.0.44"
@@ -6358,7 +6351,6 @@ __metadata:
6358
6351
"@changesets/cli": "npm:^2.27.12"
6359
6352
"@commitlint/cli": "npm:^17.8.1"
6360
6353
"@mozilla/glean": "npm:^3.0.0"
6361
- "@nolyfill/is-core-module": "npm:1.0.39"
6362
6354
"@pkgr/core": "npm:^0.1.1"
6363
6355
"@pkgr/rollup": "npm:^4.1.3"
6364
6356
"@types/debug": "npm:^4.1.12"
You can’t perform that action at this time.
0 commit comments