🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

assert-warning

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assert-warning - npm Package Compare versions

Comparing version

to
0.0.2

2

index.js

@@ -7,3 +7,3 @@ module.exports = function(condition) {

var msg = 'Assertion-Error'+(prod?'[prod]':'[dev]')+': '+condition+'!=true';
var msgs = Array.slice.call(arguments, 1);
var msgs = [].slice.call(arguments, 1);
for(var i in msgs) {

@@ -10,0 +10,0 @@ msg += '\n'+msgs[i];

{
"name": "assert-warning",
"version": "0.0.1",
"version": "0.0.2",
"description": "Assert that doesn't stop execution in production",
"main": "index.js"
}

@@ -1,2 +0,2 @@

I assail my code with assertions and sometimes an assertion is wrong and the code itself is fine.
I assail my code with assertions and sometimes an assertion is wrong while the code itself is fine.

@@ -3,0 +3,0 @@