aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/aproba/README.md
diff options
context:
space:
mode:
authorKat Marchán <kzm@sykosomatic.org>2016-07-01 14:35:20 -0700
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2016-07-04 09:55:33 +0200
commitb3ec2432a1c814b9ff8ae9f74cd94a8ae93d70c2 (patch)
tree3df1f94b9263888f4a63cfbe9b1b7b834066e37b /deps/npm/node_modules/aproba/README.md
parentfb4c022fbe0dd3182cfc6d19fe8710402d9697ca (diff)
downloadandroid-node-v8-b3ec2432a1c814b9ff8ae9f74cd94a8ae93d70c2.tar.gz
android-node-v8-b3ec2432a1c814b9ff8ae9f74cd94a8ae93d70c2.tar.bz2
android-node-v8-b3ec2432a1c814b9ff8ae9f74cd94a8ae93d70c2.zip
deps: upgrade npm to 3.10.3
Contains the following npm release: - https://github.com/npm/npm/releases/tag/v3.10.3 PR-URL: https://github.com/nodejs/node/pull/7515 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/node_modules/aproba/README.md')
-rw-r--r--deps/npm/node_modules/aproba/README.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/deps/npm/node_modules/aproba/README.md b/deps/npm/node_modules/aproba/README.md
index 44e2263c2f..69e356eb6a 100644
--- a/deps/npm/node_modules/aproba/README.md
+++ b/deps/npm/node_modules/aproba/README.md
@@ -1,7 +1,7 @@
aproba
======
-A rediculously light-weight function argument validator
+A ridiculously light-weight function argument validator
```
var validate = require("aproba")
@@ -34,7 +34,11 @@ E | instanceof Error OR null
Validation failures throw one of three exception types, distinguished by a
`code` property of `EMISSINGARG`, `EINVALIDTYPE` or `ETOOMANYARGS`.
-If an error argument is found and is not null then the remaining arguments will not be validated.
+If you pass in an invalid type then it will throw with a code of
+`EUNKNOWNTYPE`.
+
+If an error argument is found and is not null then the remaining arguments
+will not be validated.
### Why this exists