Commit graph

1364 commits

Author SHA1 Message Date
forehalo
99b2723618
native buffer no need to keep raw napi pointer 2021-10-30 00:05:05 +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
dependabot[bot]
e26f1657a3
build(deps-dev): bump typescript from 4.4.3 to 4.4.4 2021-10-18 21:38:55 +00:00
dependabot[bot]
d4af79f967
build(deps-dev): bump @octokit/rest from 18.11.4 to 18.12.0 2021-10-11 21:43:32 +00:00
dependabot[bot]
1b22e4b4d7
build(deps-dev): bump c8 from 7.9.0 to 7.10.0 2021-10-11 21:43:25 +00:00
dependabot[bot]
630f5033e5
build(deps-dev): bump ts-node from 10.2.1 to 10.3.0 2021-10-11 21:43:21 +00:00
dependabot[bot]
bcf55a10a0
build(deps): bump inquirer from 8.1.5 to 8.2.0 2021-10-11 21:43:18 +00:00
dependabot[bot]
3e3c001750
build(deps-dev): bump lint-staged from 11.2.0 to 11.2.3 2021-10-11 21:43:10 +00:00
dependabot[bot]
3369460c40
build(deps-dev): bump esbuild from 0.13.3 to 0.13.4 2021-10-11 21:43:07 +00:00
dependabot[bot]
7e7b4f0a82
build(deps-dev): bump @types/inquirer from 8.1.2 to 8.1.3 2021-10-04 22:28:30 +00:00
dependabot[bot]
f830f6ce8b
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-10-04 22:12:16 +00:00
dependabot[bot]
cdf22051c9
build(deps-dev): bump @types/node from 16.10.1 to 16.10.2 2021-10-04 21:55:13 +00:00
dependabot[bot]
0a6931dfb1
build(deps-dev): bump @octokit/rest from 18.11.2 to 18.11.4 2021-10-04 21:55:10 +00:00