Socket
Socket
Sign inDemoInstall

prosemirror-transform

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-transform - npm Package Compare versions

Comparing version 0.22.1 to 0.22.2

2

dist/structure.js

@@ -181,3 +181,3 @@ var ref = require("prosemirror-model");

var rest = node.content.cutByIndex(index$1, node.childCount)
var after = (typesAfter && typesAfter[i + 1]) || node
var after = (typesAfter && typesAfter[i]) || node
if (after != node) { rest = rest.replaceChild(0, after.type.create(after.attrs)) }

@@ -184,0 +184,0 @@ if (!node.canReplace(index$1 + 1, node.childCount) || !after.type.validContent(rest, after.attrs))

{
"name": "prosemirror-transform",
"version": "0.22.1",
"version": "0.22.2",
"description": "ProseMirror document transformations",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -163,3 +163,3 @@ const {Slice, Fragment} = require("prosemirror-model")

let rest = node.content.cutByIndex(index, node.childCount)
let after = (typesAfter && typesAfter[i + 1]) || node
let after = (typesAfter && typesAfter[i]) || node
if (after != node) rest = rest.replaceChild(0, after.type.create(after.attrs))

@@ -166,0 +166,0 @@ if (!node.canReplace(index + 1, node.childCount) || !after.type.validContent(rest, after.attrs))

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