Commit graph

2144 commits

Author SHA1 Message Date
LongYinan
6bf34eb091
chore: publish
- @napi-rs/cli@2.14.4
2023-01-20 21:35:16 +08:00
LongYinan
2f527938b2
fix(napi): build error with zig@0.10.1 2023-01-20 21:31:46 +08:00
LongYinan
c51d657224
Release independent packages
- napi@2.10.9
- napi-sys@2.2.3
2023-01-19 17:30:12 +08:00
LongYinan
fda0aa0eec
fix(napi): fallback to copy buffer if zero copy is not allowed (#1445) 2023-01-19 17:26:59 +08:00
LongYinan
bdbdbccb56
chore: zig 0.10.1 2023-01-19 13:31:02 +08:00
LongYinan
62b16d6a89
chore: upgrade npm dependencies (#1443) 2023-01-19 00:32:52 +08:00
LongYinan
0848746534
Release independent packages
napi@2.10.8
2023-01-18 11:21:22 +08:00
LongYinan
6739ddda20
fix(napi): remove useless aquire while creating ThreadsafeFunction (#1442) 2023-01-18 11:20:47 +08:00
LongYinan
3db49adcdc
Release independent packages
napi@2.10.7
2023-01-17 00:06:43 +08:00
LongYinan
46f08ee6dd
fix(napi): missing From implementation for Bigint (#1440) 2023-01-17 00:05:19 +08:00
LongYinan
f14799f0b7
Release independent packages
napi-derive@2.9.5
2023-01-14 18:30:59 +08:00
Hana
78b6e1574a
fix(napi-derive): fix union type generation for ts function notation (#1439)
* fix(backend): fix union type generation for ts function notation

* chore: update snapshot

* fix: naming
2023-01-14 18:27:46 +08:00
LongYinan
c61b20234e
chore: publish
- @napi-rs/cli@2.14.3
2023-01-13 17:06:20 +08:00
LongYinan
be805b684d
Release independent packages
napi-derive@2.9.4
2023-01-13 16:57:47 +08:00
Hana
976acc773e
fix(napi-derive): remove ts type on field attrs (#1436) 2023-01-12 13:32:59 +08:00
Luke Deen Taylor
84921fc0a3
fix(cli): cleanup zig behaviors (#1432) 2023-01-11 22:04:23 +08:00
LongYinan
38390dbef9
Release independent packages
napi@2.10.6
2023-01-11 22:02:19 +08:00
HeYunfei
d06bd23351
fix(napi): should correctly return while dropping Buffer (#1434) 2023-01-11 20:09:39 +08:00
LongYinan
dc3a4c9f25
feat(napi): refactor ThreadsafeFunction to allow get return value of it (#1427) 2023-01-11 18:54:45 +08:00
LongYinan
5492a0b9e9
fix(napi): delete reference should be after global custom gc (#1433) 2023-01-11 17:31:03 +08:00
LongYinan
097c5d63db
chore: publish
- @napi-rs/cli@2.14.2
2023-01-10 13:51:04 +08:00
overlookmotel
cc53807fe2
fix(cli): CARGO env var (#1426) 2023-01-10 12:30:49 +08:00
LongYinan
3d3fa533d9
Release independent packages
napi@2.10.5
2023-01-09 17:21:54 +08:00
LongYinan
ad3ac5abc7
fix(napi): array buffer drop notify never be called in cloned buffer (#1424) 2023-01-09 16:58:26 +08:00
LongYinan
5ab4b818f5
test(napi): remove outdated assersion (#1423) 2023-01-09 16:04:18 +08:00
overlookmotel
ce2a29fca7
fix(napi): arraybuffer memory leak (#1420) 2023-01-09 14:47:36 +08:00
dependabot[bot]
44eb4c6341
build(deps): bump json5 from 1.0.1 to 1.0.2 (#1418)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 22:07:44 +08:00
LongYinan
83e157e101
chore: publish
- @napi-rs/cli@2.14.1
2023-01-03 21:02:49 +08:00
LongYinan
895e4caf95
fix(cli): android cmake build 2023-01-03 21:02:13 +08:00
LongYinan
abc4566bbb
chore(cli): update CI template (#1416) 2023-01-03 14:58:33 +08:00
Jarod Brennfleck
c58972ee0a
fix(cli): quote toml path (#1410)
Fixes issue when tomlPath has a space in it
2022-12-29 16:24:28 +08:00
LongYinan
76a16be0eb
Release independent packages
napi@2.10.4
2022-12-29 16:00:09 +08:00
LongYinan
75af3d4253
Merge pull request #1414 from napi-rs/delete-reference
Delete reference
2022-12-29 15:58:40 +08:00
LongYinan
877d631d99
fix(napi): only delete reference in custom gc 2022-12-29 14:48:00 +08:00
LongYinan
d2a492a2d0
fix(napi): require higher version of once_cell 2022-12-29 14:27:33 +08:00
Xiaopeng Li
ce4c28412a
fix(napi): promise leak (#1403)
Co-authored-by: Xiaopeng Li <lixiaopeng.jetspark@bytedance.com>
2022-12-29 00:15:55 +08:00
LongYinan
a131c8aa40
Merge pull request #1413 from SevInf/feat/future-leak-repro
test: Memory leak reproduction for futures
2022-12-28 22:38:03 +08:00
LongYinan
b7ba068853
test: fix memory test assertion 2022-12-28 22:28:47 +08:00
Sergey Tatarintsev
81498ecbea
test: Memory leak reproduction for futures 2022-12-28 21:19:01 +08:00
LongYinan
1e8d20a559
chore: publish
- @napi-rs/cli@2.14.0
2022-12-25 20:28:31 +08:00
LongYinan
bc41c9778f
feat(cli): add --zig-link-only option (#1400) 2022-12-19 23:05:18 +08:00
LongYinan
1bcb3a3628
Release independent packages
napi@2.10.3
2022-12-19 19:49:11 +08:00
LongYinan
ef5dffca80
fix(napi): add back custom gc for Send Buffer (#1399) 2022-12-19 19:11:53 +08:00
LongYinan
e64f1b6b5b
Merge pull request #1397 from skirsdeda/darwin-universal
Darwin universal architecture
2022-12-19 17:52:03 +08:00
Tadas Dailyda
870552e0ee cli: fix ci-template typo 2022-12-19 17:40:43 +08:00
Tadas Dailyda
cf68288232 cli: universal support for CI template 2022-12-19 17:40:43 +08:00
Tadas Dailyda
4832e932ce cli: 'artifacts' command small fix 2022-12-19 17:40:43 +08:00
Tadas Dailyda
fed35841e0 cli: 'artifacts' command update to deal with universal builds 2022-12-19 17:40:43 +08:00
Tadas Dailyda
cfd8d3dc50 cli: add 'universal' command 2022-12-19 17:40:43 +08:00
Tadas Dailyda
2afdfe7aee cli: darwin universal support in js-binding-template.ts 2022-12-19 17:40:43 +08:00