Comparing version
@@ -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": [ |
5908
0.03%