Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

checkup

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

checkup - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

17

lib/check.js

@@ -25,3 +25,3 @@ (function(global) {

if (typeof args[name] === 'undefined')
throwError(name + template);
throw Error(name + template);
});

@@ -50,17 +50,6 @@

throwError(name + template);
throw Error(name + template);
}
}
function throwError(msg) {
var error = Error(msg);
if (typeof process === 'undefined') {
throw error;
} else {
console.error(error.message, error.stack);
process.exit(-1);
}
}
check.check = check;

@@ -79,3 +68,3 @@

if (!is)
throwError(name + ' should be ' + type);
throw Error(name + ' should be ' + type);

@@ -82,0 +71,0 @@ return check;

2

package.json
{
"name": "checkup",
"version": "1.2.1",
"version": "1.3.0",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -5,0 +5,0 @@ "description": "check arguments and if they wrong throw exeption",

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