Commit graph

770 commits

Author SHA1 Message Date
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
LongYinan
df91f0e38d
Merge pull request #262 from napi-rs/dependabot/npm_and_yarn/sinon-9.2.1
build(deps-dev): bump sinon from 9.2.0 to 9.2.1
2020-10-29 11:04:19 +08:00
LongYinan
c9af887c3a
Merge pull request #265 from napi-rs/dependabot/npm_and_yarn/typescript-4.0.5
build(deps-dev): bump typescript from 4.0.3 to 4.0.5
2020-10-29 03:30:32 +08:00
dependabot-preview[bot]
9801403c82
build(deps-dev): bump typescript from 4.0.3 to 4.0.5
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.0.3 to 4.0.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.0.3...v4.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-28 13:00:29 +00:00
dependabot-preview[bot]
4a442e8fa5
build(deps-dev): bump @types/node from 14.14.3 to 14.14.5
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.3 to 14.14.5.
- [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-28 12:59:53 +00:00
dependabot-preview[bot]
7b481791c0
build(deps-dev): bump sinon from 9.2.0 to 9.2.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.0 to 9.2.1.
- [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)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-28 12:58:52 +00:00
dependabot-preview[bot]
84ea561ace
build(deps-dev): bump eslint-config-prettier from 6.14.0 to 6.15.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.14.0 to 6.15.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.14.0...v6.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-28 12:58:19 +00:00
LongYinan
b74cb19952
Merge pull request #260 from napi-rs/new-instance
feat(napi): new JsFunction instance
2020-10-27 14:39:21 +08:00
LongYinan
ebccaf8404
Merge pull request #257 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.6.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.5.0 to 4.6.0
2020-10-27 14:20:29 +08:00
LongYinan
6ba674e4bc
feat(napi): new JsFunction instance 2020-10-27 14:19:40 +08:00
dependabot-preview[bot]
b7021705d5
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.5.0 to 4.6.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.6.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-27 05:45:15 +00:00
LongYinan
681784cde1
Merge pull request #259 from napi-rs/dependabot/npm_and_yarn/lint-staged-10.5.0
build(deps-dev): bump lint-staged from 10.4.2 to 10.5.0
2020-10-27 13:43:37 +08:00
LongYinan
f655ce9010
Merge pull request #258 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.6.0
build(deps-dev): bump @typescript-eslint/parser from 4.5.0 to 4.6.0
2020-10-27 13:43:24 +08:00
dependabot-preview[bot]
c642c251a9
build(deps-dev): bump lint-staged from 10.4.2 to 10.5.0
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 10.4.2 to 10.5.0.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v10.4.2...v10.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 20:36:25 +00:00
dependabot-preview[bot]
d70229b87b
build(deps-dev): bump @typescript-eslint/parser from 4.5.0 to 4.6.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.5.0 to 4.6.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.6.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 20:36:00 +00:00
LongYinan
ac4125ef54
Merge pull request #256 from napi-rs/dependabot/npm_and_yarn/eslint-7.12.0
build(deps-dev): bump eslint from 7.11.0 to 7.12.0
2020-10-26 09:26:07 +08:00
LongYinan
bcef3b718c
Merge pull request #255 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.3
build(deps-dev): bump @types/node from 14.14.2 to 14.14.3
2020-10-26 09:25:54 +08:00
dependabot-preview[bot]
52b1962b6b
build(deps-dev): bump eslint from 7.11.0 to 7.12.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.11.0 to 7.12.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.11.0...v7.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-25 23:32:07 +00:00
dependabot-preview[bot]
8579b29a0c
build(deps-dev): bump @types/node from 14.14.2 to 14.14.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.2 to 14.14.3.
- [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-25 23:31:40 +00:00
LongYinan
77f4892cb9
Merge pull request #252 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.2
build(deps-dev): bump @types/node from 14.14.0 to 14.14.2
2020-10-23 18:54:02 +08:00
LongYinan
d805b89aa9
Merge pull request #251 from napi-rs/dependabot/npm_and_yarn/eslint-config-prettier-6.14.0
build(deps-dev): bump eslint-config-prettier from 6.13.0 to 6.14.0
2020-10-23 18:53:33 +08:00
dependabot-preview[bot]
24e55151e4
build(deps-dev): bump @types/node from 14.14.0 to 14.14.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.0 to 14.14.2.
- [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-23 02:47:12 +00:00
dependabot-preview[bot]
6b6420669a
build(deps-dev): bump eslint-config-prettier from 6.13.0 to 6.14.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.13.0 to 6.14.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.13.0...v6.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-23 02:46:49 +00:00
LongYinan
3ba5d1aa82
Merge pull request #250 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.5.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.4.1 to 4.5.0
2020-10-22 10:50:25 +08:00
dependabot-preview[bot]
fefa1ec0df
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.4.1 to 4.5.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.5.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-21 17:55:30 +00:00
LongYinan
787d4befbc
Merge pull request #249 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.0
build(deps-dev): bump @types/node from 14.11.10 to 14.14.0
2020-10-21 18:07:36 +08:00
LongYinan
bfb6148b14
Merge pull request #248 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.5.0
build(deps-dev): bump @typescript-eslint/parser from 4.4.1 to 4.5.0
2020-10-21 18:07:19 +08:00
dependabot-preview[bot]
5be61ed8f7
build(deps-dev): bump @types/node from 14.11.10 to 14.14.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.10 to 14.14.0.
- [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-21 09:25:45 +00:00
dependabot-preview[bot]
c57ed7a766
build(deps-dev): bump @typescript-eslint/parser from 4.4.1 to 4.5.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.4.1 to 4.5.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.5.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-21 09:25:17 +00:00
LongYinan
b71ea17176
Merge pull request #247 from napi-rs/create-array
feat(napi): implement create_array
2020-10-21 16:04:58 +08:00
LongYinan
4dcf50ef06
test(napi): add specs for array 2020-10-21 15:45:45 +08:00
LongYinan
e559908b76
feat(napi): implement create_array 2020-10-21 15:17:06 +08:00
LongYinan
5025ffa791
Merge pull request #245 from napi-rs/dependabot/npm_and_yarn/lint-staged-10.4.2
build(deps-dev): bump lint-staged from 10.4.0 to 10.4.2
2020-10-18 13:36:57 +08:00
LongYinan
75676ada11
Merge pull request #244 from napi-rs/dependabot/npm_and_yarn/types/node-14.11.10
build(deps-dev): bump @types/node from 14.11.8 to 14.11.10
2020-10-18 13:36:45 +08:00
LongYinan
46ac52ac96
Merge pull request #241 from napi-rs/dependabot/npm_and_yarn/eslint-config-prettier-6.13.0
build(deps-dev): bump eslint-config-prettier from 6.12.0 to 6.13.0
2020-10-18 13:36:31 +08:00