Commit graph

2455 commits

Author SHA1 Message Date
LongYinan
487decc6cf
Merge pull request #143 from napi-rs/more-napi
More napi
2020-08-24 18:39:15 +08:00
LongYinan
feced6ed52
chore: upgrade deps and fix type-check error 2020-08-24 18:22:48 +08:00
LongYinan
3b6a8deb08
test: add missing optional dependency 2020-08-24 18:02:36 +08:00
LongYinan
a3c191f8d4
chore: use ava.config.js to split ava config for node@lts/node@10 2020-08-24 18:02:36 +08:00
LongYinan
494e870226
build: fix ts file build 2020-08-24 17:06:26 +08:00
LongYinan
100ad98407
refactor(test_module): migrate tests to TypeScript 2020-08-24 16:55:54 +08:00
LongYinan
98210cd771
feat(napi): implement more napi 2020-08-24 16:16:41 +08:00
LongYinan
aaa6e31197
0.2.6 2020-08-21 22:28:20 +08:00
LongYinan
23f7b2758a
fix(npm): missing shebang 2020-08-21 22:28:10 +08:00
LongYinan
adabed6177
0.2.5 2020-08-21 21:54:21 +08:00
LongYinan
56f3aca880
refactor(npm): musl target filename 2020-08-21 21:54:20 +08:00
LongYinan
a757913185
Merge pull request #139 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-3.9.1
build(deps-dev): bump @typescript-eslint/eslint-plugin from 3.9.0 to 3.9.1
2020-08-18 18:11:00 +08:00
dependabot-preview[bot]
80ce593d74
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 3.9.0 to 3.9.1.
- [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/v3.9.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-18 08:20:53 +00:00
LongYinan
285bfe6a9a
Merge pull request #140 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-3.9.1
build(deps-dev): bump @typescript-eslint/parser from 3.9.0 to 3.9.1
2020-08-18 16:19:24 +08:00
LongYinan
975b6a93fb
Merge pull request #138 from napi-rs/dependabot/npm_and_yarn/types/node-14.6.0
build(deps-dev): bump @types/node from 14.0.27 to 14.6.0
2020-08-18 16:19:11 +08:00
dependabot-preview[bot]
a7da22f8bd
build(deps-dev): bump @typescript-eslint/parser from 3.9.0 to 3.9.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.9.0 to 3.9.1.
- [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/v3.9.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-18 07:30:13 +00:00
dependabot-preview[bot]
23f9b3d46c
build(deps-dev): bump @types/node from 14.0.27 to 14.6.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.27 to 14.6.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-08-18 07:29:26 +00:00
LongYinan
cf34fba4e7
Merge pull request #137 from oyyd/default-loop
refactor(napi): use get_uv_event_loop instead of uv_default_loop
2020-08-18 14:34:09 +08:00
Ouyang Yadong
1329409ca4 fixup! refactor(napi): use get_uv_event_loop instead of uv_default_loop 2020-08-18 14:11:19 +08:00
Ouyang Yadong
00454eb577 refactor(napi): use get_uv_event_loop instead of uv_default_loop
Using the uv_loop_s from napi_env is safer as it's possible that
there are multiple Workers, and therefore multiple uv_loop_s.
2020-08-18 13:55:35 +08:00
LongYinan
0bfacc536a
ci: exclude commits from own repo 2020-08-17 22:36:09 +08:00
LongYinan
bfa6d974ec
Merge pull request #136 from napi-rs/dependabot/npm_and_yarn/eslint-7.7.0
build(deps-dev): bump eslint from 7.6.0 to 7.7.0
2020-08-17 16:41:06 +08:00
dependabot-preview[bot]
9cfb5f9d2d
build(deps-dev): bump eslint from 7.6.0 to 7.7.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.6.0 to 7.7.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.6.0...v7.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 07:44:23 +00:00
LongYinan
b19bfcf651
chore(release): publish
- napi-sys@0.4.5
- napi@0.4.10
2020-08-16 17:41:44 +08:00
LongYinan
6e734030a8
chore(release): publish
- napi@0.4.9
- napi-sys@0.4.4
2020-08-16 16:21:13 +08:00
LongYinan
16bdce56c1
Merge pull request #135 from napi-rs/docs-rs
build: try fix docs-rs build
2020-08-16 16:19:56 +08:00
LongYinan
9b56f7a04a
build: try fix docs-rs build 2020-08-15 18:32:41 +08:00
LongYinan
f8711f33d9
chore(release): publish
- napi-sys@0.4.3
- napi@0.4.8
2020-08-14 00:21:48 +08:00
LongYinan
9134a5fed9
Merge pull request #134 from napi-rs/cargo-docs
build(sys): make cargo docs work
2020-08-14 00:13:25 +08:00
LongYinan
d141edb02d
build(sys): make cargo docs work 2020-08-13 23:38:01 +08:00
LongYinan
517f383b0e
Merge pull request #133 from napi-rs/bigint
feat(napi): add BigInt related apis
2020-08-12 23:04:55 +08:00
LongYinan
5c2904f9ef
docs: update readme 2020-08-12 22:47:19 +08:00
Ouyang Yadong
14dd8b83e6
feat(napi): add BigInt related apis 2020-08-12 22:40:52 +08:00
LongYinan
468c98dea1
Merge pull request #130 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-3.9.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 3.8.0 to 3.9.0
2020-08-11 17:13:56 +08:00
dependabot-preview[bot]
c2718d7dd9
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 3.8.0 to 3.9.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/v3.9.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-11 08:50:17 +00:00
LongYinan
a63889d35f
Merge pull request #131 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-3.9.0
build(deps-dev): bump @typescript-eslint/parser from 3.8.0 to 3.9.0
2020-08-11 16:48:37 +08:00
dependabot-preview[bot]
eea4707d99
build(deps-dev): bump @typescript-eslint/parser from 3.8.0 to 3.9.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.8.0 to 3.9.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/v3.9.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-11 07:37:39 +00:00
LongYinan
4babd2694a
chore(release): napi@0.4.7 2020-08-10 14:16:17 +08:00
LongYinan
5202e14c01
Merge pull request #129 from napi-rs/object-lifetime
refactor(napi): change data to &'static [u8] in JsBuffer
2020-08-10 14:15:32 +08:00
LongYinan
64df7205e9
refactor(napi): change data to &'static [u8] in JsBuffer 2020-08-10 13:52:05 +08:00
LongYinan
088d5fb1f3
Merge pull request #126 from napi-rs/dependabot/npm_and_yarn/tslib-2.0.1
build(deps): bump tslib from 2.0.0 to 2.0.1
2020-08-07 15:46:42 +08:00
dependabot-preview[bot]
3ab0936f4c
build(deps): bump tslib from 2.0.0 to 2.0.1
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.0.0...2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-07 07:16:03 +00:00
LongYinan
5b10965f9c
chore(release): napi@0.4.6 2020-08-06 14:53:59 +08:00
LongYinan
e866278654
fix(napi): need Send with Task trait 2020-08-06 14:53:59 +08:00
LongYinan
8f02c65831
Merge pull request #121 from napi-rs/dependabot/npm_and_yarn/ava-3.11.1
build(deps-dev): bump ava from 3.11.0 to 3.11.1
2020-08-04 21:57:30 +08:00
dependabot-preview[bot]
154b652b60
build(deps-dev): bump ava from 3.11.0 to 3.11.1
Bumps [ava](https://github.com/avajs/ava) from 3.11.0 to 3.11.1.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](https://github.com/avajs/ava/compare/v3.11.0...v3.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-04 13:53:02 +00:00
LongYinan
885486fe67
Merge pull request #123 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-3.8.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 3.7.1 to 3.8.0
2020-08-04 21:51:18 +08:00
dependabot-preview[bot]
7e1634b04d
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 3.7.1 to 3.8.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/v3.8.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-04 13:29:45 +00:00
LongYinan
218d097144
Merge pull request #122 from napi-rs/dependabot/npm_and_yarn/eslint-7.6.0
build(deps-dev): bump eslint from 7.5.0 to 7.6.0
2020-08-04 21:28:48 +08:00
LongYinan
217a135a26
Merge pull request #124 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-3.8.0
build(deps-dev): bump @typescript-eslint/parser from 3.7.1 to 3.8.0
2020-08-04 21:28:02 +08:00