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

@tiptap/extension-collaboration-cursor

Package Overview
Dependencies
Maintainers
2
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-collaboration-cursor - npm Package Compare versions

Comparing version 2.0.0-beta.34 to 2.0.0-beta.37

6

package.json
{
"name": "@tiptap/extension-collaboration-cursor",
"description": "collaboration cursor extension for tiptap",
"version": "2.0.0-beta.34",
"version": "2.0.0-beta.37",
"homepage": "https://tiptap.dev",

@@ -27,3 +27,3 @@ "keywords": [

"dependencies": {
"y-prosemirror": "^1.0.14"
"y-prosemirror": "1.0.20"
},

@@ -35,3 +35,3 @@ "repository": {

},
"gitHead": "e550d3c69e06a1fb153c3faf17ab78c3081ae61b"
"gitHead": "591c0807a2ab5c34b4b7fe12c12511fe4f493ebd"
}

@@ -106,19 +106,21 @@ import { Extension } from '@tiptap/core'

return [
yCursorPlugin((() => {
this.options.provider.awareness.setLocalStateField('user', this.options.user)
yCursorPlugin(
(() => {
this.options.provider.awareness.setLocalStateField('user', this.options.user)
this.storage.users = awarenessStatesToArray(this.options.provider.awareness.states)
this.options.provider.awareness.on('update', () => {
this.storage.users = awarenessStatesToArray(this.options.provider.awareness.states)
})
return this.options.provider.awareness
})(),
// @ts-ignore
{
cursorBuilder: this.options.render,
}),
this.options.provider.awareness.on('update', () => {
this.storage.users = awarenessStatesToArray(this.options.provider.awareness.states)
})
return this.options.provider.awareness
})(),
// @ts-ignore
{
cursorBuilder: this.options.render,
},
),
]
},
})

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc