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

homoglyph-finder

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homoglyph-finder - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

index.js

@@ -100,3 +100,3 @@ module.exports = (function(){

for (i in txt) {
a.push(text[i])
a.push(txt[i])
}

@@ -103,0 +103,0 @@ return a;

{
"name": "homoglyph-finder",
"version": "1.1.0",
"version": "1.1.1",
"description": "A homoglyph-aware text search utility, allows you to search a string for a given word even if that word has been disguised using homoglyph characters (characters that look similar)",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,2 +5,3 @@ Homoglyph Finder

This is actually just a copy of [homoglyph-search](https://github.com/codebox/homoglyph) JS module with a few changes:
1. ES6 `for-of` loop has been removed for a better browser support;

@@ -7,0 +8,0 @@ 2. there is a new `isMatches` function (see its usage below).

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