Commit graph

234 commits

Author SHA1 Message Date
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
LongYinan
628452c70a
perf(napi-derive): remove useless alloc in function CallContext 2020-06-21 17:50:38 +08:00
LongYinan
fce24f0566
style: naming refactor in napi.js 2020-06-21 17:00:40 +08:00
LongYinan
c5d57969fe
doc: update napi-rs usage
resolve https://github.com/napi-rs/napi-rs/issues/78
2020-06-21 10:57:27 +08:00
LongYinan
91c1ab9ea4
Merge pull request #76 from napi-rs/create-external
feat(napi): implement create_external and get_value_external
2020-06-19 17:15:05 +08:00
LongYinan
17cb852a6e
refactor(napi): self in Task::compute could be mutable 2020-06-19 16:19:06 +08:00
LongYinan
79401d693e
feat(napi): implement create_external and get_value_external 2020-06-19 16:16:28 +08:00
LongYinan
336cda325e
Merge pull request #75 from napi-rs/dependabot/npm_and_yarn/lint-staged-10.2.11
build(deps-dev): bump lint-staged from 10.2.10 to 10.2.11
2020-06-18 15:50:24 +08:00
dependabot-preview[bot]
9bef93249c
build(deps-dev): bump lint-staged from 10.2.10 to 10.2.11
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.10 to 10.2.11.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.10...v10.2.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-18 07:30:11 +00:00
LongYinan
26bd7ddb62
Merge pull request #73 from napi-rs/unit-test
test: setup test framework in test_module project
2020-06-18 09:14:04 +08:00
LongYinan
2797413799
chore: drop support for node@13 2020-06-17 20:53:41 +08:00
LongYinan
422682c8b8
test: setup test framework in test_module project 2020-06-17 20:53:41 +08:00
LongYinan
874851ea2d
Merge pull request #72 from oyyd/chore
refactor: remove sys:napi_async_init() in AsyncWork
2020-06-17 01:08:03 +08:00
Ouyang Yadong
9f49fd9b4e refactor: remove sys:napi_async_init() in AsyncWork 2020-06-17 00:09:37 +08:00
LongYinan
a67d44c892
Merge pull request #70 from oyyd/impl-is-date
feat(napi): try to impl is_date
2020-06-15 21:36:26 +08:00
Ouyang Yadong
4baff91a58 feat(napi): impl is_date 2020-06-15 21:15:59 +08:00
LongYinan
cab17ac02f
Merge pull request #69 from napi-rs/dependabot/npm_and_yarn/lint-staged-10.2.10
build(deps-dev): bump lint-staged from 10.2.9 to 10.2.10
2020-06-15 16:45:21 +08:00
dependabot-preview[bot]
bfe43c9174
build(deps-dev): bump lint-staged from 10.2.9 to 10.2.10
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.9 to 10.2.10.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.9...v10.2.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 08:05:28 +00:00
LongYinan
8783ce7a5f
ci: fix docker login action in cron job 2020-06-12 11:00:27 +08:00
LongYinan
8f3d2dce5a
v0.2.4 2020-06-11 18:42:47 +08:00
LongYinan
c4e7fc622a
feat(scripts): support musl flag 2020-06-11 18:42:10 +08:00
LongYinan
7c4ccce3d8
Merge pull request #67 from napi-rs/musl
feat(napi): support musl linux
2020-06-11 16:37:23 +08:00
LongYinan
28257b45c1
feat(napi): support musl linux
drop future executor due to mutithreads bug.
2020-06-11 16:20:37 +08:00
LongYinan
7958ed88a4
Merge pull request #66 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.13
build(deps-dev): bump @types/node from 14.0.12 to 14.0.13
2020-06-11 11:31:14 +08:00
dependabot-preview[bot]
54142e7622
build(deps-dev): bump @types/node from 14.0.12 to 14.0.13
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.12 to 14.0.13.
- [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-10 07:45:33 +00:00
LongYinan
0b0e1595c1
Merge pull request #65 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.12
build(deps-dev): bump @types/node from 14.0.11 to 14.0.12
2020-06-09 17:29:32 +08:00
dependabot-preview[bot]
399668443a
build(deps-dev): bump @types/node from 14.0.11 to 14.0.12
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.11 to 14.0.12.
- [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-09 07:28:55 +00:00
LongYinan
8f9c0217d1
Merge pull request #64 from napi-rs/dependabot/npm_and_yarn/lint-staged-10.2.9
build(deps-dev): bump lint-staged from 10.2.7 to 10.2.9
2020-06-05 18:53:23 +08:00
dependabot-preview[bot]
5101fdbc93
build(deps-dev): bump lint-staged from 10.2.7 to 10.2.9
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.7 to 10.2.9.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.7...v10.2.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 08:33:20 +00:00
LongYinan
3af08a5f86
Merge pull request #63 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.11
build(deps-dev): bump @types/node from 14.0.9 to 14.0.11
2020-06-05 16:31:58 +08:00
dependabot-preview[bot]
01f9d4e58a
build(deps-dev): bump @types/node from 14.0.9 to 14.0.11
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.9 to 14.0.11.
- [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-05 07:53:29 +00:00
LongYinan
d702a3e89f
Merge pull request #60 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.9
build(deps-dev): bump @types/node from 14.0.6 to 14.0.9
2020-06-03 00:13:48 +08:00
dependabot-preview[bot]
b2cf6fde23
build(deps-dev): bump @types/node from 14.0.6 to 14.0.9
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.6 to 14.0.9.
- [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-02 08:00:48 +00:00
LongYinan
0ce1c01226
Merge pull request #59 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.6
build(deps-dev): bump @types/node from 14.0.5 to 14.0.6
2020-06-01 18:13:44 +08:00
dependabot-preview[bot]
d322c21257
build(deps-dev): bump @types/node from 14.0.5 to 14.0.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.5 to 14.0.6.
- [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-01 08:06:21 +00:00
LongYinan
c5034af4f8
Merge pull request #58 from napi-rs/dependabot/npm_and_yarn/lint-staged-10.2.7
build(deps-dev): bump lint-staged from 10.2.6 to 10.2.7
2020-05-31 22:47:59 +08:00
dependabot-preview[bot]
821ac0a042
build(deps-dev): bump lint-staged from 10.2.6 to 10.2.7
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.2.6 to 10.2.7.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.2.6...v10.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-29 07:38:47 +00:00
LongYinan
e8fe8d41f3
Merge pull request #56 from napi-rs/dependabot/cargo/semver-0.10
build(deps): update semver requirement from 0.9 to 0.10
2020-05-25 15:50:51 +08:00
dependabot-preview[bot]
50a032f139
build(deps): update semver requirement from 0.9 to 0.10
Updates the requirements on [semver](https://github.com/steveklabnik/semver) to permit the latest version.
- [Release notes](https://github.com/steveklabnik/semver/releases)
- [Commits](https://github.com/steveklabnik/semver/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 07:20:20 +00:00
LongYinan
f946eb7cdc
Merge pull request #53 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.5
build(deps-dev): bump @types/node from 14.0.4 to 14.0.5
2020-05-23 12:24:01 +08:00