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

[Snyk] Upgrade lexical from 0.20.2 to 0.21.0 #1058

Closed

Conversation

tristanrobert
Copy link
Contributor

snyk-top-banner

Snyk has created this PR to upgrade lexical from 0.20.2 to 0.21.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 2 versions ahead of your current version.

  • The recommended version was released 25 days ago.

Release notes
Package name: lexical
  • 0.21.0 - 2024-12-02

    Breaking Changes

    • 🆕 Deprecate $nodesOfType function
      #6855

    • 🆕 Feature: Scrollable tables with experimental getDOMSlot API
      #6759

    • ✅ Fix get table-cell background selection color from a class
      #6658
      Example change would be #6892

    Highlights

    Highlights since v0.20.0

    Core editor:

    • 🆕 skipInitialization defaults to false for registerMutationListener
      #6857

    • 🆕 Deprecate $nodesOfType function
      #6855

    • ✅ Fix backspace bug when deleting nodes with canInsertTextAfter set to false
      #6268

    • 🆕 Add missing flow types for utils
      #6841

    • ✅ Fix: Add feature detection to calculateZoomLevel
      #6864

    • ✅ Fix: Allow setEditorState to work correctly inside of an update (Fixes Autocomplete plugin)
      #6876

    React:

    • ✅ Fix: Prevent initial value fn to be called on rerender
      #6835

    • 🆕 ContentEditable Props type rename to ContentEditableProps
      #6837

    Link:

    • 🆕 Add missing flow types
      #6833

    Table:

    • 🆕 Feature: Scrollable tables with experimental getDOMSlot API
      #6759
    • ✅ Fix down arrow key handling in TableObserver
      #6839
    • ✅ Fix Resolve table selection issue when the mouse crosses over a portal
      #6834
    • ✅ Fix get table-cell background selection color from a class
      #6658
    • ✅ Fix left arrow key handling for table selection
      #6875
    • ✅ Fix table tab navigation
      #6880
    • ✅ Fix scrollable table exportDOM
      #6884

    i8n:

    • ✅ Fix: workaround for Korean IME issue on iOS
      #6819

    A11y:

    • ✅ Fix: Aria attributes for ContentEditable are ignored
      #6814

    Mention:

    • 🆕 Mention nodes are no longer spellchecked
      #6788

    List:

    • ✅ Fix: Handle appending inline element nodes in ListNode.append
      #6791

    Mark:

    • ✅ Fix: Don’t deep copy mark node ids in clone to prevent redundant change detection in syncPropertiesFromYjs
      #6810

    Selection:

    • 🆕 New plugin to retain selection: SelectionAlwaysOnDisplay plugin
      #6872

    • ✅ Fix: positionNodeOnRange fixes
      #6873

    What's Changed

    • v0.20.0 by @ etrepum in #6809
    • [lexical-mark] Bug Fix: Stop MarkNode __ids array deep copy in clone by @ ebads67 in #6810
    • [lexical-list] Bug Fix: Handle appending inline element nodes in ListNode.append by @ amanharwara in #6791
    • Mention nodes shouldn't be spellcheck'd :) by @ sevki in #6788
    • Fix: Aria attributes for ContentEditable are ignored by @ vantage-ola in #6814
    • [lexical-rich-text][lexical-plain-text] workaround for Korean IME issue on iOS by @ 2wheeh in #6819
    • [lexical][lexical-table] Feature: Scrollable tables with experimental getDOMSlot API by @ etrepum in #6759
    • [lexical-examples] Chore: Add DOMExportOutputMap type to the exportMap by @ Kingscliq in #6827
    • Link flow types by @ zurfyx in #6833
    • Prevent initial value fn to be called on rerender by @ fantactuka in #6835
    • [lexical-table] Bug Fix: Fix down arrow key handling in TableObserver by @ etrepum in #6839
    • [lexical-link] Test: Removing link from node(children) by @ vantage-ola in #6817
    • [lexical-react] Fix(lexical-react): ContentEditable props type rename by @ ivaaaaann in #6837
    • [lexical-utils] Bug Fix: Add missing Flow type declarations by @ hadiham in #6841
    • Table Action Menu - fix UI issue with Merge Cells item by @ umaranis in #6830
    • [*] Chore: npm upgrade cross-spawn by @ potatowagon in #6848
    • [lexical-link] Test: Appending inline element nodes to ListNode by @ Shopiley in #6826
    • [Lexical] Bug Fix: backspace bug when deleting nodes with canInsertTextAfter set to false by @ dani-lp in #6268
    • Feature: Deprecate $nodesOfType function by @ Sachin-Mahato in #6855
    • [tests] npm upgrade cross-spawn by @ potatowagon in #6856
    • [Lexical] Chore: Update default skipInitialization to false for registerMutationListener by @ Shopiley in #6857
    • [lexical-table] Bug Fix: Resolve table selection issue when the mouse crosses over a portal by @ etrepum in #6834
    • [lexical-table] Bug Fix: get table-cell background selection color from a class by @ hamza221 in #6658
    • [lexical-selection] Bug Fix: Wrong selection type in $setBlocksType by @ lytion in #6867
    • Add Documentation for RootNode's semantic and use case by @ citruscai in #6869
    • [lexical-utils] Bug Fix: Add feature detection to calculateZoomLevel by @ etrepum in #6864
    • [lexical-playground] Bug Fix: autocomplete format before and after insertion by @ bedre7 in #6845
    • [lexical-playground] Bug Fix: Preserve the selection using the link editor from a table by @ etrepum in #6865
    • Allow passing params to run-all by @ zurfyx in #6874
    • Add SelectionAlwaysOnDisplay plugin by @ zurfyx in #6872
    • positionNodeOnRange fixes by @ zurfyx in #6873
    • [lexical-table] Bug Fix: Fix left arrow key handling for table selection by @ etrepum in #6875
    • [lexical-playground] Fix: Hidden comment button on narrow screens or vertical monitors by @ vantage-ola in #6871
    • [lexical-playground] Feature: Highlight special strings with format by @ citruscai in #6860
    • [lexical-table] Bug Fix: Fix table tab navigation by @ etrepum in #6880
    • [lexical-table] Bug Fix: Fix scrollable table exportDOM by @ etrepum in #6884
    • v0.20.1 by @ potatowagon in #6887
    • [lexical-playground] Fix CSS property by @ ivailop7 in #6886
    • [lexical][lexical-playground] Bug Fix: Allow setEditorState to work correctly inside of an update by @ etrepum in #6876
    • [lexical-website] Feature: Document the withKlass option for node replacement by @ Shopiley in #6890
    • v0.20.2 by @ potatowagon in #6891
    • Fix selected table colors by @ zurfyx in #6892
    • [lexical-table] Bug Fix: TableNode exportDOM fixes for partial table selection by @ etrepum in #6889

    New Contributors

    Full Changelog: v0.20.0...v0.21.0

  • 0.20.3-nightly.20241202.0 - 2024-12-02

    v0.20.3-nightly.20241202.0

  • 0.20.2 - 2024-12-01

    Highlights

    Highlights since v0.20.0

    Core editor:

    • 🆕 skipInitialization defaults to false for registerMutationListener
      #6857

    • 🆕 Deprecate $nodesOfType function
      #6855

    • ✅ Fix backspace bug when deleting nodes with canInsertTextAfter set to false
      #6268

    • 🆕 Add missing flow types for utils
      #6841

    • ✅ Fix: Add feature detection to calculateZoomLevel
      #6864

    • ✅ Fix: Allow setEditorState to work correctly inside of an update (Fixes Autocomplete plugin)
      #6876

    React:

    • ✅ Fix: Prevent initial value fn to be called on rerender
      #6835

    • 🆕 ContentEditable Props type rename to ContentEditableProps
      #6837

    Link:

    • 🆕 Add missing flow types
      #6833

    Table:

    • 🆕 Feature: Scrollable tables with experimental getDOMSlot API
      #6759
    • ✅ Fix down arrow key handling in TableObserver
      #6839
    • ✅ Fix Resolve table selection issue when the mouse crosses over a portal
      #6834
    • ✅ Fix get table-cell background selection color from a class
      #6658
    • ✅ Fix left arrow key handling for table selection
      #6875
    • ✅ Fix table tab navigation
      #6880
    • ✅ Fix scrollable table exportDOM
      #6884

    i8n:

    • ✅ Fix: workaround for Korean IME issue on iOS
      #6819

    A11y:

    • ✅ Fix: Aria attributes for ContentEditable are ignored
      #6814

    Mention:

    • 🆕 Mention nodes are no longer spellchecked
      #6788

    List:

    • ✅ Fix: Handle appending inline element nodes in ListNode.append
      #6791

    Mark:

    • ✅ Fix: Don’t deep copy mark node ids in clone to prevent redundant change detection in syncPropertiesFromYjs
      #6810

    Selection:

    • 🆕 New plugin to retain selection: SelectionAlwaysOnDisplay plugin
      #6872

    • ✅ Fix: positionNodeOnRange fixes
      #6873

    What's Changed

    • v0.20.0 by @ etrepum in #6809
    • [lexical-mark] Bug Fix: Stop MarkNode __ids array deep copy in clone by @ ebads67 in #6810
    • [lexical-list] Bug Fix: Handle appending inline element nodes in ListNode.append by @ amanharwara in #6791
    • Mention nodes shouldn't be spellcheck'd :) by @ sevki in #6788
    • Fix: Aria attributes for ContentEditable are ignored by @ vantage-ola in #6814
    • [lexical-rich-text][lexical-plain-text] workaround for Korean IME issue on iOS by @ 2wheeh in #6819
    • [lexical][lexical-table] Feature: Scrollable tables with experimental getDOMSlot API by @ etrepum in #6759
    • [lexical-examples] Chore: Add DOMExportOutputMap type to the exportMap by @ Kingscliq in #6827
    • Link flow types by @ zurfyx in #6833
    • Prevent initial value fn to be called on rerender by @ fantactuka in #6835
    • [lexical-table] Bug Fix: Fix down arrow key handling in TableObserver by @ etrepum in #6839
    • [lexical-link] Test: Removing link from node(children) by @ vantage-ola in

Snyk has created this PR to upgrade lexical from 0.20.2 to 0.21.0.

See this package in npm:
lexical

See this project in Snyk:
https://app.snyk.io/org/mtes-mct/project/16b503c1-eb95-4477-b196-19e44c293808?utm_source=github&utm_medium=referral&page=upgrade-pr
@Falinor Falinor closed this Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants