Commit graph

1722 commits

Author SHA1 Message Date
LongYinan
1799aa94e3
fix(cli): swap -lgcc_s with -lunwind 2022-01-17 14:05:52 +08:00
Tim Fish
cdcab888ee
fix(napi-derive): correctly escape backslash in type definition doc comments (#1034) 2022-01-17 12:38:16 +08:00
dependabot[bot]
b7ac6ee937
build(deps): bump shelljs from 0.8.4 to 0.8.5 2022-01-15 07:10:36 +00:00
LongYinan
cbbccf2084
Merge pull request #1029 from napi-rs/fix-clippy
fix(napi): clippy error on 1.58
2022-01-14 11:48:25 +08:00
LongYinan
6b01785d03
Merge pull request #1020 from dceddia/threadsafe-function-cleanup
fix(napi): abort threadsafe functions upon env cleanup
2022-01-14 11:48:11 +08:00
LongYinan
70bd987251
Merge pull request #1027 from messense/fix-rustflags
fix(cli): properly handle RUSTFLAGS env var
2022-01-14 11:27:12 +08:00
LongYinan
41bcd9c50b
fix(napi): clippy error on 1.58 2022-01-14 11:21:03 +08:00
Dave Ceddia
1006b3a489 fix(napi): abort threadsafe functions upon env cleanup
This fixes a deadlock/panic in Electron when the window is reloaded.
2022-01-13 10:06:50 -05:00
messense
d84cbe88bd fix(cli): properly handle RUSTFLAGS env var 2022-01-13 21:36:59 +08:00
LongYinan
110f2196a4
chore: publish
- @napi-rs/cli@2.4.0
2022-01-13 18:21:44 +08:00
LongYinan
95d49f8cf4
fix(cli): zig abi should pass to linker 2022-01-13 18:21:20 +08:00
LongYinan
5d9a444e40
Merge pull request #1026 from messense/strip
feat(cli): add `--strip` option for removing symbols
2022-01-13 17:40:54 +08:00
messense
887bdb9d29 feat(cli): add --strip option for removing symbols 2022-01-13 17:00:04 +08:00
LongYinan
1768cf69ee
Release independent packages
napi@2.0.3
2022-01-13 14:52:19 +08:00
LongYinan
efcd6ba8a5
chore: publish
- @napi-rs/cli@2.3.1
2022-01-13 14:44:49 +08:00
LongYinan
ee3e68adec
Merge pull request #1025 from napi-rs/support-zig-abi-flag
fix(cli): missing zig-abi-suffix support
2022-01-13 14:39:41 +08:00
LongYinan
8a4870c8dd
Merge pull request #1024 from messense/forbid-unsafe_op_in_unsafe_fn
chore: forbid unsafe_op_in_unsafe_fn
2022-01-13 14:30:53 +08:00
LongYinan
472ac10c67
fix(cli): missing zig-abi-suffix support 2022-01-13 14:26:29 +08:00
messense
43fb8edecd chore: forbid unsafe_op_in_unsafe_fn 2022-01-13 11:26:28 +08:00
LongYinan
20df7be13a
Merge pull request #1023 from napi-rs/fix/get-str-from-object
fix(napi): invalid memory address in FromNapiValue for &str
2022-01-12 17:22:20 +08:00
LongYinan
ee713bce70
ci: fix FreeBSD 2022-01-12 17:08:47 +08:00
LongYinan
2de500f33b
fix(napi): invalid memory address in FromNapiValue for &str 2022-01-12 17:08:47 +08:00
LongYinan
645a2e7885
Release independent packages
napi-derive@2.0.7
2022-01-07 14:11:47 +08:00
yiliuliuyi
8aee7928b9
Merge pull request #1015 from napi-rs/fix/bigint
fix(napi-derive): BigInt in TypeScript should be bigint
2022-01-06 22:49:59 +08:00
LongYinan
b53e0e1e95
fix(napi-derive): BigInt in TypeScript should be bigint 2022-01-06 22:33:34 +08:00
LongYinan
5ef1d11e27
chore: publish
- @napi-rs/cli@2.3.0
2022-01-06 17:41:42 +08:00
LongYinan
581e8cf9f5
Release independent packages
napi-derive@2.0.6
2022-01-06 17:41:02 +08:00
LongYinan
0f5ebc4699
chore(napi-derive-backend): update convert_case 2022-01-06 17:40:25 +08:00
LongYinan
349f747ce4
Merge pull request #1012 from napi-rs/update-convert-case
chore(napi-derive): update convert_case
2022-01-06 17:31:50 +08:00
LongYinan
15d2b95687
chore(napi-derive): update convert_case 2022-01-06 16:54:43 +08:00
LongYinan
d2f3a96660
Merge pull request #1011 from napi-rs/fix/either-should-receive-class
fix(napi-derive): implement missing trait for JsClass reference
2022-01-06 16:36:59 +08:00
LongYinan
b6d126db53
fix(napi-derive): implement missing trait for JsClass reference 2022-01-06 16:19:43 +08:00
LongYinan
b47ccbd194
Merge pull request #1010 from napi-rs/fix/throw-mismatch-object
fix(napi-derive): should throw rather than panic if object mismatched
2022-01-06 16:15:33 +08:00
LongYinan
3565fccdb6
fix(napi-derive): should throw rather than panic if object mismatched 2022-01-06 15:57:41 +08:00
LongYinan
b39802a2ca
Merge pull request #1009 from napi-rs/zig-docker-image
ci: add debian-zig docker image
2022-01-06 15:12:13 +08:00
LongYinan
f55ea6a193
ci: add debian-zig docker image 2022-01-06 14:55:06 +08:00
LongYinan
3f1f1cae82
Merge pull request #1006 from napi-rs/zig-cross-enhance
Zig cross enhance
2022-01-06 13:12:23 +08:00
LongYinan
0db94ccd66
feat(cli): support macOS with --zig flag 2022-01-06 12:53:45 +08:00
LongYinan
de140c63d9
Merge pull request #1004 from napi-rs/disable-worker-threads
test: disable ava worker_threads
2022-01-04 12:45:02 +08:00
LongYinan
5596cf232f
test: disable ava worker_threads 2022-01-04 11:45:00 +08:00
LongYinan
7040a2930f
chore: remove node10 test 2022-01-04 11:14:55 +08:00
LongYinan
04012915bb
Release independent packages
napi-derive@2.0.5
2022-01-04 11:06:38 +08:00
LongYinan
64a28eac87
test: update snapshots format for ava@4 2022-01-04 11:04:45 +08:00
LongYinan
d86e2a68ed
chore: publish
- @napi-rs/cli@2.2.1
2022-01-04 10:59:51 +08:00
LongYinan
157a7f9c2c
Merge pull request #990 from napi-rs/avoid-lld-not-existed
fix(cli): handle lld not found
2022-01-04 10:54:23 +08:00
dependabot[bot]
08f86d99b1
build(deps-dev): bump esbuild from 0.14.8 to 0.14.10 2022-01-03 22:52:40 +00:00
dependabot[bot]
dec37dd252
build(deps-dev): bump @rollup/plugin-replace from 3.0.0 to 3.0.1 2022-01-03 22:52:24 +00:00
dependabot[bot]
4d7da028dc
build(deps-dev): bump ava from 3.15.0 to 4.0.0 2022-01-03 22:52:10 +00:00
dependabot[bot]
547147e921
build(deps-dev): bump @typescript-eslint/parser from 5.8.1 to 5.9.0 2022-01-03 22:31:37 +00:00
dependabot[bot]
029f829bb2
build(deps-dev): bump lint-staged from 12.1.4 to 12.1.5 2022-01-03 22:16:18 +00:00