Commit graph

2660 commits

Author SHA1 Message Date
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
LongYinan
4c0341961c
refactor(napi-rs): impl TryFrom instead of TryInto 2020-04-26 18:46:56 +08:00
LongYinan
4f35700816
Merge pull request #34 from Brooooooklyn/derive
js_function Derive
2020-04-26 17:26:42 +08:00
LongYinan
0f28cc7bdf
doc: add napi-derive example and document 2020-04-26 16:58:11 +08:00
LongYinan
0b2561225f
feat(derive): js_function derive 2020-04-26 16:36:44 +08:00
LongYinan
a21060107e
Merge pull request #33 from Brooooooklyn/dependabot/npm_and_yarn/types/node-13.13.2
build(deps-dev): bump @types/node from 13.13.1 to 13.13.2
2020-04-23 10:50:52 +08:00
dependabot-preview[bot]
ea55091c2f
build(deps-dev): bump @types/node from 13.13.1 to 13.13.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.1 to 13.13.2.
- [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-22 21:20:04 +00:00
LongYinan
20771c0730
Merge pull request #32 from Brooooooklyn/dependabot/npm_and_yarn/prettier-2.0.5
build(deps-dev): bump prettier from 2.0.4 to 2.0.5
2020-04-22 10:44:00 +08:00
dependabot-preview[bot]
984f3f2503
build(deps-dev): bump prettier from 2.0.4 to 2.0.5
Bumps [prettier](https://github.com/prettier/prettier) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.4...2.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-21 21:21:20 +00:00
LongYinan
a117c8742c
Merge pull request #31 from Brooooooklyn/dependabot/npm_and_yarn/types/node-13.13.1
build(deps-dev): bump @types/node from 13.13.0 to 13.13.1
2020-04-21 10:32:01 +08:00
dependabot-preview[bot]
008e829174
build(deps-dev): bump @types/node from 13.13.0 to 13.13.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.0 to 13.13.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-04-20 21:17:38 +00:00
LongYinan
c71c4c179a
Merge pull request #30 from Brooooooklyn/uint-32
feat(napi): impl create_uint32
2020-04-20 10:45:12 +08:00
LongYinan
f29ddc3a19
feat(napi): impl create_uint32 2020-04-20 00:43:48 +08:00
LongYinan
6b032caca8
Merge pull request #28 from Brooooooklyn/result
Make  API call more safety
2020-04-19 19:07:08 +08:00
LongYinan
fa8e1be7b9
refactor(napi-rs): make api calls more safety 2020-04-19 18:52:32 +08:00
LongYinan
ddb3813b9a
Merge pull request #29 from Brooooooklyn/dependabot/npm_and_yarn/types/node-13.13.0
build(deps-dev): bump @types/node from 13.11.1 to 13.13.0
2020-04-18 13:20:50 +08:00
dependabot-preview[bot]
a71d55f8c1
build(deps-dev): bump @types/node from 13.11.1 to 13.13.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.11.1 to 13.13.0.
- [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-17 21:18:22 +00:00
LongYinan
9afdb79d47
Merge pull request #27 from Brooooooklyn/dependabot/npm_and_yarn/types/node-13.11.1
build(deps-dev): bump @types/node from 13.11.0 to 13.11.1
2020-04-09 10:49:19 +08:00
LongYinan
c35d6339fb
Merge pull request #26 from Brooooooklyn/array-buffer
feat: support basic arrayBuffer
2020-04-09 10:46:59 +08:00
dependabot-preview[bot]
b634030597
build(deps-dev): bump @types/node from 13.11.0 to 13.11.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.11.0 to 13.11.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-04-08 21:20:41 +00:00
LongYinan
de6863cd3a
feat: support basic arrayBuffer 2020-04-08 23:58:50 +08:00