Files
AFFiNE-Mirror/packages/backend/native/package.json
renovate b6faf70e4d chore: bump up tinybench version to v4 (#11340)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tinybench](https://redirect.github.com/tinylibs/tinybench) | [`^3.0.7` -> `^4.0.0`](https://renovatebot.com/diffs/npm/tinybench/3.1.1/4.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/tinybench/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tinybench/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tinybench/3.1.1/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tinybench/3.1.1/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>tinylibs/tinybench (tinybench)</summary>

### [`v4.0.1`](https://redirect.github.com/tinylibs/tinybench/releases/tag/v4.0.1)

[Compare Source](https://redirect.github.com/tinylibs/tinybench/compare/v4.0.0...v4.0.1)

#####    🐞 Bug Fixes

-   Export newly added FnHook type definition  -  by [@&#8203;jerome-benoit](https://redirect.github.com/jerome-benoit) [<samp>(802ff)</samp>](https://redirect.github.com/tinylibs/tinybench/commit/802ffac)

#####     [View changes on GitHub](https://redirect.github.com/tinylibs/tinybench/compare/v4.0.0...v4.0.1)

### [`v4.0.0`](https://redirect.github.com/tinylibs/tinybench/releases/tag/v4.0.0)

[Compare Source](https://redirect.github.com/tinylibs/tinybench/compare/v3.1.1...v4.0.0)

#####    🚨 Breaking Changes

-   Esm-only  -  by [@&#8203;43081j](https://redirect.github.com/43081j) and [@&#8203;jerome-benoit](https://redirect.github.com/jerome-benoit) in [https://github.com/tinylibs/tinybench/issues/253](https://redirect.github.com/tinylibs/tinybench/issues/253) [<samp>(63e90)</samp>](https://redirect.github.com/tinylibs/tinybench/commit/63e90d8)
-   Change setup/teardown hook signature by making `task` and `mode` arguments optional

#####    🚀 Features

-   Add mode to fn hooks  -  by [@&#8203;crimx](https://redirect.github.com/crimx) in [https://github.com/tinylibs/tinybench/issues/259](https://redirect.github.com/tinylibs/tinybench/issues/259) [<samp>(e13f0)</samp>](https://redirect.github.com/tinylibs/tinybench/commit/e13f07a)

#####     [View changes on GitHub](https://redirect.github.com/tinylibs/tinybench/compare/v3.1.1...v4.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->
2025-04-01 05:09:20 +00:00

43 lines
996 B
JSON

{
"name": "@affine/server-native",
"version": "0.20.0",
"engines": {
"node": ">= 10.16.0 < 11 || >= 11.8.0"
},
"type": "module",
"main": "./index.js",
"module": "./index.js",
"types": "index.d.ts",
"exports": {
".": {
"require": "./server-native.node",
"import": "./index.js",
"types": "./index.d.ts"
}
},
"napi": {
"binaryName": "server-native",
"targets": [
"aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"aarch64-pc-windows-msvc",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu"
]
},
"scripts": {
"test": "node --test ./__tests__/**/*.spec.js",
"bench": "node ./benchmark/index.js",
"build": "napi build --release --strip --no-const-enum",
"build:debug": "napi build"
},
"devDependencies": {
"@napi-rs/cli": "3.0.0-alpha.76",
"lib0": "^0.2.99",
"tiktoken": "^1.0.17",
"tinybench": "^4.0.0",
"yjs": "^13.6.21"
}
}