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

prosemirror-schema-list

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-schema-list - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 1.0.3 (2019-04-19)
### Bug fixes
`sinkListItem` will no longer copy the attributes of the parent list when creating an inner list.
## 1.0.2 (2019-01-31)

@@ -2,0 +8,0 @@

2

dist/schema-list.js

@@ -237,3 +237,3 @@ 'use strict';

var inner = prosemirrorModel.Fragment.from(nestedBefore ? itemType.create() : null);
var slice = new prosemirrorModel.Slice(prosemirrorModel.Fragment.from(itemType.create(null, prosemirrorModel.Fragment.from(parent.type.create(parent.attrs, inner)))),
var slice = new prosemirrorModel.Slice(prosemirrorModel.Fragment.from(itemType.create(null, prosemirrorModel.Fragment.from(parent.type.create(null, inner)))),
nestedBefore ? 3 : 1, 0);

@@ -240,0 +240,0 @@ var before = range.start, after = range.end;

{
"name": "prosemirror-schema-list",
"version": "1.0.2",
"version": "1.0.3",
"description": "List-related schema elements and commands for ProseMirror",

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

@@ -222,3 +222,3 @@ import {findWrapping, liftTarget, canSplit, ReplaceAroundStep} from "prosemirror-transform"

let inner = Fragment.from(nestedBefore ? itemType.create() : null)
let slice = new Slice(Fragment.from(itemType.create(null, Fragment.from(parent.type.create(parent.attrs, inner)))),
let slice = new Slice(Fragment.from(itemType.create(null, Fragment.from(parent.type.create(null, inner)))),
nestedBefore ? 3 : 1, 0)

@@ -225,0 +225,0 @@ let before = range.start, after = range.end

Sorry, the diff of this file is not supported yet

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