Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-transform

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-transform - npm Package Versions

13
8

1.7.0

Diff

Changelog

Source

1.7.0 (2022-08-16)

New features

The new AttrStep (and Transform.setNodeAttribute) can be used to set individual attributes on a node.

AddNodeMarkStep and RemoveNodeMarkStep can now be used to add and remove marks on individual nodes. Transform.addNodeMark/removeNodeMark provide an interface to these in transform objects.

marijn
published 1.6.0 •

Changelog

Source

1.6.0 (2022-06-01)

Bug fixes

Allow replace steps to be mapped through changes that delete content next to their start and end points, as long as no delete spans across those points.

New features

MapResult objects now provide information about whether the tokens before, after, and around the position were deleted.

marijn
published 1.5.0 •

Changelog

Source

1.5.0 (2022-05-30)

New features

Include TypeScript type declarations.

marijn
published 1.5.0-beta.1 •

marijn
published 1.4.2 •

Changelog

Source

1.4.2 (2022-04-05)

Bug fixes

Make replacements that span to the end of a textblock more consistent with those ending in the middle of the block.

marijn
published 1.4.1 •

Changelog

Source

1.4.1 (2022-03-31)

Bug fixes

replaceRange will now close multiple defining parent nodes when appropriate.

marijn
published 1.4.0 •

Changelog

Source

1.4.0 (2022-03-21)

New features

Node specs can now use the definingForContent and definingAsContext properties to opt in to specific parts of the existing defining behavior.

marijn
published 1.3.4 •

Changelog

Source

1.3.4 (2022-02-04)

Bug fixes

Make sure that constructing an empty StepMap returns StepMap.empty.

marijn
published 1.3.3 •

Changelog

Source

1.3.3 (2021-09-29)

Bug fixes

Fix an inconsistency in deleteRange where it would delete the parent node for ranges covering all textblocks in a given parent.

marijn
published 1.3.2 •

Changelog

Source

1.3.2 (2021-04-06)

Bug fixes

Fix a regression in dropPoint that caused it to dereference undefined in some circumstances.

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