Commit graph

1378 commits

Author SHA1 Message Date
LongYinan
f46aa1f67a
fix(napi): throw JavaScript error in tsfn rather than rust thread panic 2021-01-25 12:11:12 +08:00
LongYinan
85abea1a43
Merge pull request #433 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.14.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.12.0 to 4.14.0
2021-01-20 12:49:49 +08:00
dependabot[bot]
11d09c25af
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.12.0 to 4.14.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.14.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-20 03:55:43 +00:00
LongYinan
31f2a824b3
Merge pull request #432 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.14.0
build(deps-dev): bump @typescript-eslint/parser from 4.12.0 to 4.14.0
2021-01-20 11:54:08 +08:00
dependabot[bot]
be22c21a3f
build(deps-dev): bump @typescript-eslint/parser from 4.12.0 to 4.14.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.12.0 to 4.14.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.14.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-20 03:29:45 +00:00
LongYinan
e67ec0cd2a
Merge pull request #429 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.13.0
build(deps-dev): bump @typescript-eslint/parser from 4.12.0 to 4.13.0
2021-01-19 16:03:59 +08:00
LongYinan
4586c396d3
Merge pull request #430 from napi-rs/dependabot/npm_and_yarn/husky-4.3.8
build(deps-dev): bump husky from 4.3.7 to 4.3.8
2021-01-19 16:03:23 +08:00
LongYinan
1202834129
Merge pull request #431 from napi-rs/dependabot/npm_and_yarn/eslint-7.18.0
build(deps-dev): bump eslint from 7.17.0 to 7.18.0
2021-01-19 16:02:49 +08:00
LongYinan
bf39f3e535
Merge pull request #426 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.21
build(deps-dev): bump @types/node from 14.14.20 to 14.14.21
2021-01-19 16:02:34 +08:00
LongYinan
7d07ca7278
Merge pull request #428 from napi-rs/dependabot/npm_and_yarn/fdir-5.0.0
build(deps): bump fdir from 4.1.0 to 5.0.0
2021-01-19 16:02:19 +08:00
dependabot[bot]
f2a9ab4550
build(deps-dev): bump eslint from 7.17.0 to 7.18.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.17.0 to 7.18.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.17.0...v7.18.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 05:48:24 +00:00
dependabot[bot]
7a7f451da4
build(deps-dev): bump husky from 4.3.7 to 4.3.8
Bumps [husky](https://github.com/typicode/husky) from 4.3.7 to 4.3.8.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v4.3.7...v4.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 05:48:00 +00:00
dependabot[bot]
57b807d4ae
build(deps-dev): bump @typescript-eslint/parser from 4.12.0 to 4.13.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.12.0 to 4.13.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.13.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 05:47:40 +00:00
dependabot[bot]
f65633bf41
build(deps): bump fdir from 4.1.0 to 5.0.0
Bumps [fdir](https://github.com/thecodrr/fdir) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/thecodrr/fdir/releases)
- [Commits](https://github.com/thecodrr/fdir/compare/v4.1.0...v5.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 05:47:15 +00:00
dependabot[bot]
9df4142249
build(deps-dev): bump @types/node from 14.14.20 to 14.14.21
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.20 to 14.14.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-18 05:41:59 +00:00
LongYinan
d60ca46a40
chore: publish
- @napi-rs/cli@1.0.2
2021-01-15 11:18:40 +08:00
LongYinan
260ff1decd
Merge pull request #424 from napi-rs/fix-windows
fix(cli): mkdir -p is not valid command in powershell
2021-01-15 01:30:07 +08:00
LongYinan
84a6ea9223
fix(cli): mkdir -p is not valid command in powershell 2021-01-15 00:51:42 +08:00
LongYinan
1c1acd1930
Merge pull request #419 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.12.0
build(deps-dev): bump @typescript-eslint/parser from 4.11.1 to 4.12.0
2021-01-12 11:03:58 +08:00
LongYinan
dbecd12330
Merge pull request #420 from napi-rs/dependabot/npm_and_yarn/husky-4.3.7
build(deps-dev): bump husky from 4.3.6 to 4.3.7
2021-01-12 11:03:47 +08:00
dependabot[bot]
8314624e7c
build(deps-dev): bump husky from 4.3.6 to 4.3.7
Bumps [husky](https://github.com/typicode/husky) from 4.3.6 to 4.3.7.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v4.3.6...v4.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 09:27:12 +00:00
dependabot[bot]
89f10c9353
build(deps-dev): bump @typescript-eslint/parser from 4.11.1 to 4.12.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.11.1 to 4.12.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.12.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 09:27:04 +00:00
LongYinan
dd978a5972
Merge pull request #417 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.20
build(deps-dev): bump @types/node from 14.14.19 to 14.14.20
2021-01-11 17:18:08 +08:00
LongYinan
393b98cc44
Merge pull request #418 from napi-rs/dependabot/npm_and_yarn/tslib-2.1.0
build(deps): bump tslib from 2.0.3 to 2.1.0
2021-01-11 17:17:41 +08:00
LongYinan
788f94109b
Merge pull request #416 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.12.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.11.1 to 4.12.0
2021-01-11 17:17:30 +08:00
LongYinan
d77f7f457f
Merge pull request #415 from napi-rs/dependabot/npm_and_yarn/eslint-plugin-prettier-3.3.1
build(deps-dev): bump eslint-plugin-prettier from 3.3.0 to 3.3.1
2021-01-11 17:17:16 +08:00
LongYinan
8f7c5aab5d
Merge pull request #414 from napi-rs/dependabot/npm_and_yarn/sinon-9.2.3
build(deps-dev): bump sinon from 9.2.2 to 9.2.3
2021-01-11 17:17:02 +08:00
dependabot[bot]
85b77dc377
build(deps): bump tslib from 2.0.3 to 2.1.0
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.0.3 to 2.1.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.0.3...2.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 05:49:58 +00:00
dependabot[bot]
ad4caed1bf
build(deps-dev): bump @types/node from 14.14.19 to 14.14.20
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.19 to 14.14.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 05:44:39 +00:00
dependabot[bot]
d049b116ae
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.11.1 to 4.12.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.12.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 05:44:26 +00:00
dependabot[bot]
0e461312bf
build(deps-dev): bump eslint-plugin-prettier from 3.3.0 to 3.3.1
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.3.0...v3.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 05:43:47 +00:00
dependabot[bot]
de6880e85d
build(deps-dev): bump sinon from 9.2.2 to 9.2.3
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.2 to 9.2.3.
- [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.2.2...v9.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-11 05:43:26 +00:00
LongYinan
9ef64474df
chore: publish
- @napi-rs/cli@1.0.1
2021-01-07 23:55:50 +08:00
LongYinan
27dda517ce
Merge pull request #413 from forehalo/fix/build-script
fix(cli): fix random node process got killed issue
2021-01-07 23:53:27 +08:00
forehalo
58d4634dac fix(cli): fix random node process got killed issue 2021-01-07 23:26:41 +08:00
LongYinan
0c041ee629
napi@1.1.1 2021-01-07 22:56:15 +08:00
LongYinan
8f9a77fd38
Merge pull request #412 from napi-rs/remove-string-ref
fix(napi): remove into_*_ref from JsString
2021-01-07 13:14:05 +08:00
LongYinan
c1215379f2
feat(napi): impl Clone + Copy for Primitive types 2021-01-07 11:34:49 +08:00
LongYinan
e24738a4d8
fix(napi): remove into_*_ref from JsString
Close https://github.com/napi-rs/napi-rs/issues/411
2021-01-07 11:14:01 +08:00
LongYinan
1ee3145756
ci: upgrade actions/setup-node 2021-01-05 23:53:23 +08:00
LongYinan
30ef04cbfa
napi@1.1.0 2021-01-05 23:42:54 +08:00
LongYinan
4a96169b2a
Merge pull request #409 from napi-rs/arraybuffer-with-borrowed-data
feat(napi): Env::create_arraybuffer_with_borrowed_data
2021-01-05 23:42:10 +08:00
LongYinan
911a0c139d
feat(napi): Env::create_arraybuffer_with_borrowed_data 2021-01-05 23:27:01 +08:00
LongYinan
f2a4242e50
Merge pull request #404 from napi-rs/dependabot/npm_and_yarn/types/lodash-4.14.167
build(deps-dev): bump @types/lodash from 4.14.166 to 4.14.167
2021-01-04 18:02:45 +08:00
LongYinan
818e536e3d
Merge pull request #405 from napi-rs/dependabot/npm_and_yarn/eslint-7.17.0
build(deps-dev): bump eslint from 7.16.0 to 7.17.0
2021-01-04 18:02:33 +08:00
dependabot[bot]
32e1658d90
build(deps-dev): bump eslint from 7.16.0 to 7.17.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.16.0 to 7.17.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.16.0...v7.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-04 09:54:46 +00:00
dependabot[bot]
59b9466e3a
build(deps-dev): bump @types/lodash from 4.14.166 to 4.14.167
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.166 to 4.14.167.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-04 09:54:27 +00:00
LongYinan
1bea6faf38
Merge pull request #400 from napi-rs/dependabot/npm_and_yarn/eslint-7.17.0
build(deps-dev): bump eslint from 7.16.0 to 7.17.0
2021-01-04 17:51:44 +08:00
LongYinan
2535356a1a
Merge pull request #401 from napi-rs/dependabot/npm_and_yarn/types/lodash-4.14.167
build(deps-dev): bump @types/lodash from 4.14.166 to 4.14.167
2021-01-04 17:51:29 +08:00
dependabot-preview[bot]
9acf32821f
build(deps-dev): bump eslint from 7.16.0 to 7.17.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.16.0 to 7.17.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.16.0...v7.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 09:50:58 +00:00