messense
20cb92d202
Build multiarch Docker image
2021-03-31 14:39:53 +08:00
LongYinan
925786c955
style: fix clippy error
2021-03-31 11:53:51 +08:00
Chris Nixon
03e6048dc9
Check compile target at runtime in build
2021-03-30 22:56:03 +01:00
LongYinan
81af1674a8
napi-derive@1.0.1
2021-03-22 13:38:42 +08:00
LongYinan
4ca12ec7db
napi@1.3.3
2021-03-22 11:50:04 +08:00
LongYinan
a8c145b481
chore: upgrade dependencies
2021-03-22 11:50:04 +08:00
LongYinan
a8a83b2640
docs: Windows MSVC => Windows
2021-03-22 11:26:19 +08:00
LongYinan
6c46962833
docs: NodeJS => Node.js
2021-03-22 11:25:48 +08:00
LongYinan
69b8773350
Merge pull request #510 from napi-rs/fix-object-finalizer
...
fix(napi): finalizer maybe_ref pointer value
2021-03-19 15:48:06 +08:00
LongYinan
f45f1aeb53
fix(napi): finalizer maybe_ref pointer value
2021-03-19 13:53:28 +08:00
LongYinan
645584cfa9
Merge pull request #509 from napi-rs/upgrade-musl-image
...
ci: use lts alpine image
2021-03-19 12:15:31 +08:00
LongYinan
0a9d741e93
ci: use lts alpine image
2021-03-19 11:53:48 +08:00
LongYinan
2ae748249d
Merge pull request #508 from getditto/ditto/closure-into-jsfunction
...
Add a way to convert stateful (Rust) closures into `JsFunction`s.
2021-03-19 11:07:15 +08:00
Daniel Henry-Mantilla
4aba159958
Add a way to convert _stateful_ (Rust) closures into JsFunction
s.
2021-03-18 21:09:55 +01:00
LongYinan
3f40b9270e
Merge pull request #504 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.34
...
build(deps-dev): bump @types/node from 14.14.33 to 14.14.34
2021-03-17 13:36:11 +08:00
LongYinan
5c458033ca
Merge pull request #505 from napi-rs/dependabot/npm_and_yarn/eslint-7.22.0
...
build(deps-dev): bump eslint from 7.21.0 to 7.22.0
2021-03-17 13:36:00 +08:00
dependabot[bot]
e56834fb25
build(deps-dev): bump eslint from 7.21.0 to 7.22.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.21.0 to 7.22.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.21.0...v7.22.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-15 05:34:36 +00:00
dependabot[bot]
6c42ba302d
build(deps-dev): bump @types/node from 14.14.33 to 14.14.34
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.33 to 14.14.34.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-15 05:34:06 +00:00
LongYinan
3dd071540b
Merge pull request #503 from fanatid/patch-1
...
Remove deprecated `register_module` from example in README.md
2021-03-14 17:01:26 +08:00
Kirill Fomichev
5527451b8d
Remove deprecated register_module
from example in README.md
2021-03-14 11:17:19 +03:00
LongYinan
7c6bfb4087
napi@1.3.2
2021-03-12 16:26:19 +08:00
LongYinan
526b335df3
Merge pull request #502 from napi-rs/fix-adjust-external-memory-issue
...
fix(napi): napi_adjust_external_memory issue on wini686
2021-03-12 16:22:10 +08:00
LongYinan
1e3290cd01
fix(napi): napi_adjust_external_memory issue on wini686
2021-03-12 16:09:57 +08:00
LongYinan
0f300da917
napi@1.3.1
2021-03-11 19:03:17 +08:00
LongYinan
50f207f744
fix(napi): InvalidArg error when create_external with size hint
2021-03-11 19:02:42 +08:00
LongYinan
66663d129d
napi@1.3.0
2021-03-11 14:06:51 +08:00
LongYinan
7b86999f92
chore: upgrade deps
2021-03-11 13:42:28 +08:00
LongYinan
7ac2550609
Merge pull request #498 from napi-rs/dependabot/npm_and_yarn/husky-5.1.3
...
build(deps-dev): bump husky from 5.1.2 to 5.1.3
2021-03-11 13:30:37 +08:00
LongYinan
2c94f40cc4
Merge pull request #494 from napi-rs/dependabot/npm_and_yarn/typescript-4.2.3
...
build(deps-dev): bump typescript from 4.2.2 to 4.2.3
2021-03-11 13:30:08 +08:00
LongYinan
66ad5a4835
Merge pull request #499 from napi-rs/dependabot/npm_and_yarn/types/node-14.14.32
...
build(deps-dev): bump @types/node from 14.14.31 to 14.14.32
2021-03-11 13:29:46 +08:00
LongYinan
2be938e933
Merge pull request #496 from napi-rs/dependabot/npm_and_yarn/octokit/rest-18.3.4
...
build(deps): bump @octokit/rest from 18.3.0 to 18.3.4
2021-03-11 13:29:33 +08:00
LongYinan
676d7c9b3f
Merge pull request #492 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.16.1
...
build(deps-dev): bump @typescript-eslint/parser from 4.15.2 to 4.16.1
2021-03-11 13:29:19 +08:00
LongYinan
50fa1c0f0d
Merge pull request #501 from napi-rs/ubuntu-20.04
...
ci: running cross compile testing on ubuntu-20.04
2021-03-11 13:29:02 +08:00
LongYinan
6c8dcea460
ci: running cross compile testing on ubuntu-20.04
2021-03-11 12:12:19 +08:00
LongYinan
7108cc0f76
Merge pull request #500 from getditto/ditto/threadsafe-function-add-error-handling-opt-out
...
Add a way to opt out of error handling for `ThreadsafeFunction`s.
2021-03-11 00:21:14 +08:00
Daniel Henry-Mantilla
0204ef9342
Added a way to opt out of error handling for ThreadsafeFunction
s.
...
This is to allow having the `ThreadSafeFunction` expect the same calling API
as an unwrapped `JsFunction` would have: in some contexts this consistency is
more desireable than giving the option to the caller to handle a native-to-js
conversion failure (or somebody having directly fed a `Result<T>`; although
that use case seems oddly niche to me: it can already be covered when
`type T = Result<U>;` and propagated/flattened inside the `R` closure with a
simple `?`), since such failure can already be quite fatal / unexpected in
some cases.
In order to keep the code backwards-compatible, this PR uses an added
**optional** generic (type) parameter. Since this parameter, semantically,
represents an `enum`, and since we don't have yet `const_generic` `enum`s, we
circumvent this limitation by using the type-level enum pattern, which is
abtracted away with a helper macro that incidentally yields some handy docs
(I can attach a rendered version of the docs hosted on netlify if the reviewer
so wishes).
2021-03-09 23:51:12 +01:00
dependabot[bot]
67f30800e2
build(deps-dev): bump @types/node from 14.14.31 to 14.14.32
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.31 to 14.14.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:44:08 +00:00
dependabot[bot]
6da914fa77
build(deps-dev): bump husky from 5.1.2 to 5.1.3
...
Bumps [husky](https://github.com/typicode/husky ) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/typicode/husky/releases )
- [Commits](https://github.com/typicode/husky/compare/v5.1.2...v5.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:43:53 +00:00
dependabot[bot]
398f12b452
build(deps): bump @octokit/rest from 18.3.0 to 18.3.4
...
Bumps [@octokit/rest](https://github.com/octokit/rest.js ) from 18.3.0 to 18.3.4.
- [Release notes](https://github.com/octokit/rest.js/releases )
- [Commits](https://github.com/octokit/rest.js/compare/v18.3.0...v18.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:43:00 +00:00
dependabot[bot]
774666de68
build(deps-dev): bump typescript from 4.2.2 to 4.2.3
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.2...v4.2.3 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:37:15 +00:00
dependabot[bot]
8ee7f6a163
build(deps-dev): bump @typescript-eslint/parser from 4.15.2 to 4.16.1
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.15.2 to 4.16.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.16.1/packages/parser )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-08 05:34:00 +00:00
LongYinan
510e584750
Merge pull request #489 from napi-rs/dependabot/npm_and_yarn/inquirer-8.0.0
...
build(deps): bump inquirer from 7.3.3 to 8.0.0
2021-03-03 11:47:17 +08:00
LongYinan
e946fe0fe5
Merge pull request #483 from napi-rs/dependabot/npm_and_yarn/husky-5.1.2
...
build(deps-dev): bump husky from 5.1.0 to 5.1.2
2021-03-01 23:20:46 +08:00
LongYinan
89d087e3e4
Merge pull request #487 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.15.2
...
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.15.1 to 4.15.2
2021-03-01 23:20:31 +08:00
dependabot[bot]
4fd41da5c8
build(deps): bump inquirer from 7.3.3 to 8.0.0
...
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js ) from 7.3.3 to 8.0.0.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases )
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/inquirer@7.3.3...inquirer@8.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 12:23:03 +00:00
dependabot[bot]
90b856935f
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.15.1 to 4.15.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.15.2/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 12:18:52 +00:00
LongYinan
d2f0311980
Merge pull request #485 from napi-rs/dependabot/npm_and_yarn/eslint-7.21.0
...
build(deps-dev): bump eslint from 7.20.0 to 7.21.0
2021-03-01 20:14:59 +08:00
LongYinan
56c6a17dab
Merge pull request #482 from napi-rs/dependabot/npm_and_yarn/typescript-4.2.2
...
build(deps-dev): bump typescript from 4.1.5 to 4.2.2
2021-03-01 20:14:46 +08:00
LongYinan
ce729d1f3b
Merge pull request #488 from napi-rs/dependabot/npm_and_yarn/typescript-eslint/parser-4.15.2
...
build(deps-dev): bump @typescript-eslint/parser from 4.15.1 to 4.15.2
2021-03-01 20:14:24 +08:00
dependabot[bot]
4031908b58
build(deps-dev): bump @typescript-eslint/parser from 4.15.1 to 4.15.2
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.15.1 to 4.15.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.15.2/packages/parser )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 11:31:32 +00:00