Commit graph

1948 commits

Author SHA1 Message Date
yiliuliuyi
a25612987f
Merge pull request #938 from liulinboyi/feat-napi
feat(napi): refine return type
2021-12-18 13:29:19 +08:00
forehalo
2df97c108f
fix: impl From<Buffer> for Vec<u8> 2021-12-18 13:24:16 +08:00
liulinboyi
486765b35e feat(napi): refine return type 2021-12-18 11:52:49 +08:00
LongYinan
01b5a6dc3f
docs(cli): add note for --target flag 2021-12-17 17:31:09 +08:00
LongYinan
bbd466b69c
Release independent packages 2021-12-17 16:56:45 +08:00
LongYinan
d97541be39
chore: publish
- @napi-rs/cli@2.0.0
2021-12-17 16:54:56 +08:00
LongYinan
8debc09b7f
Release independent packages
napi@2.0.0-beta.7
2021-12-14 13:00:07 +08:00
LongYinan
5860d8ce4f
Merge pull request #929 from napi-rs/async-error-handling
fix(napi): ThreadsafeFunction with ErrorStrategy::Fatal should throw fatal exception
2021-12-14 12:59:07 +08:00
LongYinan
91d07810a2
fix(napi): ThreadsafeFunction with ErrorStrategy::Fatal should throw fatal exception 2021-12-14 12:47:23 +08:00
dependabot[bot]
98791a40e6
build(deps-dev): bump eslint from 8.4.0 to 8.4.1 2021-12-13 22:33:40 +00:00
dependabot[bot]
f58d2c600f
build(deps-dev): bump @typescript-eslint/parser from 5.6.0 to 5.7.0 2021-12-13 22:33:26 +00:00
dependabot[bot]
12b912b193
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-12-13 22:09:17 +00:00
dependabot[bot]
4caacd8eb3
build(deps-dev): bump @types/node from 16.11.11 to 16.11.12 2021-12-13 22:09:15 +00:00
dependabot[bot]
ae9e026c50
build(deps-dev): bump rollup from 2.60.2 to 2.61.1 2021-12-13 22:09:05 +00:00
dependabot[bot]
c05dffa1c3
build(deps-dev): bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.1 2021-12-13 22:08:59 +00:00
dependabot[bot]
88f1573768
build(deps-dev): bump typescript from 4.5.2 to 4.5.3 2021-12-13 22:08:49 +00:00
dependabot[bot]
40bdff8494
build(deps-dev): bump esbuild from 0.14.2 to 0.14.3 2021-12-13 22:08:35 +00:00
LongYinan
c8e6ab46d3
Release independent packages
napi@2.0.0-beta.6
2021-12-13 13:18:24 +08:00
LongYinan
59a7b8621e
Merge pull request #919 from h-a-n-a/feat/deref-external
feat(napi): support external deref
2021-12-11 15:09:11 +08:00
h-a-n-a
0aa7cd3d32 feat(napi): support external deref/derefMut 2021-12-11 13:42:46 +08:00
LongYinan
212bbe285e
chore: publish
- @napi-rs/cli@2.0.0-beta.5
2021-12-10 16:57:41 +08:00
LongYinan
a7e9f82fd9
style: run fmt 2021-12-10 16:55:55 +08:00
LongYinan
b977265cfa
feat(cli): provide rename command to rename everything in package-template project 2021-12-10 16:52:59 +08:00
LongYinan
4177d071a3
chore: simplify format command 2021-12-10 12:58:17 +08:00
LongYinan
ecb6522f50
fix(cli): preserve authors field while creating npm dir 2021-12-10 12:55:17 +08:00
LongYinan
99708384d9
test: update snapshot 2021-12-09 19:23:33 +08:00
LongYinan
f4b0a2e322
fix(cli): enum TypeScript type should be const enum 2021-12-09 18:48:50 +08:00
LongYinan
0723e158e5
Release independent packages
napi@2.0.0-beta.5
2021-12-08 18:00:06 +08:00
LongYinan
7470407306
feat(napi): throw error on non constructable class 2021-12-08 17:59:30 +08:00
LongYinan
16fa7a159e
Release independent packages
napi-derive@2.0.0-beta.5
napi-derive-backend@1.0.17
2021-12-08 17:33:13 +08:00
LongYinan
cd7c7a342f
fix(napi-derive-backend): missing crate prefix 2021-12-08 17:32:16 +08:00
LongYinan
3ae12f7c36
Release independent packages
napi-derive@2.0.0-beta.4
napi-derive-backend@1.0.16
2021-12-08 13:37:37 +08:00
LongYinan
8e0717dcda
Merge pull request #918 from napi-rs/noop-napi-derive
Noop napi derive
2021-12-08 13:31:52 +08:00
LongYinan
e452c00fb4
feat: edition 2021 2021-12-08 13:18:47 +08:00
LongYinan
b2e71b5e03
feat(napi-derive): add noop feature to skip napi function register 2021-12-08 11:30:43 +08:00
LongYinan
454711981b
Release independent packages
napi-derive-backend@1.0.15
napi-derive@2.0.0-beta.3
napi@2.0.0-beta.4
2021-12-07 23:40:50 +08:00
LongYinan
d34006ab89
chore: publish
- @napi-rs/cli@2.0.0-beta.4
2021-12-07 23:33:34 +08:00
LongYinan
80c97b2660
Merge pull request #917 from napi-rs/parcel-fix
Upgrade for sourcemap
2021-12-07 22:31:00 +08:00
LongYinan
831e050877
feat(napi): create Array from &Vec 2021-12-07 22:03:25 +08:00
LongYinan
ff717df34f
fix(napi-derive-backend): skip set object property if it is None 2021-12-07 21:50:37 +08:00
LongYinan
f7a101db01
chore: cleanup stale codes 2021-12-07 21:45:40 +08:00
LongYinan
11a5a35485
feat(cli): workaround for Windows i686 ICE in dev mode 2021-12-07 21:45:01 +08:00
LongYinan
af7583dadf
napi@2.0.0-beta.3 2021-12-07 12:50:19 +08:00
LongYinan
00be6e5e0c
feat(napi): impl FromNapiValue for &str 2021-12-07 12:50:18 +08:00
LongYinan
884c7797ab
Merge pull request #916 from napi-rs/revert-913-dependabot/npm_and_yarn/chalk-5.0.0
Revert "build(deps): bump chalk from 4.1.2 to 5.0.0"
2021-12-07 11:06:42 +08:00
LongYinan
8b362d8eb1 Revert "build(deps): bump chalk from 4.1.2 to 5.0.0"
This reverts commit b357f6e6a5.
2021-12-07 10:50:39 +08:00
dependabot[bot]
de4bdcedd5
build(deps-dev): bump eslint from 8.3.0 to 8.4.0 2021-12-06 22:12:17 +00:00
dependabot[bot]
19a096dd11
build(deps-dev): bump @typescript-eslint/eslint-plugin 2021-12-06 22:12:02 +00:00
dependabot[bot]
0e9e99720e
build(deps-dev): bump prettier from 2.5.0 to 2.5.1 2021-12-06 21:51:33 +00:00
dependabot[bot]
b357f6e6a5
build(deps): bump chalk from 4.1.2 to 5.0.0 2021-12-06 21:51:23 +00:00