Comparing version 1.1.2 to 1.1.3
# CHANGELOG | ||
**1.1.3**: | ||
- looks like some bad input could generate negative numbers, which when passed to `_encode` would crash because it can't handle those <https://github.com/ivanakimov/hashids.js/issues/34> | ||
**1.1.2**: | ||
@@ -5,0 +9,0 @@ |
@@ -262,3 +262,3 @@ | ||
if (this._encode(ret) !== id) { | ||
if (this.encode(ret) !== id) { | ||
ret = []; | ||
@@ -265,0 +265,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "Generate YouTube-like ids from numbers. Use Hashids when you do not want to expose your database ids to the user.", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"homepage": "http://hashids.org/javascript", | ||
@@ -8,0 +8,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53836