Skip to content

Commit 2f089b8

Browse files
chore(deps): lock file maintenance npm packages (#749)
> [!NOTE] > Mend has cancelled [the proposed renaming](https://redirect.github.com/renovatebot/renovate/discussions/37842) of the Renovate GitHub app being renamed to `mend[bot]`. > > This notice will be removed on 2025-10-07. <hr> 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.2.0` -> `3.3.0`](https://renovatebot.com/diffs/npm/@napi-rs%2fcli/3.2.0/3.3.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@napi-rs%2fcli/3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@napi-rs%2fcli/3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@napi-rs%2fcli/3.2.0/3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@napi-rs%2fcli/3.2.0/3.3.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@napi-rs/wasm-runtime](https://redirect.github.com/napi-rs/napi-rs) ([source](https://redirect.github.com/napi-rs/napi-rs/tree/HEAD/wasi-runtime)) | devDependencies | patch | [`1.0.5` -> `1.0.6`](https://renovatebot.com/diffs/npm/@napi-rs%2fwasm-runtime/1.0.5/1.0.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@napi-rs%2fwasm-runtime/1.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@napi-rs%2fwasm-runtime/1.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@napi-rs%2fwasm-runtime/1.0.5/1.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@napi-rs%2fwasm-runtime/1.0.5/1.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | devDependencies | minor | [`24.5.2` -> `24.7.0`](https://renovatebot.com/diffs/npm/@types%2fnode/24.5.2/24.7.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/24.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/24.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/24.5.2/24.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/24.5.2/24.7.0?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.17.1` -> `10.18.0`](https://renovatebot.com/diffs/npm/pnpm/10.17.1/10.18.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/pnpm/10.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/pnpm/10.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/pnpm/10.17.1/10.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/pnpm/10.17.1/10.18.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://redirect.github.com/microsoft/TypeScript)) | devDependencies | patch | [`5.9.2` -> `5.9.3`](https://renovatebot.com/diffs/npm/typescript/5.9.2/5.9.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.9.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.9.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.9.2/5.9.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.9.2/5.9.3?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.3.0`](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/[email protected]...@napi-rs/[email protected]) [Compare Source](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/[email protected]...@napi-rs/[email protected]) </details> <details> <summary>napi-rs/napi-rs (@&#8203;napi-rs/wasm-runtime)</summary> ### [`v1.0.6`](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/[email protected]...@napi-rs/[email protected]) [Compare Source](https://redirect.github.com/napi-rs/napi-rs/compare/@napi-rs/[email protected]...@napi-rs/[email protected]) </details> <details> <summary>pnpm/pnpm (pnpm)</summary> ### [`v10.18.0`](https://redirect.github.com/pnpm/pnpm/blob/HEAD/pnpm/CHANGELOG.md#10180) [Compare Source](https://redirect.github.com/pnpm/pnpm/compare/v10.17.1...v10.18.0) ##### Minor Changes - Added network performance monitoring to pnpm by implementing warnings for slow network requests, including both metadata fetches and tarball downloads. Added configuration options for warning thresholds: `fetchWarnTimeoutMs` and `fetchMinSpeedKiBps`. Warning messages are displayed when requests exceed time thresholds or fall below speed minimums Related PR: [#&#8203;10025](https://redirect.github.com/pnpm/pnpm/pull/10025). ##### Patch Changes - Retry filesystem operations on EAGAIN errors [#&#8203;9959](https://redirect.github.com/pnpm/pnpm/pull/9959). - Outdated command respects `minimumReleaseAge` configuration [#&#8203;10030](https://redirect.github.com/pnpm/pnpm/pull/10030). - Correctly apply the `cleanupUnusedCatalogs` configuration when removing dependent packages. - Don't fail with a meaningless error when `scriptShell` is set to `false` [#&#8203;8748](https://redirect.github.com/pnpm/pnpm/issues/8748). - `pnpm dlx` should not fail when `minimumReleaseAge` is set [#&#8203;10037](https://redirect.github.com/pnpm/pnpm/issues/10037). </details> <details> <summary>microsoft/TypeScript (typescript)</summary> ### [`v5.9.3`](https://redirect.github.com/microsoft/TypeScript/compare/v5.9.2...c63de15a992d37f0d6cec03ac7631872838602cb) [Compare Source](https://redirect.github.com/microsoft/TypeScript/compare/v5.9.2...v5.9.3) </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 is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzEuOSIsInVwZGF0ZWRJblZlciI6IjQxLjEzMS45IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Boshen <[email protected]>
1 parent e0947cb commit 2f089b8

File tree

5 files changed

+288
-337
lines changed

5 files changed

+288
-337
lines changed

napi/index.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,24 @@ function requireNative() {
108108
}
109109
} else if (process.platform === 'win32') {
110110
if (process.arch === 'x64') {
111+
if (process.report?.getReport?.()?.header?.osName?.startsWith?.('MINGW')) {
112+
try {
113+
return require('./resolver.win32-x64-gnu.node')
114+
} catch (e) {
115+
loadErrors.push(e)
116+
}
111117
try {
118+
const binding = require('@oxc-resolver/binding-win32-x64-gnu')
119+
const bindingPackageVersion = require('@oxc-resolver/binding-win32-x64-gnu/package.json').version
120+
if (bindingPackageVersion !== '11.9.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
121+
throw new Error(`Native binding package version mismatch, expected 11.9.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
122+
}
123+
return binding
124+
} catch (e) {
125+
loadErrors.push(e)
126+
}
127+
} else {
128+
try {
112129
return require('./resolver.win32-x64-msvc.node')
113130
} catch (e) {
114131
loadErrors.push(e)
@@ -123,6 +140,7 @@ function requireNative() {
123140
} catch (e) {
124141
loadErrors.push(e)
125142
}
143+
}
126144
} else if (process.arch === 'ia32') {
127145
try {
128146
return require('./resolver.win32-ia32-msvc.node')

napi/tests/resolver.test.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,20 +246,20 @@ test('resolve pnpm package', () => {
246246
styledComponents.path,
247247
join(
248248
pnpmDir,
249-
'[email protected]_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/styled-components/dist/styled-components.browser.cjs.js',
249+
'[email protected]_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/styled-components/dist/styled-components.browser.cjs.js',
250250
),
251251
);
252252

253253
const react = resolver.sync(
254254
join(
255255
pnpmDir,
256-
'[email protected]_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/styled-components',
256+
'[email protected]_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/styled-components',
257257
),
258258
'react',
259259
);
260260
assert.deepEqual(
261261
react.path,
262-
join(pnpmDir, 'react@19.1.1/node_modules/react/index.js'),
262+
join(pnpmDir, 'react@19.2.0/node_modules/react/index.js'),
263263
);
264264
});
265265

@@ -274,6 +274,6 @@ test('resolve recursive symbol link', () => {
274274

275275
assert.deepEqual(
276276
react.path,
277-
join(pnpmDir, 'react@19.1.1/node_modules/react/package.json'),
277+
join(pnpmDir, 'react@19.2.0/node_modules/react/package.json'),
278278
);
279279
});

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "11.9.0",
44
"license": "MIT",
55
"description": "Oxc Resolver Node API",
6-
"packageManager": "pnpm@10.17.1",
6+
"packageManager": "pnpm@10.18.0",
77
"homepage": "https://oxc.rs",
88
"repository": {
99
"type": "git",
@@ -27,11 +27,11 @@
2727
"postbuild:debug": "node napi/patch.mjs"
2828
},
2929
"devDependencies": {
30-
"@napi-rs/cli": "^3.0.0",
31-
"@napi-rs/wasm-runtime": "^1.0.0",
32-
"@types/node": "^24.2.0",
33-
"emnapi": "^1.4.4",
34-
"typescript": "^5.9.2",
30+
"@napi-rs/cli": "^3.3.0",
31+
"@napi-rs/wasm-runtime": "^1.0.6",
32+
"@types/node": "^24.7.0",
33+
"emnapi": "^1.5.0",
34+
"typescript": "^5.9.3",
3535
"vitest": "^3.2.4"
3636
},
3737
"publishConfig": {

0 commit comments

Comments
 (0)