Commit graph

1089 commits

Author SHA1 Message Date
LongYinan
28dd67e6de
Merge pull request #383 from napi-rs/dependabot/npm_and_yarn/types/sinon-9.0.10
build(deps-dev): bump @types/sinon from 9.0.9 to 9.0.10
2020-12-25 00:27:06 +08:00
dependabot-preview[bot]
c840006e11
build(deps-dev): bump @types/sinon from 9.0.9 to 9.0.10
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 9.0.9 to 9.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-24 16:26:53 +00:00
LongYinan
5a9581d4e3
Merge pull request #384 from napi-rs/dependabot/npm_and_yarn/types/lodash-4.14.166
build(deps-dev): bump @types/lodash from 4.14.165 to 4.14.166
2020-12-25 00:24:48 +08:00
dependabot-preview[bot]
9a57258991
build(deps-dev): bump @types/lodash from 4.14.165 to 4.14.166
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.165 to 4.14.166.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-24 16:24:34 +00:00
LongYinan
3b3874da7b
Merge pull request #385 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.16
build(deps-dev): bump @types/node from 14.14.14 to 14.14.16
2020-12-25 00:22:27 +08:00
LongYinan
501313789d
feat(napi): AsMut and DerefMut for JsBuffer 2020-12-25 00:21:37 +08:00
LongYinan
ff66f102de
napi@1.0.0-alpha.7 2020-12-24 15:46:20 +08:00
LongYinan
2a6c452ce7
refactor(napi): create_buffer_with_borrowed_data now accept not-null finalize_callback 2020-12-24 15:45:59 +08:00
dependabot-preview[bot]
d795275759
build(deps-dev): bump @types/node from 14.14.14 to 14.14.16
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.14 to 14.14.16.
- [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-24 07:24:15 +00:00
LongYinan
ac2f3bd00e
napi@1.0.0-alpha.6 2020-12-24 13:55:45 +08:00
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