LongYinan
ce990542b9
fix(napi): module_exports binding ( #2632 )
2025-05-13 19:54:25 +08:00
renovate[bot]
407a400ca0
chore(deps): update dependency @oxc-node/core to ^0.0.27 ( #2595 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-03 16:17:48 +00:00
renovate[bot]
4baae8dfb2
chore(deps): update dependency @oxc-node/core to ^0.0.25 ( #2588 )
...
* chore(deps): update dependency @oxc-node/core to ^0.0.25
* Update oxnode
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2025-05-03 08:55:22 +00:00
renovate[bot]
69a092eb43
chore(deps): update dependency electron to v36 ( #2577 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-03 15:51:53 +08:00
renovate[bot]
a495e55e84
chore(deps): update dependency @oxc-node/core to ^0.0.24 ( #2576 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-28 17:00:37 +00:00
renovate[bot]
9edd39a037
chore(deps): update dependency @oxc-node/core to ^0.0.23 ( #2552 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 03:13:17 +00:00
LongYinan
ff2c64b35d
chore: clippy fix ( #2545 )
2025-04-04 13:52:49 +08:00
renovate[bot]
c9c49973c1
chore(deps): update dependency @oxc-node/core to ^0.0.22 ( #2543 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 11:43:39 +00:00
LongYinan
5554c663ac
chore(cli): update deps ( #2542 )
2025-04-01 23:49:56 +08:00
renovate[bot]
06215529d8
chore(deps): update dependency sinon to v20 ( #2526 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-26 21:32:30 +08:00
LongYinan
c62acd2bfe
chore: upgrade npm dependencies ( #2516 )
2025-03-16 22:29:04 +08:00
renovate[bot]
c57ac0cc79
chore(deps): update dependency @oxc-node/core to ^0.0.21 ( #2515 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-16 14:07:53 +00:00
renovate[bot]
a25504a577
chore(deps): update dependency @oxc-node/core to ^0.0.20 ( #2498 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-05 12:12:04 +00:00
renovate[bot]
26d89a6f25
chore(deps): update dependency electron to v35 ( #2495 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-05 04:17:24 +00:00
LongYinan
8d8ccdfc77
refactor!(napi): TypedArray API surfaces ( #2462 )
2025-02-11 13:35:43 +08:00
renovate[bot]
98e16fad8b
chore(deps): update dependency @oxc-node/core to ^0.0.19 ( #2438 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 04:23:42 +00:00
renovate[bot]
1b24837445
chore(deps): update dependency @oxc-node/core to ^0.0.18 ( #2434 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 02:57:22 +00:00
renovate[bot]
8ce7f77e5d
chore(deps): update dependency electron to v34 ( #2428 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-20 09:48:41 +08:00
renovate[bot]
63b8ace192
chore(deps): update dependency vite-plugin-node-polyfills to ^0.23.0 ( #2431 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-19 07:33:06 +00:00
renovate[bot]
e8d48e14d4
chore(deps): update vitest monorepo to v3 ( #2429 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 15:19:49 +08:00
renovate[bot]
f03807e465
chore(deps): update dependency @oxc-node/core to ^0.0.17 ( #2427 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 04:59:26 +00:00
LongYinan
24e6bd38f3
chore: remove ts-node in examples/napi test ( #2425 )
2025-01-12 19:22:37 +08:00
LongYinan
05572bf1d4
feat(napi): allow create ReadableStream from polyfill ( #2424 )
2025-01-12 15:32:12 +08:00
LongYinan
8fffa49282
fix(napi): resuse threads worker on Node.js ( #2399 )
2024-12-18 23:48:30 +08:00
renovate[bot]
7815851b1e
chore(deps): update dependency vite to v6 ( #2372 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 14:24:47 +08:00
renovate[bot]
24c000e4d5
chore(deps): update dependency electron to v33 ( #2312 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-15 14:53:52 +08:00
LongYinan
4496ffd220
chore: refresh npm dependencies ( #2303 )
2024-10-13 23:50:57 +08:00
renovate[bot]
382ed9442c
chore(deps): update dependency sinon to v19 ( #2251 )
2024-09-14 09:57:39 +08:00
renovate[bot]
650ce155e2
chore(deps): update dependency electron to v32 ( #2221 )
2024-08-20 19:42:26 +08:00
renovate[bot]
fa43fe13c9
chore(deps): update dependency webdriverio to v9 ( #2218 )
2024-08-19 09:40:15 +08:00
renovate[bot]
4d39940fa0
chore(deps): update vitest monorepo to v2 (major) ( #2177 )
...
* chore(deps): update vitest monorepo to v2
* Fix lockfile
* Add playwright
* Update snapshots
* Fix vitest
* Fix vitest
* Fix wasi test
* Fix worker test condition
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-07-11 14:58:46 +08:00
LongYinan
731dced1bb
fix(cli): update wasi js binding files on any builds ( #2179 )
2024-07-09 14:01:23 +08:00
renovate[bot]
50b9110ea1
chore(deps): update dependency electron to v31 ( #2136 )
2024-06-11 12:50:00 +08:00
renovate[bot]
34723ca005
chore(deps): update dependency vite-plugin-node-polyfills to ^0.22.0 ( #2119 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vite-plugin-node-polyfills](https://togithub.com/davidmyersdev/vite-plugin-node-polyfills ) | [`^0.21.0` -> `^0.22.0`](https://renovatebot.com/diffs/npm/vite-plugin-node-polyfills/0.21.0/0.22.0 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>davidmyersdev/vite-plugin-node-polyfills (vite-plugin-node-polyfills)</summary>
### [`v0.22.0`](https://togithub.com/davidmyersdev/vite-plugin-node-polyfills/releases/tag/v0.22.0 )
[Compare Source](https://togithub.com/davidmyersdev/vite-plugin-node-polyfills/compare/v0.21.0...v0.22.0 )
- Stop defining globals when they are disabled
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/napi-rs/napi-rs ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjMuNSIsInVwZGF0ZWRJblZlciI6IjM3LjM2My41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
2024-05-20 12:22:55 +08:00
renovate[bot]
04da0d9fd1
chore(deps): update dependency sinon to v18 ( #2112 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 14:27:55 +08:00
renovate[bot]
da31e367e1
chore(deps): update dependency vite-plugin-node-polyfills to ^0.21.0 ( #2066 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 12:54:22 +08:00
LongYinan
46cbcf3ff1
feat(cli): allow sync fs operation between workers/mainThread ( #2064 )
...
* feat(cli): allow sync fs operation between workers/mainThread
* allow sync fs operation between workers/mainThread (#2065 )
* Fix
* Update fixture
* flaky test
* Fix cross compile target
* Update zig
* macos-cross test was filtered
---------
Co-authored-by: Toyo Li <lifenglin314@outlook.com>
2024-04-23 12:14:06 +08:00
LongYinan
4ccbb61179
feat(cli): improve the browser binding ( #2056 )
2024-04-19 16:12:30 +08:00
LongYinan
0e60651149
chore: dedupe electron
2024-04-16 18:24:25 +08:00
LongYinan
b3dd94649a
feat(cli): allow to define dtsHeader in napi config ( #2045 )
2024-04-16 17:40:41 +08:00
LongYinan
cc937e1dba
feat(cli): allow control the wasm Memory options via napi config ( #2038 )
2024-04-15 23:19:02 +08:00
LongYinan
6a29446dfb
chore(wasm-runtime): upgrade emnapi ( #2008 )
2024-03-21 14:41:05 +08:00
LongYinan
4719caa643
feat(napi): support Return generic of ThreadsafeFunction ( #1997 )
...
* feat(napi): support to use tuple with either (#1993 )
`Either` uses `ValidateNapiValue` + `TypeName` to validate and report error on value not being matched. So there's no way to remove these super traits from it. So I implemented these types to `Tuple` types.
* feat(napi): support `Return` generic of ThreadsafeFunction
* depracate JsFunction
* CalleeHandled tsfn should handle Result in callback
* Pass env to call_with_return_value callback
* Fix compile
* clippy fix
* Fix electron test
* Function args
---------
Co-authored-by: Hana <andywangsy@gmail.com>
2024-03-20 21:37:08 +08:00
Caleb Everett
95dd6ef485
refactor(cli): refactor js-binding to support easier bundling. ( #1957 )
...
* Refactor js-binding to support bundling single-package artifacts
The existsSync check breaks the bundlers I've tested (esbuild, webpack,
ncc), so you cannot bundle napi-rs packages that have all binarys in a
single package.
I've tested this change with both single package and multi package
libraries.
* Update snapshots
* Update CI
* Fix electron test
---------
Co-authored-by: Caleb ツ Everett <calebev@amazon.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-02-26 15:46:07 +08:00
LongYinan
2fda360742
chore: fix renovate path and dedupe electron versions ( #1974 )
2024-02-25 00:50:22 +08:00
LongYinan
0007e3aaf6
chore: upgrade all dependencies ( #1933 )
2024-02-01 12:14:56 +08:00
LongYinan
120accd965
feat: add wasm runtime package ( #1904 )
2024-01-16 23:28:40 +08:00
LongYinan
78de67e08f
chore: bump memfs-browser ( #1900 )
2024-01-16 11:10:55 +08:00
LongYinan
fc3d5cbcff
fix(cli): add browser entry ( #1899 )
2024-01-10 11:18:13 +08:00
LongYinan
7d3b53d41d
feat(cli): support generate browser compatible codes ( #1891 )
2024-01-08 21:02:46 +08:00