Commit graph

468 commits

Author SHA1 Message Date
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
dependabot-preview[bot]
662a9b09f2
build(deps-dev): bump @typescript-eslint/parser from 3.7.1 to 3.8.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) 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/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.8.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-04 07:28:12 +00:00
LongYinan
649ab10613
docs: update docs.rs badge version 2020-08-03 16:26:20 +08:00
LongYinan
98d97d3b29
docs: update readme badge link 2020-08-03 16:23:15 +08:00
LongYinan
2e9e86a841
build: fix features in docs.rs 2020-08-03 16:17:14 +08:00
dependabot-preview[bot]
a9ac81c850
build(deps-dev): bump eslint from 7.5.0 to 7.6.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.5.0 to 7.6.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.5.0...v7.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 08:08:02 +00:00
LongYinan
712eb82c40
chore(release): napi@0.4.4 2020-08-03 14:35:22 +08:00
LongYinan
b69a183681
fix(napi): wrong string length 2020-08-03 14:34:58 +08:00
LongYinan
be51252e18
chore(release): napi@0.4.3, napi-sys@0.4.1 2020-08-03 13:56:52 +08:00
LongYinan
789fea5e4d
Merge pull request #119 from napi-rs/docs
docs: fix docs.rs build, add badges to README
2020-08-03 13:54:13 +08:00
LongYinan
177e41b753
docs: fix docs.rs build, add badges to README 2020-08-03 13:27:45 +08:00
LongYinan
5a0b9919ea
test(napi): add class specs 2020-08-02 23:31:22 +08:00
LongYinan
88c2479a16
Merge pull request #116 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-3.7.1
build(deps-dev): bump @typescript-eslint/parser from 3.7.0 to 3.7.1
2020-07-30 17:04:21 +08:00
LongYinan
a3c5a467af
Merge pull request #117 from napi-rs/dependabot/npm_and_yarn/clipanion-2.4.4
build(deps): bump clipanion from 2.4.2 to 2.4.4
2020-07-30 17:04:04 +08:00
LongYinan
77433c36fb
Merge pull request #115 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.27
build(deps-dev): bump @types/node from 14.0.26 to 14.0.27
2020-07-30 17:03:50 +08:00
dependabot-preview[bot]
3f51521c27
build(deps-dev): bump @typescript-eslint/parser from 3.7.0 to 3.7.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.7.0 to 3.7.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.7.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-30 08:23:26 +00:00
dependabot-preview[bot]
bd0dea981a
build(deps-dev): bump @types/node from 14.0.26 to 14.0.27
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.26 to 14.0.27.
- [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-30 08:23:24 +00:00
LongYinan
c9e4795a19
Merge pull request #114 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-3.7.1
build(deps-dev): bump @typescript-eslint/eslint-plugin from 3.7.0 to 3.7.1
2020-07-30 16:21:41 +08:00
dependabot-preview[bot]
4f7b10968b
build(deps): bump clipanion from 2.4.2 to 2.4.4
Bumps [clipanion](https://github.com/arcanis/clipanion) from 2.4.2 to 2.4.4.
- [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-07-30 07:43:38 +00:00
dependabot-preview[bot]
3fd747de5b
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.0 to 3.7.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.7.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-30 07:42:18 +00:00
LongYinan
f2c2553241
Merge pull request #110 from napi-rs/cli
feat(cli): start new cli
2020-07-29 23:50:00 +08:00
LongYinan
e34b3dc5c2
ci: upgrade pipeline 2020-07-29 23:06:49 +08:00
LongYinan
2073f23a91
feat(cli): start new cli 2020-07-29 23:06:37 +08:00
LongYinan
8df107f380
Merge pull request #113 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.27
build(deps-dev): bump @types/node from 14.0.25 to 14.0.27
2020-07-29 21:45:38 +08:00
dependabot-preview[bot]
f9cfe83f85
build(deps-dev): bump @types/node from 14.0.25 to 14.0.27
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.25 to 14.0.27.
- [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-29 07:43:11 +00:00
LongYinan
a38f9c352d
Merge pull request #112 from napi-rs/dependabot/npm_and_yarn/ava-3.11.0
build(deps-dev): bump ava from 3.10.1 to 3.11.0
2020-07-28 16:06:49 +08:00
dependabot-preview[bot]
617d214a2d
build(deps-dev): bump ava from 3.10.1 to 3.11.0
Bumps [ava](https://github.com/avajs/ava) from 3.10.1 to 3.11.0.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](https://github.com/avajs/ava/compare/v3.10.1...v3.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-28 07:19:44 +00:00
LongYinan
64510ec90f
Merge pull request #109 from Mike-Dax/threadsafe-function-documentation
Fixed documentation of threadsafe functions
2020-07-26 17:18:46 +08:00
Michael Orenstein
6b8bd01bcc
Updated threadsafe documentation to mention the first argument error convention 2020-07-26 18:26:42 +09:30
Michael Orenstein
74cd9c49c2
Fixed documentation of threadsafe functions 2020-07-26 17:46:45 +09:30
LongYinan
2f084d84c8
Merge pull request #106 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.25
build(deps-dev): bump @types/node from 14.0.24 to 14.0.25
2020-07-25 00:37:40 +08:00
dependabot-preview[bot]
2b06aab348
build(deps-dev): bump @types/node from 14.0.24 to 14.0.25
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.0.24 to 14.0.25.
- [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-24 07:29:40 +00:00
LongYinan
2ff09ea26d
Merge pull request #105 from napi-rs/dependabot/npm_and_yarn/types/node-14.0.24
build(deps-dev): bump @types/node from 14.0.23 to 14.0.24
2020-07-23 00:12:32 +08:00
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