cycleccc / wangEditor-next

wangEditor-next —— 基于 slate.js 的富文本编辑器。wangEditor-next —— rich text editor, based on slate.js.
https://cycleccc.github.io/docs/
MIT License
117 stars 17 forks source link

fix(deps): update dependency snabbdom to v3.6.2 #135

Open renovate[bot] opened 2 months ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
snabbdom 3.1.0 -> 3.6.2 age adoption passing confidence

Release Notes

snabbdom/snabbdom (snabbdom) ### [`v3.6.2`](https://redirect.github.com/snabbdom/snabbdom/blob/HEAD/CHANGELOG.md#362-2024-01-31) [Compare Source](https://redirect.github.com/snabbdom/snabbdom/compare/v3.6.1...v3.6.2) ##### Bug Fixes - detect opportunity to insert new vnode earlier for more efficient DOM manipulation ([#​1106](https://redirect.github.com/snabbdom/snabbdom/issues/1106)) ([4383817](https://redirect.github.com/snabbdom/snabbdom/commit/438381794e2e664d9eb4970f0a46618635cf75e1)), closes [#​1099](https://redirect.github.com/snabbdom/snabbdom/issues/1099) ### [`v3.6.1`](https://redirect.github.com/snabbdom/snabbdom/blob/HEAD/CHANGELOG.md#361-2024-01-30) [Compare Source](https://redirect.github.com/snabbdom/snabbdom/compare/v3.6.0...v3.6.1) ##### Bug Fixes - work around bug in ts-add-js-extension ([#​1105](https://redirect.github.com/snabbdom/snabbdom/issues/1105)) ([649c760](https://redirect.github.com/snabbdom/snabbdom/commit/649c760f79a00a1a484a6258d74b27adcfcf69d0)), closes [#​1087](https://redirect.github.com/snabbdom/snabbdom/issues/1087) [#​1102](https://redirect.github.com/snabbdom/snabbdom/issues/1102) ### [`v3.6.0`](https://redirect.github.com/snabbdom/snabbdom/blob/HEAD/CHANGELOG.md#360-2024-01-20) [Compare Source](https://redirect.github.com/snabbdom/snabbdom/compare/v3.5.1...v3.6.0) Note: Do to improvements to the JSX typings the minimum supported TypeScript version is now 4.1. ##### Bug Fixes - allow innerHTML to replace non-empty node, credit [@​tokichie](https://redirect.github.com/tokichie) ([#​1083](https://redirect.github.com/snabbdom/snabbdom/issues/1083)) ([c063d57](https://redirect.github.com/snabbdom/snabbdom/commit/c063d57f8878d38483973c19615d04aaf06dd77f)) - correct minimum node version to one that supports modules ([#​1085](https://redirect.github.com/snabbdom/snabbdom/issues/1085)) ([5fa4e84](https://redirect.github.com/snabbdom/snabbdom/commit/5fa4e8480814401a18b90dca8d48069eed32d097)) - detect window.requestAnimationFrame function before calling ([#​1082](https://redirect.github.com/snabbdom/snabbdom/issues/1082)) ([ba080f5](https://redirect.github.com/snabbdom/snabbdom/commit/ba080f5a4df1437fb6a208c871411c7420df5b4c)) - generate valid javascript modules in build ([#​1080](https://redirect.github.com/snabbdom/snabbdom/issues/1080)) ([7ec0e90](https://redirect.github.com/snabbdom/snabbdom/commit/7ec0e9018a5c1c239a9dab5b81854275f7bf7724)), closes [#​963](https://redirect.github.com/snabbdom/snabbdom/issues/963) - handle falsy values correctly in the dataset and style modules ([#​1094](https://redirect.github.com/snabbdom/snabbdom/issues/1094)) ([60c6041](https://redirect.github.com/snabbdom/snabbdom/commit/60c604159038680cdd70d9725d2a209746569bb8)), closes [#​303](https://redirect.github.com/snabbdom/snabbdom/issues/303) [#​1093](https://redirect.github.com/snabbdom/snabbdom/issues/1093) - minor typo in code comment ([#​1043](https://redirect.github.com/snabbdom/snabbdom/issues/1043)) ([794f6c2](https://redirect.github.com/snabbdom/snabbdom/commit/794f6c210d25d6b095154b559828292359e1d298)) - patch should apply textNodes ([#​1062](https://redirect.github.com/snabbdom/snabbdom/issues/1062)) ([404b753](https://redirect.github.com/snabbdom/snabbdom/commit/404b7536546b5a0ca117a38585caf2b5a58e82c5)), closes [#​971](https://redirect.github.com/snabbdom/snabbdom/issues/971) [#​972](https://redirect.github.com/snabbdom/snabbdom/issues/972) - patching namespaced attributes ([#​1049](https://redirect.github.com/snabbdom/snabbdom/issues/1049)) ([#​1061](https://redirect.github.com/snabbdom/snabbdom/issues/1061)) ([8c67f42](https://redirect.github.com/snabbdom/snabbdom/commit/8c67f426b678d8823945e967dd94aea82e0659e8)) ##### Features - optimise detection of data and svg names ([#​1058](https://redirect.github.com/snabbdom/snabbdom/issues/1058)) ([71813ff](https://redirect.github.com/snabbdom/snabbdom/commit/71813ff5583a01813296a4604326f47f7c2dfb15)) #### [3.5.1](https://redirect.github.com/snabbdom/snabbdom/compare/v3.5.0...v3.5.1) (2022-06-22) ##### Bug Fixes - datasets -> dataset ([#​1020](https://redirect.github.com/snabbdom/snabbdom/issues/1020)) ([c21d569](https://redirect.github.com/snabbdom/snabbdom/commit/c21d569333491afd4459344ac697b6dad5d1fa15)) - **fragment:** fixed patching fragment nodes ([#​1015](https://redirect.github.com/snabbdom/snabbdom/issues/1015)) ([230aa23](https://redirect.github.com/snabbdom/snabbdom/commit/230aa23a694726921c405c4b353e8cb6968483bb)) ### [`v3.5.1`](https://redirect.github.com/snabbdom/snabbdom/blob/HEAD/CHANGELOG.md#351-2022-06-22) [Compare Source](https://redirect.github.com/snabbdom/snabbdom/compare/v3.5.0...v3.5.1) ##### Bug Fixes - datasets -> dataset ([#​1020](https://redirect.github.com/snabbdom/snabbdom/issues/1020)) ([c21d569](https://redirect.github.com/snabbdom/snabbdom/commit/c21d569333491afd4459344ac697b6dad5d1fa15)) - **fragment:** fixed patching fragment nodes ([#​1015](https://redirect.github.com/snabbdom/snabbdom/issues/1015)) ([230aa23](https://redirect.github.com/snabbdom/snabbdom/commit/230aa23a694726921c405c4b353e8cb6968483bb)) ### [`v3.5.0`](https://redirect.github.com/snabbdom/snabbdom/blob/HEAD/CHANGELOG.md#350-2022-04-26) [Compare Source](https://redirect.github.com/snabbdom/snabbdom/compare/v3.4.0...v3.5.0) ##### Features - notify hooks and modules about textContent changes ([c230eb8](https://redirect.github.com/snabbdom/snabbdom/commit/c230eb8aded06781e57e0f7efdff0b87d989e462)) ### [`v3.4.0`](https://redirect.github.com/snabbdom/snabbdom/blob/HEAD/CHANGELOG.md#340-2022-03-20) [Compare Source](https://redirect.github.com/snabbdom/snabbdom/compare/v3.3.1...v3.4.0) ##### Bug Fixes - use array access instead of string.startsWith ([515bc97](https://redirect.github.com/snabbdom/snabbdom/commit/515bc97c27239521c516e403d975117ad268ba6b)) ##### Features - export `Options` type ([#​1005](https://redirect.github.com/snabbdom/snabbdom/issues/1005)) ([dca0b0c](https://redirect.github.com/snabbdom/snabbdom/commit/dca0b0c9af5ff514b26ca684c2c75b11733c2418)) - toVnode is support dataset ([#​1008](https://redirect.github.com/snabbdom/snabbdom/issues/1008)) ([47ef5c1](https://redirect.github.com/snabbdom/snabbdom/commit/47ef5c14e92c15fde7d018a94fa2c6dad2a1a342)), closes [#​976](https://redirect.github.com/snabbdom/snabbdom/issues/976)## [3.3.1](https://redirect.github.com/snabbdom/snabbdom/compare/v3.3.0...v3.3.1) (2022-01-18) ##### Bug Fixes - ensure SVG namespaces are added to nodes ([#​996](https://redirect.github.com/snabbdom/snabbdom/issues/996)) ([f89f085](https://redirect.github.com/snabbdom/snabbdom/commit/f89f085f558baf6a41b43ffa50c9b5b1b1c6b034)), closes [#​388](https://redirect.github.com/snabbdom/snabbdom/issues/388) [#​867](https://redirect.github.com/snabbdom/snabbdom/issues/867) ### [`v3.3.1`](https://redirect.github.com/snabbdom/snabbdom/releases/tag/v3.3.1): Release 3.3.1 [Compare Source](https://redirect.github.com/snabbdom/snabbdom/compare/v3.3.0...v3.3.1) ##### Bug Fixes - ensure SVG namespaces are added to nodes ([#​996](https://redirect.github.com/snabbdom/snabbdom/issues/996)) ([f89f085](https://redirect.github.com/snabbdom/snabbdom/commit/f89f085f558baf6a41b43ffa50c9b5b1b1c6b034)), closes [#​388](https://redirect.github.com/snabbdom/snabbdom/issues/388) [#​867](https://redirect.github.com/snabbdom/snabbdom/issues/867) ### [`v3.3.0`](https://redirect.github.com/snabbdom/snabbdom/blob/HEAD/CHANGELOG.md#330-2022-01-17) [Compare Source](https://redirect.github.com/snabbdom/snabbdom/compare/v3.2.0...v3.3.0) ##### Features - support JSX fragments ([#​974](https://redirect.github.com/snabbdom/snabbdom/issues/974)) ([50ff2db](https://redirect.github.com/snabbdom/snabbdom/commit/50ff2db40701380cd49b854ab27e475783b543a9)), closes [#​560](https://redirect.github.com/snabbdom/snabbdom/issues/560) ### [`v3.2.0`](https://redirect.github.com/snabbdom/snabbdom/blob/HEAD/CHANGELOG.md#320-2021-12-13) [Compare Source](https://redirect.github.com/snabbdom/snabbdom/compare/v3.1.0...v3.2.0) ##### Bug Fixes - assert that fragment functions are implemented ([df0f031](https://redirect.github.com/snabbdom/snabbdom/commit/df0f031255f3dafa6b30522fc5c2f3d8234ca5d6)) ##### Features - allow DocumentFragment as a container ([3505879](https://redirect.github.com/snabbdom/snabbdom/commit/35058798ae0aac46c0f4252a9c54497c44eff243)) - support DocumentFragment ([7e86386](https://redirect.github.com/snabbdom/snabbdom/commit/7e863862929bd2ed0b01a778a90e5458180ac925)), closes [#​560](https://redirect.github.com/snabbdom/snabbdom/issues/560)

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 is behind base branch, or you tick the rebase/retry checkbox.

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



This PR was generated by Mend Renovate. View the repository job log.

coderabbitai[bot] commented 2 months ago

[!IMPORTANT]

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit , please review it.` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (Invoked using PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. ### Other keywords and placeholders - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. - Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description. - Add `@coderabbitai` anywhere in the PR title to generate the title automatically. ### CodeRabbit Configuration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
cycleccc commented 1 month ago

snabbdom 3.6 使用 jsx 时类型与 react 有一定冲突,尝试全部切换 h 后 类型冲突解决,但是 snabbdom 高版本不再支持 cjs,这个需要再考虑一下。

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 6fcf48cc1fd89411ad7680cc5f6966ce49585c1d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR