Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2017-10-04 11:29:32 +0300
committerRebecca Turner <me@re-becca.org>2017-10-04 11:29:34 +0300
commit10d31739d39765f1f0249f688bd934ffad92f872 (patch)
treec417b8cb0219993c6b95423fd44180d90d7c8b4f
parent34e0f42090f6153eb5462f742e402813e4da56c8 (diff)
aproba@1.2.0
Browser support
-rw-r--r--node_modules/aproba/README.md5
-rw-r--r--node_modules/aproba/index.js2
-rw-r--r--node_modules/aproba/package.json25
-rw-r--r--package-lock.json16
-rw-r--r--package.json2
5 files changed, 28 insertions, 22 deletions
diff --git a/node_modules/aproba/README.md b/node_modules/aproba/README.md
index 79e865924..0bfc594c5 100644
--- a/node_modules/aproba/README.md
+++ b/node_modules/aproba/README.md
@@ -70,6 +70,11 @@ awkwardness is a feature: It reminds you of the complexity you're adding to
your API when you do this sort of thing.
+### Browser support
+
+This has no dependencies and should work in browsers, though you'll have
+noisier stack traces.
+
### Why this exists
I wanted a very simple argument validator. It needed to do two things:
diff --git a/node_modules/aproba/index.js b/node_modules/aproba/index.js
index 4f8c1fc7d..6f3f797c0 100644
--- a/node_modules/aproba/index.js
+++ b/node_modules/aproba/index.js
@@ -100,6 +100,6 @@ function moreThanOneError (schema) {
function newException (code, msg) {
var e = new Error(msg)
e.code = code
- Error.captureStackTrace(e, validate)
+ if (Error.captureStackTrace) Error.captureStackTrace(e, validate)
return e
}
diff --git a/node_modules/aproba/package.json b/node_modules/aproba/package.json
index e3a85f406..f3720a897 100644
--- a/node_modules/aproba/package.json
+++ b/node_modules/aproba/package.json
@@ -1,19 +1,19 @@
{
- "_from": "aproba@1.1.2",
- "_id": "aproba@1.1.2",
+ "_from": "aproba@1.2.0",
+ "_id": "aproba@1.2.0",
"_inBundle": false,
- "_integrity": "sha512-ZpYajIfO0j2cOFTO955KUMIKNmj6zhX8kVztMAxFsDaMwz+9Z9SV0uou2pC9HJqcfpffOsjnbrDMvkNy+9RXPw==",
+ "_integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==",
"_location": "/aproba",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
- "raw": "aproba@1.1.2",
+ "raw": "aproba@1.2.0",
"name": "aproba",
"escapedName": "aproba",
- "rawSpec": "1.1.2",
+ "rawSpec": "1.2.0",
"saveSpec": null,
- "fetchSpec": "1.1.2"
+ "fetchSpec": "1.2.0"
},
"_requiredBy": [
"#USER",
@@ -21,11 +21,12 @@
"/move-concurrently",
"/move-concurrently/copy-concurrently",
"/move-concurrently/run-queue",
+ "/npm-profile",
"/npmlog/gauge"
],
- "_resolved": "https://registry.npmjs.org/aproba/-/aproba-1.1.2.tgz",
- "_shasum": "45c6629094de4e96f693ef7eab74ae079c240fc1",
- "_spec": "aproba@1.1.2",
+ "_resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
+ "_shasum": "6802e6264efd18c790a1b0d517f0f2627bf2c94a",
+ "_spec": "aproba@1.2.0",
"_where": "/Users/rebecca/code/npm",
"author": {
"name": "Rebecca Turner",
@@ -37,9 +38,9 @@
"bundleDependencies": false,
"dependencies": {},
"deprecated": false,
- "description": "A rediculously light-weight argument validator",
+ "description": "A ridiculously light-weight argument validator (now browser friendly)",
"devDependencies": {
- "standard": "^8.6.0",
+ "standard": "^10.0.3",
"tap": "^10.0.2"
},
"directories": {
@@ -63,5 +64,5 @@
"scripts": {
"test": "standard && tap -j3 test/*.js"
},
- "version": "1.1.2"
+ "version": "1.2.0"
}
diff --git a/package-lock.json b/package-lock.json
index c77ae43f2..841479429 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -46,9 +46,9 @@
"integrity": "sha1-XeYEFb2gcbs3EnhUyGT0GyMlRTk="
},
"aproba": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.1.2.tgz",
- "integrity": "sha512-ZpYajIfO0j2cOFTO955KUMIKNmj6zhX8kVztMAxFsDaMwz+9Z9SV0uou2pC9HJqcfpffOsjnbrDMvkNy+9RXPw=="
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
+ "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="
},
"archy": {
"version": "1.0.0",
@@ -1201,7 +1201,7 @@
"resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz",
"integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=",
"requires": {
- "aproba": "1.1.2",
+ "aproba": "1.2.0",
"copy-concurrently": "1.0.3",
"fs-write-stream-atomic": "1.0.10",
"mkdirp": "0.5.1",
@@ -1214,7 +1214,7 @@
"resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.3.tgz",
"integrity": "sha1-Rft4ZiSaHKiJqlcI5svSc+dbslA=",
"requires": {
- "aproba": "1.1.2",
+ "aproba": "1.2.0",
"fs-write-stream-atomic": "1.0.10",
"iferr": "0.1.5",
"mkdirp": "0.5.1",
@@ -1227,7 +1227,7 @@
"resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz",
"integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=",
"requires": {
- "aproba": "1.1.2"
+ "aproba": "1.2.0"
}
}
}
@@ -1464,7 +1464,7 @@
"resolved": "https://registry.npmjs.org/npm-profile/-/npm-profile-2.0.4.tgz",
"integrity": "sha512-g8WTBuQDOXRuU46qyM1JcUMVhnvA74q77UY6eHb3CTpley2hySLxmNZh+fth+YoU7aYlvUOiCRNQXmSNiF66pw==",
"requires": {
- "aproba": "1.1.2",
+ "aproba": "1.2.0",
"make-fetch-happen": "2.5.0"
},
"dependencies": {
@@ -2540,7 +2540,7 @@
"resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
"integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
"requires": {
- "aproba": "1.1.2",
+ "aproba": "1.2.0",
"console-control-strings": "1.1.0",
"has-unicode": "2.0.1",
"object-assign": "4.1.1",
diff --git a/package.json b/package.json
index fc6fd0fc0..a75c332b3 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,7 @@
"ansi-regex": "~3.0.0",
"ansicolors": "~0.3.2",
"ansistyles": "~0.1.3",
- "aproba": "~1.1.2",
+ "aproba": "~1.2.0",
"archy": "~1.0.0",
"bluebird": "~3.5.0",
"cacache": "~9.2.9",