invariant
Advanced tools
Comparing version 2.1.3 to 2.2.0
@@ -41,5 +41,5 @@ /** | ||
error = new Error( | ||
'Invariant Violation: ' + | ||
format.replace(/%s/g, function() { return args[argIndex++]; }) | ||
); | ||
error.name = 'Invariant Violation'; | ||
} | ||
@@ -46,0 +46,0 @@ |
@@ -43,5 +43,5 @@ /** | ||
error = new Error( | ||
'Invariant Violation: ' + | ||
format.replace(/%s/g, function() { return args[argIndex++]; }) | ||
); | ||
error.name = 'Invariant Violation'; | ||
} | ||
@@ -48,0 +48,0 @@ |
{ | ||
"name": "invariant", | ||
"version": "2.1.3", | ||
"version": "2.2.0", | ||
"description": "invariant", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
5906