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

y-protocols

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

y-protocols - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "y-protocols",
"version": "1.0.3",
"version": "1.0.4",
"description": "Yjs encoding protocols",

@@ -5,0 +5,0 @@ "type": "module",

@@ -82,3 +82,8 @@ /**

export const readSyncStep2 = (decoder, doc, transactionOrigin) => {
Y.applyUpdate(doc, decoding.readVarUint8Array(decoder), transactionOrigin)
try {
Y.applyUpdate(doc, decoding.readVarUint8Array(decoder), transactionOrigin)
} catch (error) {
// This catches errors that are thrown by event handlers
console.error('Caught error while handling a Yjs update', error)
}
}

@@ -85,0 +90,0 @@

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