LongYinan
68f63882a9
chore(release): publish
...
- @napi-rs/cli@3.0.0-alpha.59
- @napi-rs/triples@2.0.0-alpha.21
@napi-rs/cli@3.0.0-alpha.59
@napi-rs/triples@2.0.0-alpha.21
2024-07-15 22:12:14 +08:00
LongYinan
e8608228b8
fix(cli): bundle lodash-es in cjs output ( #2189 )
2024-07-15 22:11:18 +08:00
LongYinan
2fccedbaba
Release independent packages
...
- napi@3.0.0-alpha.7
napi@3.0.0-alpha.7
2024-07-14 23:29:08 +08:00
LongYinan
54ec4897ea
fix(napi): PromiseRaw throw error logic ( #2187 )
2024-07-14 23:28:36 +08:00
LongYinan
13c18388f5
fix(cli): worker files format ( #2186 )
2024-07-14 22:23:34 +08:00
LongYinan
727f5a831a
test: skip memory exhausting test in wasi env ( #2185 )
2024-07-13 02:34:04 +08:00
renovate[bot]
d965e5c3cc
chore(deps): update dependency oxlint to ^0.6.0 ( #2183 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-11 23:00:29 +08:00
Jade-fu
9e36daf559
fix(napi): reexport feature should be align ( #2184 )
2024-07-11 23:00:08 +08:00
LongYinan
119b2055a2
chore(release): publish
...
- @napi-rs/cli@3.0.0-alpha.58
- @napi-rs/triples@2.0.0-alpha.20
@napi-rs/cli@3.0.0-alpha.58
@napi-rs/triples@2.0.0-alpha.20
2024-07-11 17:32:00 +08:00
LongYinan
5976f04e54
fix(cli): wasm binding files destination ( #2182 )
2024-07-11 17:31:19 +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
renovate[bot]
9800ea7350
fix(deps): update dependency inquirer to v10 ( #2173 )
...
* fix(deps): update dependency inquirer to v10
* Fix for api changes
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-07-10 23:49:19 +08:00
LongYinan
488762791d
chore(release): publish
...
- @napi-rs/cli@3.0.0-alpha.57
- @napi-rs/triples@2.0.0-alpha.19
@napi-rs/cli@3.0.0-alpha.57
@napi-rs/triples@2.0.0-alpha.19
2024-07-09 15:20:21 +08:00
LongYinan
731dced1bb
fix(cli): update wasi js binding files on any builds ( #2179 )
2024-07-09 14:01:23 +08:00
LongYinan
a040416f9f
chore(napi): reduce Node-API call in AsyncTask ( #2176 )
2024-07-08 16:57:53 +08:00
LongYinan
45a404c30b
ci: use shell to run tests in Docker ( #2175 )
2024-07-08 15:18:50 +08:00
LongYinan
349996b699
test: update snapshots
2024-07-07 22:34:36 +08:00
LongYinan
8891c43ef7
Release independent packages
...
- napi-derive@3.0.0-alpha.5
napi-derive@3.0.0-alpha.5
2024-07-07 21:03:40 +08:00
LongYinan
38d041569a
fix(napi-derive): PromiseRaw typegen
2024-07-07 21:03:14 +08:00
LongYinan
70a5fce68d
Release independent packages
...
- napi@3.0.0-alpha.6
napi@3.0.0-alpha.6
2024-07-07 20:55:20 +08:00
LongYinan
3a511bacee
fix(napi): Promise callbacks should require static lifetime ( #2172 )
2024-07-07 20:42:17 +08:00
LongYinan
27030c8dae
refactor(napi): simplify Promise implementation ( #2171 )
2024-07-07 14:59:03 +08:00
LongYinan
807b987a20
fix(napi): PromiseRaw does not require napi4 and tokio_rt
napi-derive@3.0.0-alpha.4
napi@3.0.0-alpha.5
2024-07-06 23:59:26 +08:00
LongYinan
eb09a6f7f5
Release independent packages
...
- napi@3.0.0-alpha.5
- napi-derive@3.0.0-alpha.4
2024-07-06 23:48:30 +08:00
LongYinan
16386638c2
fix(napi-derive): Result type in async fn ( #2169 )
2024-07-06 23:46:24 +08:00
LongYinan
bc9e931a4e
feat(napi): provide PromiseRaw for non-await scenario ( #2168 )
2024-07-06 19:09:16 +08:00
LongYinan
a4cd94ea30
Release independent packages
...
- napi@3.0.0-alpha.4
napi@3.0.0-alpha.4
2024-07-06 14:34:06 +08:00
LongYinan
aef57fb196
feat(napi): impl from_string for Uint8Array ( #2167 )
2024-07-06 14:32:09 +08:00
LongYinan
a7ef9be9ca
chore: external all dependencies in cli cjs build ( #2166 )
2024-07-06 14:11:21 +08:00
LongYinan
286c8d0cf4
chore(release): publish
...
- @napi-rs/cli@3.0.0-alpha.56
- @napi-rs/triples@2.0.0-alpha.18
@napi-rs/cli@3.0.0-alpha.56
@napi-rs/triples@2.0.0-alpha.18
2024-07-05 11:44:59 +08:00
Jade-fu
2265ca3e1a
fix(napi): asynchronous functions can return any errors ( #2165 )
...
* feat(napi): asynchronous functions can return any errors as long as they implement the Into<Error> trait.
* chore: use impl Into<Error>
2024-07-04 14:47:32 +08:00
renovate[bot]
c61aa20dfe
chore(deps): update dependency esbuild to ^0.23.0 ( #2164 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-03 23:07:29 +08:00
renovate[bot]
296f0dd72b
chore(deps): update dependency esbuild to ^0.22.0 ( #2162 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 14:41:37 +08:00
LongYinan
1228e918e9
Release independent packages
...
- napi-derive@3.0.0-alpha.3
napi-derive@3.0.0-alpha.3
2024-07-01 13:28:46 +08:00
renovate[bot]
793d734189
chore(deps): lock file maintenance ( #2163 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 13:25:59 +08:00
Jade-fu
c2bda9a900
fix(napi-derive): class constructor and factory should support custom error status ( #2161 )
2024-06-30 16:12:00 +08:00
LongYinan
657fbfb113
Release independent packages
...
- napi@3.0.0-alpha.3
- napi-derive@3.0.0-alpha.2
napi-derive@3.0.0-alpha.2
napi@3.0.0-alpha.3
2024-06-27 20:46:29 +08:00
renovate[bot]
64868476fa
chore(deps): update dependency oxlint to ^0.5.0 ( #2159 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 20:41:04 +08:00
Gentle
7c4072b237
let docs.rs generate all documentation ( #2160 )
...
without this, all-features = true has no effect
Co-authored-by: Gentle <ramon.klass@gmail.com>
2024-06-27 20:40:34 +08:00
LongYinan
04bd89b9a4
chore(napi): exclude libuv api on wasm targets ( #2156 )
2024-06-24 23:36:05 +08:00
LongYinan
a7d85b0549
chore(napi): remove stale tokio feature ( #2155 )
2024-06-24 17:41:58 +08:00
LongYinan
d7a5a7e9a1
test(napi): spwan thread in thread ( #2139 )
2024-06-24 16:09:07 +08:00
renovate[bot]
f9721584f8
chore(deps): update oven-sh/setup-bun action to v2 ( #2153 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 11:38:59 +08:00
renovate[bot]
59aaf2209d
chore(deps): update yarn to v4.3.1 ( #2150 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-21 09:58:09 +00:00
renovate[bot]
c59e075f58
fix(deps): update dependency @octokit/rest to v21 ( #2149 )
2024-06-21 12:45:53 +08:00
Dennis Duda
bd5b86e13b
chore(napi): reduce monomorphization load of various functions ( #2143 )
...
* refactor(napi): reduce monomorphization load of `JsObject::{get, set}`
Outside of `std::panicking::try` and `tokio`, these functions were the highest-up in `cargo-llvm-lines`.
Moves most of the logic out into non-generic functions.
* refactor(napi): reduce monomorphization load of `JsDeferred::new`
* refactor(napi): reduce monomorphization load of `call_js_cb`
---------
Co-authored-by: LongYinan <lynweklm@gmail.com>
2024-06-18 22:41:49 +08:00
renovate[bot]
433d27a4e7
chore(deps): update docker/build-push-action action to v6 ( #2142 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-18 13:50:02 +08:00
LongYinan
ea623903d8
chore: clippy fix ( #2144 )
2024-06-18 13:20:43 +08:00
Özgür Akkurt
14d88997d7
chore(napi): print anyhow error in debug mode to show trace ( #2140 )
2024-06-17 11:45:10 +08:00
Ranger
19e3488efc
fix(napi): JsString should respect \0 character to align with String ( #2138 )
...
* fix(napi): JsString should respect \0 character to align with String
* chore(test): update snapshot
2024-06-12 15:20:27 +08:00