Commit graph

1425 commits

Author SHA1 Message Date
LongYinan
8a6949daf3
Merge pull request #822 from napi-rs/README
update v2 README
2021-10-31 23:03:05 +08:00
forehalo
5dbfb84d7a
update v2 README 2021-10-31 21:51:53 +08:00
LongYinan
7d4910bbf8
Merge pull request #821 from napi-rs/fix-issues
Fix issues
2021-10-31 20:33:10 +08:00
LongYinan
29277308d7
fix(napi-derive-backend): generate the same code if source was not changed 2021-10-31 13:13:21 +08:00
LongYinan
88c4175c2d
fix(napi-derive): prevent constructor redundant in debug mode 2021-10-31 13:12:14 +08:00
LongYinan
270b6bda38
ci: debian builder now is buster 2021-10-30 18:06:47 +08:00
LongYinan
730549437b
ci: install cmake in alpine builder 2021-10-30 17:43:46 +08:00
LongYinan
19868a47d0
ci: add more toolchain into debian builder 2021-10-30 17:23:41 +08:00
LongYinan
27f671c5c2
Merge pull request #820 from napi-rs/buffer
native buffer no need to keep raw napi pointer
2021-10-30 00:17:22 +08:00
forehalo
99b2723618
native buffer no need to keep raw napi pointer 2021-10-30 00:05:05 +08:00
João Moreno
03125d44b8
Make sure CI fails if yarn test fails (#818)
make sure CI fails if `yarn test` fails

Co-authored-by: LongYinan <lynweklm@gmail.com>
2021-10-29 21:19:18 +08:00
LongYinan
e709f25635 feat(napi): impl from/to NapiValue for JsUnkown 2021-10-29 20:55:06 +08:00
LongYinan
698bc701e8 fix(napi): export tokio_runtime only when tokio_rt feature enabled 2021-10-28 20:28:42 +08:00
LongYinan
813d671d76 fix(napi-derive-backend): always generate CallContext for constructor function 2021-10-28 20:28:42 +08:00
LongYinan
d08f9b03e0
chore: publish
- @napi-rs/cli@2.0.0-alpha.3
2021-10-27 15:39:02 +08:00
LongYinan
68f767b96d ci: fix arm build 2021-10-27 15:38:24 +08:00
LongYinan
cbb71a9a51 fix(cli): workflow file generated by new command 2021-10-27 15:38:24 +08:00
forehalo
c5cebec812 test full features once for napi v2 2021-10-27 14:42:57 +08:00
forehalo
fc10e2a517 README 2021-10-27 14:42:57 +08:00
forehalo
0ee80662be support async functions 2021-10-27 14:42:57 +08:00
forehalo
cf0b5785cd normalize tokio runtime 2021-10-27 14:42:57 +08:00
forehalo
8b4e7af67f buffer example 2021-10-27 14:42:57 +08:00
forehalo
aa77c8ff97 fix: wrong name len used for function creating 2021-10-27 14:42:57 +08:00
forehalo
5b39035541 serde support 2021-10-27 14:42:57 +08:00
forehalo
8c281fd174 add static method example 2021-10-27 14:42:57 +08:00
forehalo
f4c0b0639b impl To/FromNapiValue for HashMap 2021-10-27 14:42:57 +08:00
forehalo
e77d2e95ef add diagnostic for miss using constructor 2021-10-27 14:42:57 +08:00
forehalo
f66f79e587 throw if napi function returns Err variant of Result<T> 2021-10-27 14:42:57 +08:00
forehalo
ee7a146ea1 update class demo with custom constructor 2021-10-27 14:42:57 +08:00
forehalo
0d018a5470 impl ToNapiValue for Result<T> 2021-10-27 14:42:57 +08:00
forehalo
032861c5bc support typegen for Result<T> 2021-10-27 14:42:57 +08:00
dependabot[bot]
28957fd3dd
build(deps-dev): bump esbuild from 0.13.8 to 0.13.9 2021-10-25 22:31:41 +00:00
dependabot[bot]
e4109bfe82
build(deps-dev): bump @types/node from 16.11.1 to 16.11.5 2021-10-25 22:31:34 +00:00
dependabot[bot]
f69fd93d17
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-10-25 22:17:42 +00:00
dependabot[bot]
fc9f327968
build(deps-dev): bump @types/js-yaml from 4.0.3 to 4.0.4 2021-10-25 22:03:40 +00:00
dependabot[bot]
ae17fb831a
build(deps-dev): bump @typescript-eslint/parser from 5.1.0 to 5.2.0 2021-10-25 22:03:30 +00:00
dependabot[bot]
000ff7b6c4
build(deps-dev): bump lint-staged from 11.2.3 to 11.2.4 2021-10-25 22:03:26 +00:00
dependabot[bot]
82d315873c
build(deps-dev): bump benny from 3.7.0 to 3.7.1 2021-10-25 22:03:22 +00:00
dependabot[bot]
1578aefe3c
build(deps-dev): bump typanion from 3.7.0 to 3.7.1 2021-10-25 22:03:11 +00:00
dependabot[bot]
7ef19c1036
build(deps-dev): bump eslint from 8.0.1 to 8.1.0 2021-10-25 22:02:57 +00:00
dependabot[bot]
777123a911
build(deps-dev): bump husky from 7.0.2 to 7.0.4 2021-10-25 22:02:51 +00:00
dependabot[bot]
23ab3d4a70
build(deps-dev): bump @types/sinon from 10.0.4 to 10.0.5 2021-10-25 22:02:41 +00:00
dependabot[bot]
7a1053c4da
build(deps-dev): bump ts-node from 10.3.0 to 10.4.0 2021-10-25 22:02:35 +00:00
LongYinan
40c237ef19 fix(napi): Windows i686 memory error 2021-10-24 23:28:21 +08:00
LongYinan
d164a79514 ci: build and push arm docker images 2021-10-20 11:22:17 +08:00
dependabot[bot]
1015c9cbf0
build(deps-dev): bump eslint-plugin-import from 2.24.2 to 2.25.2 2021-10-18 21:39:38 +00:00
dependabot[bot]
a857ddd3c7
build(deps-dev): bump typanion from 3.5.0 to 3.7.0 2021-10-18 21:39:34 +00:00
dependabot[bot]
b656254232
build(deps-dev): bump @types/dockerode from 3.2.7 to 3.3.0 2021-10-18 21:39:27 +00:00
dependabot[bot]
992a79b8aa
build(deps-dev): bump esbuild from 0.13.4 to 0.13.8 2021-10-18 21:39:18 +00:00
dependabot[bot]
f26e031504
build(deps-dev): bump @types/node from 16.10.2 to 16.11.1 2021-10-18 21:39:10 +00:00