Socket
Socket
Sign inDemoInstall

prosemirror-model

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-model - npm Package Versions

23
9

1.22.3

Diff

Changelog

Source

1.22.3 (2024-08-06)

Bug fixes

Fix some corner cases in the way the DOM parser tracks active marks.

marijn
published 1.22.2 •

Changelog

Source

1.22.2 (2024-07-18)

Bug fixes

Make attribute validation messages more informative.

marijn
published 1.22.1 •

Changelog

Source

1.22.1 (2024-07-14)

Bug fixes

Add code to DOMSerializer that rejects DOM output specs when they originate from attribute values, to protect against XSS attacks that use corrupt attribute input.

marijn
published 1.22.0 •

Changelog

Source

1.22.0 (2024-07-14)

New features

Attribute specs now support a validate property that can be used to provide a validation function for the attribute, to guard against corrupt JSON input.

marijn
published 1.21.3 •

Changelog

Source

1.21.3 (2024-06-26)

Bug fixes

Fix an issue where parse rules for CSS properties that were shorthands for a number of more detailed properties weren't matching properly.

marijn
published 1.21.2 •

Changelog

Source

1.21.2 (2024-06-25)

Bug fixes

Make sure resolved positions (and thus the document and schema hanging off them) don't get kept in the cache when their document can be garbage-collected.

marijn
published 1.21.1 •

Changelog

Source

1.21.1 (2024-06-03)

Bug fixes

Improve performance and accuracy of DOMParser style matching by using the DOM's own style object.

marijn
published 1.21.0 •

Changelog

Source

1.21.0 (2024-05-06)

New features

The new linebreakReplacement property on node specs makes it possible to configure a node type that setBlockType will convert to and from line breaks when appropriate.

marijn
published 1.20.0 •

Changelog

Source

1.20.0 (2024-04-08)

New features

The ParseRule type is now a union of TagParseRule and StyleParseRule, with more specific types being used when appropriate.

marijn
published 1.19.4 •

Changelog

Source

1.19.4 (2023-12-11)

Bug fixes

Make textBetween emit block separators for empty textblocks.

23
9
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc