Commit graph

802 commits

Author SHA1 Message Date
LongYinan
84a6a8613b
feat(cli): create .cargo/config if needed 2020-12-29 14:32:25 +08:00
LongYinan
cbd4e4d1fc
chore(napi): remove TryFrom<JsNumber> for usize 2020-12-28 21:40:06 +08:00
LongYinan
96b1abc00f
napi@1.0.0-alpha.10 2020-12-28 14:02:59 +08:00
LongYinan
ff5c103020
chore: add thread safe function bench suite 2020-12-28 14:02:28 +08:00
LongYinan
a17999024b
Merge pull request #389 from napi-rs/uncheck
feat(napi): uncheck version of Object methods
2020-12-28 00:05:24 +08:00
LongYinan
ad2a84984f
feat(napi): uncheck version of Object methods 2020-12-27 23:46:07 +08:00
LongYinan
ec697f0b95
@napi-rs/cli@1.0.0-alpha.13 2020-12-25 18:38:57 +08:00
LongYinan
9b7ed2a226
Merge pull request #388 from napi-rs/create-npm-dir
feat(cli): create npm dir while creating new project
2020-12-25 18:25:32 +08:00
LongYinan
1537f44038
feat(cli): create npm dir while creating new project 2020-12-25 18:10:53 +08:00
LongYinan
9fb5a61a0b
napi@1.0.0-alpha.9 2020-12-25 12:02:39 +08:00
LongYinan
b1c8192d2a
refactor(napi): JsUnknow::cast now will not move ownership 2020-12-25 12:02:24 +08:00
LongYinan
a3d8623198
napi@1.0.0-alpha.8 2020-12-25 00:36:22 +08:00
LongYinan
aba9d3db06
Merge pull request #387 from napi-rs/mut-buffer
feat(napi): AsMut and DerefMut for JsBuffer
2020-12-25 00:35:38 +08:00
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