New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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 0.0.1 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 @@

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