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

hashids

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hashids - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

5

lib/hashids.js

@@ -20,3 +20,3 @@ /*

this.version = "0.3.2";
this.version = "0.3.3";

@@ -150,3 +150,4 @@ /* internal settings */

var i, len, numbers;
var i, len, numbers,
str = str.toString();

@@ -153,0 +154,0 @@ if (!/^[0-9a-fA-F]+$/.test(str)) {

2

package.json

@@ -5,3 +5,3 @@ {

"description": "A small Node.js class to generate YouTube-like hashes from one or many numbers. Use hashids when you do not want to expose your database ids to the user. ",
"version": "0.3.2",
"version": "0.3.3",
"preferGlobal": true,

@@ -8,0 +8,0 @@ "homepage": "http://www.hashids.org/node-js/",

@@ -32,3 +32,3 @@

"dependencies": {
"hashids": "0.3.2"
"hashids": "0.3.3"
}

@@ -260,4 +260,8 @@ ```

**0.3.2 - Current Stable**
**0.3.3 - Current Stable**
- `.toString()` added in `encryptHex()`: [https://github.com/ivanakimov/hashids.node.js/pull/9](https://github.com/ivanakimov/hashids.node.js/pull/9) (thanks to [@namuol](https://github.com/namuol))
**0.3.2**
- minor: contact email changed

@@ -264,0 +268,0 @@ - minor: internal version is accurate now

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