Skip to content

Commit 2792552

Browse files
authored
fix(register): bump oxc-resolver (#824)
1 parent c045938 commit 2792552

File tree

4 files changed

+70
-46
lines changed

4 files changed

+70
-46
lines changed

packages/integrate-module/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"@swc-node/register": "workspace:*",
1414
"@types/react": "^18.3.3",
1515
"@types/react-dom": "^18.3.0",
16+
"ipaddr.js": "^2.2.0",
1617
"react": "^18.3.1",
1718
"react-dom": "^18.3.1",
1819
"simple-git": "^3.25.0",

packages/integrate-module/src/index.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { bar as subBar } from '@subdirectory/bar.mjs'
77
import { supportedExtensions } from 'file-type'
88
import { renderToString } from 'react-dom/server'
99
import { simpleGit } from 'simple-git'
10+
import ipaddr from 'ipaddr.js'
1011

1112
import { CompiledClass } from './compiled.js'
1213
import cjs from './cjs'
@@ -74,3 +75,7 @@ await test('resolve json file', () => {
7475
assert.equal(pgkJson.name, 'integrate-module')
7576
assert.equal(pgkJsonWith.name, 'integrate-module')
7677
})
78+
79+
await test('resolve ipaddr.js', () => {
80+
assert.ok(ipaddr.isValid('192.168.1.1'))
81+
})

packages/register/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"@swc-node/sourcemap-support": "^0.5.1",
4545
"colorette": "^2.0.20",
4646
"debug": "^4.3.5",
47-
"oxc-resolver": "^1.10.0",
47+
"oxc-resolver": "^1.10.2",
4848
"pirates": "^4.0.6",
4949
"tslib": "^2.6.3"
5050
},

pnpm-lock.yaml

Lines changed: 63 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)