Commit graph

756 commits

Author SHA1 Message Date
dependabot-preview[bot]
30999be770
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.10.0 to 4.11.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.11.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-22 07:24:54 +00:00
LongYinan
91e21ce3a0
napi@1.0.0-alpha.3 2020-12-22 10:53:06 +08:00
LongYinan
4eee3a6746
Merge pull request #375 from napi-rs/external-buffer-memory-issue
fix(napi): memory issues in create_external_buffer
2020-12-22 01:17:06 +08:00
LongYinan
ec13245e0b
Merge pull request #373 from napi-rs/dependabot/npm_and_yarn/eslint-config-prettier-7.1.0
build(deps-dev): bump eslint-config-prettier from 7.0.0 to 7.1.0
2020-12-21 19:15:36 +08:00
dependabot-preview[bot]
c7762a65d1
build(deps-dev): bump eslint-config-prettier from 7.0.0 to 7.1.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.0.0...v7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 08:24:51 +00:00
LongYinan
13f978e89a
Merge pull request #374 from napi-rs/dependabot/npm_and_yarn/eslint-7.16.0
build(deps-dev): bump eslint from 7.15.0 to 7.16.0
2020-12-21 16:22:45 +08:00
LongYinan
0446e463c8
fix(napi): memory issues in create_external_buffer 2020-12-21 16:10:30 +08:00
dependabot-preview[bot]
023d689571
build(deps-dev): bump eslint from 7.15.0 to 7.16.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.15.0 to 7.16.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.15.0...v7.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 07:52:51 +00:00
LongYinan
d2b61ef01f
napi-rs@1.0.0-alpha.2 2020-12-18 12:19:08 +08:00
LongYinan
0239b9c012
Merge pull request #370 from napi-rs/task-reject
feat(napi): provide reject method in Task trait
2020-12-18 11:58:24 +08:00
LongYinan
9d38689426
feat(napi): provide reject method in Task trait
Do some cleanup logic if needed
2020-12-18 11:32:15 +08:00
LongYinan
7a7013b6de
Merge pull request #368 from napi-rs/reference
feat(napi): implement create_reference/get_reference_value
2020-12-18 11:03:23 +08:00
LongYinan
bb5e1f4286
feat(napi): implement create_reference/get_reference_value 2020-12-18 00:07:24 +08:00
LongYinan
08e5804c3b
docs: correct examples 2020-12-17 18:59:29 +08:00
LongYinan
90f615eee3
Merge pull request #366 from napi-rs/instance-data
feat(napi): set and get instance data
2020-12-17 11:08:15 +08:00
LongYinan
bdd9b034e1
Merge pull request #365 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.14
build(deps-dev): bump @types/node from 14.14.13 to 14.14.14
2020-12-17 00:29:09 +08:00
LongYinan
c4734e23a1
feat(napi): set and get instance data 2020-12-17 00:27:33 +08:00
LongYinan
c621986ce5
feat(napi): implement add_finalizer for JsObject 2020-12-16 23:23:04 +08:00
dependabot-preview[bot]
9223d9676e
build(deps-dev): bump @types/node from 14.14.13 to 14.14.14
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.13 to 14.14.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-12-16 08:05:06 +00:00
LongYinan
74256bcae7
Merge pull request #362 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.10.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.9.1 to 4.10.0
2020-12-16 00:05:17 +08:00
dependabot-preview[bot]
063e17cffa
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.9.1 to 4.10.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.10.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-15 08:30:05 +00:00
LongYinan
31431b33fd
Merge pull request #363 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.10.0
build(deps-dev): bump @typescript-eslint/parser from 4.9.1 to 4.10.0
2020-12-15 16:27:58 +08:00
dependabot-preview[bot]
93ab359c9a
build(deps-dev): bump @typescript-eslint/parser from 4.9.1 to 4.10.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.9.1 to 4.10.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.10.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-15 07:17:00 +00:00
LongYinan
84e0c488bc
Merge pull request #361 from napi-rs/dependabot/npm_and_yarn/eslint-plugin-prettier-3.3.0
build(deps-dev): bump eslint-plugin-prettier from 3.2.0 to 3.3.0
2020-12-15 14:00:41 +08:00
dependabot-preview[bot]
e3a22cb802
build(deps-dev): bump eslint-plugin-prettier from 3.2.0 to 3.3.0
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.2.0 to 3.3.0.
- [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.2.0...v3.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 10:59:29 +00:00
LongYinan
e3a6bdd2b4
Merge pull request #360 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.13
build(deps-dev): bump @types/node from 14.14.12 to 14.14.13
2020-12-14 18:57:52 +08:00
LongYinan
659f95328d
Merge pull request #359 from napi-rs/dependabot/npm_and_yarn/husky-4.3.6
build(deps-dev): bump husky from 4.3.5 to 4.3.6
2020-12-14 18:57:31 +08:00
LongYinan
da2b716b37
Merge pull request #358 from napi-rs/dependabot/npm_and_yarn/sinon-9.2.2
build(deps-dev): bump sinon from 9.2.1 to 9.2.2
2020-12-14 18:57:18 +08:00
LongYinan
56acf312e7
Merge pull request #357 from napi-rs/dependabot/npm_and_yarn/typescript-4.1.3
build(deps-dev): bump typescript from 4.1.2 to 4.1.3
2020-12-14 18:49:46 +08:00
dependabot-preview[bot]
c99e0b7e1d
build(deps-dev): bump @types/node from 14.14.12 to 14.14.13
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.12 to 14.14.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-12-14 09:18:15 +00:00
dependabot-preview[bot]
b2a8d87e6d
build(deps-dev): bump husky from 4.3.5 to 4.3.6
Bumps [husky](https://github.com/typicode/husky) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v4.3.5...v4.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 09:18:06 +00:00
dependabot-preview[bot]
dacba25dbd
build(deps-dev): bump sinon from 9.2.1 to 9.2.2
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.1 to 9.2.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/commits/v9.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 09:17:17 +00:00
dependabot-preview[bot]
823926653b
build(deps-dev): bump typescript from 4.1.2 to 4.1.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 09:16:30 +00:00
LongYinan
6daccdb555
Merge pull request #355 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.12
build(deps-dev): bump @types/node from 14.14.11 to 14.14.12
2020-12-11 17:17:51 +08:00
dependabot-preview[bot]
65f9d64403
build(deps-dev): bump @types/node from 14.14.11 to 14.14.12
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.11 to 14.14.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-12-11 07:34:20 +00:00
LongYinan
2d2e2baf48
Merge pull request #353 from napi-rs/dependabot/npm_and_yarn/ini-1.3.7
build(deps): [security] bump ini from 1.3.5 to 1.3.7
2020-12-11 09:41:17 +08:00
dependabot-preview[bot]
fceadd45f8
build(deps): [security] bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-10 19:44:28 +00:00
LongYinan
0005fca934
Merge pull request #352 from napi-rs/cast-and-buffer
Cast and buffer
2020-12-10 15:03:02 +08:00
LongYinan
8513e4f796
docs: napi6 should be napi7 2020-12-10 14:26:53 +08:00
LongYinan
932ebcbee5
feat(napi): create_buffer_with_manually_drop_data 2020-12-10 14:26:19 +08:00
LongYinan
5989a79f0d
feat(napi): unsafe cast JsUnknown to the other JsValue 2020-12-10 14:26:18 +08:00
LongYinan
28d380344b
chore: ts project configuration fix for test_module 2020-12-10 14:07:19 +08:00
LongYinan
018426ad83
Merge pull request #351 from napi-rs/remove-useless-type-cast
Remove useless type cast
2020-12-09 22:58:43 +08:00
LongYinan
fb4d5b5af5
napi@1.0.0-alpha.1 2020-12-09 21:58:08 +08:00
LongYinan
1c0634f6f2
fix(napi): move sys call out from debug_assert! macro 2020-12-09 21:57:48 +08:00
LongYinan
78245b0e8f
chore(napi): remove useless type cast in JsBuffer 2020-12-09 19:24:44 +08:00
LongYinan
305d42d524
Merge pull request #350 from napi-rs/test-android
Test android
2020-12-09 16:19:14 +08:00
LongYinan
7a72c4aff9
ci: build test for android 2020-12-09 15:59:57 +08:00
LongYinan
ae8306c313
Merge pull request #349 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.11
build(deps-dev): bump @types/node from 14.14.10 to 14.14.11
2020-12-09 15:51:27 +08:00
LongYinan
dc1069203f
fix(cli): regard to target platform, not current platform 2020-12-09 15:50:04 +08:00