New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-model

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-model - npm Package Versions

13
9

1.21.0

Diff

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.

marijn
published 1.19.3 •

Changelog

Source

1.19.3 (2023-07-13)

Bug fixes

Don't apply style parse rules for nodes that are skipped by other parse rules.

marijn
published 1.19.2 •

Changelog

Source

1.19.2 (2023-05-23)

Bug fixes

Allow parse rules with a clearMark directive to clear marks that have already been applied.

marijn
published 1.19.1 •

Changelog

Source

1.19.1 (2023-05-17)

Bug fixes

Fix the types of Fragment.desendants to include the index parameter to the callback. Add release note

Include CommonJS type declarations in the package to please new TypeScript resolution settings.

marijn
published 1.19.0 •

Changelog

Source

1.19.0 (2023-01-18)

New features

Parse rules for styles can now provide a clearMark property to remove pending marks (for example for font-style: normal).

marijn
published 1.18.3 •

Changelog

Source

1.18.3 (2022-11-18)

Bug fixes

Copy all properties from the input spec to Schema.spec.

marijn
published 1.18.2 •

Changelog

Source

1.18.2 (2022-11-14)

Bug fixes

Improve DOM parsing of nested block elements mixing block and inline children.

marijn
published 1.18.1 •

Changelog

Source

1.18.1 (2022-06-15)

Bug fixes

Upgrade to orderedmap 2.0.0 to avoid around a TypeScript compilation issue.

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