mongodb 2.2.30 → 2.2.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/HISTORY.md CHANGED
@@ -1,3 +1,10 @@
1
+ 2.2.31 2017-08-08
2
+ -----------------
3
+ * update mongodb-core to 2.2.15
4
+ * allow auth option in MongoClient.connect
5
+ * remove duplicate option `promoteLongs` from MongoClient's `connect`
6
+ * bulk operations should not throw an error on empty batch
7
+
1
8
  2.2.30 2017-07-07
2
9
  -----------------
3
10
  * Update mongodb-core to 2.2.14
@@ -488,30 +488,37 @@ var executeCommands = function(self, callback) {
488
488
  */
489
489
  OrderedBulkOperation.prototype.execute = function(_writeConcern, callback) {
490
490
  var self = this;
491
- if(this.s.executed) throw new toError("batch cannot be re-executed");
492
- if(typeof _writeConcern == 'function') {
491
+ if (this.s.executed) {
492
+ var executedError = toError('batch cannot be re-executed');
493
+ return (typeof callback === 'function') ?
494
+ callback(executedError, null) : this.s.promiseLibrary.reject(executedError);
495
+ }
496
+
497
+ if (typeof _writeConcern === 'function') {
493
498
  callback = _writeConcern;
494
- } else if(_writeConcern && typeof _writeConcern == 'object') {
499
+ } else if (_writeConcern && typeof _writeConcern === 'object') {
495
500
  this.s.writeConcern = _writeConcern;
496
501
  }
497
502
 
498
503
  // If we have current batch
499
- if(this.s.currentBatch) this.s.batches.push(this.s.currentBatch)
504
+ if (this.s.currentBatch) this.s.batches.push(this.s.currentBatch)
500
505
 
501
506
  // If we have no operations in the bulk raise an error
502
- if(this.s.batches.length == 0) {
503
- throw toError("Invalid Operation, No operations in bulk");
507
+ if (this.s.batches.length == 0) {
508
+ var emptyBatchError = toError('Invalid Operation, no operations specified');
509
+ return (typeof callback === 'function') ?
510
+ callback(emptyBatchError, null) : this.s.promiseLibrary.reject(emptyBatchError);
504
511
  }
505
512
 
506
513
  // Execute using callback
507
- if(typeof callback == 'function') {
508
- return executeCommands(this, callback);
509
- }
514
+ if (typeof callback === 'function') {
515
+ return executeCommands(this, callback);
516
+ }
510
517
 
511
518
  // Return a Promise
512
519
  return new this.s.promiseLibrary(function(resolve, reject) {
513
520
  executeCommands(self, function(err, r) {
514
- if(err) return reject(err);
521
+ if (err) return reject(err);
515
522
  resolve(r);
516
523
  });
517
524
  });
@@ -490,30 +490,37 @@ var executeBatches = function(self, callback) {
490
490
  */
491
491
  UnorderedBulkOperation.prototype.execute = function(_writeConcern, callback) {
492
492
  var self = this;
493
- if(this.s.executed) throw toError("batch cannot be re-executed");
494
- if(typeof _writeConcern == 'function') {
493
+ if (this.s.executed) {
494
+ var executedError = toError('batch cannot be re-executed');
495
+ return (typeof callback === 'function') ?
496
+ callback(executedError, null) : this.s.promiseLibrary.reject(executedError);
497
+ }
498
+
499
+ if (typeof _writeConcern === 'function') {
495
500
  callback = _writeConcern;
496
- } else if(_writeConcern && typeof _writeConcern == 'object') {
501
+ } else if (_writeConcern && typeof _writeConcern === 'object') {
497
502
  this.s.writeConcern = _writeConcern;
498
503
  }
499
504
 
500
505
  // If we have current batch
501
- if(this.s.currentInsertBatch) this.s.batches.push(this.s.currentInsertBatch);
502
- if(this.s.currentUpdateBatch) this.s.batches.push(this.s.currentUpdateBatch);
503
- if(this.s.currentRemoveBatch) this.s.batches.push(this.s.currentRemoveBatch);
506
+ if (this.s.currentInsertBatch) this.s.batches.push(this.s.currentInsertBatch);
507
+ if (this.s.currentUpdateBatch) this.s.batches.push(this.s.currentUpdateBatch);
508
+ if (this.s.currentRemoveBatch) this.s.batches.push(this.s.currentRemoveBatch);
504
509
 
505
510
  // If we have no operations in the bulk raise an error
506
- if(this.s.batches.length == 0) {
507
- throw toError("Invalid Operation, No operations in bulk");
511
+ if (this.s.batches.length == 0) {
512
+ var emptyBatchError = toError('Invalid Operation, no operations specified');
513
+ return (typeof callback === 'function') ?
514
+ callback(emptyBatchError, null) : this.s.promiseLibrary.reject(emptyBatchError);
508
515
  }
509
516
 
510
517
  // Execute using callback
511
- if(typeof callback == 'function') return executeBatches(this, callback);
518
+ if (typeof callback === 'function') return executeBatches(this, callback);
512
519
 
513
520
  // Return a Promise
514
521
  return new this.s.promiseLibrary(function(resolve, reject) {
515
522
  executeBatches(self, function(err, r) {
516
- if(err) return reject(err);
523
+ if (err) return reject(err);
517
524
  resolve(r);
518
525
  });
519
526
  });
@@ -35,10 +35,10 @@ var validOptionNames = ['poolSize', 'ssl', 'sslValidate', 'sslCA', 'sslCert',
35
35
  'socketTimeoutMS', 'reconnectTries', 'reconnectInterval', 'ha', 'haInterval',
36
36
  'replicaSet', 'secondaryAcceptableLatencyMS', 'acceptableLatencyMS',
37
37
  'connectWithNoPrimary', 'authSource', 'w', 'wtimeout', 'j', 'forceServerObjectId',
38
- 'serializeFunctions', 'ignoreUndefined', 'raw', 'promoteLongs', 'bufferMaxEntries',
38
+ 'serializeFunctions', 'ignoreUndefined', 'raw', 'bufferMaxEntries',
39
39
  'readPreference', 'pkFactory', 'promiseLibrary', 'readConcern', 'maxStalenessSeconds',
40
40
  'loggerLevel', 'logger', 'promoteValues', 'promoteBuffers', 'promoteLongs',
41
- 'domainsEnabled', 'keepAliveInitialDelay', 'checkServerIdentity', 'validateOptions', 'appname'];
41
+ 'domainsEnabled', 'keepAliveInitialDelay', 'checkServerIdentity', 'validateOptions', 'appname', 'auth'];
42
42
  var ignoreOptionNames = ['native_parser'];
43
43
  var legacyOptionNames = ['server', 'replset', 'replSet', 'mongos', 'db'];
44
44
 
@@ -114,6 +114,8 @@ function MongoClient() {
114
114
  * @param {number} [options.acceptableLatencyMS=15] Cutoff latency point in MS for Mongos proxies selection.
115
115
  * @param {boolean} [options.connectWithNoPrimary=false] Sets if the driver should connect even if no primary is available
116
116
  * @param {string} [options.authSource=undefined] Define the database to authenticate against
117
+ * @param {string} [options.auth.user=undefined] The username for auth
118
+ * @param {string} [options.auth.password=undefined] The username for auth
117
119
  * @param {(number|string)} [options.w=null] The write concern.
118
120
  * @param {number} [options.wtimeout=null] The write concern timeout.
119
121
  * @param {boolean} [options.j=false] Specify a journal write concern.
@@ -183,6 +185,8 @@ var define = MongoClient.define = new Define('MongoClient', MongoClient, false);
183
185
  * @param {number} [options.acceptableLatencyMS=15] Cutoff latency point in MS for Mongos proxies selection.
184
186
  * @param {boolean} [options.connectWithNoPrimary=false] Sets if the driver should connect even if no primary is available
185
187
  * @param {string} [options.authSource=undefined] Define the database to authenticate against
188
+ * @param {string} [options.auth.user=undefined] The username for auth
189
+ * @param {string} [options.auth.password=undefined] The username for auth
186
190
  * @param {(number|string)} [options.w=null] The write concern.
187
191
  * @param {number} [options.wtimeout=null] The write concern timeout.
188
192
  * @param {boolean} [options.j=false] Specify a journal write concern.
@@ -488,6 +492,10 @@ var connect = function(self, url, options, callback) {
488
492
  if(_finalOptions.socketTimeoutMS == null) _finalOptions.socketTimeoutMS = 360000;
489
493
  if(_finalOptions.connectTimeoutMS == null) _finalOptions.connectTimeoutMS = 30000;
490
494
 
495
+ if (_finalOptions.db_options && _finalOptions.db_options.auth) {
496
+ delete _finalOptions.db_options.auth;
497
+ }
498
+
491
499
  // Failure modes
492
500
  if(object.servers.length == 0) {
493
501
  throw new Error("connection string must contain at least one seed host");
package/lib/url_parser.js CHANGED
@@ -145,6 +145,8 @@ module.exports = function(url, options) {
145
145
 
146
146
  // Add auth to final object if we have 2 elements
147
147
  if(auth.length == 2) object.auth = {user: auth[0], password: auth[1]};
148
+ // if user provided auth options, use that
149
+ if(options && options.auth != null) object.auth = options.auth;
148
150
 
149
151
  // Variables used for temporary storage
150
152
  var hostPart;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mongodb",
3
- "version": "2.2.30",
3
+ "version": "2.2.31",
4
4
  "description": "The official MongoDB driver for Node.js",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "dependencies": {
16
16
  "es6-promise": "3.2.1",
17
- "mongodb-core": "2.1.14",
17
+ "mongodb-core": "2.1.15",
18
18
  "readable-stream": "2.2.7"
19
19
  },
20
20
  "devDependencies": {
@@ -50,7 +50,7 @@
50
50
  "url": "https://github.com/mongodb/node-mongodb-native/issues"
51
51
  },
52
52
  "scripts": {
53
- "test": "node test/runner.js -t functional -l",
53
+ "test": "node test/runner.js -t functional",
54
54
  "coverage": "node_modules/.bin/nyc node test/runner.js -t functional && node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls",
55
55
  "lint": "eslint lib"
56
56
  },
package/yarn.lock CHANGED
@@ -19,7 +19,7 @@ acorn@^3.0.4:
19
19
  version "3.3.0"
20
20
  resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a"
21
21
 
22
- acorn@^5.0.1:
22
+ acorn@^5.1.1:
23
23
  version "5.1.1"
24
24
  resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.1.1.tgz#53fe161111f912ab999ee887a90a0bc52822fd75"
25
25
 
@@ -264,8 +264,8 @@ babel-register@^6.24.1:
264
264
  source-map-support "^0.4.2"
265
265
 
266
266
  babel-runtime@^6.22.0:
267
- version "6.23.0"
268
- resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b"
267
+ version "6.25.0"
268
+ resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.25.0.tgz#33b98eaa5d482bb01a8d1aa6b437ad2b01aec41c"
269
269
  dependencies:
270
270
  core-js "^2.4.0"
271
271
  regenerator-runtime "^0.10.0"
@@ -441,8 +441,8 @@ caseless@~0.11.0:
441
441
  resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7"
442
442
 
443
443
  catharsis@~0.8.7:
444
- version "0.8.8"
445
- resolved "https://registry.yarnpkg.com/catharsis/-/catharsis-0.8.8.tgz#693479f43aac549d806bd73e924cd0d944951a06"
444
+ version "0.8.9"
445
+ resolved "https://registry.yarnpkg.com/catharsis/-/catharsis-0.8.9.tgz#98cc890ca652dd2ef0e70b37925310ff9e90fc8b"
446
446
  dependencies:
447
447
  underscore-contrib "~0.3.0"
448
448
 
@@ -480,8 +480,8 @@ cheerio@^0.19.0:
480
480
  lodash "^3.2.0"
481
481
 
482
482
  circular-json@^0.3.1:
483
- version "0.3.1"
484
- resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.1.tgz#be8b36aefccde8b3ca7aa2d6afc07a37242c0d2d"
483
+ version "0.3.3"
484
+ resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66"
485
485
 
486
486
  cli-cursor@^1.0.1:
487
487
  version "1.0.2"
@@ -562,10 +562,10 @@ convert-source-map@^1.1.0, convert-source-map@^1.3.0:
562
562
  resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.0.tgz#9acd70851c6d5dfdd93d9282e5edf94a03ff46b5"
563
563
 
564
564
  core-js@^2.4.0:
565
- version "2.4.1"
566
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e"
565
+ version "2.5.0"
566
+ resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.0.tgz#569c050918be6486b3837552028ae0466b717086"
567
567
 
568
- core-util-is@~1.0.0:
568
+ core-util-is@1.0.2, core-util-is@~1.0.0:
569
569
  version "1.0.2"
570
570
  resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
571
571
 
@@ -762,8 +762,8 @@ error-ex@^1.2.0:
762
762
  is-arrayish "^0.2.1"
763
763
 
764
764
  es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14:
765
- version "0.10.23"
766
- resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.23.tgz#7578b51be974207a5487821b56538c224e4e7b38"
765
+ version "0.10.26"
766
+ resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.26.tgz#51b2128a531b70c4f6764093a73cbebb82186372"
767
767
  dependencies:
768
768
  es6-iterator "2"
769
769
  es6-symbol "~3.1"
@@ -881,10 +881,10 @@ eslint@^3.8.1:
881
881
  user-home "^2.0.0"
882
882
 
883
883
  espree@^3.4.0:
884
- version "3.4.3"
885
- resolved "https://registry.yarnpkg.com/espree/-/espree-3.4.3.tgz#2910b5ccd49ce893c2ffffaab4fd8b3a31b82374"
884
+ version "3.5.0"
885
+ resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.0.tgz#98358625bdd055861ea27e2867ea729faf463d8d"
886
886
  dependencies:
887
- acorn "^5.0.1"
887
+ acorn "^5.1.1"
888
888
  acorn-jsx "^3.0.0"
889
889
 
890
890
  espree@~2.2.3:
@@ -899,6 +899,10 @@ esprima@^2.6.0:
899
899
  version "2.7.3"
900
900
  resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581"
901
901
 
902
+ esprima@^4.0.0:
903
+ version "4.0.0"
904
+ resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804"
905
+
902
906
  esquery@^1.0.0:
903
907
  version "1.0.0"
904
908
  resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.0.tgz#cfba8b57d7fba93f17298a8a006a04cda13d80fa"
@@ -977,9 +981,9 @@ extglob@^0.3.1:
977
981
  dependencies:
978
982
  is-extglob "^1.0.0"
979
983
 
980
- extsprintf@1.0.2:
981
- version "1.0.2"
982
- resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550"
984
+ extsprintf@1.3.0, extsprintf@^1.2.0:
985
+ version "1.3.0"
986
+ resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
983
987
 
984
988
  fast-levenshtein@~2.0.4:
985
989
  version "2.0.6"
@@ -1516,8 +1520,8 @@ istanbul-lib-hook@^1.0.0-alpha.4:
1516
1520
  append-transform "^0.4.0"
1517
1521
 
1518
1522
  istanbul-lib-instrument@^1.2.0:
1519
- version "1.7.3"
1520
- resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.3.tgz#925b239163eabdd68cc4048f52c2fa4f899ecfa7"
1523
+ version "1.7.4"
1524
+ resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.7.4.tgz#e9fd920e4767f3d19edc765e2d6b3f5ccbd0eea8"
1521
1525
  dependencies:
1522
1526
  babel-generator "^6.18.0"
1523
1527
  babel-template "^6.16.0"
@@ -1556,13 +1560,20 @@ js-tokens@^3.0.0:
1556
1560
  version "3.0.2"
1557
1561
  resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
1558
1562
 
1559
- js-yaml@3.6.1, js-yaml@^3.5.1:
1563
+ js-yaml@3.6.1:
1560
1564
  version "3.6.1"
1561
1565
  resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.6.1.tgz#6e5fe67d8b205ce4d22fad05b7781e8dadcc4b30"
1562
1566
  dependencies:
1563
1567
  argparse "^1.0.7"
1564
1568
  esprima "^2.6.0"
1565
1569
 
1570
+ js-yaml@^3.5.1:
1571
+ version "3.9.1"
1572
+ resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.9.1.tgz#08775cebdfdd359209f0d2acd383c8f86a6904a0"
1573
+ dependencies:
1574
+ argparse "^1.0.7"
1575
+ esprima "^4.0.0"
1576
+
1566
1577
  js2xmlparser@~1.0.0:
1567
1578
  version "1.0.0"
1568
1579
  resolved "https://registry.yarnpkg.com/js2xmlparser/-/js2xmlparser-1.0.0.tgz#5a170f2e8d6476ce45405e04823242513782fe30"
@@ -1629,13 +1640,13 @@ jsonpointer@^4.0.0:
1629
1640
  resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.1.tgz#4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9"
1630
1641
 
1631
1642
  jsprim@^1.2.2:
1632
- version "1.4.0"
1633
- resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918"
1643
+ version "1.4.1"
1644
+ resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2"
1634
1645
  dependencies:
1635
1646
  assert-plus "1.0.0"
1636
- extsprintf "1.0.2"
1647
+ extsprintf "1.3.0"
1637
1648
  json-schema "0.2.3"
1638
- verror "1.3.6"
1649
+ verror "1.10.0"
1639
1650
 
1640
1651
  kerberos@^0.0.23:
1641
1652
  version "0.0.23"
@@ -1945,15 +1956,15 @@ micromatch@^2.3.11:
1945
1956
  parse-glob "^3.0.4"
1946
1957
  regex-cache "^0.4.2"
1947
1958
 
1948
- mime-db@~1.27.0:
1949
- version "1.27.0"
1950
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1"
1959
+ mime-db@~1.29.0:
1960
+ version "1.29.0"
1961
+ resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.29.0.tgz#48d26d235589651704ac5916ca06001914266878"
1951
1962
 
1952
1963
  mime-types@^2.1.12, mime-types@~2.1.7:
1953
- version "2.1.15"
1954
- resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed"
1964
+ version "2.1.16"
1965
+ resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.16.tgz#2b858a52e5ecd516db897ac2be87487830698e23"
1955
1966
  dependencies:
1956
- mime-db "~1.27.0"
1967
+ mime-db "~1.29.0"
1957
1968
 
1958
1969
  minimatch@^3.0.2, minimatch@^3.0.4:
1959
1970
  version "3.0.4"
@@ -1987,13 +1998,6 @@ moment@^2.10.6:
1987
1998
  version "2.18.1"
1988
1999
  resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f"
1989
2000
 
1990
- mongodb-core@2.1.13:
1991
- version "2.1.13"
1992
- resolved "https://registry.yarnpkg.com/mongodb-core/-/mongodb-core-2.1.13.tgz#771ef638270ac993ab42984689ab824251b96a88"
1993
- dependencies:
1994
- bson "~1.0.4"
1995
- require_optional "~1.0.0"
1996
-
1997
2001
  mongodb-core@2.1.14, mongodb-core@^2.1.12:
1998
2002
  version "2.1.14"
1999
2003
  resolved "https://registry.yarnpkg.com/mongodb-core/-/mongodb-core-2.1.14.tgz#13cba2764226b5be3d18992af0c963ce5ea0f0fd"
@@ -2074,11 +2078,11 @@ mongodb-version-manager@christkv/mongodb-version-manager#master:
2074
2078
  unzip "^0.1.11"
2075
2079
 
2076
2080
  mongodb@^2.0.39:
2077
- version "2.2.29"
2078
- resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-2.2.29.tgz#36b244126f26766c5ebd6465b8ab5b542d6833c5"
2081
+ version "2.2.30"
2082
+ resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-2.2.30.tgz#8ccd801f676c8172040c2f2b47e9602a0d5634ab"
2079
2083
  dependencies:
2080
2084
  es6-promise "3.2.1"
2081
- mongodb-core "2.1.13"
2085
+ mongodb-core "2.1.14"
2082
2086
  readable-stream "2.2.7"
2083
2087
 
2084
2088
  ms@0.7.1:
@@ -2555,8 +2559,8 @@ resolve-from@^2.0.0:
2555
2559
  resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-2.0.0.tgz#9480ab20e94ffa1d9e80a804c7ea147611966b57"
2556
2560
 
2557
2561
  resolve@^1.1.6:
2558
- version "1.3.3"
2559
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.3.tgz#655907c3469a8680dc2de3a275a8fdd69691f0e5"
2562
+ version "1.4.0"
2563
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.4.0.tgz#a75be01c53da25d934a98ebd0e4c4a7312f92a86"
2560
2564
  dependencies:
2561
2565
  path-parse "^1.0.5"
2562
2566
 
@@ -2757,8 +2761,8 @@ string-width@^1.0.1, string-width@^1.0.2:
2757
2761
  strip-ansi "^3.0.0"
2758
2762
 
2759
2763
  string-width@^2.0.0:
2760
- version "2.1.0"
2761
- resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.0.tgz#030664561fc146c9423ec7d978fe2457437fe6d0"
2764
+ version "2.1.1"
2765
+ resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
2762
2766
  dependencies:
2763
2767
  is-fullwidth-code-point "^2.0.0"
2764
2768
  strip-ansi "^4.0.0"
@@ -3005,19 +3009,21 @@ validate-npm-package-license@^3.0.1:
3005
3009
  spdx-correct "~1.0.0"
3006
3010
  spdx-expression-parse "~1.0.0"
3007
3011
 
3008
- verror@1.3.6:
3009
- version "1.3.6"
3010
- resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c"
3012
+ verror@1.10.0:
3013
+ version "1.10.0"
3014
+ resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400"
3011
3015
  dependencies:
3012
- extsprintf "1.0.2"
3016
+ assert-plus "^1.0.0"
3017
+ core-util-is "1.0.2"
3018
+ extsprintf "^1.2.0"
3013
3019
 
3014
3020
  which-module@^1.0.0:
3015
3021
  version "1.0.0"
3016
3022
  resolved "https://registry.yarnpkg.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f"
3017
3023
 
3018
3024
  which@^1.1.1, which@^1.2.4, which@^1.2.9:
3019
- version "1.2.14"
3020
- resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5"
3025
+ version "1.3.0"
3026
+ resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
3021
3027
  dependencies:
3022
3028
  isexe "^2.0.0"
3023
3029