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

prosemirror-schema-basic

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-schema-basic - npm Package Compare versions

Comparing version 0.18.0 to 0.19.0

32

dist/schema-basic.js

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

text: {
group: "inline",
toDOM: function toDOM(node) { return node.text }
group: "inline"
},

@@ -112,2 +111,5 @@

//
// link:: MarkSpec A link. Has `href` and `title` attributes.
// `title` defaults to the empty string.
//
// em:: MarkSpec An emphasis mark.

@@ -117,7 +119,16 @@ //

//
// link:: MarkSpec A link. Has `href` and `title` attributes.
// `title` defaults to the empty string.
//
// code:: MarkSpec Code font mark.
var marks = {
link: {
attrs: {
href: {},
title: {default: null}
},
inclusive: false,
parseDOM: [{tag: "a[href]", getAttrs: function getAttrs(dom) {
return {href: dom.getAttribute("href"), title: dom.getAttribute("title")}
}}],
toDOM: function toDOM(node) { return ["a", node.attrs] }
},
em: {

@@ -139,13 +150,2 @@ parseDOM: [{tag: "i"}, {tag: "em"},

link: {
attrs: {
href: {},
title: {default: null}
},
parseDOM: [{tag: "a[href]", getAttrs: function getAttrs(dom) {
return {href: dom.getAttribute("href"), title: dom.getAttribute("title")}
}}],
toDOM: function toDOM(node) { return ["a", node.attrs] }
},
code: {

@@ -152,0 +152,0 @@ parseDOM: [{tag: "code"}],

{
"name": "prosemirror-schema-basic",
"version": "0.18.0",
"version": "0.19.0",
"description": "Basic schema elements for ProseMirror",

@@ -19,3 +19,3 @@ "main": "dist/schema-basic.js",

"dependencies": {
"prosemirror-model": "^0.18.0"
"prosemirror-model": "^0.19.0"
},

@@ -22,0 +22,0 @@ "devDependencies": {

@@ -75,4 +75,3 @@ const {Schema} = require("prosemirror-model")

text: {
group: "inline",
toDOM(node) { return node.text }
group: "inline"
},

@@ -111,2 +110,5 @@

//
// link:: MarkSpec A link. Has `href` and `title` attributes.
// `title` defaults to the empty string.
//
// em:: MarkSpec An emphasis mark.

@@ -116,7 +118,16 @@ //

//
// link:: MarkSpec A link. Has `href` and `title` attributes.
// `title` defaults to the empty string.
//
// code:: MarkSpec Code font mark.
const marks = {
link: {
attrs: {
href: {},
title: {default: null}
},
inclusive: false,
parseDOM: [{tag: "a[href]", getAttrs(dom) {
return {href: dom.getAttribute("href"), title: dom.getAttribute("title")}
}}],
toDOM(node) { return ["a", node.attrs] }
},
em: {

@@ -138,13 +149,2 @@ parseDOM: [{tag: "i"}, {tag: "em"},

link: {
attrs: {
href: {},
title: {default: null}
},
parseDOM: [{tag: "a[href]", getAttrs(dom) {
return {href: dom.getAttribute("href"), title: dom.getAttribute("title")}
}}],
toDOM(node) { return ["a", node.attrs] }
},
code: {

@@ -151,0 +151,0 @@ parseDOM: [{tag: "code"}],

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