hashids
Advanced tools
Comparing version 1.2.0 to 1.2.1
# CHANGELOG | ||
**1.2.0**: | ||
**1.2.1**: | ||
- fixes a bug issue https://github.com/ivanakimov/hashids.js/issues/54 | ||
**1.2.0** (do not use): | ||
- drop unsupported node versions (6 and above is still supported) | ||
@@ -7,0 +11,0 @@ - drop support for browsers with global market share < 0.5% |
"use strict"; | ||
// this file here is for backwards compatibility with an earlier CommonJS version | ||
const Hashids = require("./hashids").default; | ||
const Hashids = require("./index").default; | ||
Object.defineProperty(Hashids, "__esModule", {value: true}); | ||
Hashids.default = module.exports; | ||
module.exports = Hashids; |
@@ -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.2.0", | ||
"version": "1.2.1", | ||
"homepage": "http://hashids.org/javascript", | ||
@@ -8,0 +8,0 @@ "repository": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
107507
0