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 0.1.0 to 0.2.0

dist/auth.cjs

3

auth.js
import * as Y from 'yjs' // eslint-disable-line
import * as encoding from 'lib0/encoding.js'

@@ -25,3 +26,3 @@ import * as decoding from 'lib0/decoding.js'

* @param {decoding.Decoder} decoder
* @param {Y} y
* @param {Y.Doc} y
* @param {PermissionDeniedHandler} permissionDeniedHandler

@@ -28,0 +29,0 @@ */

{
"name": "y-protocols",
"version": "0.1.0",
"version": "0.2.0",
"description": "Yjs encoding protocols",
"type": "module",
"files": [
"dist/*",
"auth.js",
"history.js",
"sync.js",

@@ -14,6 +14,5 @@ "awareness.js"

"dist": "rm -rf dist && rollup -c",
"test": "echo 'should lint here'",
"lint": "standard",
"preversion": "npm run dist && npm run test",
"version": "npm run dist"
"test": "npm run lint",
"lint": "standard && tsc",
"preversion": "npm run dist && npm run test"
},

@@ -40,13 +39,14 @@ "repository": {

"dependencies": {
"lib0": "^0.1.0"
"lib0": "^0.2.3"
},
"devDependencies": {
"yjs": "13.0.0-94",
"rollup": "^1.1.2",
"rollup-cli": "^1.0.9",
"standard": "^12.0.1"
"standard": "^12.0.1",
"typescript": "^3.7.4",
"yjs": "13.0.0-105"
},
"peerDependenies": {
"yjs": ">13.0.0-97"
"yjs": ">=13.0.0-103"
}
}

@@ -57,3 +57,3 @@ /**

* @param {Y.Doc} doc
* @param {Uint8Array|undefined} encodedStateVector
* @param {Uint8Array} [encodedStateVector]
*/

@@ -60,0 +60,0 @@ export const writeSyncStep2 = (encoder, doc, encodedStateVector) => {

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