You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

invariant

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

invariant - npm Package Compare versions

Comparing version

to
2.2.1

4

invariant.js

@@ -23,6 +23,6 @@ /**

var __DEV__ = process.env.NODE_ENV !== 'production';
var NODE_ENV = process.env.NODE_ENV;
var invariant = function(condition, format, a, b, c, d, e, f) {
if (__DEV__) {
if (NODE_ENV !== 'production') {
if (format === undefined) {

@@ -29,0 +29,0 @@ throw new Error('invariant requires an error message argument');

{
"name": "invariant",
"version": "2.2.0",
"version": "2.2.1",
"description": "invariant",

@@ -5,0 +5,0 @@ "keywords": [