Commit Graph
102 Commits
Author SHA1 Message Date
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] 317e00e86d chore(deps): update cross-platform-actions/action action to v1.4.0 (#1185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-10 17:52:23 +00:00
renovate[bot] 936a27c649 chore(deps): update actions/setup-node action to v7 (#1169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-16 10:33:04 +08:00
renovate[bot] dd24692e2a chore(deps): update actions/checkout action to v7 (#1155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-30 12:41:25 +08:00
renovate[bot] 6e73d7269c chore(deps): update actions/cache action to v6 (#1159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-30 12:40:41 +08:00
renovate[bot] 0d6a3fb329 chore(deps): update cross-platform-actions/action action to v1.3.0 (#1158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-22 23:31:20 +00:00
renovate[bot] cc58997162 chore(deps): update cross-platform-actions/action action to v1.2.0 (#1145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-30 08:43:42 +00:00
renovate[bot] 629144498d chore(deps): update cross-platform-actions/action action to v1.1.0 (#1135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-17 13:48:03 +00: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] bd3457ad64 chore(deps): update cross-platform-actions/action action to v1 (#1113) 2026-04-12 03:24:23 -07:00
renovate[bot] a5000ffacb chore(deps): update docker/setup-qemu-action action to v4 (#1089) 2026-03-04 01:10:17 -08:00
renovate[bot] 8a001f85e9 chore(deps): update github artifact actions (#1084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-28 13:14:07 +08:00
CopilotandBrooooooklyn 2d2a046bac ci: migrate from addnab/docker-run-action to tj-actions/docker-run (#1078)
* Initial plan

* Migrate from addnab/docker-run-action to tj-actions/docker-run

- Updated all 5 usages in .github/workflows/ci.yaml
- Changed action from addnab/docker-run-action@v3 to tj-actions/docker-run@v2
- Renamed 'run' parameter to 'args'
- Added required 'name' parameter with unique identifiers for each container
- Container names include matrix node version for uniqueness across jobs

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

* Fix docker-run multi-line args by wrapping with sh -c

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

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
2026-02-17 09:16:35 +08:00
d85d35a23e fix(deps): upgrade napi-rs/cli and fix build errors (#1048)
---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2026-01-12 14:01:13 +08:00
renovate[bot] 38a903772b chore(deps): update cross-platform-actions/action action to v0.30.0 (#1040)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-20 20:58:20 +00:00
renovate[bot] 14b4875a8a chore(deps): update cross-platform-actions/action action to v0.29.0 (#1032)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-15 22:10:05 +00:00
renovate[bot] bb0a26d184 chore(deps): update cross-platform-actions/action action to v0.28.0 (#1012)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-24 11:50:08 +00:00
renovate[bot] 882533a3bb chore(deps): update cross-platform-actions/action action to v0.27.0 (#958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 08:43:53 +00:00
renovate[bot] 1cc05a57aa chore(deps): update cross-platform-actions/action action to v0.26.0 (#942)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 19:58:12 +00:00
LongYinan ef96dda6e4 chore: refresh the infra (#915) 2024-10-27 15:04:00 +08:00
LongYinan 5232a7eedd chore: remove npm dirs (#913) 2024-10-27 00:08:23 +08:00
LongYinan afd2a544b8 feat!(jieba): upgrade to jieba@0.7 (#912)
Also provide customizable API for Jieba and TfIdf
2024-10-26 23:25:58 +08:00
LongYinan 230d92ec3f ci: fix FreeBSD job (#860) 2024-07-14 22:37:13 +08:00
LongYinan 8b58703433 chore: deprecate deno-lint (#852) 2024-07-04 12:02:01 +08:00
LongYinan 83037acfa2 fix(*): update wasi bindings (#831)
* fix(*): update wasi bindings

* Add architecture
2024-04-23 12:50:28 +08:00
LongYinan 2d27f9dbbd fix(jsonwebtoken): missing WASI_SDK_PATH and C symbols (#828) 2024-04-21 21:36:02 +08:00
LongYinan 4fb4bcc504 chore(*): upgrade NAPI-RS and bindings (#825) 2024-04-19 17:51:38 +08:00
renovate[bot] 1a2f2f478f chore(deps): update cross-platform-actions/action action to v0.24.0 (#822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 14:34:11 +00:00
LongYinan b23382db8a feat(jsonwebtoken): support wasm32-wasi target (#798) 2024-02-29 13:39:22 +08:00
renovate[bot] de1e89bfd5 chore(deps): update cross-platform-actions/action action to v0.23.0 (#789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-19 10:57:23 +00:00
LongYinan 5586e4face fix(crc32,denolint): upgrade rust toolchain (#787) 2024-02-15 00:19:32 +08:00
renovate[bot] 5cf454d338 chore(deps): update actions/cache action to v4 (#761)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-18 14:06:07 +08:00
LongYinan 3ec88636fd fix(*): wasi browser compatible 2024-01-17 11:29:04 +08:00
LongYinan 505856c4f9 fix(*): wasi package load logic (#755) 2024-01-03 23:00:12 +08:00
LongYinan 12f25b5a5e feat(*): support wasi-wasm32 target (#752)
* feat(*): support wasi-wasm32 target

* patch

* fix filter
2024-01-02 22:44:40 +08:00
LongYinan 70d7fa7226 feat: upgrade dependencies and lockfile (#751) 2023-12-28 16:25:28 +08:00
renovate[bot] cac0c8bfb4 chore(deps): update cross-platform-actions/action action to v0.22.0 (#750)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-27 18:52:10 +00:00
renovate[bot] 79c5f0728d chore(deps): update actions/upload-artifact action to v4 (#748)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-19 20:22:22 +08:00
renovate[bot] 235e49cfb9 chore(deps): update actions/download-artifact action to v4 (#747)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-19 20:22:10 +08:00
renovate[bot] 4b5fd3bfba chore(deps): update cross-platform-actions/action action to v0.21.1 2023-11-03 22:07:39 +00:00
LongYinan fa1fcb5807 chore: upgrade toolchain 2023-10-31 10:29:56 +08:00
renovate[bot] b64673c2e5 chore(deps): update actions/setup-node action to v4 2023-10-23 17:02:35 +00:00
LongYinan 193b977e40 ci: update config 2023-10-06 13:42:30 +08:00
renovate[bot] 845144c089 chore(deps): update docker/setup-qemu-action action to v3 2023-09-12 10:55:07 +00:00
LongYinan 2337ec38ce chore: upgrade dependencies 2023-07-20 10:05:43 +08:00
LongYinan a0ef7deb79 feat(*): upgrade dependencies 2023-04-24 08:47:02 +08:00
LongYinan 879108a860 chore(jwt): remove aarch64 Windows target 2023-03-02 11:53:08 +08:00
LongYinan 82ccefd5fe chore: upgrade rust toolchain 2023-03-02 11:20:21 +08:00
nebarf 70ceb14a0b feat(jsonwebtoken): jsonwebtoken implementation 2023-02-26 15:13:54 +01:00
LongYinan 0cca4f70d6 chore(*): switch back to nightly 2023-01-11 18:51:27 +08:00