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

changesets

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

changesets - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

11

component.json

@@ -5,3 +5,3 @@ {

"description": "A Changeset library incorporating an operational transformation (OT) algorithm -- for node and the browser!",
"version": "0.2.2",
"version": "0.2.3",
"keywords": [

@@ -24,5 +24,12 @@ "operational transformation",

"license": "MIT",
"main": "lib/index.js",
"scripts": [
"index.js"
"lib/index.js",
"lib/Operation.js",
"lib/text/index.js",
"lib/text/Changeset.js",
"lib/text/operations/Delete.js",
"lib/text/operations/Insert.js",
"lib/text/operations/Equal.js"
]
}

3

lib/text/Changeset.js

@@ -66,2 +66,3 @@ /*!

changes.forEach(function(o) {
if(op instanceof Changeset) return op = op.transformAgainst(new Changeset(o))
op = op.transformAgainst(o)

@@ -174,3 +175,3 @@ })

*
* Numbers are converted to the base 36, text is converted to base64 (this is inefficient, I know..)
* Numbers are converted to the base 36, unsafe chars in the text are urlencoded
*

@@ -177,0 +178,0 @@ * @param cs <Changeset> The changeset to be serialized

{
"name": "changesets",
"version": "0.2.2",
"version": "0.2.3",
"description": "A Changeset library incorporating an operational transformation (OT) algorithm -- for node and the browser!",

@@ -5,0 +5,0 @@ "repository": {

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