LongYinan
209386f5c1
Release independent packages
...
- napi@3.0.0-alpha.20
napi@3.0.0-alpha.20
2024-11-07 14:03:46 +08:00
LongYinan
726f888241
fix(napi): memory leak in PromiseRaw callbacks ( #2348 )
2024-11-07 13:19:15 +08:00
LongYinan
cf2305517d
chore(napi): deprecate Env::create_reference ( #2347 )
2024-11-07 13:05:01 +08:00
LongYinan
ae8eab3ef8
chore(napi): remove Read from Uint8Array ( #2346 )
2024-11-07 13:04:47 +08:00
Max
f2377e2d70
chore(napi-derive): remove unused dependency 'regex' from backend ( #2344 )
2024-11-05 00:30:24 +08:00
renovate[bot]
8210414e55
chore(deps): update dependency oxlint to ^0.11.0 ( #2342 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-03 07:20:26 +00:00
renovate[bot]
c36e26e3b9
chore(deps): lock file maintenance ( #2341 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-01 10:45:29 +08:00
LongYinan
59dce18ab4
Release independent packages
...
- napi@3.0.0-alpha.19
napi@3.0.0-alpha.19
2024-10-31 11:06:23 +08:00
LongYinan
fd23549009
Release independent packages
...
- napi@3.0.0-alpha.18
- napi-derive@3.0.0-alpha.17
napi-derive@3.0.0-alpha.17
napi@3.0.0-alpha.18
2024-10-31 10:50:01 +08:00
dependabot[bot]
243df78cd2
chore(deps): bump elliptic from 6.5.7 to 6.6.0 ( #2339 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.7 to 6.6.0.
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.7...v6.6.0 )
---
updated-dependencies:
- dependency-name: elliptic
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-31 02:31:18 +00:00
LongYinan
f705454029
feat(napi): introduce AsyncBlock to let user dispose resources after future done ( #2338 )
2024-10-31 09:24:30 +08:00
LongYinan
00a3c13b42
feat(napi): impl io::Read for Uint8Array ( #2336 )
2024-10-30 16:15:43 +08:00
LongYinan
ac30f591dd
Revert "chore(deps): update node.js to v22 ( #2334 )"
...
This reverts commit 39904083e79c805565dbe7323d0e13e0d6d9da75.
2024-10-30 14:18:32 +08:00
renovate[bot]
39904083e7
chore(deps): update node.js to v22 ( #2334 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 14:17:01 +08:00
LongYinan
6a690e1c53
Release independent packages
...
- napi@3.0.0-alpha.17
- napi@3.0.0-alpha.16
- napi-sys@3.0.0-alpha.0
napi-derive@3.0.0-alpha.16
napi-sys@3.0.0-alpha.0
napi@3.0.0-alpha.17
2024-10-28 23:50:45 +08:00
LongYinan
c91456d84a
feat(napi): support return *const c_char to JavaScript directly ( #2332 )
2024-10-28 23:48:33 +08:00
LongYinan
79cbb9170e
fix!(sys): Node-API accpet NAPI_AUTO_LENGTH parameter type should be isize rather than usize ( #2331 )
2024-10-28 23:45:32 +08:00
LongYinan
f707f36c5a
feat(napi): implmenet Set ( #2330 )
2024-10-26 20:11:58 +08:00
LongYinan
3d95fcffdf
fix(napi-derive): ra warning on Rust 1.82 ( #2329 )
2024-10-25 11:15:13 +08:00
renovate[bot]
301388607a
chore(deps): update dependency npm-run-all2 to v7 ( #2324 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 16:45:56 +08:00
LongYinan
953f2e3553
Release independent packages
...
- napi@3.0.0-alpha.16
- napi@3.0.0-alpha.15
napi-derive@3.0.0-alpha.15
napi@3.0.0-alpha.16
2024-10-21 16:46:26 +08:00
LongYinan
909c7fb064
chore(release): publish
...
- @napi-rs/cli@3.0.0-alpha.64
- @napi-rs/triples@2.0.0-alpha.26
@napi-rs/cli@3.0.0-alpha.64
@napi-rs/triples@2.0.0-alpha.26
2024-10-21 16:45:36 +08:00
LongYinan
aff84674b2
refactor!(napi): remove &str FromNapiValue ( #2323 )
2024-10-21 16:43:30 +08:00
renovate[bot]
4226a42f89
chore(deps): update dependency oxlint to ^0.10.0 ( #2318 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-21 07:32:44 +00:00
lauren n. liberda
d685dedb76
docs: update n-api version matrix docs url ( #2319 )
...
it has changed back in node.js 16.0 docs
2024-10-21 12:49:08 +08:00
LongYinan
52c424a956
fix(napi): needless cast to CString before call napi_create_string_utf8 ( #2321 )
2024-10-21 12:48:43 +08:00
renovate[bot]
de3a60dfc1
chore(deps): update yarn to v4.5.1 ( #2317 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-18 23:14:33 +00:00
LongYinan
161758393f
fix(napi): TypedArray is not ArrayBuffer in Deno ( #2314 )
2024-10-17 16:36:21 +08:00
Richer
383b5d023c
fix(napi): before using from_raw_parts should check if data is null ( #2311 )
2024-10-15 16:47:34 +08:00
Richer
7ed5972a78
pref(napi): display the real info for TypedArray ( #2310 )
2024-10-15 15:36:34 +08:00
Cayman
960d07e5da
feat: support ESM binding ( #2284 )
...
* feat: support ESM binding
* chore: consistent use of semicolons
* chore: apply suggestion
2024-10-15 15:18:55 +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
17f6dd2fd9
Release independent packages
...
- napi@3.0.0-alpha.15
napi@3.0.0-alpha.15
2024-10-14 11:27:41 +08:00
LongYinan
dc4bfb8ea3
refactor!(napi): pass self to Task::finally instread of &mut self ( #2309 )
2024-10-14 11:26:30 +08:00
LongYinan
72afae3736
refactor!(napi): Ref::unref accept &mut self instead of self ( #2308 )
2024-10-14 11:14:25 +08:00
LongYinan
a38a24c359
Release independent packages
...
- napi@3.0.0-alpha.14
- napi-derive@3.0.0-alpha.14
napi-derive@3.0.0-alpha.14
napi@3.0.0-alpha.14
2024-10-14 00:27:38 +08:00
Richer
16fc9cbe31
feat(napi): support arraybuffer for de ( #2296 )
...
* feat(napi): support arraybuffer for de
* use BufferSlice
* clippy fix
---------
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-10-14 00:24:45 +08:00
LongYinan
af68b685f5
chore: set DISABLE_V8_COMPILE_CACHE in docker test ( #2307 )
2024-10-14 00:14:09 +08:00
LongYinan
4496ffd220
chore: refresh npm dependencies ( #2303 )
2024-10-13 23:50:57 +08:00
LongYinan
e0811d1644
fix(napi): data maybe null in custom_gc ( #2304 )
...
* fix(napi): data maybe null in custom_gc
Sometimes thread has not been disposed but the objects on it have been
recycled, we need to check if the data has been pointed to null before
unref it.
* disable v8 compile cache on CI
2024-10-13 23:33:39 +08:00
renovate[bot]
52e1f6bc4a
chore(deps): update dependency @rollup/plugin-replace to v6 ( #2273 )
2024-10-13 15:10:20 +08:00
Richer
7881069894
test: fix some test case ( #2301 )
2024-10-13 13:33:47 +08:00
Jacky Zhao
7ef54f413b
feat(cli)): createRequire for SEA support ( #2297 )
...
* create require for SEA support
* Update cli/src/api/templates/js-binding.ts
2024-10-11 15:22:45 +08:00
LongYinan
afd081d003
feat(napi,napi-derive): allow lifetime in Class ( #2298 )
2024-10-10 05:59:14 +02:00
LongYinan
724673225a
refactor!(napi): remove clone fn on ThreadsafeFunction ( #2291 )
2024-10-07 19:23:11 +02:00
LongYinan
eba0b52c59
chore(napi): env doesn't need to be mut ( #2292 )
2024-10-07 19:20:21 +02:00
LongYinan
9a6f01a20c
Release independent packages
...
- napi@3.0.0-alpha.13
- napi-derive@3.0.0-alpha.13
napi-derive@3.0.0-alpha.13
napi@3.0.0-alpha.13
2024-10-03 00:01:16 +02:00
LongYinan
8f4f74a32c
chore(release): publish
...
- @napi-rs/cli@3.0.0-alpha.63
- @napi-rs/triples@2.0.0-alpha.25
- @napi-rs/wasm-runtime@0.2.5
@napi-rs/cli@3.0.0-alpha.63
@napi-rs/triples@2.0.0-alpha.25
@napi-rs/wasm-runtime@0.2.5
2024-10-03 00:00:32 +02:00
LongYinan
c12e56f3e8
chore(cli): add strip in generated Cargo.toml
2024-10-03 00:00:11 +02:00
LongYinan
41f9e029f1
ci: fix ubuntu 24.04 electron test ( #2288 )
2024-10-02 10:55:32 +02:00