mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 14:51:29 +03:00
e44a9483c2
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](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) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@marsidev%2freact-turnstile/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@marsidev%2freact-turnstile/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@marsidev%2freact-turnstile/0.7.2/1.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@marsidev%2freact-turnstile/0.7.2/1.0.0?slim=true)](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=--> |
||
---|---|---|
.. | ||
public | ||
src | ||
package.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
tsconfig.server.json |