Commit graph

468 commits

Author SHA1 Message Date
LongYinan
a93f9b6433
Merge pull request #222 from napi-rs/dependabot/npm_and_yarn/types/node-14.11.8
build(deps-dev): bump @types/node from 14.11.7 to 14.11.8
2020-10-10 09:22:42 +08:00
dependabot-preview[bot]
66242a514a
build(deps-dev): bump @types/node from 14.11.7 to 14.11.8
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.7 to 14.11.8.
- [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-10-09 21:30:16 +00:00
LongYinan
afa6c075ae
Merge pull request #221 from napi-rs/fix-build-condition
fix: wrong condition in build command
2020-10-10 00:37:49 +08:00
LongYinan
4272505901
fix: wrong condition in build command
Close https://github.com/napi-rs/napi-rs/issues/219
2020-10-10 00:15:59 +08:00
LongYinan
dca2bb322e
Merge pull request #218 from napi-rs/dependabot/npm_and_yarn/types/node-14.11.7
build(deps-dev): bump @types/node from 14.11.2 to 14.11.7
2020-10-09 15:14:34 +08:00
LongYinan
d7e13e146c
Merge pull request #215 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.4.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.3.0 to 4.4.0
2020-10-09 14:56:24 +08:00
dependabot-preview[bot]
b7008266c6
build(deps-dev): bump @types/node from 14.11.2 to 14.11.7
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.2 to 14.11.7.
- [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-10-09 06:55:03 +00:00
dependabot-preview[bot]
31af064010
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 4.3.0 to 4.4.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/v4.4.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-09 06:33:42 +00:00
LongYinan
7f01128fc4
Merge pull request #214 from napi-rs/dependabot/npm_and_yarn/tslib-2.0.2
build(deps): bump tslib from 2.0.1 to 2.0.2
2020-10-09 11:07:59 +08:00
LongYinan
dab8957545
Merge pull request #216 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.4.0
build(deps-dev): bump @typescript-eslint/parser from 4.3.0 to 4.4.0
2020-10-09 11:07:33 +08:00
LongYinan
2e37d7072f
Merge pull request #213 from napi-rs/dependabot/npm_and_yarn/sinon-9.2.0
build(deps-dev): bump sinon from 9.1.0 to 9.2.0
2020-10-09 11:07:12 +08:00
LongYinan
bbeaa1191e
Merge pull request #212 from napi-rs/dependabot/cargo/cfg-if-1.0
build(deps): update cfg-if requirement from 0.1 to 1.0
2020-10-09 11:06:57 +08:00
LongYinan
b503e900a0
Merge pull request #211 from napi-rs/dependabot/npm_and_yarn/types/sinon-9.0.8
build(deps-dev): bump @types/sinon from 9.0.7 to 9.0.8
2020-10-09 11:06:43 +08:00
dependabot-preview[bot]
61f7371e50
build(deps-dev): bump @typescript-eslint/parser from 4.3.0 to 4.4.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.3.0 to 4.4.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/v4.4.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 06:18:22 +00:00
dependabot-preview[bot]
17c4f23a73
build(deps): bump tslib from 2.0.1 to 2.0.2
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.0.1...2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 06:17:23 +00:00
dependabot-preview[bot]
84e5a95749
build(deps-dev): bump sinon from 9.1.0 to 9.2.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.1.0 to 9.2.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.1.0...v9.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 06:16:58 +00:00
dependabot-preview[bot]
027d6d35e7
build(deps): update cfg-if requirement from 0.1 to 1.0
Updates the requirements on [cfg-if](https://github.com/alexcrichton/cfg-if) to permit the latest version.
- [Release notes](https://github.com/alexcrichton/cfg-if/releases)
- [Commits](https://github.com/alexcrichton/cfg-if/compare/0.1.1...1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 05:54:00 +00:00
dependabot-preview[bot]
44f3ccb6b7
build(deps-dev): bump @types/sinon from 9.0.7 to 9.0.8
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 9.0.7 to 9.0.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-05 15:34:37 +00:00
LongYinan
7a340b0b55
Merge pull request #210 from napi-rs/thread-safe-function
refactor(napi): thread safe function redesign
2020-10-04 17:32:54 +08:00
LongYinan
c5f2b6699d
refactor(napi): thread safe function redesign 2020-10-04 17:16:35 +08:00
LongYinan
64bf2e81be
Merge pull request #209 from napi-rs/env-cleanup-hook
feat(napi): implement env cleanup hook
2020-10-04 16:25:10 +08:00
LongYinan
2d099f7d1f
ci: use node@10.2.0 instead of node@10.0.0 to run napi3 tests 2020-10-04 16:07:36 +08:00
LongYinan
45411a59ea
feat(napi): implement env cleanup hook 2020-10-04 16:02:04 +08:00
LongYinan
973d3ee008
Merge pull request #208 from napi-rs/get-global
JsGlobal
2020-10-03 22:53:20 +08:00
LongYinan
d1870d2be2
style: run fmt 2020-10-03 22:34:52 +08:00
LongYinan
e713d647f5
test(napi): add JsTimeout specs 2020-10-03 15:03:10 +08:00
LongYinan
43c01796eb
feat(napi): implement JsTimeout 2020-10-03 14:57:56 +08:00
LongYinan
a532451fc0
feat(napi): refactor Env::get_global 2020-10-03 14:57:31 +08:00
LongYinan
2338daf9e1
0.3.9 2020-10-01 12:43:20 +08:00
LongYinan
3a500dcbe2
Merge pull request #207 from napi-rs/arraybuffer
fix(napi): arraybuffer implement
2020-09-30 18:43:06 +08:00
LongYinan
3eecf1fc5f
fix(napi): arraybuffer implement
close https://github.com/napi-rs/napi-rs/issues/68
2020-09-30 18:23:31 +08:00
LongYinan
c1b957a268
Merge pull request #204 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.3.0
build(deps-dev): bump @typescript-eslint/parser from 4.2.0 to 4.3.0
2020-09-30 16:11:40 +08:00
LongYinan
bcc32be216
Merge pull request #199 from napi-rs/handle-scope
handle scope
2020-09-30 16:10:57 +08:00
dependabot-preview[bot]
70d0b85082
build(deps-dev): bump @typescript-eslint/parser from 4.2.0 to 4.3.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.2.0 to 4.3.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/v4.3.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-30 07:56:06 +00:00
LongYinan
9c921ffaa3
refactor(napi): scope and Ref 2020-09-30 15:54:54 +08:00
LongYinan
4460f43be8
Merge pull request #206 from napi-rs/bench
feat: add benchmark crate and frameworks
2020-09-30 15:54:23 +08:00
LongYinan
39811d2a02
Merge pull request #205 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.3.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.2.0 to 4.3.0
2020-09-30 15:37:11 +08:00
LongYinan
fb4d07edd4
feat: add benchmark crate and frameworks 2020-09-30 15:31:17 +08:00
dependabot-preview[bot]
936cca8a29
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 4.2.0 to 4.3.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/v4.3.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-30 02:56:30 +00:00
LongYinan
109fc64d27
Merge pull request #202 from napi-rs/dependabot/npm_and_yarn/ava-3.13.0
build(deps-dev): bump ava from 3.12.1 to 3.13.0
2020-09-30 10:54:41 +08:00
dependabot-preview[bot]
03a5f6fcdd
build(deps-dev): bump ava from 3.12.1 to 3.13.0
Bumps [ava](https://github.com/avajs/ava) from 3.12.1 to 3.13.0.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](https://github.com/avajs/ava/compare/v3.12.1...v3.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-29 11:45:15 +00:00
LongYinan
07e616cefa
Merge pull request #201 from napi-rs/dependabot/npm_and_yarn/eslint-7.10.0
build(deps-dev): bump eslint from 7.9.0 to 7.10.0
2020-09-29 19:43:36 +08:00
dependabot-preview[bot]
dc28031170
build(deps-dev): bump eslint from 7.9.0 to 7.10.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.9.0 to 7.10.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.9.0...v7.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-29 03:00:15 +00:00
LongYinan
7d505e0919
Merge pull request #203 from napi-rs/dependabot/npm_and_yarn/eslint-plugin-import-2.22.1
build(deps-dev): bump eslint-plugin-import from 2.22.0 to 2.22.1
2020-09-29 10:58:17 +08:00
LongYinan
8a9f4a6072
Merge pull request #200 from napi-rs/dependabot/npm_and_yarn/clipanion-2.6.2
build(deps): bump clipanion from 2.6.1 to 2.6.2
2020-09-29 10:58:03 +08:00
dependabot-preview[bot]
d11b33feee
build(deps-dev): bump eslint-plugin-import from 2.22.0 to 2.22.1
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.0...v2.22.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 15:59:24 +00:00
dependabot-preview[bot]
7fd6063aae
build(deps): bump clipanion from 2.6.1 to 2.6.2
Bumps [clipanion](https://github.com/arcanis/clipanion) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/arcanis/clipanion/releases)
- [Commits](https://github.com/arcanis/clipanion/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 15:58:12 +00:00
LongYinan
c668f8dd8e
Merge pull request #198 from napi-rs/cleanup
Cleanup
2020-09-26 23:28:38 +08:00
LongYinan
aadca83d2e
refactor(napi): implement async task cancel 2020-09-26 18:12:52 +08:00
LongYinan
f1281af260
feat(napi): add lifetime span to JsBuffer 2020-09-26 17:59:58 +08:00