Commit graph

840 commits

Author SHA1 Message Date
LongYinan
e24738a4d8
fix(napi): remove into_*_ref from JsString
Close https://github.com/napi-rs/napi-rs/issues/411
2021-01-07 11:14:01 +08:00
LongYinan
1ee3145756
ci: upgrade actions/setup-node 2021-01-05 23:53:23 +08:00
LongYinan
30ef04cbfa
napi@1.1.0 2021-01-05 23:42:54 +08:00
LongYinan
4a96169b2a
Merge pull request #409 from napi-rs/arraybuffer-with-borrowed-data
feat(napi): Env::create_arraybuffer_with_borrowed_data
2021-01-05 23:42:10 +08:00
LongYinan
911a0c139d
feat(napi): Env::create_arraybuffer_with_borrowed_data 2021-01-05 23:27:01 +08:00
LongYinan
f2a4242e50
Merge pull request #404 from napi-rs/dependabot/npm_and_yarn/types/lodash-4.14.167
build(deps-dev): bump @types/lodash from 4.14.166 to 4.14.167
2021-01-04 18:02:45 +08:00
LongYinan
818e536e3d
Merge pull request #405 from napi-rs/dependabot/npm_and_yarn/eslint-7.17.0
build(deps-dev): bump eslint from 7.16.0 to 7.17.0
2021-01-04 18:02:33 +08:00
dependabot[bot]
32e1658d90
build(deps-dev): bump eslint from 7.16.0 to 7.17.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.16.0 to 7.17.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.16.0...v7.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-04 09:54:46 +00:00
dependabot[bot]
59b9466e3a
build(deps-dev): bump @types/lodash from 4.14.166 to 4.14.167
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.166 to 4.14.167.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-04 09:54:27 +00:00
LongYinan
1bea6faf38
Merge pull request #400 from napi-rs/dependabot/npm_and_yarn/eslint-7.17.0
build(deps-dev): bump eslint from 7.16.0 to 7.17.0
2021-01-04 17:51:44 +08:00
LongYinan
2535356a1a
Merge pull request #401 from napi-rs/dependabot/npm_and_yarn/types/lodash-4.14.167
build(deps-dev): bump @types/lodash from 4.14.166 to 4.14.167
2021-01-04 17:51:29 +08:00
dependabot-preview[bot]
9acf32821f
build(deps-dev): bump eslint from 7.16.0 to 7.17.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.16.0 to 7.17.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.16.0...v7.17.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 09:50:58 +00:00
dependabot-preview[bot]
ed897f4f2f
build(deps-dev): bump @types/lodash from 4.14.166 to 4.14.167
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.166 to 4.14.167.
- [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>
2021-01-04 09:50:57 +00:00
LongYinan
a17377779d
ci: add dependabot config 2021-01-04 17:50:16 +08:00
LongYinan
52c87f694a
Merge pull request #402 from napi-rs/dependabot/npm_and_yarn/ava-3.15.0
build(deps-dev): bump ava from 3.14.0 to 3.15.0
2021-01-04 17:49:03 +08:00
LongYinan
aaa4bfce77
Merge pull request #403 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.19
build(deps-dev): bump @types/node from 14.14.17 to 14.14.19
2021-01-04 17:48:49 +08:00
dependabot-preview[bot]
f72498f8e0
build(deps-dev): bump @types/node from 14.14.17 to 14.14.19
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.17 to 14.14.19.
- [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>
2021-01-04 07:46:13 +00:00
dependabot-preview[bot]
d0fe817400
build(deps-dev): bump ava from 3.14.0 to 3.15.0
Bumps [ava](https://github.com/avajs/ava) from 3.14.0 to 3.15.0.
- [Release notes](https://github.com/avajs/ava/releases)
- [Commits](https://github.com/avajs/ava/compare/v3.14.0...v3.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-04 07:45:03 +00:00
LongYinan
4d0b79aa02
napi@1.0.1 2021-01-04 15:16:52 +08:00
LongYinan
6bdfe8687e
napi-build@1.0.1 2021-01-04 15:16:04 +08:00
LongYinan
e89209cccd
Merge pull request #399 from napi-rs/useless-aquire-tsfn
fix(napi): remove unexpected napi_acquire_threadsafe_function
2021-01-04 15:14:55 +08:00
LongYinan
0c9981beb7
fix(napi): enable napi4 when tokio_rt enabled 2021-01-04 14:57:45 +08:00
LongYinan
c28f035f5c
fix(napi): remove unexpected napi_acquire_threadsafe_function 2021-01-04 14:56:32 +08:00
LongYinan
3bea6bba5b
Merge pull request #395 from napi-rs/ureq-2
chore(build): upgrade ureq to 2.0
2021-01-04 14:34:35 +08:00
LongYinan
294563d8dc
chore(build): upgrade ureq to 2.0 2021-01-04 13:55:26 +08:00
LongYinan
63b643914b
Merge pull request #394 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.17
build(deps-dev): bump @types/node from 14.14.16 to 14.14.17
2020-12-31 15:45:32 +08:00
dependabot-preview[bot]
3379a79a6e
build(deps-dev): bump @types/node from 14.14.16 to 14.14.17
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.16 to 14.14.17.
- [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-31 07:27:17 +00:00
LongYinan
dda5088295
docs: format 2020-12-30 21:04:07 +08:00
LongYinan
c45e8349a9
Merge pull request #391 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.11.1
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.11.0 to 4.11.1
2020-12-30 14:12:44 +08:00
LongYinan
e02bda46c1
1.0.0 2020-12-30 00:56:08 +08:00
LongYinan
a3658891cc
Merge pull request #393 from napi-rs/bench-get-set
chore: add bench suite for object getter setter
2020-12-29 18:20:34 +08:00
dependabot-preview[bot]
f30f167708
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.11.0 to 4.11.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.11.1/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 10:18:44 +00:00
LongYinan
ac17857ffb
Merge pull request #392 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.11.1
build(deps-dev): bump @typescript-eslint/parser from 4.11.0 to 4.11.1
2020-12-29 18:16:34 +08:00
LongYinan
91609a2343
chore: add bench suite for object getter setter 2020-12-29 18:03:10 +08:00
LongYinan
f2e046958f
napi@1.0.0-alpha.11 2020-12-29 16:39:30 +08:00
LongYinan
50ce9c6569
feat(napi): implement value getter for JsNumber 2020-12-29 16:36:38 +08:00
dependabot-preview[bot]
2c09cece11
build(deps-dev): bump @typescript-eslint/parser from 4.11.0 to 4.11.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.11.0 to 4.11.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.11.1/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-29 07:34:22 +00:00
LongYinan
aa3f0932c8
@napi-rs/cli@1.0.0-alpha.14 2020-12-29 14:32:42 +08:00
LongYinan
84a6a8613b
feat(cli): create .cargo/config if needed 2020-12-29 14:32:25 +08:00
LongYinan
cbd4e4d1fc
chore(napi): remove TryFrom<JsNumber> for usize 2020-12-28 21:40:06 +08:00
LongYinan
96b1abc00f
napi@1.0.0-alpha.10 2020-12-28 14:02:59 +08:00
LongYinan
ff5c103020
chore: add thread safe function bench suite 2020-12-28 14:02:28 +08:00
LongYinan
a17999024b
Merge pull request #389 from napi-rs/uncheck
feat(napi): uncheck version of Object methods
2020-12-28 00:05:24 +08:00
LongYinan
ad2a84984f
feat(napi): uncheck version of Object methods 2020-12-27 23:46:07 +08:00
LongYinan
ec697f0b95
@napi-rs/cli@1.0.0-alpha.13 2020-12-25 18:38:57 +08:00
LongYinan
9b7ed2a226
Merge pull request #388 from napi-rs/create-npm-dir
feat(cli): create npm dir while creating new project
2020-12-25 18:25:32 +08:00
LongYinan
1537f44038
feat(cli): create npm dir while creating new project 2020-12-25 18:10:53 +08:00
LongYinan
9fb5a61a0b
napi@1.0.0-alpha.9 2020-12-25 12:02:39 +08:00
LongYinan
b1c8192d2a
refactor(napi): JsUnknow::cast now will not move ownership 2020-12-25 12:02:24 +08:00
LongYinan
a3d8623198
napi@1.0.0-alpha.8 2020-12-25 00:36:22 +08:00