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

fast-fuzzy

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-fuzzy - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

4

lib/fuzzy.js

@@ -111,3 +111,5 @@ "use strict";

}).sort(function (a, b) {
if (a.score === b.score) return a.key.length - b.key.length;
if (a.score === b.score) {
return Math.abs(a.key.length - term.length) - Math.abs(b.key.length - term.length);
}
return b.score - a.score;

@@ -114,0 +116,0 @@ });

{
"name": "fast-fuzzy",
"version": "1.3.2",
"version": "1.3.3",
"description": "Fast and tiny fuzzy-search utility",

@@ -5,0 +5,0 @@ "main": "lib/fuzzy.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