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

loro-prosemirror

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loro-prosemirror - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

dist/index.d.ts

11

package.json
{
"name": "loro-prosemirror",
"version": "0.0.1",
"version": "0.0.2",
"description": "Prosemirror Binding for Loro",
"type": "module",
"main": "index.js",
"main": "dist/index.js",
"typings": "dist/loro.d.ts",
"scripts": {
"build": "tsc",
"build": "rollup -c",
"test": "vitest run",

@@ -31,2 +32,3 @@ "coverage": "vitest run --coverage"

"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"@typescript-eslint/parser": "^7.4.0",

@@ -40,2 +42,5 @@ "@vitest/coverage-v8": "^1.4.0",

"prosemirror-view": "^1.26.2",
"rollup": "^3.29.4",
"rollup-plugin-dts": "^5.3.1",
"rollup-plugin-esbuild": "^5.0.0",
"typescript": "^5.4.3",

@@ -42,0 +47,0 @@ "vite": "^5.2.7",

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

import { Awareness, Cursor, PeerID } from "loro-crdt";
import { Awareness, Cursor } from "loro-crdt";
import type { PeerID } from "loro-crdt";

@@ -3,0 +4,0 @@ export class CursorAwareness extends Awareness<{

import { simpleDiff } from "lib0/diff";
import { equalityDeep } from "lib0/function";
import type { ContainerID } from 'loro-crdt';
import {
ContainerID,
Delta,

@@ -7,0 +7,0 @@ Loro,

@@ -1,6 +0,5 @@

import { Loro, LoroEventBatch, LoroList, LoroMap, LoroText } from "loro-crdt";
import { Loro, LoroEventBatch } from "loro-crdt";
import {
Plugin,
PluginKey,
TextSelection,
StateField,

@@ -12,7 +11,4 @@ EditorState,

import {
ATTRIBUTES_KEY,
CHILDREN_KEY,
LoroDocType,
LoroNodeMapping,
ROOT_DOC_KEY,
clearChangedNodes,

@@ -19,0 +15,0 @@ createNodeFromLoroObj,

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

import { Cursor, Loro, UndoManager } from "loro-crdt";
import type { Cursor } from "loro-crdt";
import { Loro, UndoManager } from "loro-crdt";
import {

@@ -3,0 +4,0 @@ EditorState,

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