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

@ckirby/longest-common-substring

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ckirby/longest-common-substring - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

11

index.js

@@ -39,3 +39,7 @@ const { memoizingStemmer: stemmer } = require('porter-stemmer');

return findCommonTokens(tk1, tk2, options);
let sequences = findCommonTokens(tk1, tk2, options);
return [
makeOutput(sequences, tk1, `offset1`),
makeOutput(sequences, tk2, `offset2`)
];
}

@@ -57,6 +61,3 @@

return [
makeOutput(sequences, tk1, `offset1`),
makeOutput(sequences, tk2, `offset2`)
];
return sequences;
}

@@ -63,0 +64,0 @@

{
"name": "@ckirby/longest-common-substring",
"version": "1.3.0",
"version": "1.4.0",
"description": "find the longest string that is a substring of two strings",

@@ -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