Commit graph

662 commits

Author SHA1 Message Date
dependabot-preview[bot]
1fa7e68d0b
build(deps): bump @octokit/rest from 18.0.9 to 18.0.10
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.9 to 18.0.10.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.9...v18.0.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-02 07:27:19 +00:00
LongYinan
07a5ab23d0
Merge pull request #327 from napi-rs/clippy
ci: add cargo clippy
2020-12-01 15:11:37 +08:00
LongYinan
c184ab3926
ci: add cargo clippy 2020-12-01 14:58:00 +08:00
LongYinan
96f3a45709
ci: remove useless restore key 2020-11-30 22:14:05 +08:00
LongYinan
d5b0b31bf0
Merge pull request #326 from napi-rs/dependabot/npm_and_yarn/prettier-2.2.1
build(deps-dev): bump prettier from 2.2.0 to 2.2.1
2020-11-30 21:37:28 +08:00
dependabot-preview[bot]
ae60af5b81
build(deps-dev): bump prettier from 2.2.0 to 2.2.1
Bumps [prettier](https://github.com/prettier/prettier) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.2.0...2.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 07:45:42 +00:00
LongYinan
280066fff3
ci: cargo cache key in linux-musl 2020-11-28 00:44:53 +08:00
LongYinan
c0eddf3201
fix: add missing rustup path 2020-11-28 00:25:44 +08:00
LongYinan
007d1f61a5
Merge pull request #324 from napi-rs/new-docker-image
chore: build codes in node:10-alpine
2020-11-26 15:43:29 +08:00
LongYinan
42528c41dd
chore: build codes in node:10-alpine 2020-11-26 15:27:46 +08:00
LongYinan
2bbec96802
Merge pull request #318 from napi-rs/rust-codegen-win32
Refactor napi
2020-11-26 11:46:42 +08:00
LongYinan
1a3621b727
feat(napi): major upgrades for napi@1
1. inline everything
2. change `check_status` and `type_of` to macro
3. provide #[module_exports] macro
4. remove debug and repr[transparent] for ffi struct
2020-11-26 11:31:49 +08:00
LongYinan
a2a9bc973c
Merge pull request #320 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.8.2
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.8.1 to 4.8.2
2020-11-25 18:13:17 +08:00
dependabot-preview[bot]
d83ed339f5
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.8.1 to 4.8.2.
- [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.8.2/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-25 10:09:13 +00:00
LongYinan
25e612b74b
Merge pull request #322 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.10
build(deps-dev): bump @types/node from 14.14.9 to 14.14.10
2020-11-25 18:08:22 +08:00
LongYinan
a6ea71ea33
Merge pull request #319 from napi-rs/dependabot/npm_and_yarn/lint-staged-10.5.2
build(deps-dev): bump lint-staged from 10.5.1 to 10.5.2
2020-11-25 18:07:34 +08:00
dependabot-preview[bot]
35b0acefeb
build(deps-dev): bump @types/node from 14.14.9 to 14.14.10
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.9 to 14.14.10.
- [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-11-25 10:07:27 +00:00
LongYinan
07fc8acb02
Merge pull request #321 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.8.2
build(deps-dev): bump @typescript-eslint/parser from 4.8.1 to 4.8.2
2020-11-25 18:07:21 +08:00
LongYinan
00b6875161
Merge pull request #323 from napi-rs/dependabot/npm_and_yarn/types/sinon-9.0.9
build(deps-dev): bump @types/sinon from 9.0.8 to 9.0.9
2020-11-25 18:05:42 +08:00
dependabot-preview[bot]
0da203812b
build(deps-dev): bump @types/sinon from 9.0.8 to 9.0.9
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 9.0.8 to 9.0.9.
- [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-11-25 07:17:28 +00:00
dependabot-preview[bot]
1586e82a30
build(deps-dev): bump @typescript-eslint/parser from 4.8.1 to 4.8.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.8.1 to 4.8.2.
- [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.8.2/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 07:24:15 +00:00
dependabot-preview[bot]
f81cba9f35
build(deps-dev): bump lint-staged from 10.5.1 to 10.5.2
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.5.1 to 10.5.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.5.1...v10.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 07:23:09 +00:00
LongYinan
9c8a4dee99
Merge pull request #317 from napi-rs/dependabot/npm_and_yarn/eslint-7.14.0
build(deps-dev): bump eslint from 7.13.0 to 7.14.0
2020-11-23 22:14:59 +08:00
dependabot-preview[bot]
a01ca2512f
build(deps-dev): bump eslint from 7.13.0 to 7.14.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.13.0 to 7.14.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.13.0...v7.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-23 07:41:51 +00:00
LongYinan
c9c96b6079
Merge pull request #313 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.9
build(deps-dev): bump @types/node from 14.14.8 to 14.14.9
2020-11-22 22:27:23 +08:00
LongYinan
6196e33f54
Merge pull request #314 from napi-rs/dependabot/npm_and_yarn/prettier-2.2.0
build(deps-dev): bump prettier from 2.1.2 to 2.2.0
2020-11-22 22:27:12 +08:00
LongYinan
d574b49298
Merge pull request #315 from napi-rs/dependabot/npm_and_yarn/debug-4.3.1
build(deps): bump debug from 4.2.0 to 4.3.1
2020-11-22 22:27:00 +08:00
LongYinan
4c595ac62c
Merge pull request #316 from napi-rs/dependabot/npm_and_yarn/typescript-4.1.2
build(deps-dev): bump typescript from 4.0.5 to 4.1.2
2020-11-22 22:26:46 +08:00
dependabot-preview[bot]
9ce2836e77
build(deps-dev): bump typescript from 4.0.5 to 4.1.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.5 to 4.1.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.5...v4.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 09:38:45 +00:00
dependabot-preview[bot]
f03cba1d23
build(deps): bump debug from 4.2.0 to 4.3.1
Bumps [debug](https://github.com/visionmedia/debug) from 4.2.0 to 4.3.1.
- [Release notes](https://github.com/visionmedia/debug/releases)
- [Commits](https://github.com/visionmedia/debug/compare/4.2.0...4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 09:38:22 +00:00
dependabot-preview[bot]
e3c4f847a7
build(deps-dev): bump prettier from 2.1.2 to 2.2.0
Bumps [prettier](https://github.com/prettier/prettier) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-20 09:37:11 +00:00
dependabot-preview[bot]
bd9bdf7b06
build(deps-dev): bump @types/node from 14.14.8 to 14.14.9
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.8 to 14.14.9.
- [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-11-20 09:36:37 +00:00
LongYinan
c370b8374b
fix(napi): CString memory leak 2020-11-20 10:53:33 +08:00
LongYinan
e337a58714
chore(napi): remove unsafe from CallContext::this_unchecked 2020-11-20 09:09:57 +08:00
LongYinan
89d507d522
Merge pull request #309 from napi-rs/cstring-issues
fix(napi): CString issues
2020-11-20 00:44:16 +08:00
LongYinan
781ff8dc14
refactor(napi): make NapiTrait to be unsafe
close https://github.com/napi-rs/napi-rs/issues/299
2020-11-20 00:07:20 +08:00
LongYinan
2d47969d08
fix(napi): CString issues 2020-11-19 23:41:29 +08:00
LongYinan
193751d5c6
Merge pull request #308 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.8.1
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.7.0 to 4.8.1
2020-11-19 00:14:12 +08:00
dependabot-preview[bot]
821376ef3c
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.7.0 to 4.8.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/v4.8.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 15:51:12 +00:00
LongYinan
63a3e059e7
Merge pull request #307 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.8
build(deps-dev): bump @types/node from 14.14.7 to 14.14.8
2020-11-18 23:49:40 +08:00
LongYinan
8d74bc28c4
Merge pull request #306 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.8.1
build(deps-dev): bump @typescript-eslint/parser from 4.7.0 to 4.8.1
2020-11-18 23:49:27 +08:00
dependabot-preview[bot]
7aec4948f1
build(deps-dev): bump @types/node from 14.14.7 to 14.14.8
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.7 to 14.14.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-11-18 07:08:26 +00:00
dependabot-preview[bot]
3657ecbf24
build(deps-dev): bump @typescript-eslint/parser from 4.7.0 to 4.8.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.7.0 to 4.8.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/v4.8.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 07:08:03 +00:00
LongYinan
5444eed7b3
Merge pull request #305 from napi-rs/fix-add-path-command
ci: remove legacy add path command
2020-11-18 12:06:23 +08:00
LongYinan
93fbdf0e54
ci: remove legacy add path command 2020-11-18 11:42:38 +08:00
LongYinan
f8dd113dbe
Merge pull request #301 from napi-rs/dependabot/npm_and_yarn/benny-3.6.15
build(deps-dev): bump benny from 3.6.14 to 3.6.15
2020-11-16 17:32:43 +08:00
dependabot-preview[bot]
247be52c86
build(deps-dev): bump benny from 3.6.14 to 3.6.15
Bumps [benny](https://github.com/caderek/benny) from 3.6.14 to 3.6.15.
- [Release notes](https://github.com/caderek/benny/releases)
- [Changelog](https://github.com/caderek/benny/blob/master/CHANGELOG.md)
- [Commits](https://github.com/caderek/benny/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 07:31:53 +00:00
LongYinan
e4f005c735
fix(napi): memory leak with CString 2020-11-15 23:22:29 +08:00
LongYinan
68017ce246
fix(napi): memory leak in create_named_property 2020-11-14 11:45:10 +08:00
LongYinan
4609fae1cb
Merge pull request #298 from napi-rs/windows-i686-release
fix(napi): windows-i686 release build problem
2020-11-14 00:38:39 +08:00