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 1.0.6 to 1.0.7

4

dist/src/lib.d.ts

@@ -45,3 +45,7 @@ /**

export function relativePositionToAbsolutePosition(y: any, documentType: any, relPos: any, mapping: Map<any, Node<any> | Node<any>[]>): null | number;
/**
* Either a node if type is YXmlElement or an Array of text nodes if YXmlText
*/
export type ProsemirrorMapping = Map<any, Node<any> | Node<any>[]>;
import { Node } from "prosemirror-model";
import { Schema } from "prosemirror-model";

4

package.json
{
"name": "y-prosemirror",
"version": "1.0.6",
"version": "1.0.7",
"description": "Prosemirror bindings for Yjs",

@@ -16,3 +16,3 @@ "main": "./dist/y-prosemirror.cjs",

"test": "npm run lint && rollup -c && node dist/test.cjs",
"lint": "standard",
"lint": "standard && tsc",
"watch": "rollup -wc",

@@ -19,0 +19,0 @@ "debug": "concurrently 'http-server -o test.html' 'npm run watch'",

@@ -1,2 +0,2 @@

import { updateYFragment, ProsemirrorMapping } from './plugins/sync-plugin.js' // eslint-disable-line
import { updateYFragment} from './plugins/sync-plugin.js' // eslint-disable-line
import * as Y from 'yjs'

@@ -10,2 +10,7 @@ import { EditorView } from 'prosemirror-view' // eslint-disable-line

/**
* Either a node if type is YXmlElement or an Array of text nodes if YXmlText
* @typedef {Map<Y.AbstractType, Node | Array<Node>>} ProsemirrorMapping
*/
/**
* Is null if no timeout is in progress.

@@ -12,0 +17,0 @@ * Is defined if a timeout is in progress.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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