Commit Graph
646 Commits
Author SHA1 Message Date
renovate[bot] 64b9227bc4 chore(deps): lock file maintenance (#1182)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-13 17:13:29 +08:00
LongYinan 2b8b617be0 feat(argon2): switch backend to argon2-rust (#1188)
* feat(argon2): switch backend to argon2-rust

Replace RustCrypto argon2 with argon2-rust 1.0.0 from crates.io.
Keep the public JS API. Verify accepts node-argon2 PHC param order
and associatedData. The bench pins the same raw params, salt, and
tag across implementations.

* fix(argon2): keep Node 22 tests and bound verify threads

Skip the node:crypto.argon2Sync comparison on runtimes that lack it.
Cap worker threads at available parallelism so a PHC p= value cannot
spawn one OS thread per lane. Allocate tag buffers with try_reserve
instead of vec! so a huge outputLen is a JS error, not a process abort.

* fix(argon2): skip node-argon2 interop when its native addon is missing

node-argon2 0.45 has no darwin-x64 prebuild. Intel macOS CI runs x64
Node on an ARM host, so a static import crashed the whole spec file.

* test(argon2): compare against node:crypto argon2

Drop the node-argon2 native addon from tests. Interop uses the
builtin KDF, which is available on every CI host that has it.
2026-08-13 11:01:01 +08:00
LongYinan 1933745e96 chore: upgrade all npm deps (#1187)
* chore: upgrade all npm deps

* fix: update tsconfig for TypeScript 7

Remove deprecated downlevelIteration and importsNotUsedAsValues options,
and explicitly include node types required by TypeScript 7.

* fix: download test artifacts into package dirs

@napi-rs/cli 3.8 requires all configured targets when running
napi artifacts. Test jobs only have one platform, so download
bindings directly into the workspace like the package template.

* fix: download bindings into packages/ for tests

upload-artifact uses packages/ as the common root, so the artifact
contains argon2/*.node not packages/argon2/*.node. Download into
packages/ so binaries land where the loaders expect them.

* fix: add WASI .d.cts files required by @napi-rs/cli 3.8

napi artifacts now requires a complete WASI loader set including
*.wasi.d.cts. Also upload the full WASI support files from the wasm
build job for the publish path.

* fix: upload only wasm artifacts from WASI builds

WASI loaders and types stay committed in the repo and updated with
the codegen; CI only needs the built .wasm binaries.
2026-08-12 23:51:31 +08:00
renovate[bot] 284ee7075c chore(deps): update dependency oxfmt to ^0.63.0 (#1186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-10 15:44:44 +00:00
renovate[bot] 54d5564d81 chore(deps): update dependency oxfmt to ^0.62.0 (#1183)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 13:20:02 +00:00
renovate[bot] 626c853e56 chore(deps): lock file maintenance (#1178) 2026-07-28 16:55:47 +08:00
renovate[bot] bf48de0466 chore(deps): update dependency oxfmt to ^0.61.0 (#1179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-27 19:11:14 +00:00
renovate[bot] d13e2cd20d chore(deps): lock file maintenance (#1173) 2026-07-25 10:43:41 +08:00
renovate[bot] 07c7d14dd3 chore(deps): update dependency oxfmt to ^0.60.0 (#1174)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-21 23:56:06 +00:00
renovate[bot] 3ac4a59eaa chore(deps): lock file maintenance (#1168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-16 10:33:25 +08:00
renovate[bot] 3c9ac9a5d4 chore(deps): update dependency oxfmt to ^0.59.0 (#1170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-14 08:52:08 +00:00
renovate[bot] be829c4f6e chore(deps): update yarn to v4.17.1 (#1164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-08 20:21:34 +00:00
renovate[bot] 84a2950255 chore(deps): update dependency oxfmt to ^0.58.0 (#1163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-07 03:59:29 +00:00
renovate[bot] c51bb75564 chore(deps): lock file maintenance (#1162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-06 11:37:06 +08:00
LongYinan d469a181e1 fix: yarn npmPreapprovedPackages 2026-06-30 12:11:53 +08:00
renovate[bot] 595e0d34e6 chore(deps): lock file maintenance (#1156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-30 12:08:48 +08:00
renovate[bot] ac62938458 chore(deps): update dependency oxfmt to ^0.55.0 (#1154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-16 14:47:12 +00:00
renovate[bot] 618ee1b41d chore(deps): update dependency @emnapi/wasi-threads to v2 (#1149)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-16 22:30:32 +08:00
renovate[bot] d1f42811fe chore(deps): update dependency npm-run-all2 to v9 (#1137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-15 22:00:18 +08:00
renovate[bot] 7912277c70 chore(deps): lock file maintenance (#1142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-15 18:38:05 +08:00
dependabot[bot] 4b0b14b68d chore(deps): bump shell-quote from 1.8.3 to 1.8.4 (#1151)
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.3 to 1.8.4.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.8.3...v1.8.4)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.8.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-15 14:54:12 +08:00
Copilot 20873f3352 fix(jieba): compile error: adapt to jieba-rs 0.10.1 Token API (#1152)
* fix: adapt jieba bindings to jieba-rs 0.10.1 Token API changes

* chore: update yarn.lock

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-06-15 12:20:58 +08:00
renovate[bot] b40d786973 chore(deps): update yarn monorepo to v4.16.0 (#1148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-06 11:35:54 +00:00
renovate[bot] 9f17b637c7 chore(deps): update yarn to v4.15.0 (#1139)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-20 02:25:32 +00:00
renovate[bot] c023a0a3ad chore(deps): update dependency oxfmt to ^0.51.0 (#1138)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-19 11:50:41 +00:00
renovate[bot] 1f0389924d chore(deps): lock file maintenance (#1136)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-18 12:32:40 +08:00
renovate[bot] 03e4842db0 chore(deps): update dependency oxfmt to ^0.50.0 (#1134)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-15 17:09:25 +00:00
renovate[bot] 4234029812 chore(deps): update dependency oxfmt to ^0.49.0 (#1133)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 21:52:29 +00:00
renovate[bot] 1c19b6bdad chore(deps): lock file maintenance (#1131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 10:45:29 +08:00
renovate[bot] 7b2b3e8fee chore(deps): update dependency lint-staged to v17 (#1129)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-11 10:45:02 +08:00
dependabot[bot] cfa712a065 chore(deps): bump fast-uri from 3.1.0 to 3.1.2 (#1130)
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.0...v3.1.2)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-09 21:48:27 +08:00
renovate[bot] 4160ef5818 chore(deps): update dependency oxfmt to ^0.48.0 (#1128)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-05 16:22:49 +00:00
renovate[bot]andanthropic-code-agent[bot] c364489587 chore(deps): lock file maintenance (#1127)
* chore(deps): lock file maintenance

* chore(deps): update emnapi packages to latest (1.10.0)

Agent-Logs-Url: https://github.com/napi-rs/node-rs/sessions/eec16a0a-460d-4520-bf79-83494a584b1a

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com>
2026-05-04 11:47:54 +08:00
1295b2d5ef chore(deps): update dependency ava to v8 (#1123)
* chore(deps): update dependency ava to v8

* fix: update ava v8 configuration and Node.js requirements

- Change ava extensions config from object to array format for v8
- Update CI Node.js version matrix from ['20', '22', '24'] to ['22', '24']
- Ava v8 requires Node.js >= 22.20 due to iterator helper methods

Agent-Logs-Url: https://github.com/napi-rs/node-rs/sessions/8e1e8303-351c-476e-9f4d-3d39ff8d992e

* fix: remove sse4_crc32 dependency incompatible with Node.js 24

- Remove sse4_crc32 and @types/sse4_crc32 from crc32 package dependencies
- Update crc32 benchmark to exclude sse4_crc32 comparisons
- sse4_crc32 v7.0.0 lacks prebuilt binaries for Node.js 24 (ABI v137)
- Bench CI now passes on Node.js 24

Agent-Logs-Url: https://github.com/napi-rs/node-rs/sessions/1b2c25e3-3d62-43a9-bc72-9f521bb287a4

* fix: remove nodejieba dependency incompatible with Node.js 24

Agent-Logs-Url: https://github.com/napi-rs/node-rs/sessions/bd608fb3-0247-49b5-9740-224f9847e188

* fix: remove xxhash dependency incompatible with Node.js 24

The xxhash npm package v0.3.0 does not have prebuilt binaries for Node.js 24 (ABI version 137), causing benchmark failures with "Cannot find module '../build/Release/hash'" errors.

Removed xxhash from devDependencies and updated benchmark/xxhash.ts to run benchmarks without the xxhash C++ comparison. The benchmark still includes comparisons with xxhash-addon, xxhashjs, and webpack's wasm implementation.

This follows the same pattern used for sse4_crc32 and nodejieba dependencies.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix: exclude Node.js 24 from armv7 test matrix

The armv7-unknown-linux-gnueabihf platform doesn't have Node.js 24 docker images available. Restrict testing to Node.js 22 only for this platform.

Agent-Logs-Url: https://github.com/napi-rs/node-rs/sessions/cee7816f-b688-4ae5-af92-6f51d48c387c

Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
2026-04-29 17:56:57 +08:00
renovate[bot] f65572559f chore(deps): update dependency oxfmt to ^0.47.0 (#1122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-27 14:44:18 +00:00
renovate[bot] 0a565bd621 chore(deps): lock file maintenance (#1120)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-27 22:22:14 +08:00
renovate[bot] 32fc9d12f2 chore(deps): update dependency oxfmt to ^0.46.0 (#1121)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-20 20:53:33 +00:00
dependabot[bot] eae630078f chore(deps): bump follow-redirects from 1.15.11 to 1.16.0 (#1117) 2026-04-16 18:39:12 -07:00
renovate[bot] e2410e51c4 chore(deps): update yarn to v4.14.0 (#1118)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-16 20:25:48 +00:00
b636e314f2 chore(deps): lock file maintenance (#1115)
* chore(deps): lock file maintenance

* fix(jieba): update KeywordExtractConfig builder API for jieba-rs 0.9

Agent-Logs-Url: https://github.com/napi-rs/node-rs/sessions/560e52ee-b4ea-4982-b284-b0cccdf4f949

Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com>
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2026-04-14 10:30:58 +08:00
renovate[bot] c0fd9fb32b chore(deps): update dependency oxfmt to ^0.45.0 (#1116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-13 12:45:43 +00:00
renovate[bot] 8bdc01f075 chore(deps): update dependency oxfmt to ^0.44.0 (#1111)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-07 05:36:19 +00:00
renovate[bot] ce7f62ee9f chore(deps): lock file maintenance (#1110)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-06 21:23:28 +08:00
renovate[bot] 52f4f63a86 chore(deps): update dependency @oxc-node/core to ^0.1.0 (#1107)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-01 06:49:43 +00:00
renovate[bot] 8465bff5bf chore(deps): update dependency @oxc-node/cli to ^0.1.0 (#1106)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-01 05:37:20 +00:00
renovate[bot] ed70e49720 chore(deps): update dependency oxfmt to ^0.43.0 (#1105)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-31 14:18:54 +00:00
renovate[bot] 7f8e88e9c4 chore(deps): lock file maintenance (#1104)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-30 09:07:07 +08:00
dependabot[bot] a2cb5eee96 chore(deps): bump handlebars from 4.7.8 to 4.7.9 (#1103)
Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.8 to 4.7.9.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.9/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.8...v4.7.9)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-27 15:52:47 +08:00
dependabot[bot] 0e4b5e9e2f chore(deps): bump picomatch from 2.3.1 to 2.3.2 (#1102) 2026-03-25 18:26:45 -07:00
renovate[bot] 1237611e4c chore(deps): update dependency oxfmt to ^0.42.0 (#1101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-24 13:35:51 +00:00