Socket
Socket
Sign inDemoInstall

cdigit

Package Overview
Dependencies
1
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.1 to 3.1.2

9

bin/cli.js

@@ -38,3 +38,3 @@ #!/usr/bin/env node

if (!cdigit.names.includes(algo)) {
throw Error(`unknown algorithm '${algo}'`);
cmd.error(`error: unknown algorithm '${algo}'`);
}

@@ -67,7 +67,2 @@

// execute
try {
program.parse(process.argv);
} catch (err) {
process.exitCode = 1;
console.error(`error: ${err.message}`);
}
program.parse();
{
"name": "cdigit",
"version": "3.1.1",
"version": "3.1.2",
"description": "Collection of check digit algorithms implemented in JavaScript",

@@ -73,11 +73,11 @@ "main": "lib/index.js",

"dependencies": {
"commander": "^8.3.0"
"commander": "^9.0.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"eslint": "^8.4.1",
"mocha": "^9.1.3",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"eslint": "^8.8.0",
"mocha": "^9.2.0",
"prettier": "^2.5.1",
"typescript": "^4.5.3"
"typescript": "^4.5.5"
},

@@ -84,0 +84,0 @@ "prettier": {

@@ -151,3 +151,3 @@ # cdigit: Check Digit Algorithms in JS

Copyright (c) 2018-2021 LiosK
Copyright (c) 2018-2022 LiosK

@@ -154,0 +154,0 @@ Licensed under either of

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc