Commit graph

2573 commits

Author SHA1 Message Date
dependabot-preview[bot]
8b6febbbd9
build(deps-dev): bump @types/node from 14.0.23 to 14.0.24
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.23 to 14.0.24.
- [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-07-21 07:36:04 +00:00
LongYinan
cab9234e6b
chore(release): publish
- napi-derive@0.4.2
2020-07-20 18:56:29 +08:00
LongYinan
5e0ec94db1
Merge pull request #104 from messense/feature/catch-unwind
Throw exception when Rust code panics
2020-07-19 21:44:39 +08:00
messense
e7a8cbf26b Rename napi_rs to napi 2020-07-19 17:29:47 +08:00
messense
efa9ba5892 Throw exception when Rust code panics 2020-07-19 16:54:10 +08:00
LongYinan
8497479c7a
chore(release): publish
- napi@0.4.2
- napi-derive@0.4.1
2020-07-18 11:05:20 +08:00
LongYinan
b78722d8df
Merge pull request #103 from napi-rs/either
feat(napi): implement either type
2020-07-18 10:57:15 +08:00
LongYinan
3508956d16
feat(napi): implement either type 2020-07-18 02:11:49 +08:00
LongYinan
23d8b03a24
Merge pull request #102 from napi-rs/dependabot/npm_and_yarn/lodash-4.17.19
build(deps): bump lodash from 4.17.15 to 4.17.19
2020-07-16 13:56:46 +08:00
LongYinan
3358e95c1b
docs: add napi-derive to example 2020-07-16 12:45:08 +08:00
dependabot[bot]
b92d2bc6ec
build(deps): bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 04:43:52 +00:00
LongYinan
7624719721
docs: update readme 2020-07-16 12:43:09 +08:00
LongYinan
5113637c15
fix(napi): bump napi-build version 2020-07-15 01:40:24 +08:00
LongYinan
f5d8d14089
chore: bump napi-build 2020-07-15 01:36:02 +08:00
LongYinan
5f2f83f6fe
doc: add description to napi-sys 2020-07-15 01:24:56 +08:00
LongYinan
6489c11185
doc: update git repo url 2020-07-15 01:23:23 +08:00
LongYinan
8e46241cbb
Merge pull request #101 from napi-rs/0.4
refactor: decouple sys module of new napi-rs into a crate
2020-07-15 01:21:13 +08:00
LongYinan
244db37c3b
refactor: decouple sys module of new napi-rs into a crate 2020-07-15 00:59:41 +08:00
LongYinan
cce5f1fe00
fix(napi): missing declaration in register_module macro 2020-07-14 23:53:00 +08:00
LongYinan
3f2b6c230e
Merge pull request #94 from napi-rs/tokio-rt
feat(napi): implement tokio_rt feature to execute future on tokio runtime
2020-07-14 23:26:53 +08:00
LongYinan
62482ab2e6
doc: add some documents 2020-07-14 23:05:08 +08:00
LongYinan
9118e9e62d
feat(napi): implment tokio_rt feature 2020-07-14 22:58:05 +08:00
LongYinan
f43b6a77ea
Merge pull request #100 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.23
build(deps-dev): bump @types/node from 14.0.22 to 14.0.23
2020-07-14 20:16:28 +08:00
dependabot-preview[bot]
eb5853a10e
build(deps-dev): bump @types/node from 14.0.22 to 14.0.23
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.22 to 14.0.23.
- [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-07-14 07:34:05 +00:00
LongYinan
0940a02666
Merge pull request #99 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.22
build(deps-dev): bump @types/node from 14.0.20 to 14.0.22
2020-07-13 16:25:59 +08:00
dependabot-preview[bot]
af3d7d8512
build(deps-dev): bump @types/node from 14.0.20 to 14.0.22
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.20 to 14.0.22.
- [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-07-13 07:46:42 +00:00
LongYinan
bc413ca365
Merge pull request #97 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.20
build(deps-dev): bump @types/node from 14.0.19 to 14.0.20
2020-07-09 16:01:06 +08:00
dependabot-preview[bot]
7f7f0e31bd
build(deps-dev): bump @types/node from 14.0.19 to 14.0.20
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.19 to 14.0.20.
- [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-07-09 07:31:21 +00:00
LongYinan
b203016235
Merge pull request #95 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.19
build(deps-dev): bump @types/node from 14.0.18 to 14.0.19
2020-07-08 21:13:50 +08:00
dependabot-preview[bot]
97d97fa5b7
build(deps-dev): bump @types/node from 14.0.18 to 14.0.19
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.18 to 14.0.19.
- [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-07-08 08:01:54 +00:00
LongYinan
8eaf2e31d1
Merge pull request #96 from napi-rs/dependabot/npm_and_yarn/ava-3.10.1
build(deps-dev): bump ava from 3.10.0 to 3.10.1
2020-07-08 16:00:22 +08:00
dependabot-preview[bot]
0099a383ce
build(deps-dev): bump ava from 3.10.0 to 3.10.1
Bumps [ava](https://github.com/avajs/ava) from 3.10.0 to 3.10.1.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](https://github.com/avajs/ava/compare/v3.10.0...v3.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 07:30:46 +00:00
LongYinan
b8e9463dd2
Merge pull request #86 from napi-rs/libuv
Use libuv to run rust future
2020-07-07 23:16:06 +08:00
LongYinan
b3c79587cf
Merge pull request #93 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.18
build(deps-dev): bump @types/node from 14.0.14 to 14.0.18
2020-07-07 16:34:54 +08:00
dependabot-preview[bot]
fd93195149
build(deps-dev): bump @types/node from 14.0.14 to 14.0.18
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.14 to 14.0.18.
- [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-07-07 07:40:44 +00:00
LongYinan
04238c38ab
style(napi): typo adjust 2020-07-07 11:57:33 +08:00
LongYinan
f4a331cfe2
feat(napi): provide execute function to run Future on libuv 2020-07-07 11:57:32 +08:00
LongYinan
646f47ff66
Merge pull request #88 from napi-rs/dependabot/npm_and_yarn/ava-3.10.0
build(deps-dev): bump ava from 3.9.0 to 3.10.0
2020-07-06 16:45:37 +08:00
dependabot-preview[bot]
0eb9d72713
build(deps-dev): bump ava from 3.9.0 to 3.10.0
Bumps [ava](https://github.com/avajs/ava) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](https://github.com/avajs/ava/compare/v3.9.0...v3.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 07:54:33 +00:00
Ouyang Yadong
472d4f2ab5 chore: add into_unknown; refactor tsfn api; add tests for js function 2020-07-04 00:05:31 +08:00
LongYinan
93f7180682
chore: upgrade ava 2020-07-02 15:30:10 +08:00
LongYinan
5da060966f
Merge pull request #84 from napi-rs/napi-feature
feat: move napi version features setup to build package
2020-07-02 09:27:36 +08:00
LongYinan
0d5f03f845
feat: move napi version features setup to build package 2020-07-02 00:40:36 +08:00
LongYinan
4f81f4d44e
Merge pull request #81 from napi-rs/value-refactor
refactor(napi): redesign the JavaScript values API
2020-07-01 13:56:50 +08:00
LongYinan
0216c55e54
refactor(napi): redesign the JavaScript values API 2020-06-28 23:29:04 +08:00
LongYinan
a16582629c
Merge pull request #77 from oyyd/oyyd-impl-tsfn
feat(napi): impl threadsafe function api
2020-06-28 23:00:03 +08:00
Ouyang Yadong
f126a0581f feat(napi): impl threadsafe function api 2020-06-28 22:47:08 +08:00
LongYinan
a8476fd386
Merge pull request #80 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.14
build(deps-dev): bump @types/node from 14.0.13 to 14.0.14
2020-06-25 16:38:38 +08:00
dependabot-preview[bot]
ea3a9c7b62
build(deps-dev): bump @types/node from 14.0.13 to 14.0.14
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.13 to 14.0.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-06-25 07:37:43 +00:00
LongYinan
17cc813295
Merge pull request #79 from napi-rs/remove-useless-alloc
perf(napi-derive): remove useless alloc in function CallContext
2020-06-21 18:14:38 +08:00