Skip to content

Commit 94406bd

Browse files
chore(deps): lock file maintenance npm packages (#785)
This PR contains the following updates: | Package | Type | Update | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---|---|---| | | | lockFileMaintenance | All locks refreshed | | | | | | [@napi-rs/cli](https://redirect.github.com/napi-rs/napi-rs) | devDependencies | minor | [`3.3.1` -> `3.4.1`](https://renovatebot.com/diffs/npm/@napi-rs%2fcli/3.3.1/3.4.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@napi-rs%2fcli/3.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@napi-rs%2fcli/3.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@napi-rs%2fcli/3.3.1/3.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@napi-rs%2fcli/3.3.1/3.4.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [pnpm](https://pnpm.io) ([source](https://redirect.github.com/pnpm/pnpm/tree/HEAD/pnpm)) | packageManager | minor | [`10.18.3` -> `10.19.0`](https://renovatebot.com/diffs/npm/pnpm/10.18.3/10.19.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/10.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pnpm/10.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pnpm/10.18.3/10.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/10.18.3/10.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://vitest.dev) ([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | devDependencies | patch | [`4.0.3` -> `4.0.4`](https://renovatebot.com/diffs/npm/vitest/4.0.3/4.0.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/4.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/4.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/4.0.3/4.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/4.0.3/4.0.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Release Notes <details> <summary>napi-rs/napi-rs (@&#8203;napi-rs/cli)</summary> ### [`v3.4.1`](https://redirect.github.com/napi-rs/napi-rs/releases/tag/%40napi-rs/cli%403.4.1) [Compare Source](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.4.0...@napi-rs/cli@3.4.1) ##### Bug Fixes - **cli:** remove createRequire in cjs binding ([#&#8203;2976](https://redirect.github.com/napi-rs/napi-rs/issues/2976)) ([c388c12](https://redirect.github.com/napi-rs/napi-rs/commit/c388c120cfefbe40b16176615840203e3e1c6e75)) ### [`v3.4.0`](https://redirect.github.com/napi-rs/napi-rs/releases/tag/%40napi-rs/cli%403.4.0) [Compare Source](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.3.1...@napi-rs/cli@3.4.0) ##### Bug Fixes - **cli:** correct OpenHarmony SDK path detection logic ([#&#8203;2963](https://redirect.github.com/napi-rs/napi-rs/issues/2963)) ([b453673](https://redirect.github.com/napi-rs/napi-rs/commit/b4536731acfae389e634887a0923dd6f2a6bfaa0)) - **napi:** do not invoke process.report on Windows ([#&#8203;2972](https://redirect.github.com/napi-rs/napi-rs/issues/2972)) ([01485ff](https://redirect.github.com/napi-rs/napi-rs/commit/01485ff4231395b0f39d7bbd9b8053992f9d3923)) ##### Features - **cli:** resolve command from args ([#&#8203;2973](https://redirect.github.com/napi-rs/napi-rs/issues/2973)) ([13cb9dc](https://redirect.github.com/napi-rs/napi-rs/commit/13cb9dc1e06678c72aa18efb8041f2d18301d288)) </details> <details> <summary>pnpm/pnpm (pnpm)</summary> ### [`v10.19.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10190) [Compare Source](https://redirect.github.com/pnpm/pnpm/compare/v10.18.3...v10.19.0) ##### Minor Changes - You can now allow specific versions of dependencies to run postinstall scripts. `onlyBuiltDependencies` now accepts package names with lists of trusted versions. For example: ```yaml onlyBuiltDependencies: - nx@21.6.4 || 21.6.5 - esbuild@0.25.1 ``` Related PR: [#&#8203;10104](https://redirect.github.com/pnpm/pnpm/pull/10104). - Added support for exact versions in `minimumReleaseAgeExclude` [#&#8203;9985](https://redirect.github.com/pnpm/pnpm/issues/9985). You can now list one or more specific versions that pnpm should allow to install, even if those versions don’t satisfy the maturity requirement set by `minimumReleaseAge`. For example: ```yaml minimumReleaseAge: 1440 minimumReleaseAgeExclude: - nx@21.6.5 - webpack@4.47.0 || 5.102.1 ``` </details> <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v4.0.4`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v4.0.4) #####    🐞 Bug Fixes - **browser**: - Correct typo  -  by [@&#8203;benmccann](https://redirect.github.com/benmccann) in [#&#8203;8796](https://redirect.github.com/vitest-dev/vitest/issues/8796) [<samp>(ede1f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/ede1f39d6) - Publish a missing context file for webdriverio  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [#&#8203;8824](https://redirect.github.com/vitest-dev/vitest/issues/8824) [<samp>(7c7b6)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7c7b6f0b1) - **mocker**: - Support mocking builtins without `node:` prefix  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [#&#8203;8829](https://redirect.github.com/vitest-dev/vitest/issues/8829) [<samp>(06208)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/06208d30b) - **pool**: - Runner's error listener causing `MaxListenersExceededWarning`  -  by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in [#&#8203;8820](https://redirect.github.com/vitest-dev/vitest/issues/8820) [<samp>(d1bff)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d1bff3bb3) - Capture workers `stdio` to logger  -  by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in [#&#8203;8809](https://redirect.github.com/vitest-dev/vitest/issues/8809) [<samp>(fb95f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/fb95fc736) - **spy**: - Allow classes in `vi.mocked` utility  -  by [@&#8203;sheremet-va](https://redirect.github.com/sheremet-va) in [#&#8203;8839](https://redirect.github.com/vitest-dev/vitest/issues/8839) [<samp>(f8756)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f87568d64) - **worker**: - Rpc listener leak when `isolate: false`  -  by [@&#8203;AriPerkkio](https://redirect.github.com/AriPerkkio) in [#&#8203;8821](https://redirect.github.com/vitest-dev/vitest/issues/8821) [<samp>(573dc)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/573dc06fe) #####    🏎 Performance - **utils**: Optimized reducer to avoid creating new objects  -  by [@&#8203;Connormiha](https://redirect.github.com/Connormiha) in [#&#8203;8818](https://redirect.github.com/vitest-dev/vitest/issues/8818) [<samp>(d19ce)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d19cece3a) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v4.0.3...v4.0.4) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 9am on monday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/oxc-project/oxc-resolver). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1OS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Boshen <boshenc@gmail.com>
1 parent c0763e0 commit 94406bd

File tree

3 files changed

+63
-66
lines changed

3 files changed

+63
-66
lines changed

napi/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
// @ts-nocheck
44
/* auto-generated by NAPI-RS */
55

6-
const { createRequire } = require('node:module')
7-
require = createRequire(__filename)
8-
96
const { readFileSync } = require('node:fs')
107
let nativeBinding = null
118
const loadErrors = []
@@ -108,7 +105,7 @@ function requireNative() {
108105
}
109106
} else if (process.platform === 'win32') {
110107
if (process.arch === 'x64') {
111-
if (process.report?.getReport?.()?.header?.osName?.startsWith?.('MINGW')) {
108+
if (process.config?.variables?.shlib_suffix === 'dll.a' || process.config?.variables?.node_target_type === 'shared_library') {
112109
try {
113110
return require('./resolver.win32-x64-gnu.node')
114111
} catch (e) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "11.11.1",
44
"license": "MIT",
55
"description": "Oxc Resolver Node API",
6-
"packageManager": "pnpm@10.18.3",
6+
"packageManager": "pnpm@10.19.0",
77
"homepage": "https://oxc.rs",
88
"repository": {
99
"type": "git",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)