Commit graph

879 commits

Author SHA1 Message Date
LongYinan
f59d3ee5fc
feat(napi): tokio 1.0 2020-12-24 13:55:21 +08:00
LongYinan
6a59c3549c
Merge pull request #381 from napi-rs/borrowed-data
Borrowed data
2020-12-24 13:33:07 +08:00
LongYinan
26a2c01cd6
feat(napi): From Serde JSON Error for Error 2020-12-24 12:20:23 +08:00
LongYinan
530359421c
refactor(napi): create_buffer_with_borrowed_data now accepted raw ptr 2020-12-24 11:53:23 +08:00
LongYinan
f4c6bc7115
@napi-rs/cli@1.0.0-alpha.12 2020-12-23 22:46:48 +08:00
LongYinan
2f4d3142cf
feat(cli): helper messages 2020-12-23 22:43:43 +08:00
LongYinan
9e73837635
napi@1.0.0-alpha.5 2020-12-23 15:35:14 +08:00
LongYinan
8fcf42eeb6
refactor(napi): create_buffer_with_manually_drop_data => create_buffer_with_borrowed_data 2020-12-23 15:34:10 +08:00
LongYinan
62ee58fab7
Merge pull request #364 from napi-rs/new-command
feat(cli): new project command
2020-12-23 10:56:15 +08:00
LongYinan
6fe60f69c1
feat(cli): new project command 2020-12-23 00:16:45 +08:00
LongYinan
5869e04283
docs: rust doc enhancement 2020-12-22 21:32:50 +08:00
LongYinan
db930dabe7
napi@1.0.0-alpha.4 2020-12-22 19:44:23 +08:00
LongYinan
bc25a5603b
fix(napi): adjust_external_memory in raw_finalize callback 2020-12-22 19:43:46 +08:00
LongYinan
28b20b1894
Merge pull request #377 from napi-rs/size-hint-in-external
Size hint in external
2020-12-22 18:47:01 +08:00
LongYinan
a9c5060d04
@napi-rs/cli@1.0.0-alpha.11 2020-12-22 17:39:45 +08:00
LongYinan
aeef4811ed
Merge pull request #380 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.11.0
build(deps-dev): bump @typescript-eslint/parser from 4.10.0 to 4.11.0
2020-12-22 17:33:07 +08:00
dependabot-preview[bot]
6eaa0a1aa3
build(deps-dev): bump @typescript-eslint/parser from 4.10.0 to 4.11.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.11.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-22 07:54:46 +00:00
LongYinan
4f30c831a5
Merge pull request #378 from napi-rs/build-enhancement
Build enhancement
2020-12-22 15:53:10 +08:00
LongYinan
611bc32a34
Merge pull request #379 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.11.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.10.0 to 4.11.0
2020-12-22 15:52:39 +08:00
dependabot-preview[bot]
30999be770
build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.11.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-22 07:24:54 +00:00
LongYinan
754462238a
feat(cli): check 'cdylib' in crate-type 2020-12-22 15:14:29 +08:00
LongYinan
5f2bea0b97
feat(cli): support --cargo-cwd flag 2020-12-22 15:02:57 +08:00
LongYinan
1c4265496e
feat(napi): allow provide size_hint in create_external 2020-12-22 11:57:26 +08:00
LongYinan
c4d3876250
fix(napi): remove useless napi_adjust_external_memory in create_external_*_buffer 2020-12-22 11:57:03 +08:00
LongYinan
91e21ce3a0
napi@1.0.0-alpha.3 2020-12-22 10:53:06 +08:00
LongYinan
4eee3a6746
Merge pull request #375 from napi-rs/external-buffer-memory-issue
fix(napi): memory issues in create_external_buffer
2020-12-22 01:17:06 +08:00
LongYinan
ec13245e0b
Merge pull request #373 from napi-rs/dependabot/npm_and_yarn/eslint-config-prettier-7.1.0
build(deps-dev): bump eslint-config-prettier from 7.0.0 to 7.1.0
2020-12-21 19:15:36 +08:00
dependabot-preview[bot]
c7762a65d1
build(deps-dev): bump eslint-config-prettier from 7.0.0 to 7.1.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.0.0...v7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 08:24:51 +00:00
LongYinan
13f978e89a
Merge pull request #374 from napi-rs/dependabot/npm_and_yarn/eslint-7.16.0
build(deps-dev): bump eslint from 7.15.0 to 7.16.0
2020-12-21 16:22:45 +08:00
LongYinan
0446e463c8
fix(napi): memory issues in create_external_buffer 2020-12-21 16:10:30 +08:00
dependabot-preview[bot]
023d689571
build(deps-dev): bump eslint from 7.15.0 to 7.16.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.15.0 to 7.16.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.15.0...v7.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 07:52:51 +00:00
LongYinan
d2b61ef01f
napi-rs@1.0.0-alpha.2 2020-12-18 12:19:08 +08:00
LongYinan
0239b9c012
Merge pull request #370 from napi-rs/task-reject
feat(napi): provide reject method in Task trait
2020-12-18 11:58:24 +08:00
LongYinan
9d38689426
feat(napi): provide reject method in Task trait
Do some cleanup logic if needed
2020-12-18 11:32:15 +08:00
LongYinan
7a7013b6de
Merge pull request #368 from napi-rs/reference
feat(napi): implement create_reference/get_reference_value
2020-12-18 11:03:23 +08:00
LongYinan
bb5e1f4286
feat(napi): implement create_reference/get_reference_value 2020-12-18 00:07:24 +08:00
LongYinan
08e5804c3b
docs: correct examples 2020-12-17 18:59:29 +08:00
LongYinan
90f615eee3
Merge pull request #366 from napi-rs/instance-data
feat(napi): set and get instance data
2020-12-17 11:08:15 +08:00
LongYinan
bdd9b034e1
Merge pull request #365 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.14
build(deps-dev): bump @types/node from 14.14.13 to 14.14.14
2020-12-17 00:29:09 +08:00
LongYinan
c4734e23a1
feat(napi): set and get instance data 2020-12-17 00:27:33 +08:00
LongYinan
c621986ce5
feat(napi): implement add_finalizer for JsObject 2020-12-16 23:23:04 +08:00
dependabot-preview[bot]
9223d9676e
build(deps-dev): bump @types/node from 14.14.13 to 14.14.14
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.13 to 14.14.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-16 08:05:06 +00:00
LongYinan
74256bcae7
Merge pull request #362 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.10.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.9.1 to 4.10.0
2020-12-16 00:05:17 +08:00
dependabot-preview[bot]
063e17cffa
build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.9.1 to 4.10.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.10.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-15 08:30:05 +00:00
LongYinan
31431b33fd
Merge pull request #363 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.10.0
build(deps-dev): bump @typescript-eslint/parser from 4.9.1 to 4.10.0
2020-12-15 16:27:58 +08:00
dependabot-preview[bot]
93ab359c9a
build(deps-dev): bump @typescript-eslint/parser from 4.9.1 to 4.10.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.9.1 to 4.10.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.10.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-15 07:17:00 +00:00
LongYinan
84e0c488bc
Merge pull request #361 from napi-rs/dependabot/npm_and_yarn/eslint-plugin-prettier-3.3.0
build(deps-dev): bump eslint-plugin-prettier from 3.2.0 to 3.3.0
2020-12-15 14:00:41 +08:00
dependabot-preview[bot]
e3a22cb802
build(deps-dev): bump eslint-plugin-prettier from 3.2.0 to 3.3.0
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.2.0...v3.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 10:59:29 +00:00
LongYinan
e3a6bdd2b4
Merge pull request #360 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.13
build(deps-dev): bump @types/node from 14.14.12 to 14.14.13
2020-12-14 18:57:52 +08:00
LongYinan
659f95328d
Merge pull request #359 from napi-rs/dependabot/npm_and_yarn/husky-4.3.6
build(deps-dev): bump husky from 4.3.5 to 4.3.6
2020-12-14 18:57:31 +08:00