You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@nexucis/fuzzy

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexucis/fuzzy - npm Package Compare versions

Comparing version
0.4.0
to
0.4.1
+4
-1
dist/cjs/index.js

@@ -187,2 +187,5 @@ "use strict";

render(text, intervals, conf) {
if (intervals.length == 0) {
return text;
}
let rendered = '';

@@ -201,3 +204,3 @@ const pre = (conf === null || conf === void 0 ? void 0 : conf.pre) ? conf.pre : this.conf.pre;

}
// check if the last interval contains the end of the string. Otherwise add it
// check if the last interval contains the end of the string. Otherwise, add it
const lastInterval = intervals[intervals.length - 1];

@@ -204,0 +207,0 @@ if (lastInterval.to < text.length - 1) {

@@ -183,2 +183,5 @@ // MIT License

render(text, intervals, conf) {
if (intervals.length == 0) {
return text;
}
let rendered = '';

@@ -197,3 +200,3 @@ const pre = (conf === null || conf === void 0 ? void 0 : conf.pre) ? conf.pre : this.conf.pre;

}
// check if the last interval contains the end of the string. Otherwise add it
// check if the last interval contains the end of the string. Otherwise, add it
const lastInterval = intervals[intervals.length - 1];

@@ -200,0 +203,0 @@ if (lastInterval.to < text.length - 1) {

+1
-1
{
"name": "@nexucis/fuzzy",
"version": "0.4.0",
"version": "0.4.1",
"description": "small, standalone fuzzy search / fuzzy filter. browser or node",

@@ -5,0 +5,0 @@ "module": "dist/index.js",