🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

compute-anagram-hash

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compute-anagram-hash - npm Package Compare versions

Comparing version

to
0.0.2

4

lib/index.js

@@ -327,3 +327,5 @@ /**

// [3] Join the sorted characters to create a hash key.
return str.split( '' )
return str.toLowerCase()
.replace( /[^a-z0-9]/g, '' )
.split( '' )
.sort( ascending )

@@ -330,0 +332,0 @@ .join( '' );

{
"name": "compute-anagram-hash",
"version": "0.0.1",
"version": "0.0.2",
"description": "Anagram hash table.",

@@ -5,0 +5,0 @@ "author": {

@@ -110,3 +110,5 @@ Anagram Hash

__Note__: the returned __key__ only contains lowercase `alphanumeric` characters.
#### hash.keys( [opts] )

@@ -113,0 +115,0 @@