New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dom-ot

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-ot - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

15

index.js

@@ -7,8 +7,15 @@

exports.apply = function(snapshot, op) {
exports.apply = function(snapshot, ops) {
ops
.forEach(function(op) {
op.apply(snapshot)
})
}
exports.transform = function(op1, op2, side) {
op1.transformAgainst(op2, ('left'==side))
exports.transform = function(ops1, ops2, side) {
ops1.forEach(function(op1) {
ops2.forEach(function(op2) {
op1.transformAgainst(op2, ('left'==side))
})
})
}

@@ -15,0 +22,0 @@

{
"name": "dom-ot",
"version": "1.0.0",
"version": "1.0.1",
"description": "Operational transform library for DOM operations (conforms to shareJS' spec)",

@@ -5,0 +5,0 @@ "main": "index.js",

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