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

dift

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dift - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

lib/index.js

@@ -59,2 +59,8 @@ /**

// Fast-path at this particular point because the "no change" case that this covers
// is orders magnitude more common than the others
if (nStartIdx === nextLen) {
return;
}
// List tail is the same

@@ -61,0 +67,0 @@ while (pEndIdx >= pStartIdx && nEndIdx >= nStartIdx && equal(pEndItem, nEndItem)) {

2

package.json

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

"repository": "git://github.com/ashaffer/dift.git",
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",

@@ -8,0 +8,0 @@ "main": "lib/index.js",

@@ -8,2 +8,4 @@

Without really researching it or benchmarking, i'm going to invoke [Cunningham's Law](https://meta.wikimedia.org/wiki/Cunningham%27s_Law) and say that it is the fastest key-based list diff algorithm in existence for this particular application.
## Installation

@@ -10,0 +12,0 @@

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