Commit graph

930 commits

Author SHA1 Message Date
dependabot-preview[bot]
da4835a349
build(deps): update bindgen requirement from 0.53 to 0.54
Updates the requirements on [bindgen](https://github.com/rust-lang/rust-bindgen) to permit the latest version.
- [Release notes](https://github.com/rust-lang/rust-bindgen/releases)
- [Changelog](https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/rust-bindgen/compare/v0.53.0...v0.54.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-22 07:05:09 +00:00
LongYinan
49bf8836b9
Merge pull request #51 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.4
build(deps-dev): bump @types/node from 14.0.3 to 14.0.4
2020-05-21 16:34:24 +08:00
dependabot-preview[bot]
7773c2181b
build(deps-dev): bump @types/node from 14.0.3 to 14.0.4
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.3 to 14.0.4.
- [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-05-21 07:45:52 +00:00
LongYinan
45d9c40881
doc: add email to CODE_OF_CONDUCT 2020-05-20 18:49:36 +08:00
LongYinan
a57d96d628
doc: add CODE_OF_CONDUCT.md 2020-05-20 17:47:57 +08:00
LongYinan
49e568053d
Merge pull request #50 from Brooooooklyn/dependabot/npm_and_yarn/types/node-14.0.3
build(deps-dev): bump @types/node from 14.0.1 to 14.0.3
2020-05-20 10:57:45 +08:00
dependabot-preview[bot]
5cb6ce640d
build(deps-dev): bump @types/node from 14.0.1 to 14.0.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.1 to 14.0.3.
- [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-05-19 21:19:24 +00:00
LongYinan
ed69a94def
Merge pull request #49 from Brooooooklyn/dependabot/npm_and_yarn/lint-staged-10.2.4
build(deps-dev): bump lint-staged from 10.2.2 to 10.2.4
2020-05-19 10:28:11 +08:00
dependabot-preview[bot]
19874ec0ef
build(deps-dev): bump lint-staged from 10.2.2 to 10.2.4
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.2 to 10.2.4.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.2...v10.2.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 21:17:11 +00:00
LongYinan
d9f3a818aa
chore(release): napi@0.3.1 2020-05-15 14:29:06 +08:00
LongYinan
96b8bc104d
Merge pull request #48 from Brooooooklyn/fix-windows-alloc
refactor(spawn): napi_async_worker implementation
2020-05-15 14:15:57 +08:00
LongYinan
ec235d284d
refactor(spawn): napi_async_worker implementation 2020-05-15 14:03:02 +08:00
LongYinan
208bcac996
Merge pull request #47 from Brooooooklyn/dependabot/npm_and_yarn/types/node-14.0.1
build(deps-dev): bump @types/node from 13.13.5 to 14.0.1
2020-05-14 11:01:27 +08:00
dependabot-preview[bot]
277c369730
build(deps-dev): bump @types/node from 13.13.5 to 14.0.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.5 to 14.0.1.
- [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-05-13 21:19:06 +00:00
LongYinan
0238bb7cce
Merge pull request #46 from Brooooooklyn/executor-refactor-
Cleanup uv_async_t alloc logic
2020-05-12 11:51:08 +08:00
LongYinan
f7a0f70830
refactor(executor): cleanup uv_async_t alloc logic 2020-05-12 11:04:52 +08:00
LongYinan
a5a1d76ad3
Merge pull request #45 from Brooooooklyn/executor-prune
chore: remove useless Box in Task
2020-05-11 18:41:20 +08:00
LongYinan
c92b7760bf
chore: remove useless Box in Task 2020-05-11 18:20:52 +08:00
LongYinan
99abeaa6b1
Merge pull request #44 from Brooooooklyn/muti-thread
feat(napi): impl spawn for tasks need to be run in the other thread
2020-05-11 17:34:07 +08:00
LongYinan
869ed76c0b
feat(napi): impl spawn for tasks need to be run in the other thread 2020-05-11 16:32:57 +08:00
LongYinan
37e64c4960
chore(release): napi-rs@0.3, napi-rs-derive@0.2 2020-05-09 15:34:55 +08:00
LongYinan
fe77ac7b8e
Merge pull request #43 from Brooooooklyn/perf-tweak
perf: borrow Env in CallContext
2020-05-09 15:32:17 +08:00
LongYinan
91cca630a9
perf: borrow Env in CallContext 2020-05-09 15:14:44 +08:00
LongYinan
617e9c78b0
Merge pull request #42 from Brooooooklyn/refactor-async
refactor(napi): async and lifetime span
2020-05-09 14:30:13 +08:00
LongYinan
1a280aa30f
refactor(napi): async and lifetime span 2020-05-09 14:13:25 +08:00
LongYinan
25296d8d84
Merge pull request #41 from Brooooooklyn/dependabot/npm_and_yarn/types/node-13.13.5
build(deps-dev): bump @types/node from 13.13.4 to 13.13.5
2020-05-06 10:44:03 +08:00
dependabot-preview[bot]
2e543933be
build(deps-dev): bump @types/node from 13.13.4 to 13.13.5
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.4 to 13.13.5.
- [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-05-05 21:20:26 +00:00
LongYinan
f751ea3b2a
chore: remove lifetime param in example 2020-05-02 00:21:38 +08:00
LongYinan
0a388056ad
chore(release): publish napi-rs 0.2.3 2020-05-01 23:53:32 +08:00
LongYinan
57b319273c
feat(napi): impl get_value for Boolean 2020-05-01 23:52:01 +08:00
LongYinan
c1da4f8d8e
chore(release): publish napi-rs 0.2.2 2020-05-01 12:48:19 +08:00
LongYinan
5bd720a0cb
doc: typo 2020-05-01 12:45:59 +08:00
LongYinan
efb590447e
Merge pull request #39 from Brooooooklyn/tweak
feat(napi): tweaks
2020-05-01 01:45:19 +08:00
LongYinan
f74c383408
feat(napi): tweaks
env.throw_error
String => JsString
JsString.as_str
Status into napi_status
2020-05-01 01:27:01 +08:00
LongYinan
53c173d6f9
docs: wrong language attr in Taste section 2020-04-30 18:58:29 +08:00
LongYinan
ea50a0c130
docs: add taste codes in README 2020-04-30 18:57:04 +08:00
LongYinan
4b52a40206
Merge pull request #38 from Brooooooklyn/node14
ci: add node14 to test matrix
2020-04-30 18:50:58 +08:00
LongYinan
53f9157342
fix(test_module): avoid oom in test_scripts 2020-04-30 18:31:47 +08:00
LongYinan
5fc3c7424a
ci: add node14 to test matrix 2020-04-30 18:08:29 +08:00
LongYinan
0c2673a260
Merge pull request #36 from Brooooooklyn/dependabot/npm_and_yarn/types/node-13.13.4
build(deps-dev): bump @types/node from 13.13.2 to 13.13.4
2020-04-28 11:22:25 +08:00
dependabot-preview[bot]
0606c0e866
build(deps-dev): bump @types/node from 13.13.2 to 13.13.4
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.2 to 13.13.4.
- [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-04-27 21:20:34 +00:00
LongYinan
86c166eece
doc: fix example 2020-04-27 10:35:48 +08:00
LongYinan
26f80b1511
0.2.3 2020-04-27 00:11:29 +08:00
LongYinan
498768578d
feat(scripts): support platform flag 2020-04-27 00:11:19 +08:00
LongYinan
d21a3379a5
0.2.2 2020-04-26 20:50:41 +08:00
LongYinan
67ac49a7d7
chore: rename napi-derive to napi-rs-derive 2020-04-26 20:21:45 +08:00
LongYinan
b720271009
doc: fix description in napi-derive 2020-04-26 20:15:08 +08:00
LongYinan
81adb5ceab
chore: version patch 2020-04-26 19:57:31 +08:00
LongYinan
7eb0d9b0f6
chore: update gitignore 2020-04-26 19:50:32 +08:00
LongYinan
4f215b04fa
Merge pull request #35 from Brooooooklyn/try-from
refactor(napi-rs): impl TryFrom instead of TryInto
2020-04-26 19:14:54 +08:00