You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

y-prosemirror

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.0.5

6

dist/y-prosemirror.js

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

}
node = schema.node(el.nodeName.toLowerCase(), attrs, children);
node = schema.node(el.nodeName, attrs, children);
} catch (e) {

@@ -658,3 +658,3 @@ // an error occured while creating the node. This is probably a result of a concurrent action.

const updateYFragment = (y, yDomFragment, pContent, mapping) => {
if (yDomFragment instanceof Y.XmlElement && yDomFragment.nodeName.toLowerCase() !== pContent.type.name) {
if (yDomFragment instanceof Y.XmlElement && yDomFragment.nodeName !== pContent.type.name) {
throw new Error('node name mismatch!')

@@ -793,3 +793,3 @@ }

*/
const matchNodeName = (yElement, pNode) => yElement.nodeName === pNode.type.name.toUpperCase();
const matchNodeName = (yElement, pNode) => yElement.nodeName === pNode.type.name;

@@ -796,0 +796,0 @@ exports.ProsemirrorBinding = ProsemirrorBinding;

{
"name": "y-prosemirror",
"version": "0.0.4",
"version": "0.0.5",
"description": "Prosemirror bindings for Yjs",

@@ -29,2 +29,9 @@ "main": "./dist/y-prosemirror.js",

"license": "MIT",
"standard": {
"ignore": [
"/dist",
"/node_modules",
"/docs"
]
},
"bugs": {

@@ -38,3 +45,3 @@ "url": "https://github.com/y-js/y-prosemirror/issues"

"peerDependencies": {
"yjs": "13.0.0-88",
"yjs": ">=13.0.0-90",
"y-protocols": ">=0.0.6",

@@ -56,5 +63,6 @@ "prosemirror-model": "^1.7.0",

"rollup-plugin-node-resolve": "^4.2.3",
"yjs": "13.0.0-88",
"y-protocols": "0.0.6"
"standard": "^12.0.1",
"y-protocols": "0.0.6",
"yjs": "13.0.0-90"
}
}

@@ -505,3 +505,3 @@ /**

}
node = schema.node(el.nodeName.toLowerCase(), attrs, children)
node = schema.node(el.nodeName, attrs, children)
} catch (e) {

@@ -654,3 +654,3 @@ // an error occured while creating the node. This is probably a result of a concurrent action.

const updateYFragment = (y, yDomFragment, pContent, mapping) => {
if (yDomFragment instanceof Y.XmlElement && yDomFragment.nodeName.toLowerCase() !== pContent.type.name) {
if (yDomFragment instanceof Y.XmlElement && yDomFragment.nodeName !== pContent.type.name) {
throw new Error('node name mismatch!')

@@ -789,2 +789,2 @@ }

*/
const matchNodeName = (yElement, pNode) => yElement.nodeName === pNode.type.name.toUpperCase()
const matchNodeName = (yElement, pNode) => yElement.nodeName === pNode.type.name

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc