Commit graph

890 commits

Author SHA1 Message Date
LongYinan
6e1ecf8e1e
Merge pull request #227 from napi-rs/object-napi6
feat(napi): napi_get_all_property_names
2020-10-12 23:12:57 +08:00
LongYinan
13216f523a
feat(napi): napi_get_all_property_names 2020-10-12 22:38:52 +08:00
LongYinan
1dc9974c19
feat(napi): implement detach arraybuffer 2020-10-11 22:26:09 +08:00
LongYinan
ef51a882c6
docs: update badges urls 2020-10-11 22:19:43 +08:00
LongYinan
91be50865d
docs: update test command in README.md 2020-10-11 22:16:33 +08:00
LongYinan
ae8de8a631
feat(napi): implement dataview related apis 2020-10-11 22:15:58 +08:00
LongYinan
809ecfec49
feat(napi): implement create_buffer_copy 2020-10-11 21:54:23 +08:00
LongYinan
276fc45603
style: format toml files 2020-10-11 21:36:14 +08:00
LongYinan
3e332df89c
Merge pull request #226 from napi-rs/dependabot/npm_and_yarn/eslint-7.11.0
build(deps-dev): bump eslint from 7.10.0 to 7.11.0
2020-10-11 12:36:40 +08:00
LongYinan
7ce4571c8d
Merge pull request #225 from napi-rs/dependabot/npm_and_yarn/tslib-2.0.3
build(deps): bump tslib from 2.0.2 to 2.0.3
2020-10-11 12:36:23 +08:00
dependabot-preview[bot]
3e789c0cbf
build(deps-dev): bump eslint from 7.10.0 to 7.11.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.10.0 to 7.11.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.10.0...v7.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 21:53:40 +00:00
dependabot-preview[bot]
7eb498fb1a
build(deps): bump tslib from 2.0.2 to 2.0.3
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.0.2...2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 21:53:04 +00:00
LongYinan
edc8d91902
Merge pull request #224 from napi-rs/more-bindings
More bindings
2020-10-10 20:31:09 +08:00
LongYinan
d151318131
fix(napi): TypedArray napi < 6 compatible issue 2020-10-10 19:00:21 +08:00
LongYinan
364082ca7a
docs: update README 2020-10-10 18:58:36 +08:00
LongYinan
0deb9f7755
feat(napi): implement TypedArray related APIs 2020-10-10 18:54:05 +08:00
LongYinan
3da8daf192
feat(napi): implement napi_reference_ref 2020-10-10 18:21:11 +08:00
LongYinan
e0d75d1453
feat(napi): implement napi_is_promise 2020-10-10 18:17:32 +08:00
LongYinan
27e11d6723
Merge pull request #223 from napi-rs/date
feat(napi): implement date related API
2020-10-10 15:21:54 +08:00
LongYinan
6c95d86d2f
feat(napi): implement date related API 2020-10-10 15:02:11 +08:00
LongYinan
1b69902381
Merge pull request #220 from napi-rs/reduce-windows-dependencies
refactor(build): use node to download .lib file on Windows
2020-10-10 13:17:10 +08:00
LongYinan
d1d6a5b963
refactor(build): use node to download .lib file on Windows 2020-10-10 13:04:42 +08:00
LongYinan
a93f9b6433
Merge pull request #222 from napi-rs/dependabot/npm_and_yarn/types/node-14.11.8
build(deps-dev): bump @types/node from 14.11.7 to 14.11.8
2020-10-10 09:22:42 +08:00
dependabot-preview[bot]
66242a514a
build(deps-dev): bump @types/node from 14.11.7 to 14.11.8
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.7 to 14.11.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-10-09 21:30:16 +00:00
LongYinan
afa6c075ae
Merge pull request #221 from napi-rs/fix-build-condition
fix: wrong condition in build command
2020-10-10 00:37:49 +08:00
LongYinan
4272505901
fix: wrong condition in build command
Close https://github.com/napi-rs/napi-rs/issues/219
2020-10-10 00:15:59 +08:00
LongYinan
dca2bb322e
Merge pull request #218 from napi-rs/dependabot/npm_and_yarn/types/node-14.11.7
build(deps-dev): bump @types/node from 14.11.2 to 14.11.7
2020-10-09 15:14:34 +08:00
LongYinan
d7e13e146c
Merge pull request #215 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.4.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.3.0 to 4.4.0
2020-10-09 14:56:24 +08:00
dependabot-preview[bot]
b7008266c6
build(deps-dev): bump @types/node from 14.11.2 to 14.11.7
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.11.2 to 14.11.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-10-09 06:55:03 +00:00
dependabot-preview[bot]
31af064010
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.3.0 to 4.4.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.4.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-09 06:33:42 +00:00
LongYinan
7f01128fc4
Merge pull request #214 from napi-rs/dependabot/npm_and_yarn/tslib-2.0.2
build(deps): bump tslib from 2.0.1 to 2.0.2
2020-10-09 11:07:59 +08:00
LongYinan
dab8957545
Merge pull request #216 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.4.0
build(deps-dev): bump @typescript-eslint/parser from 4.3.0 to 4.4.0
2020-10-09 11:07:33 +08:00
LongYinan
2e37d7072f
Merge pull request #213 from napi-rs/dependabot/npm_and_yarn/sinon-9.2.0
build(deps-dev): bump sinon from 9.1.0 to 9.2.0
2020-10-09 11:07:12 +08:00
LongYinan
bbeaa1191e
Merge pull request #212 from napi-rs/dependabot/cargo/cfg-if-1.0
build(deps): update cfg-if requirement from 0.1 to 1.0
2020-10-09 11:06:57 +08:00
LongYinan
b503e900a0
Merge pull request #211 from napi-rs/dependabot/npm_and_yarn/types/sinon-9.0.8
build(deps-dev): bump @types/sinon from 9.0.7 to 9.0.8
2020-10-09 11:06:43 +08:00
dependabot-preview[bot]
61f7371e50
build(deps-dev): bump @typescript-eslint/parser from 4.3.0 to 4.4.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.3.0 to 4.4.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.4.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 06:18:22 +00:00
dependabot-preview[bot]
17c4f23a73
build(deps): bump tslib from 2.0.1 to 2.0.2
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/2.0.1...2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 06:17:23 +00:00
dependabot-preview[bot]
84e5a95749
build(deps-dev): bump sinon from 9.1.0 to 9.2.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.1.0 to 9.2.0.
- [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.1.0...v9.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 06:16:58 +00:00
dependabot-preview[bot]
027d6d35e7
build(deps): update cfg-if requirement from 0.1 to 1.0
Updates the requirements on [cfg-if](https://github.com/alexcrichton/cfg-if) to permit the latest version.
- [Release notes](https://github.com/alexcrichton/cfg-if/releases)
- [Commits](https://github.com/alexcrichton/cfg-if/compare/0.1.1...1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 05:54:00 +00:00
dependabot-preview[bot]
44f3ccb6b7
build(deps-dev): bump @types/sinon from 9.0.7 to 9.0.8
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 9.0.7 to 9.0.8.
- [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-10-05 15:34:37 +00:00
LongYinan
7a340b0b55
Merge pull request #210 from napi-rs/thread-safe-function
refactor(napi): thread safe function redesign
2020-10-04 17:32:54 +08:00
LongYinan
c5f2b6699d
refactor(napi): thread safe function redesign 2020-10-04 17:16:35 +08:00
LongYinan
64bf2e81be
Merge pull request #209 from napi-rs/env-cleanup-hook
feat(napi): implement env cleanup hook
2020-10-04 16:25:10 +08:00
LongYinan
2d099f7d1f
ci: use node@10.2.0 instead of node@10.0.0 to run napi3 tests 2020-10-04 16:07:36 +08:00
LongYinan
45411a59ea
feat(napi): implement env cleanup hook 2020-10-04 16:02:04 +08:00
LongYinan
973d3ee008
Merge pull request #208 from napi-rs/get-global
JsGlobal
2020-10-03 22:53:20 +08:00
LongYinan
d1870d2be2
style: run fmt 2020-10-03 22:34:52 +08:00
LongYinan
e713d647f5
test(napi): add JsTimeout specs 2020-10-03 15:03:10 +08:00
LongYinan
43c01796eb
feat(napi): implement JsTimeout 2020-10-03 14:57:56 +08:00
LongYinan
a532451fc0
feat(napi): refactor Env::get_global 2020-10-03 14:57:31 +08:00