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

prosemirror-flat-list

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-flat-list - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

12

./dist/prosemirror-flat-list.js

@@ -1165,5 +1165,13 @@ // src/commands/dedent-list.ts

} else {
const beforeNode = $from.posAtIndex(i, depth);
const afterNode = $from.posAtIndex(i + 1, depth);
let nodeStart = beforeNode + 1;
let nodeEnd = afterNode - 1;
if (nodeStart > nodeEnd) {
;
[nodeStart, nodeEnd] = [nodeEnd, nodeStart];
}
const range2 = new NodeRange6(
tr.doc.resolve($from.posAtIndex(i, depth) + 1),
tr.doc.resolve($from.posAtIndex(i + 1, depth) - 1),
tr.doc.resolve(nodeStart),
tr.doc.resolve(nodeEnd),
depth

@@ -1170,0 +1178,0 @@ );

@@ -1165,5 +1165,13 @@ // src/commands/dedent-list.ts

} else {
const beforeNode = $from.posAtIndex(i, depth);
const afterNode = $from.posAtIndex(i + 1, depth);
let nodeStart = beforeNode + 1;
let nodeEnd = afterNode - 1;
if (nodeStart > nodeEnd) {
;
[nodeStart, nodeEnd] = [nodeEnd, nodeStart];
}
const range2 = new NodeRange6(
tr.doc.resolve($from.posAtIndex(i, depth) + 1),
tr.doc.resolve($from.posAtIndex(i + 1, depth) - 1),
tr.doc.resolve(nodeStart),
tr.doc.resolve(nodeEnd),
depth

@@ -1170,0 +1178,0 @@ );

41

package.json
{
"name": "prosemirror-flat-list",
"type": "module",
"version": "0.3.4",
"version": "0.3.5",
"description": "Powerful list support for ProseMirror",

@@ -42,19 +42,20 @@ "author": "ocavue <ocavue@gmail.com>",

"prosemirror-transform": "^1.7.1",
"prosemirror-view": "^1.30.1"
"prosemirror-view": "^1.30.2"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.34.4",
"@remirror/core": "^2.0.11",
"@remirror/extension-blockquote": "^2.0.12",
"@remirror/extension-heading": "^2.0.11",
"@remirror/pm": "^2.0.3",
"@remirror/preset-core": "^2.0.14",
"@remirror/core": "^2.0.12",
"@remirror/extension-blockquote": "^2.0.13",
"@remirror/extension-heading": "^2.0.12",
"@remirror/extension-horizontal-rule": "^2.0.12",
"@remirror/pm": "^2.0.4",
"@remirror/preset-core": "^2.0.15",
"@types/dedent": "^0.7.0",
"@types/node": "^18.14.6",
"@vitest/coverage-c8": "^0.29.2",
"@types/node": "^18.15.5",
"@vitest/coverage-c8": "^0.29.7",
"dedent": "^0.7.0",
"execa": "^7.0.0",
"jest-prosemirror": "^2.1.1",
"jest-remirror": "^2.1.3",
"jsdom": "^21.1.0",
"execa": "^7.1.1",
"jest-prosemirror": "^2.1.2",
"jest-remirror": "^2.1.4",
"jsdom": "^21.1.1",
"npm-run-all": "^4.1.5",

@@ -69,11 +70,13 @@ "postcss": "^8.4.21",

"remark-rehype": "^10.1.0",
"remirror": "^2.0.24",
"tsup": "^6.6.3",
"remirror": "^2.0.26",
"tsup": "^6.7.0",
"typescript": "^4.9.5",
"unified": "^10.1.2",
"vite": "^4.1.4",
"vitest": "^0.29.2"
"vite": "^4.2.1",
"vitest": "^0.29.7"
},
"typedoc": {
"entryPoint": "./src/index.ts"
"typedocOptions": {
"entryPoints": [
"src/index.ts"
]
},

@@ -80,0 +83,0 @@ "scripts": {

@@ -7,4 +7,4 @@ # prosemirror-flat-list

## [API Reference](https://prosemirror-flat-list.netlify.app/docs/modules/prosemirror_flat_list)
## [API Reference](https://prosemirror-flat-list.netlify.app/docs/prosemirror_flat_list)
## [Changelog](https://github.com/ocavue/prosemirror-flat-list/blob/master/packages/core/CHANGELOG.md)

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