Comparing version 1.2.1 to 1.2.2
@@ -7,5 +7,8 @@ module.exports = { | ||
modules: process.env.BABEL_MODULES ? false : 'umd', | ||
}, | ||
} | ||
], | ||
], | ||
plugins: [ | ||
'@babel/plugin-syntax-dynamic-import' | ||
] | ||
} |
# CHANGELOG | ||
**1.2.1**: | ||
**1.2.2**: | ||
- another issue https://github.com/ivanakimov/hashids.js/issues/56 | ||
**1.2.1** (do not use): | ||
- fixes a bug issue https://github.com/ivanakimov/hashids.js/issues/54 | ||
@@ -7,0 +11,0 @@ |
@@ -5,3 +5,3 @@ "use strict"; | ||
Object.defineProperty(Hashids, "__esModule", {value: true}); | ||
module.exports = Hashids; | ||
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.1", | ||
"version": "1.2.2", | ||
"homepage": "http://hashids.org/javascript", | ||
@@ -22,2 +22,3 @@ "repository": { | ||
"test": "mocha tests --require @babel/register", | ||
"test-modules": "node --experimental-modules node_modules/mocha/bin/_mocha tests-mjs", | ||
"coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls", | ||
@@ -42,4 +43,6 @@ "build:node": "babel lib/hashids.js --source-maps -o dist/index.js", | ||
"@babel/core": "^7.0.0", | ||
"@babel/plugin-syntax-dynamic-import": "7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"@babel/register": "^7.0.0", | ||
"babel-eslint": "9.0.0", | ||
"chai": "^4.1.2", | ||
@@ -46,0 +49,0 @@ "coveralls": "^3.0.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
109994
31
1400
13