Skip to content

Commit

Permalink
chore: update oxc 0.47.1 (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn authored Jan 20, 2025
1 parent 560ee7a commit e551bf6
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 40 deletions.
77 changes: 39 additions & 38 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ crate-type = ["cdylib"]
[dependencies]
napi = { version = "3.0.0-alpha", default-features = false, features = ["serde-json", "napi3"] }
napi-derive = { version = "3.0.0-alpha", default-features = false, features = ["type-def"] }
oxc = { version = "0.45", features = ["codegen", "transformer", "semantic"] }
oxc = { version = "0.47.1", features = ["codegen", "transformer", "semantic"] }
oxc_resolver = "3"
phf = "0.11"
serde = { version = "1.0", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion packages/core/oxc-node.wasi.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
return 4
}
})(),
reuseWorker: true,
wasi: __wasi,
onCreateWorker() {
const worker = new Worker(__nodePath.join(__dirname, 'wasi-worker.mjs'), {
env: process.env,
execArgv: ['--experimental-wasi-unstable-preview1'],
})
worker.onmessage = ({ data }) => {
__wasmCreateOnMessageForFsProxy(__nodeFs)(data)
Expand Down

0 comments on commit e551bf6

Please sign in to comment.