Commit graph

604 commits

Author SHA1 Message Date
LongYinan
fc0ec0b378
refactor(napi-sys): remove bindgen 2020-11-10 17:52:59 +08:00
LongYinan
f376f3615c
Merge pull request #293 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.7.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.6.1 to 4.7.0
2020-11-10 15:51:32 +08:00
dependabot-preview[bot]
abee827bd7
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.6.1 to 4.7.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.7.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-10 07:47:59 +00:00
LongYinan
80c25a3979
Merge pull request #292 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.7
build(deps-dev): bump @types/node from 14.14.6 to 14.14.7
2020-11-10 15:46:37 +08:00
LongYinan
0fded9b935
Merge pull request #294 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.7.0
build(deps-dev): bump @typescript-eslint/parser from 4.6.1 to 4.7.0
2020-11-10 15:46:13 +08:00
dependabot-preview[bot]
2bfa5e2abb
build(deps-dev): bump @typescript-eslint/parser from 4.6.1 to 4.7.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.6.1 to 4.7.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.7.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-10 07:17:01 +00:00
dependabot-preview[bot]
3ecb74c580
build(deps-dev): bump @types/node from 14.14.6 to 14.14.7
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.6 to 14.14.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-11-10 07:15:59 +00:00
LongYinan
0d5c3e6b2d
Merge pull request #288 from napi-rs/dependabot/npm_and_yarn/eslint-7.13.0
build(deps-dev): bump eslint from 7.12.1 to 7.13.0
2020-11-09 15:45:24 +08:00
dependabot-preview[bot]
98f72cd72f
build(deps-dev): bump eslint from 7.12.1 to 7.13.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.1 to 7.13.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.12.1...v7.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 07:31:28 +00:00
LongYinan
a894ef4137
Merge pull request #287 from napi-rs/dependabot/npm_and_yarn/types/lodash-4.14.165
build(deps-dev): bump @types/lodash from 4.14.164 to 4.14.165
2020-11-06 16:00:53 +08:00
dependabot-preview[bot]
eb0d79f7a8
build(deps-dev): bump @types/lodash from 4.14.164 to 4.14.165
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.164 to 4.14.165.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-06 07:23:02 +00:00
LongYinan
f56852bb7f
Merge pull request #285 from napi-rs/windows-i686
feat(napi): support build on i686-pc-windows-msvc
2020-11-04 23:38:14 +08:00
LongYinan
47f5011a8f feat(napi): support build on i686-pc-windows-msvc 2020-11-04 23:08:54 +08:00
LongYinan
f9ec712d57
Merge pull request #283 from napi-rs/simplify-module-register
chore(napi): simplify module register, support node@10+
2020-11-04 17:41:19 +08:00
LongYinan
7c996ebaa0
chore(napi): remove useless From trait 2020-11-04 16:36:01 +08:00
LongYinan
078d1ed2d0
chore(napi): simplify module register, support node@10+ 2020-11-04 15:54:57 +08:00
LongYinan
6a2ecb3b7d
Merge pull request #282 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.6.1
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.6.0 to 4.6.1
2020-11-03 16:24:04 +08:00
dependabot-preview[bot]
5e52a3b718
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.6.0 to 4.6.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.6.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 07:55:25 +00:00
LongYinan
13868f0f5f
Merge pull request #281 from napi-rs/dependabot/npm_and_yarn/octokit/rest-18.0.9
build(deps): bump @octokit/rest from 18.0.7 to 18.0.9
2020-11-03 15:53:52 +08:00
LongYinan
1762f8cfd9
Merge pull request #280 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.6.1
build(deps-dev): bump @typescript-eslint/parser from 4.6.0 to 4.6.1
2020-11-03 15:53:35 +08:00
LongYinan
db9e5f13fe
Merge pull request #274 from napi-rs/dependabot/npm_and_yarn/lint-staged-10.5.1
build(deps-dev): bump lint-staged from 10.5.0 to 10.5.1
2020-11-03 15:42:34 +08:00
dependabot-preview[bot]
b4ae2144c6
build(deps): bump @octokit/rest from 18.0.7 to 18.0.9
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.7 to 18.0.9.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.7...v18.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 07:36:01 +00:00
dependabot-preview[bot]
59140702e6
build(deps-dev): bump @typescript-eslint/parser from 4.6.0 to 4.6.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.6.0 to 4.6.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.6.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 07:35:32 +00:00
LongYinan
8b98744b9a
Merge pull request #278 from adumbidiot/fix-issue-277
Convert bindgen `rustified_enum` to `newtype_enum`
2020-11-03 14:12:55 +08:00
adumbidiot
d9214e7805 Convert bindgen rustified_enum to newtype_enum 2020-11-02 19:23:41 -08:00
dependabot-preview[bot]
6c630fc4ad
build(deps-dev): bump lint-staged from 10.5.0 to 10.5.1
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.5.0 to 10.5.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.5.0...v10.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 07:39:05 +00:00
LongYinan
433031a6ee
ci: use GITHUB_TOKEN in bench comment action 2020-11-01 21:52:50 +08:00
LongYinan
2993287010
feat(napi): expose length property in CallContext 2020-10-31 22:51:40 +08:00
LongYinan
8c9295f6f0
fix(napi): return self in Property#with_property_attributes 2020-10-31 22:22:23 +08:00
LongYinan
f1f9402a44
feat(napi): export PropertyAttributes 2020-10-31 22:19:57 +08:00
LongYinan
8850e8a708
Merge pull request #269 from napi-rs/dependabot/npm_and_yarn/types/lodash-4.14.164
build(deps-dev): bump @types/lodash from 4.14.163 to 4.14.164
2020-10-31 21:12:32 +08:00
LongYinan
7f9a6db99c
Merge pull request #268 from napi-rs/dependabot/npm_and_yarn/octokit/rest-18.0.7
build(deps): bump @octokit/rest from 18.0.6 to 18.0.7
2020-10-31 21:12:16 +08:00
LongYinan
b1a6a56fcd
Merge pull request #270 from adumbidiot/electron
Add Electron Support
2020-10-31 21:12:03 +08:00
adumbidiot
cab8fcc3a6 Remove use of global node.lib cache 2020-10-30 20:58:28 -07:00
adumbidiot
e25ef3a3d8 Seperate build setup script into seperate files to fix formatting 2020-10-30 20:11:10 -07:00
adumbidiot
7739cf5dc3 Respect CARGO_CFG_TARGET_ARCH env var 2020-10-30 20:00:16 -07:00
adumbidiot
5364458366 Avoid running entire napi_build::setup twice 2020-10-30 18:29:08 -07:00
adumbidiot
e36e1e1fbb Copy win_delay_load_hook from Neon 2020-10-30 18:24:19 -07:00
adumbidiot
b062c0fd6e Respect NPM_CONFIG_DISTURL env var 2020-10-30 18:17:06 -07:00
adumbidiot
7862726e84 Use ureq to download node.lib 2020-10-30 17:57:28 -07:00
dependabot-preview[bot]
8b015fa403
build(deps-dev): bump @types/lodash from 4.14.163 to 4.14.164
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.163 to 4.14.164.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-30 18:38:27 +00:00
dependabot-preview[bot]
f09cee46a4
build(deps): bump @octokit/rest from 18.0.6 to 18.0.7
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.6 to 18.0.7.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v18.0.6...v18.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-30 18:37:57 +00:00
LongYinan
b0e7fc5ecf
Merge pull request #266 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.6
build(deps-dev): bump @types/node from 14.14.5 to 14.14.6
2020-10-31 01:57:03 +08:00
dependabot-preview[bot]
ea5e175961
build(deps-dev): bump @types/node from 14.14.5 to 14.14.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.5 to 14.14.6.
- [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-30 16:40:30 +00:00
LongYinan
f62fadf555
Merge pull request #263 from napi-rs/dependabot/npm_and_yarn/eslint-7.12.1
build(deps-dev): bump eslint from 7.12.0 to 7.12.1
2020-10-30 11:41:31 +08:00
LongYinan
a6211a7371
Merge pull request #267 from napi-rs/dependabot/npm_and_yarn/types/lodash-4.14.163
build(deps-dev): bump @types/lodash from 4.14.162 to 4.14.163
2020-10-30 11:41:00 +08:00
dependabot-preview[bot]
b273087a4f
build(deps-dev): bump @types/lodash from 4.14.162 to 4.14.163
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.162 to 4.14.163.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 19:28:16 +00:00
dependabot-preview[bot]
3b1e1833cc
build(deps-dev): bump eslint from 7.12.0 to 7.12.1
Bumps [eslint](https://github.com/eslint/eslint) from 7.12.0 to 7.12.1.
- [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.12.0...v7.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-29 03:49:28 +00:00
LongYinan
67bdcf9cd0
Merge pull request #264 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.5
build(deps-dev): bump @types/node from 14.14.3 to 14.14.5
2020-10-29 11:05:05 +08:00
LongYinan
71e52b4145
Merge pull request #261 from napi-rs/dependabot/npm_and_yarn/eslint-config-prettier-6.15.0
build(deps-dev): bump eslint-config-prettier from 6.14.0 to 6.15.0
2020-10-29 11:04:37 +08:00