Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump @udecode/plate-core from 36.5.9 to 38.0.6 #1758

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2024

Bumps @udecode/plate-core from 36.5.9 to 38.0.6.

Release notes

Sourced from @​udecode/plate-core's releases.

@​udecode/plate-core@​38.0.6

Patch Changes

  • d30471cb19577e53c20944ab66eab2a7ef3b3ad2 by @​12joan – Mitigate XSS in element.attributes by requiring all attribute names to be allowlisted in the node.dangerouslyAllowAttributes plugin configuration option.

    Migration:

    For each plugin that needs to support passing DOM attributes using element.attributes, add the list of allowed attributes to the node.dangerouslyAllowAttributes option of the plugin.

    const ImagePlugin = createPlatePlugin({
      key: 'image',
      node: {
        isElement: true,
        isVoid: true,
        dangerouslyAllowAttributes: ['alt'],
      },
    });

    To modify existing plugins, use the extend method as follows:

    const MyImagePlugin = ImagePlugin.extend({
      node: {
        dangerouslyAllowAttributes: ['alt'],
      },
    });

    WARNING: Improper use of dangerouslyAllowAttributes WILL make your application vulnerable to cross-site scripting (XSS) or information exposure attacks. Ensure you carefully research the security implications of any attribute before adding it. For example, the src and href attributes will allow attackers to execute arbitrary code, and the style and background attributes will allow attackers to leak users' IP addresses.

Changelog

Sourced from @​udecode/plate-core's changelog.

38.0.6

Patch Changes

  • d30471cb19577e53c20944ab66eab2a7ef3b3ad2 by @​12joan – Mitigate XSS in element.attributes by requiring all attribute names to be allowlisted in the node.dangerouslyAllowAttributes plugin configuration option.

    Migration:

    For each plugin that needs to support passing DOM attributes using element.attributes, add the list of allowed attributes to the node.dangerouslyAllowAttributes option of the plugin.

    const ImagePlugin = createPlatePlugin({
      key: 'image',
      node: {
        isElement: true,
        isVoid: true,
        dangerouslyAllowAttributes: ['alt'],
      },
    });

    To modify existing plugins, use the extend method as follows:

    const MyImagePlugin = ImagePlugin.extend({
      node: {
        dangerouslyAllowAttributes: ['alt'],
      },
    });

    WARNING: Improper use of dangerouslyAllowAttributes WILL make your application vulnerable to cross-site scripting (XSS) or information exposure attacks. Ensure you carefully research the security implications of any attribute before adding it. For example, the src and href attributes will allow attackers to execute arbitrary code, and the style and background attributes will allow attackers to leak users' IP addresses.

38.0.4

38.0.3

38.0.2

Patch Changes

38.0.1

Patch Changes

  • #3526 by @​zbeyens
    • Rename all base plugins that have a React plugin counterpart to be prefixed with Base. This change improves clarity and distinguishes base implementations from potential React extensions. Use base plugins only for server-side environments or to extend your own DOM layer.
    • Import the following plugins from /react entry: AlignPlugin, CalloutPlugin, EquationPlugin, FontBackgroundColorPlugin, FontColorPlugin, FontFamilyPlugin, FontSizePlugin, FontWeightPlugin, InlineEquationPlugin, LineHeightPlugin, TextIndentPlugin, TocPlugin

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [@udecode/plate-core](https://github.com/udecode/plate/tree/HEAD/packages/core) from 36.5.9 to 38.0.6.
- [Release notes](https://github.com/udecode/plate/releases)
- [Changelog](https://github.com/udecode/plate/blob/main/packages/core/CHANGELOG.md)
- [Commits](https://github.com/udecode/plate/commits/@udecode/plate-core@38.0.6/packages/core)

---
updated-dependencies:
- dependency-name: "@udecode/plate-core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner October 1, 2024 13:46
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 1, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 4, 2024

Looks like @udecode/plate-core is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Oct 4, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/udecode/plate-core-38.0.6 branch October 4, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants