changesets
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -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" | ||
] | ||
} |
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154532
3945