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
dependabot[bot]
3ed3330409
build(deps-dev): bump typescript from 4.1.5 to 4.2.2
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.1.5 to 4.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.5...v4.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 11:31:19 +00:00
dependabot[bot]
cc645d1c3c
build(deps-dev): bump eslint from 7.20.0 to 7.21.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.20.0 to 7.21.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.20.0...v7.21.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 11:31:16 +00:00
dependabot[bot]
246d87b460
build(deps-dev): bump husky from 5.1.0 to 5.1.2
...
Bumps [husky](https://github.com/typicode/husky ) from 5.1.0 to 5.1.2.
- [Release notes](https://github.com/typicode/husky/releases )
- [Commits](https://github.com/typicode/husky/compare/v5.1.0...v5.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 11:29:39 +00:00
LongYinan
a533958465
Merge pull request #486 from napi-rs/dependabot/npm_and_yarn/eslint-config-prettier-8.1.0
...
build(deps-dev): bump eslint-config-prettier from 8.0.0 to 8.1.0
2021-03-01 19:26:28 +08:00
LongYinan
93208fb6eb
Merge pull request #484 from napi-rs/dependabot/npm_and_yarn/octokit/rest-18.3.0
...
build(deps): bump @octokit/rest from 18.2.0 to 18.3.0
2021-03-01 19:26:13 +08:00
dependabot[bot]
bc1197ff79
build(deps-dev): bump eslint-config-prettier from 8.0.0 to 8.1.0
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.0.0...v8.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 05:44:07 +00:00
dependabot[bot]
4f89df4211
build(deps): bump @octokit/rest from 18.2.0 to 18.3.0
...
Bumps [@octokit/rest](https://github.com/octokit/rest.js ) from 18.2.0 to 18.3.0.
- [Release notes](https://github.com/octokit/rest.js/releases )
- [Commits](https://github.com/octokit/rest.js/compare/v18.2.0...v18.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 05:43:18 +00:00
LongYinan
49eaaf30e9
napi@1.2.0
2021-02-26 18:52:31 +08:00
LongYinan
673fa3b7bd
Merge pull request #481 from napi-rs/unwrap-from-ref
...
Unwrap from ref
2021-02-26 18:51:41 +08:00
LongYinan
071dcff9eb
feat(napi): add back clone trait to ThreadsafeFunction
2021-02-26 18:38:48 +08:00
LongYinan
e622d9693a
feat(napi): unwrap &'static value from Ref object
2021-02-25 22:17:21 +08:00
dependabot[bot]
c75967e911
build(deps-dev): bump @typescript-eslint/eslint-plugin ( #475 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.15.0 to 4.15.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.15.1/packages/eslint-plugin )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2021-02-22 16:02:35 +08:00
dependabot[bot]
7b4887b85e
build(deps-dev): bump eslint-config-prettier from 7.2.0 to 8.0.0
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 7.2.0 to 8.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v7.2.0...v8.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 16:01:40 +08:00
dependabot[bot]
75868ae7d8
build(deps-dev): bump @typescript-eslint/parser from 4.15.0 to 4.15.1
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.15.0 to 4.15.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.15.1/packages/parser )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 16:00:35 +08:00
dependabot[bot]
3d0f90bf49
build(deps-dev): bump husky from 5.0.9 to 5.1.0
...
Bumps [husky](https://github.com/typicode/husky ) from 5.0.9 to 5.1.0.
- [Release notes](https://github.com/typicode/husky/releases )
- [Commits](https://github.com/typicode/husky/compare/v5.0.9...v5.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 16:00:22 +08:00
dependabot[bot]
f49fbfddf8
build(deps-dev): bump @types/node from 14.14.28 to 14.14.31
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.28 to 14.14.31.
- [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-02-22 16:00:10 +08:00
dependabot[bot]
771814c936
build(deps): bump @octokit/rest from 18.1.1 to 18.2.0
...
Bumps [@octokit/rest](https://github.com/octokit/rest.js ) from 18.1.1 to 18.2.0.
- [Release notes](https://github.com/octokit/rest.js/releases )
- [Commits](https://github.com/octokit/rest.js/compare/v18.1.1...v18.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 15:59:54 +08:00
dependabot[bot]
d1766ca191
build(deps): bump lodash from 4.17.20 to 4.17.21
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 15:59:38 +08:00
LongYinan
ea4cefac48
ci: upgrade freebsd image
2021-02-22 15:59:08 +08:00
dependabot[bot]
498c5af4ec
build(deps-dev): bump @types/node from 14.14.25 to 14.14.28
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 14.14.25 to 14.14.28.
- [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-02-17 01:14:00 +08:00
dependabot[bot]
d2a3927394
build(deps-dev): bump @typescript-eslint/parser from 4.14.2 to 4.15.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.14.2 to 4.15.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.15.0/packages/parser )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-17 01:13:40 +08:00
dependabot[bot]
bc43d8c3c2
build(deps): bump @octokit/rest from 18.1.0 to 18.1.1
...
Bumps [@octokit/rest](https://github.com/octokit/rest.js ) from 18.1.0 to 18.1.1.
- [Release notes](https://github.com/octokit/rest.js/releases )
- [Commits](https://github.com/octokit/rest.js/compare/v18.1.0...v18.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-02-17 01:13:23 +08:00