Skip to content

Commit

Permalink
fix(register): bump oxc-resolver (#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn authored Jul 16, 2024
1 parent c045938 commit 2792552
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 46 deletions.
1 change: 1 addition & 0 deletions packages/integrate-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@swc-node/register": "workspace:*",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"ipaddr.js": "^2.2.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"simple-git": "^3.25.0",
Expand Down
5 changes: 5 additions & 0 deletions packages/integrate-module/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { bar as subBar } from '@subdirectory/bar.mjs'
import { supportedExtensions } from 'file-type'
import { renderToString } from 'react-dom/server'
import { simpleGit } from 'simple-git'
import ipaddr from 'ipaddr.js'

import { CompiledClass } from './compiled.js'
import cjs from './cjs'
Expand Down Expand Up @@ -74,3 +75,7 @@ await test('resolve json file', () => {
assert.equal(pgkJson.name, 'integrate-module')
assert.equal(pgkJsonWith.name, 'integrate-module')
})

await test('resolve ipaddr.js', () => {
assert.ok(ipaddr.isValid('192.168.1.1'))
})
2 changes: 1 addition & 1 deletion packages/register/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@swc-node/sourcemap-support": "^0.5.1",
"colorette": "^2.0.20",
"debug": "^4.3.5",
"oxc-resolver": "^1.10.0",
"oxc-resolver": "^1.10.2",
"pirates": "^4.0.6",
"tslib": "^2.6.3"
},
Expand Down
108 changes: 63 additions & 45 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2792552

Please sign in to comment.