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 1.2.1 to 1.2.2

tests-mjs/importing.js

5

.babelrc.js

@@ -7,5 +7,8 @@ module.exports = {

modules: process.env.BABEL_MODULES ? false : 'umd',
},
}
],
],
plugins: [
'@babel/plugin-syntax-dynamic-import'
]
}

6

CHANGELOG.md
# 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

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