aboutsummaryrefslogtreecommitdiff
path: root/node_modules/invariant
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-16 01:59:39 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-16 02:00:31 +0100
commitbd65bb67e25a79b019d745b7262b2008ce2adb15 (patch)
tree89e1b032103a63737f1a703e6a943832ef261704 /node_modules/invariant
parentf91466595b651721690133f58ab37f977539e95b (diff)
downloadwallet-core-bd65bb67e25a79b019d745b7262b2008ce2adb15.tar.xz
incrementally verify denoms
The denominations are not stored in a separate object store.
Diffstat (limited to 'node_modules/invariant')
-rw-r--r--node_modules/invariant/README.md2
-rw-r--r--node_modules/invariant/package.json11
2 files changed, 9 insertions, 4 deletions
diff --git a/node_modules/invariant/README.md b/node_modules/invariant/README.md
index 813ee2647..96aac6d36 100644
--- a/node_modules/invariant/README.md
+++ b/node_modules/invariant/README.md
@@ -4,6 +4,8 @@
A mirror of Facebook's `invariant` (e.g. [React](https://github.com/facebook/react/blob/v0.13.3/src/vendor/core/invariant.js), [flux](https://github.com/facebook/flux/blob/2.0.2/src/invariant.js)).
+A way to provide descriptive errors in development but generic errors in production.
+
## Install
With [npm](http://npmjs.org) do:
diff --git a/node_modules/invariant/package.json b/node_modules/invariant/package.json
index 3d3ca247d..e4b967222 100644
--- a/node_modules/invariant/package.json
+++ b/node_modules/invariant/package.json
@@ -1,17 +1,19 @@
{
"name": "invariant",
- "version": "2.2.1",
+ "version": "2.2.2",
"description": "invariant",
"keywords": [
- "test"
+ "test",
+ "invariant"
],
"license": "BSD-3-Clause",
"author": "Andres Suarez <zertosh@gmail.com>",
"files": [
+ "browser.js",
"invariant.js",
- "browser.js"
+ "invariant.js.flow"
],
- "repository": "zertosh/invariant",
+ "repository": "https://github.com/zertosh/invariant",
"scripts": {
"test": "NODE_ENV=production tap test/*.js && NODE_ENV=development tap test/*.js"
},
@@ -20,6 +22,7 @@
},
"devDependencies": {
"browserify": "^11.0.1",
+ "flow-bin": "^0.35.0",
"tap": "^1.4.0"
},
"main": "invariant.js",