Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 0.0.1 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 @@

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