Skip to content

chore: bump all (dev)Dependencies #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

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

Expand Down
30 changes: 16 additions & 14 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 @@ -78,7 +78,7 @@ thiserror = "2.0.12"
tracing = "0.1.41"
windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_Storage_FileSystem"] }

pnp = { version = "0.9.3", optional = true }
pnp = { version = "0.9.4", optional = true }

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

Expand Down
12 changes: 6 additions & 6 deletions napi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ test = false
doctest = false

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

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

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

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

[build-dependencies]
napi-build = "2.1.6"
napi-build = "2.2.0"
3 changes: 2 additions & 1 deletion napi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function requireNative() {
try {
nativeBinding = require(process.env.NAPI_RS_NATIVE_LIBRARY_PATH);
} catch (err) {
loadErrors.push(err);
loadErrors.push(err)
}
} else if (process.platform === 'android') {
if (process.arch === 'arm64') {
Expand Down Expand Up @@ -374,6 +374,7 @@ if (!nativeBinding) {
throw new Error(`Failed to load native binding`)
}

module.exports = nativeBinding
module.exports.ResolverFactory = nativeBinding.ResolverFactory
module.exports.EnforceExtension = nativeBinding.EnforceExtension
module.exports.sync = nativeBinding.sync
5 changes: 3 additions & 2 deletions napi/resolver.wasi-browser.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {
instantiateNapiModuleSync as __emnapiInstantiateNapiModuleSync,
createOnMessage as __wasmCreateOnMessageForFsProxy,
getDefaultContext as __emnapiGetDefaultContext,
instantiateNapiModuleSync as __emnapiInstantiateNapiModuleSync,
WASI as __WASI,
createOnMessage as __wasmCreateOnMessageForFsProxy,
} from '@napi-rs/wasm-runtime'
import { memfs } from '@napi-rs/wasm-runtime/fs'
import __wasmUrl from './resolver.wasm32-wasi.wasm?url'
Expand Down Expand Up @@ -60,6 +60,7 @@ const {
}
},
})
export default __napiModule.exports
export const ResolverFactory = __napiModule.exports.ResolverFactory
export const EnforceExtension = __napiModule.exports.EnforceExtension
export const sync = __napiModule.exports.sync
6 changes: 3 additions & 3 deletions napi/resolver.wasi.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ const { WASI: __nodeWASI } = require('node:wasi')
const { Worker } = require('node:worker_threads')

const {
instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync,
getDefaultContext: __emnapiGetDefaultContext,
createOnMessage: __wasmCreateOnMessageForFsProxy,
getDefaultContext: __emnapiGetDefaultContext,
instantiateNapiModuleSync: __emnapiInstantiateNapiModuleSync,
} = require('@napi-rs/wasm-runtime')

const __rootDir = __nodePath.parse(process.cwd()).root
Expand Down Expand Up @@ -84,7 +84,7 @@ const { instance: __napiInstance, module: __wasiModule, napiModule: __napiModule
}
},
})

module.exports = __napiModule.exports
module.exports.ResolverFactory = __napiModule.exports.ResolverFactory
module.exports.EnforceExtension = __napiModule.exports.EnforceExtension
module.exports.sync = __napiModule.exports.sync
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
},
"devDependencies": {
"@napi-rs/cli": "3.0.0-alpha.80",
"@napi-rs/wasm-runtime": "^0.2.9",
"@types/node": "^22.15.2",
"@napi-rs/wasm-runtime": "^0.2.10",
"@types/node": "^22.15.21",
"emnapi": "^1.4.3",
"typescript": "^5.8.3",
"vitest": "^3.1.2"
"vitest": "^3.1.4"
},
"packageManager": "pnpm@10.11.0"
}
Loading
Loading