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

fast-myers-diff

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-myers-diff - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

bin/index.d.ts

22

package.json
{
"name": "fast-myers-diff",
"version": "1.0.3",
"version": "1.0.4",
"description": "A fast, minimal, memory-efficient diff algorithm on strings, arrays, and typed arrays.",
"main": "dist/index.js",
"main": "bin/index.js",
"files": [
"dist/index.js",
"dist/index.d.ts"
"bin/index.js",
"bin/index.d.ts"
],
"scripts": {
"test": "tsc && node dist/test.js",
"test": "mocha -r ts-node/register test/**/*-test.ts",
"build": "tsc",
"prepare": "tsc && minify dist\\index.js > dist\\index.min.js && del dist\\index.js && move dist\\index.min.js dist\\index.js"
"minify": "jsmin -o bin/index.min.js bin/index.js && del bin\\index.js && move bin\\index.min.js bin\\index.js",
"prepare": "tsc && npm run minify"
},

@@ -23,4 +24,9 @@ "keywords": [

"devDependencies": {
"minify": "^5.1.1",
"typescript": "^3.8.3"
"@types/chai": "^4.2.14",
"@types/mocha": "^8.0.4",
"chai": "^4.2.0",
"jsmin": "^1.0.1",
"mocha": "^8.2.1",
"ts-node": "^9.1.1",
"typescript": "^3.9.7"
},

@@ -27,0 +33,0 @@ "dependencies": {},

@@ -5,3 +5,3 @@ Fast-Myers-Diff

This is a fast, compact, memory efficient implementation of the O(ND) Myers diff algorithm.
The core diff algorithm, including blank lines and comment, is only 110 lines. With LCS and patch features added, the total library is still less than 180 lines.
The core diff algorithm, including blank lines and comment, is only 117 lines. With LCS and patch features added, the total library is still less than 200 lines.
Minified and including type definitions, the published library is less than 3KB.

@@ -8,0 +8,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