mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: bump up @marsidev/react-turnstile version to v1 (#7940)
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@marsidev/react-turnstile](https://togithub.com/marsidev/react-turnstile) | [`^0.7.0` -> `^1.0.0`](https://renovatebot.com/diffs/npm/@marsidev%2freact-turnstile/0.7.2/1.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>marsidev/react-turnstile (@​marsidev/react-turnstile)</summary> ### [`v1.0.0`](https://togithub.com/marsidev/react-turnstile/releases/tag/v1.0.0) [Compare Source](https://togithub.com/marsidev/react-turnstile/compare/v0.7.2...v1.0.0) ##### 🚨 Breaking Changes - Now we ship ESM-only code, this will decrease the bundle size significantly. If you are a CommonJS user, I suggest you to keep using the version `0.7.2` or upgrade your project to ESM. - Removed "auto" widget size due to is not even a valid size for Cloudflare Turnstile. We have been sending `undefined` when the size was "auto", so if you were using this size, then you can simply remove it. - Peer dependencies for `react` and `react-dom` have been updated to 17.x and above. ##### 🚀 Features - Added callback `onTimeout` - Added render options `refreshTimeout` and `feedbackEnabled` (Closes [#​82](https://togithub.com/marsidev/react-turnstile/issues/82)) - Added new "flexible" widget size (Closes [#​82](https://togithub.com/marsidev/react-turnstile/issues/82)) ##### 🐛 Fixes - Updated "compact" widget size to 150x140 (Closes [#​85](https://togithub.com/marsidev/react-turnstile/issues/85)) ##### 🛠 Misc ##### Build - We migrated from [unbuild](https://togithub.com/unjs/unbuild) to [tsup](https://togithub.com/egoist/tsup) - The generated build is now minified, this will decrease the bundle size significantly. ##### TypeScript - Improved type definitions. Now we expose these types: `AppearanceMode`, `ExecutionMode`, `FailureRetryMode`, `RefreshExpiredMode`, `RefreshTimeoutMode`, `WidgetSize`. Inspired by [@​types/cloudflare-turnstile](https://www.npmjs.com/package/@​types/cloudflare-turnstile) ##### Other - Updated dependencies - Updated docs - Added issue templates and policies ##### [View changes on GitHub](https://togithub.com/marsidev/react-turnstile/compare/v0.7.2...v1.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://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
This commit is contained in:
@@ -33,7 +33,7 @@
|
|||||||
"@emotion/styled": "^11.11.5",
|
"@emotion/styled": "^11.11.5",
|
||||||
"@floating-ui/dom": "^1.6.5",
|
"@floating-ui/dom": "^1.6.5",
|
||||||
"@juggle/resize-observer": "^3.4.0",
|
"@juggle/resize-observer": "^3.4.0",
|
||||||
"@marsidev/react-turnstile": "^0.7.0",
|
"@marsidev/react-turnstile": "^1.0.0",
|
||||||
"@radix-ui/react-collapsible": "^1.0.3",
|
"@radix-ui/react-collapsible": "^1.0.3",
|
||||||
"@radix-ui/react-dialog": "^1.0.5",
|
"@radix-ui/react-dialog": "^1.0.5",
|
||||||
"@radix-ui/react-popover": "^1.0.7",
|
"@radix-ui/react-popover": "^1.0.7",
|
||||||
|
|||||||
14
yarn.lock
14
yarn.lock
@@ -407,7 +407,7 @@ __metadata:
|
|||||||
"@emotion/styled": "npm:^11.11.5"
|
"@emotion/styled": "npm:^11.11.5"
|
||||||
"@floating-ui/dom": "npm:^1.6.5"
|
"@floating-ui/dom": "npm:^1.6.5"
|
||||||
"@juggle/resize-observer": "npm:^3.4.0"
|
"@juggle/resize-observer": "npm:^3.4.0"
|
||||||
"@marsidev/react-turnstile": "npm:^0.7.0"
|
"@marsidev/react-turnstile": "npm:^1.0.0"
|
||||||
"@perfsee/webpack": "npm:^1.12.2"
|
"@perfsee/webpack": "npm:^1.12.2"
|
||||||
"@pmmmwh/react-refresh-webpack-plugin": "npm:^0.5.11"
|
"@pmmmwh/react-refresh-webpack-plugin": "npm:^0.5.11"
|
||||||
"@radix-ui/react-collapsible": "npm:^1.0.3"
|
"@radix-ui/react-collapsible": "npm:^1.0.3"
|
||||||
@@ -6933,13 +6933,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@marsidev/react-turnstile@npm:^0.7.0":
|
"@marsidev/react-turnstile@npm:^1.0.0":
|
||||||
version: 0.7.2
|
version: 1.0.0
|
||||||
resolution: "@marsidev/react-turnstile@npm:0.7.2"
|
resolution: "@marsidev/react-turnstile@npm:1.0.0"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
react: ">=16.8.0"
|
react: ^17.0.2 || ^18.0.0
|
||||||
react-dom: ">=16.8.0"
|
react-dom: ^17.0.2 || ^18.0.0
|
||||||
checksum: 10/70683701f8fcb9fc72743eeaa77c6b6c522089e3ab616d2e368e17ed7769ac075d633ae1221b1858a632a34841cfce78b8a9532bba5bbcf873a6236d6d99669d
|
checksum: 10/0d99dae7e495891d92d630526fbfa9ebbaa2ad6f9ae2f39d8a81b1b23fb1b8c68f2d249d26f7670001c1a89f70a9a053c9efde2a08902cc4d3c6e882b4a04590
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user