Skip to content

Commit 4a90e39

Browse files
committed
chore: bump all (dev)Dependencies
1 parent 70eb1e3 commit 4a90e39

File tree

9 files changed

+193
-161
lines changed

9 files changed

+193
-161
lines changed

.github/workflows/zizmor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
steps:
3030
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1
3131

32-
- uses: taiki-e/install-action@52039f232923165906a3c824622a332e84ca4560 # v2.52.0
32+
- uses: taiki-e/install-action@84c20235bedc3797c7e1ddf685c574a4a6c666da # v2.52.2
3333
with:
3434
tool: zizmor
3535

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ thiserror = "2.0.12"
7878
tracing = "0.1.41"
7979
windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_Storage_FileSystem"] }
8080

81-
pnp = { version = "0.9.3", optional = true }
81+
pnp = { version = "0.9.4", optional = true }
8282

8383
document-features = { version = "0.2.11", optional = true }
8484

napi/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ test = false
1111
doctest = false
1212

1313
[dependencies]
14-
napi = { version = "3.0.0-alpha.33", default-features = false, features = ["napi3", "serde-json"] }
15-
napi-derive = { version = "3.0.0-alpha.29" }
14+
napi = { version = "3.0.0-beta.2", default-features = false, features = ["napi3", "serde-json"] }
15+
napi-derive = { version = "3.0.0-beta.2" }
1616
oxc_resolver = { path = "..", package = "unrs_resolver" }
1717
tracing-subscriber = { version = "0.3.19", default-features = false, features = ["std", "fmt"] } # Omit the `regex` feature
1818

1919
[target.'cfg(not(any(target_os = "linux", target_os = "freebsd", target_arch = "arm", target_family = "wasm")))'.dependencies]
20-
mimalloc-safe = { version = "0.1.51", features = ["skip_collect_on_exit"] }
20+
mimalloc-safe = { version = "0.1.52", features = ["skip_collect_on_exit"] }
2121

2222
[target.'cfg(all(target_os = "linux", not(target_arch = "arm"), not(target_arch = "aarch64")))'.dependencies]
23-
mimalloc-safe = { version = "0.1.51", features = ["skip_collect_on_exit", "local_dynamic_tls"] }
23+
mimalloc-safe = { version = "0.1.52", features = ["skip_collect_on_exit", "local_dynamic_tls"] }
2424

2525
[target.'cfg(all(target_os = "linux", target_arch = "aarch64"))'.dependencies]
26-
mimalloc-safe = { version = "0.1.51", features = ["skip_collect_on_exit", "local_dynamic_tls", "no_opt_arch"] }
26+
mimalloc-safe = { version = "0.1.52", features = ["skip_collect_on_exit", "local_dynamic_tls", "no_opt_arch"] }
2727

2828
[build-dependencies]
29-
napi-build = "2.1.6"
29+
napi-build = "2.2.0"

napi/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function requireNative() {
6868
try {
6969
nativeBinding = require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
7070
} catch (err) {
71-
loadErrors.push(err);
71+
loadErrors.push(err)
7272
}
7373
} else if (process.platform === 'android') {
7474
if (process.arch === 'arm64') {
@@ -374,6 +374,7 @@ if (!nativeBinding) {
374374
throw new Error(`Failed to load native binding`)
375375
}
376376

377+
module.exports = nativeBinding
377378
module.exports.ResolverFactory = nativeBinding.ResolverFactory
378379
module.exports.EnforceExtension = nativeBinding.EnforceExtension
379380
module.exports.sync = nativeBinding.sync

napi/resolver.wasi-browser.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import {
2-
instantiateNapiModuleSync as __emnapiInstantiateNapiModuleSync,
2+
createOnMessage as __wasmCreateOnMessageForFsProxy,
33
getDefaultContext as __emnapiGetDefaultContext,
4+
instantiateNapiModuleSync as __emnapiInstantiateNapiModuleSync,
45
WASI as __WASI,
5-
createOnMessage as __wasmCreateOnMessageForFsProxy,
66
} from '@napi-rs/wasm-runtime'
77
import { memfs } from '@napi-rs/wasm-runtime/fs'
88
import __wasmUrl from './resolver.wasm32-wasi.wasm?url'
@@ -60,6 +60,7 @@ const {
6060
}
6161
},
6262
})
63+
export default __napiModule.exports
6364
export const ResolverFactory = __napiModule.exports.ResolverFactory
6465
export const EnforceExtension = __napiModule.exports.EnforceExtension
6566
export const sync = __napiModule.exports.sync

napi/resolver.wasi.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ const { WASI: __nodeWASI } = require('node:wasi')
99
const { Worker } = require('node:worker_threads')
1010

1111
const {
12-
instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync,
13-
getDefaultContext: __emnapiGetDefaultContext,
1412
createOnMessage: __wasmCreateOnMessageForFsProxy,
13+
getDefaultContext: __emnapiGetDefaultContext,
14+
instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync,
1515
} = require('@napi-rs/wasm-runtime')
1616

1717
const __rootDir = __nodePath.parse(process.cwd()).root
@@ -84,7 +84,7 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
8484
}
8585
},
8686
})
87-
87+
module.exports = __napiModule.exports
8888
module.exports.ResolverFactory = __napiModule.exports.ResolverFactory
8989
module.exports.EnforceExtension = __napiModule.exports.EnforceExtension
9090
module.exports.sync = __napiModule.exports.sync

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
},
1313
"devDependencies": {
1414
"@napi-rs/cli": "3.0.0-alpha.80",
15-
"@napi-rs/wasm-runtime": "^0.2.9",
16-
"@types/node": "^22.15.2",
15+
"@napi-rs/wasm-runtime": "^0.2.10",
16+
"@types/node": "^22.15.21",
1717
"emnapi": "^1.4.3",
1818
"typescript": "^5.8.3",
19-
"vitest": "^3.1.2"
19+
"vitest": "^3.1.4"
2020
},
2121
"packageManager": "pnpm@10.11.0"
2222
}

0 commit comments

Comments
 (0)