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 39.0.0 #1759

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 39.0.0.

Release notes

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

@​udecode/plate-core@​39.0.0

Patch Changes

  • #3597 by @​zbeyensuseOptions, useOption missing plugins now warn instead of erroring.

@​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.

39.0.0

Patch Changes

  • #3597 by @​zbeyensuseOptions, useOption missing plugins now warn instead of erroring.

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

... (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)

@dependabot dependabot bot requested a review from a team as a code owner October 1, 2024 13:48
@dependabot dependabot bot added dependabot dependencies Pull requests that update a dependency file labels Oct 1, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/udecode/plate-core-39.0.0 branch from 9ed0d46 to 59dc302 Compare October 4, 2024 11:43
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/udecode/plate-core-39.0.0 branch from 59dc302 to 620a71b Compare October 4, 2024 11:47
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/udecode/plate-core-39.0.0 branch from 620a71b to b0d996d Compare October 4, 2024 14:19
Bumps [@udecode/plate-core](https://github.com/udecode/plate/tree/HEAD/packages/core) from 36.5.9 to 39.0.0.
- [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@39.0.0/packages/core)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/master/udecode/plate-core-39.0.0 branch from b0d996d to bfdbd1f Compare October 7, 2024 11:49
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 14, 2024

Superseded by #1779.

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

Successfully merging this pull request may close these issues.

0 participants