z-schema 3.25.1 → 4.1.0

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.
@@ -3,7 +3,7 @@ require('../modules/es6.symbol');
3
3
  require('../modules/es6.object.to-string');
4
4
  module.exports = require('../modules/_core').Symbol;
5
5
 
6
- },{"../modules/_core":7,"../modules/es6.object.to-string":50,"../modules/es6.symbol":51}],2:[function(require,module,exports){
6
+ },{"../modules/_core":7,"../modules/es6.object.to-string":52,"../modules/es6.symbol":53}],2:[function(require,module,exports){
7
7
  module.exports = function (it) {
8
8
  if (typeof it != 'function') throw TypeError(it + ' is not a function!');
9
9
  return it;
@@ -16,7 +16,7 @@ module.exports = function (it) {
16
16
  return it;
17
17
  };
18
18
 
19
- },{"./_is-object":23}],4:[function(require,module,exports){
19
+ },{"./_is-object":24}],4:[function(require,module,exports){
20
20
  // false -> Array#indexOf
21
21
  // true -> Array#includes
22
22
  var toIObject = require('./_to-iobject');
@@ -41,7 +41,7 @@ module.exports = function (IS_INCLUDES) {
41
41
  };
42
42
  };
43
43
 
44
- },{"./_to-absolute-index":41,"./_to-iobject":43,"./_to-length":44}],5:[function(require,module,exports){
44
+ },{"./_to-absolute-index":42,"./_to-iobject":44,"./_to-length":45}],5:[function(require,module,exports){
45
45
  // getting tag from 19.1.3.6 Object.prototype.toString()
46
46
  var cof = require('./_cof');
47
47
  var TAG = require('./_wks')('toStringTag');
@@ -66,7 +66,7 @@ module.exports = function (it) {
66
66
  : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
67
67
  };
68
68
 
69
- },{"./_cof":6,"./_wks":49}],6:[function(require,module,exports){
69
+ },{"./_cof":6,"./_wks":51}],6:[function(require,module,exports){
70
70
  var toString = {}.toString;
71
71
 
72
72
  module.exports = function (it) {
@@ -74,7 +74,7 @@ module.exports = function (it) {
74
74
  };
75
75
 
76
76
  },{}],7:[function(require,module,exports){
77
- var core = module.exports = { version: '2.5.7' };
77
+ var core = module.exports = { version: '2.6.9' };
78
78
  if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
79
79
 
80
80
  },{}],8:[function(require,module,exports){
@@ -121,7 +121,7 @@ module.exports = function (it) {
121
121
  return is ? document.createElement(it) : {};
122
122
  };
123
123
 
124
- },{"./_global":16,"./_is-object":23}],12:[function(require,module,exports){
124
+ },{"./_global":17,"./_is-object":24}],12:[function(require,module,exports){
125
125
  // IE 8- don't enum bug keys
126
126
  module.exports = (
127
127
  'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
@@ -144,7 +144,7 @@ module.exports = function (it) {
144
144
  } return result;
145
145
  };
146
146
 
147
- },{"./_object-gops":32,"./_object-keys":34,"./_object-pie":35}],14:[function(require,module,exports){
147
+ },{"./_object-gops":33,"./_object-keys":35,"./_object-pie":36}],14:[function(require,module,exports){
148
148
  var global = require('./_global');
149
149
  var core = require('./_core');
150
150
  var hide = require('./_hide');
@@ -189,7 +189,7 @@ $export.U = 64; // safe
189
189
  $export.R = 128; // real proto method for `library`
190
190
  module.exports = $export;
191
191
 
192
- },{"./_core":7,"./_ctx":8,"./_global":16,"./_hide":18,"./_redefine":37}],15:[function(require,module,exports){
192
+ },{"./_core":7,"./_ctx":8,"./_global":17,"./_hide":19,"./_redefine":38}],15:[function(require,module,exports){
193
193
  module.exports = function (exec) {
194
194
  try {
195
195
  return !!exec();
@@ -199,6 +199,9 @@ module.exports = function (exec) {
199
199
  };
200
200
 
201
201
  },{}],16:[function(require,module,exports){
202
+ module.exports = require('./_shared')('native-function-to-string', Function.toString);
203
+
204
+ },{"./_shared":41}],17:[function(require,module,exports){
202
205
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
203
206
  var global = module.exports = typeof window != 'undefined' && window.Math == Math
204
207
  ? window : typeof self != 'undefined' && self.Math == Math ? self
@@ -206,13 +209,13 @@ var global = module.exports = typeof window != 'undefined' && window.Math == Mat
206
209
  : Function('return this')();
207
210
  if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
208
211
 
209
- },{}],17:[function(require,module,exports){
212
+ },{}],18:[function(require,module,exports){
210
213
  var hasOwnProperty = {}.hasOwnProperty;
211
214
  module.exports = function (it, key) {
212
215
  return hasOwnProperty.call(it, key);
213
216
  };
214
217
 
215
- },{}],18:[function(require,module,exports){
218
+ },{}],19:[function(require,module,exports){
216
219
  var dP = require('./_object-dp');
217
220
  var createDesc = require('./_property-desc');
218
221
  module.exports = require('./_descriptors') ? function (object, key, value) {
@@ -222,16 +225,16 @@ module.exports = require('./_descriptors') ? function (object, key, value) {
222
225
  return object;
223
226
  };
224
227
 
225
- },{"./_descriptors":10,"./_object-dp":27,"./_property-desc":36}],19:[function(require,module,exports){
228
+ },{"./_descriptors":10,"./_object-dp":28,"./_property-desc":37}],20:[function(require,module,exports){
226
229
  var document = require('./_global').document;
227
230
  module.exports = document && document.documentElement;
228
231
 
229
- },{"./_global":16}],20:[function(require,module,exports){
232
+ },{"./_global":17}],21:[function(require,module,exports){
230
233
  module.exports = !require('./_descriptors') && !require('./_fails')(function () {
231
234
  return Object.defineProperty(require('./_dom-create')('div'), 'a', { get: function () { return 7; } }).a != 7;
232
235
  });
233
236
 
234
- },{"./_descriptors":10,"./_dom-create":11,"./_fails":15}],21:[function(require,module,exports){
237
+ },{"./_descriptors":10,"./_dom-create":11,"./_fails":15}],22:[function(require,module,exports){
235
238
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
236
239
  var cof = require('./_cof');
237
240
  // eslint-disable-next-line no-prototype-builtins
@@ -239,22 +242,22 @@ module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
239
242
  return cof(it) == 'String' ? it.split('') : Object(it);
240
243
  };
241
244
 
242
- },{"./_cof":6}],22:[function(require,module,exports){
245
+ },{"./_cof":6}],23:[function(require,module,exports){
243
246
  // 7.2.2 IsArray(argument)
244
247
  var cof = require('./_cof');
245
248
  module.exports = Array.isArray || function isArray(arg) {
246
249
  return cof(arg) == 'Array';
247
250
  };
248
251
 
249
- },{"./_cof":6}],23:[function(require,module,exports){
252
+ },{"./_cof":6}],24:[function(require,module,exports){
250
253
  module.exports = function (it) {
251
254
  return typeof it === 'object' ? it !== null : typeof it === 'function';
252
255
  };
253
256
 
254
- },{}],24:[function(require,module,exports){
257
+ },{}],25:[function(require,module,exports){
255
258
  module.exports = false;
256
259
 
257
- },{}],25:[function(require,module,exports){
260
+ },{}],26:[function(require,module,exports){
258
261
  var META = require('./_uid')('meta');
259
262
  var isObject = require('./_is-object');
260
263
  var has = require('./_has');
@@ -309,7 +312,7 @@ var meta = module.exports = {
309
312
  onFreeze: onFreeze
310
313
  };
311
314
 
312
- },{"./_fails":15,"./_has":17,"./_is-object":23,"./_object-dp":27,"./_uid":46}],26:[function(require,module,exports){
315
+ },{"./_fails":15,"./_has":18,"./_is-object":24,"./_object-dp":28,"./_uid":48}],27:[function(require,module,exports){
313
316
  // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
314
317
  var anObject = require('./_an-object');
315
318
  var dPs = require('./_object-dps');
@@ -352,7 +355,7 @@ module.exports = Object.create || function create(O, Properties) {
352
355
  return Properties === undefined ? result : dPs(result, Properties);
353
356
  };
354
357
 
355
- },{"./_an-object":3,"./_dom-create":11,"./_enum-bug-keys":12,"./_html":19,"./_object-dps":28,"./_shared-key":39}],27:[function(require,module,exports){
358
+ },{"./_an-object":3,"./_dom-create":11,"./_enum-bug-keys":12,"./_html":20,"./_object-dps":29,"./_shared-key":40}],28:[function(require,module,exports){
356
359
  var anObject = require('./_an-object');
357
360
  var IE8_DOM_DEFINE = require('./_ie8-dom-define');
358
361
  var toPrimitive = require('./_to-primitive');
@@ -370,7 +373,7 @@ exports.f = require('./_descriptors') ? Object.defineProperty : function defineP
370
373
  return O;
371
374
  };
372
375
 
373
- },{"./_an-object":3,"./_descriptors":10,"./_ie8-dom-define":20,"./_to-primitive":45}],28:[function(require,module,exports){
376
+ },{"./_an-object":3,"./_descriptors":10,"./_ie8-dom-define":21,"./_to-primitive":47}],29:[function(require,module,exports){
374
377
  var dP = require('./_object-dp');
375
378
  var anObject = require('./_an-object');
376
379
  var getKeys = require('./_object-keys');
@@ -385,7 +388,7 @@ module.exports = require('./_descriptors') ? Object.defineProperties : function
385
388
  return O;
386
389
  };
387
390
 
388
- },{"./_an-object":3,"./_descriptors":10,"./_object-dp":27,"./_object-keys":34}],29:[function(require,module,exports){
391
+ },{"./_an-object":3,"./_descriptors":10,"./_object-dp":28,"./_object-keys":35}],30:[function(require,module,exports){
389
392
  var pIE = require('./_object-pie');
390
393
  var createDesc = require('./_property-desc');
391
394
  var toIObject = require('./_to-iobject');
@@ -403,7 +406,7 @@ exports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor
403
406
  if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
404
407
  };
405
408
 
406
- },{"./_descriptors":10,"./_has":17,"./_ie8-dom-define":20,"./_object-pie":35,"./_property-desc":36,"./_to-iobject":43,"./_to-primitive":45}],30:[function(require,module,exports){
409
+ },{"./_descriptors":10,"./_has":18,"./_ie8-dom-define":21,"./_object-pie":36,"./_property-desc":37,"./_to-iobject":44,"./_to-primitive":47}],31:[function(require,module,exports){
407
410
  // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
408
411
  var toIObject = require('./_to-iobject');
409
412
  var gOPN = require('./_object-gopn').f;
@@ -424,7 +427,7 @@ module.exports.f = function getOwnPropertyNames(it) {
424
427
  return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
425
428
  };
426
429
 
427
- },{"./_object-gopn":31,"./_to-iobject":43}],31:[function(require,module,exports){
430
+ },{"./_object-gopn":32,"./_to-iobject":44}],32:[function(require,module,exports){
428
431
  // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
429
432
  var $keys = require('./_object-keys-internal');
430
433
  var hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');
@@ -433,10 +436,10 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
433
436
  return $keys(O, hiddenKeys);
434
437
  };
435
438
 
436
- },{"./_enum-bug-keys":12,"./_object-keys-internal":33}],32:[function(require,module,exports){
439
+ },{"./_enum-bug-keys":12,"./_object-keys-internal":34}],33:[function(require,module,exports){
437
440
  exports.f = Object.getOwnPropertySymbols;
438
441
 
439
- },{}],33:[function(require,module,exports){
442
+ },{}],34:[function(require,module,exports){
440
443
  var has = require('./_has');
441
444
  var toIObject = require('./_to-iobject');
442
445
  var arrayIndexOf = require('./_array-includes')(false);
@@ -455,7 +458,7 @@ module.exports = function (object, names) {
455
458
  return result;
456
459
  };
457
460
 
458
- },{"./_array-includes":4,"./_has":17,"./_shared-key":39,"./_to-iobject":43}],34:[function(require,module,exports){
461
+ },{"./_array-includes":4,"./_has":18,"./_shared-key":40,"./_to-iobject":44}],35:[function(require,module,exports){
459
462
  // 19.1.2.14 / 15.2.3.14 Object.keys(O)
460
463
  var $keys = require('./_object-keys-internal');
461
464
  var enumBugKeys = require('./_enum-bug-keys');
@@ -464,10 +467,10 @@ module.exports = Object.keys || function keys(O) {
464
467
  return $keys(O, enumBugKeys);
465
468
  };
466
469
 
467
- },{"./_enum-bug-keys":12,"./_object-keys-internal":33}],35:[function(require,module,exports){
470
+ },{"./_enum-bug-keys":12,"./_object-keys-internal":34}],36:[function(require,module,exports){
468
471
  exports.f = {}.propertyIsEnumerable;
469
472
 
470
- },{}],36:[function(require,module,exports){
473
+ },{}],37:[function(require,module,exports){
471
474
  module.exports = function (bitmap, value) {
472
475
  return {
473
476
  enumerable: !(bitmap & 1),
@@ -477,13 +480,13 @@ module.exports = function (bitmap, value) {
477
480
  };
478
481
  };
479
482
 
480
- },{}],37:[function(require,module,exports){
483
+ },{}],38:[function(require,module,exports){
481
484
  var global = require('./_global');
482
485
  var hide = require('./_hide');
483
486
  var has = require('./_has');
484
487
  var SRC = require('./_uid')('src');
488
+ var $toString = require('./_function-to-string');
485
489
  var TO_STRING = 'toString';
486
- var $toString = Function[TO_STRING];
487
490
  var TPL = ('' + $toString).split(TO_STRING);
488
491
 
489
492
  require('./_core').inspectSource = function (it) {
@@ -510,7 +513,7 @@ require('./_core').inspectSource = function (it) {
510
513
  return typeof this == 'function' && this[SRC] || $toString.call(this);
511
514
  });
512
515
 
513
- },{"./_core":7,"./_global":16,"./_has":17,"./_hide":18,"./_uid":46}],38:[function(require,module,exports){
516
+ },{"./_core":7,"./_function-to-string":16,"./_global":17,"./_has":18,"./_hide":19,"./_uid":48}],39:[function(require,module,exports){
514
517
  var def = require('./_object-dp').f;
515
518
  var has = require('./_has');
516
519
  var TAG = require('./_wks')('toStringTag');
@@ -519,14 +522,14 @@ module.exports = function (it, tag, stat) {
519
522
  if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
520
523
  };
521
524
 
522
- },{"./_has":17,"./_object-dp":27,"./_wks":49}],39:[function(require,module,exports){
525
+ },{"./_has":18,"./_object-dp":28,"./_wks":51}],40:[function(require,module,exports){
523
526
  var shared = require('./_shared')('keys');
524
527
  var uid = require('./_uid');
525
528
  module.exports = function (key) {
526
529
  return shared[key] || (shared[key] = uid(key));
527
530
  };
528
531
 
529
- },{"./_shared":40,"./_uid":46}],40:[function(require,module,exports){
532
+ },{"./_shared":41,"./_uid":48}],41:[function(require,module,exports){
530
533
  var core = require('./_core');
531
534
  var global = require('./_global');
532
535
  var SHARED = '__core-js_shared__';
@@ -537,10 +540,10 @@ var store = global[SHARED] || (global[SHARED] = {});
537
540
  })('versions', []).push({
538
541
  version: core.version,
539
542
  mode: require('./_library') ? 'pure' : 'global',
540
- copyright: '© 2018 Denis Pushkarev (zloirock.ru)'
543
+ copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
541
544
  });
542
545
 
543
- },{"./_core":7,"./_global":16,"./_library":24}],41:[function(require,module,exports){
546
+ },{"./_core":7,"./_global":17,"./_library":25}],42:[function(require,module,exports){
544
547
  var toInteger = require('./_to-integer');
545
548
  var max = Math.max;
546
549
  var min = Math.min;
@@ -549,7 +552,7 @@ module.exports = function (index, length) {
549
552
  return index < 0 ? max(index + length, 0) : min(index, length);
550
553
  };
551
554
 
552
- },{"./_to-integer":42}],42:[function(require,module,exports){
555
+ },{"./_to-integer":43}],43:[function(require,module,exports){
553
556
  // 7.1.4 ToInteger
554
557
  var ceil = Math.ceil;
555
558
  var floor = Math.floor;
@@ -557,7 +560,7 @@ module.exports = function (it) {
557
560
  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
558
561
  };
559
562
 
560
- },{}],43:[function(require,module,exports){
563
+ },{}],44:[function(require,module,exports){
561
564
  // to indexed object, toObject with fallback for non-array-like ES3 strings
562
565
  var IObject = require('./_iobject');
563
566
  var defined = require('./_defined');
@@ -565,7 +568,7 @@ module.exports = function (it) {
565
568
  return IObject(defined(it));
566
569
  };
567
570
 
568
- },{"./_defined":9,"./_iobject":21}],44:[function(require,module,exports){
571
+ },{"./_defined":9,"./_iobject":22}],45:[function(require,module,exports){
569
572
  // 7.1.15 ToLength
570
573
  var toInteger = require('./_to-integer');
571
574
  var min = Math.min;
@@ -573,7 +576,14 @@ module.exports = function (it) {
573
576
  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
574
577
  };
575
578
 
576
- },{"./_to-integer":42}],45:[function(require,module,exports){
579
+ },{"./_to-integer":43}],46:[function(require,module,exports){
580
+ // 7.1.13 ToObject(argument)
581
+ var defined = require('./_defined');
582
+ module.exports = function (it) {
583
+ return Object(defined(it));
584
+ };
585
+
586
+ },{"./_defined":9}],47:[function(require,module,exports){
577
587
  // 7.1.1 ToPrimitive(input [, PreferredType])
578
588
  var isObject = require('./_is-object');
579
589
  // instead of the ES6 spec version, we didn't implement @@toPrimitive case
@@ -587,14 +597,14 @@ module.exports = function (it, S) {
587
597
  throw TypeError("Can't convert object to primitive value");
588
598
  };
589
599
 
590
- },{"./_is-object":23}],46:[function(require,module,exports){
600
+ },{"./_is-object":24}],48:[function(require,module,exports){
591
601
  var id = 0;
592
602
  var px = Math.random();
593
603
  module.exports = function (key) {
594
604
  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
595
605
  };
596
606
 
597
- },{}],47:[function(require,module,exports){
607
+ },{}],49:[function(require,module,exports){
598
608
  var global = require('./_global');
599
609
  var core = require('./_core');
600
610
  var LIBRARY = require('./_library');
@@ -605,10 +615,10 @@ module.exports = function (name) {
605
615
  if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
606
616
  };
607
617
 
608
- },{"./_core":7,"./_global":16,"./_library":24,"./_object-dp":27,"./_wks-ext":48}],48:[function(require,module,exports){
618
+ },{"./_core":7,"./_global":17,"./_library":25,"./_object-dp":28,"./_wks-ext":50}],50:[function(require,module,exports){
609
619
  exports.f = require('./_wks');
610
620
 
611
- },{"./_wks":49}],49:[function(require,module,exports){
621
+ },{"./_wks":51}],51:[function(require,module,exports){
612
622
  var store = require('./_shared')('wks');
613
623
  var uid = require('./_uid');
614
624
  var Symbol = require('./_global').Symbol;
@@ -621,7 +631,7 @@ var $exports = module.exports = function (name) {
621
631
 
622
632
  $exports.store = store;
623
633
 
624
- },{"./_global":16,"./_shared":40,"./_uid":46}],50:[function(require,module,exports){
634
+ },{"./_global":17,"./_shared":41,"./_uid":48}],52:[function(require,module,exports){
625
635
  'use strict';
626
636
  // 19.1.3.6 Object.prototype.toString()
627
637
  var classof = require('./_classof');
@@ -633,7 +643,7 @@ if (test + '' != '[object z]') {
633
643
  }, true);
634
644
  }
635
645
 
636
- },{"./_classof":5,"./_redefine":37,"./_wks":49}],51:[function(require,module,exports){
646
+ },{"./_classof":5,"./_redefine":38,"./_wks":51}],53:[function(require,module,exports){
637
647
  'use strict';
638
648
  // ECMAScript 6 symbols shim
639
649
  var global = require('./_global');
@@ -653,12 +663,14 @@ var enumKeys = require('./_enum-keys');
653
663
  var isArray = require('./_is-array');
654
664
  var anObject = require('./_an-object');
655
665
  var isObject = require('./_is-object');
666
+ var toObject = require('./_to-object');
656
667
  var toIObject = require('./_to-iobject');
657
668
  var toPrimitive = require('./_to-primitive');
658
669
  var createDesc = require('./_property-desc');
659
670
  var _create = require('./_object-create');
660
671
  var gOPNExt = require('./_object-gopn-ext');
661
672
  var $GOPD = require('./_object-gopd');
673
+ var $GOPS = require('./_object-gops');
662
674
  var $DP = require('./_object-dp');
663
675
  var $keys = require('./_object-keys');
664
676
  var gOPD = $GOPD.f;
@@ -675,7 +687,7 @@ var SymbolRegistry = shared('symbol-registry');
675
687
  var AllSymbols = shared('symbols');
676
688
  var OPSymbols = shared('op-symbols');
677
689
  var ObjectProto = Object[PROTOTYPE];
678
- var USE_NATIVE = typeof $Symbol == 'function';
690
+ var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
679
691
  var QObject = global.QObject;
680
692
  // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
681
693
  var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
@@ -785,7 +797,7 @@ if (!USE_NATIVE) {
785
797
  $DP.f = $defineProperty;
786
798
  require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;
787
799
  require('./_object-pie').f = $propertyIsEnumerable;
788
- require('./_object-gops').f = $getOwnPropertySymbols;
800
+ $GOPS.f = $getOwnPropertySymbols;
789
801
 
790
802
  if (DESCRIPTORS && !require('./_library')) {
791
803
  redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
@@ -836,6 +848,16 @@ $export($export.S + $export.F * !USE_NATIVE, 'Object', {
836
848
  getOwnPropertySymbols: $getOwnPropertySymbols
837
849
  });
838
850
 
851
+ // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
852
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3443
853
+ var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
854
+
855
+ $export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
856
+ getOwnPropertySymbols: function getOwnPropertySymbols(it) {
857
+ return $GOPS.f(toObject(it));
858
+ }
859
+ });
860
+
839
861
  // 24.3.2 JSON.stringify(value [, replacer [, space]])
840
862
  $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
841
863
  var S = $Symbol();
@@ -869,7 +891,7 @@ setToStringTag(Math, 'Math', true);
869
891
  // 24.3.3 JSON[@@toStringTag]
870
892
  setToStringTag(global.JSON, 'JSON', true);
871
893
 
872
- },{"./_an-object":3,"./_descriptors":10,"./_enum-keys":13,"./_export":14,"./_fails":15,"./_global":16,"./_has":17,"./_hide":18,"./_is-array":22,"./_is-object":23,"./_library":24,"./_meta":25,"./_object-create":26,"./_object-dp":27,"./_object-gopd":29,"./_object-gopn":31,"./_object-gopn-ext":30,"./_object-gops":32,"./_object-keys":34,"./_object-pie":35,"./_property-desc":36,"./_redefine":37,"./_set-to-string-tag":38,"./_shared":40,"./_to-iobject":43,"./_to-primitive":45,"./_uid":46,"./_wks":49,"./_wks-define":47,"./_wks-ext":48}],52:[function(require,module,exports){
894
+ },{"./_an-object":3,"./_descriptors":10,"./_enum-keys":13,"./_export":14,"./_fails":15,"./_global":17,"./_has":18,"./_hide":19,"./_is-array":23,"./_is-object":24,"./_library":25,"./_meta":26,"./_object-create":27,"./_object-dp":28,"./_object-gopd":30,"./_object-gopn":32,"./_object-gopn-ext":31,"./_object-gops":33,"./_object-keys":35,"./_object-pie":36,"./_property-desc":37,"./_redefine":38,"./_set-to-string-tag":39,"./_shared":41,"./_to-iobject":44,"./_to-object":46,"./_to-primitive":47,"./_uid":48,"./_wks":51,"./_wks-define":49,"./_wks-ext":50}],54:[function(require,module,exports){
873
895
  (function (global){
874
896
  /**
875
897
  * lodash (Custom Build) <https://lodash.com/>
@@ -1804,7 +1826,7 @@ function get(object, path, defaultValue) {
1804
1826
  module.exports = get;
1805
1827
 
1806
1828
  }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
1807
- },{}],53:[function(require,module,exports){
1829
+ },{}],55:[function(require,module,exports){
1808
1830
  (function (global){
1809
1831
  /**
1810
1832
  * Lodash (Custom Build) <https://lodash.com/>
@@ -3656,7 +3678,7 @@ function stubFalse() {
3656
3678
  module.exports = isEqual;
3657
3679
 
3658
3680
  }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
3659
- },{}],54:[function(require,module,exports){
3681
+ },{}],56:[function(require,module,exports){
3660
3682
  // shim for using process in browser
3661
3683
  var process = module.exports = {};
3662
3684
 
@@ -3842,7 +3864,7 @@ process.chdir = function (dir) {
3842
3864
  };
3843
3865
  process.umask = function() { return 0; };
3844
3866
 
3845
- },{}],55:[function(require,module,exports){
3867
+ },{}],57:[function(require,module,exports){
3846
3868
  "use strict";
3847
3869
 
3848
3870
  Object.defineProperty(exports, "__esModule", {
@@ -4000,7 +4022,7 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
4000
4022
 
4001
4023
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
4002
4024
 
4003
- var version = '10.9.0';
4025
+ var version = '10.11.0';
4004
4026
  var validator = {
4005
4027
  version: version,
4006
4028
  toDate: _toDate.default,
@@ -4085,7 +4107,8 @@ var validator = {
4085
4107
  var _default = validator;
4086
4108
  exports.default = _default;
4087
4109
  module.exports = exports.default;
4088
- },{"./lib/blacklist":57,"./lib/contains":58,"./lib/equals":59,"./lib/escape":60,"./lib/isAfter":61,"./lib/isAlpha":62,"./lib/isAlphanumeric":63,"./lib/isAscii":64,"./lib/isBase64":65,"./lib/isBefore":66,"./lib/isBoolean":67,"./lib/isByteLength":68,"./lib/isCreditCard":69,"./lib/isCurrency":70,"./lib/isDataURI":71,"./lib/isDecimal":72,"./lib/isDivisibleBy":73,"./lib/isEmail":74,"./lib/isEmpty":75,"./lib/isFQDN":76,"./lib/isFloat":77,"./lib/isFullWidth":78,"./lib/isHalfWidth":79,"./lib/isHash":80,"./lib/isHexColor":81,"./lib/isHexadecimal":82,"./lib/isIP":83,"./lib/isIPRange":84,"./lib/isISBN":85,"./lib/isISIN":86,"./lib/isISO31661Alpha2":87,"./lib/isISO31661Alpha3":88,"./lib/isISO8601":89,"./lib/isISRC":90,"./lib/isISSN":91,"./lib/isIdentityCard":92,"./lib/isIn":93,"./lib/isInt":94,"./lib/isJSON":95,"./lib/isJWT":96,"./lib/isLatLong":97,"./lib/isLength":98,"./lib/isLowercase":99,"./lib/isMACAddress":100,"./lib/isMD5":101,"./lib/isMagnetURI":102,"./lib/isMimeType":103,"./lib/isMobilePhone":104,"./lib/isMongoId":105,"./lib/isMultibyte":106,"./lib/isNumeric":107,"./lib/isPort":108,"./lib/isPostalCode":109,"./lib/isRFC3339":110,"./lib/isSurrogatePair":111,"./lib/isURL":112,"./lib/isUUID":113,"./lib/isUppercase":114,"./lib/isVariableWidth":115,"./lib/isWhitelisted":116,"./lib/ltrim":117,"./lib/matches":118,"./lib/normalizeEmail":119,"./lib/rtrim":120,"./lib/stripLow":121,"./lib/toBoolean":122,"./lib/toDate":123,"./lib/toFloat":124,"./lib/toInt":125,"./lib/trim":126,"./lib/unescape":127,"./lib/util/toString":131,"./lib/whitelist":132}],56:[function(require,module,exports){
4110
+ module.exports.default = exports.default;
4111
+ },{"./lib/blacklist":59,"./lib/contains":60,"./lib/equals":61,"./lib/escape":62,"./lib/isAfter":63,"./lib/isAlpha":64,"./lib/isAlphanumeric":65,"./lib/isAscii":66,"./lib/isBase64":67,"./lib/isBefore":68,"./lib/isBoolean":69,"./lib/isByteLength":70,"./lib/isCreditCard":71,"./lib/isCurrency":72,"./lib/isDataURI":73,"./lib/isDecimal":74,"./lib/isDivisibleBy":75,"./lib/isEmail":76,"./lib/isEmpty":77,"./lib/isFQDN":78,"./lib/isFloat":79,"./lib/isFullWidth":80,"./lib/isHalfWidth":81,"./lib/isHash":82,"./lib/isHexColor":83,"./lib/isHexadecimal":84,"./lib/isIP":85,"./lib/isIPRange":86,"./lib/isISBN":87,"./lib/isISIN":88,"./lib/isISO31661Alpha2":89,"./lib/isISO31661Alpha3":90,"./lib/isISO8601":91,"./lib/isISRC":92,"./lib/isISSN":93,"./lib/isIdentityCard":94,"./lib/isIn":95,"./lib/isInt":96,"./lib/isJSON":97,"./lib/isJWT":98,"./lib/isLatLong":99,"./lib/isLength":100,"./lib/isLowercase":101,"./lib/isMACAddress":102,"./lib/isMD5":103,"./lib/isMagnetURI":104,"./lib/isMimeType":105,"./lib/isMobilePhone":106,"./lib/isMongoId":107,"./lib/isMultibyte":108,"./lib/isNumeric":109,"./lib/isPort":110,"./lib/isPostalCode":111,"./lib/isRFC3339":112,"./lib/isSurrogatePair":113,"./lib/isURL":114,"./lib/isUUID":115,"./lib/isUppercase":116,"./lib/isVariableWidth":117,"./lib/isWhitelisted":118,"./lib/ltrim":119,"./lib/matches":120,"./lib/normalizeEmail":121,"./lib/rtrim":122,"./lib/stripLow":123,"./lib/toBoolean":124,"./lib/toDate":125,"./lib/toFloat":126,"./lib/toInt":127,"./lib/trim":128,"./lib/unescape":129,"./lib/util/toString":133,"./lib/whitelist":134}],58:[function(require,module,exports){
4089
4112
  "use strict";
4090
4113
 
4091
4114
  Object.defineProperty(exports, "__esModule", {
@@ -4195,7 +4218,7 @@ decimal['pt-BR'] = decimal['pt-PT']; // see #862
4195
4218
  alpha['pl-Pl'] = alpha['pl-PL'];
4196
4219
  alphanumeric['pl-Pl'] = alphanumeric['pl-PL'];
4197
4220
  decimal['pl-Pl'] = decimal['pl-PL'];
4198
- },{}],57:[function(require,module,exports){
4221
+ },{}],59:[function(require,module,exports){
4199
4222
  "use strict";
4200
4223
 
4201
4224
  Object.defineProperty(exports, "__esModule", {
@@ -4213,7 +4236,8 @@ function blacklist(str, chars) {
4213
4236
  }
4214
4237
 
4215
4238
  module.exports = exports.default;
4216
- },{"./util/assertString":128}],58:[function(require,module,exports){
4239
+ module.exports.default = exports.default;
4240
+ },{"./util/assertString":130}],60:[function(require,module,exports){
4217
4241
  "use strict";
4218
4242
 
4219
4243
  Object.defineProperty(exports, "__esModule", {
@@ -4233,7 +4257,8 @@ function contains(str, elem) {
4233
4257
  }
4234
4258
 
4235
4259
  module.exports = exports.default;
4236
- },{"./util/assertString":128,"./util/toString":131}],59:[function(require,module,exports){
4260
+ module.exports.default = exports.default;
4261
+ },{"./util/assertString":130,"./util/toString":133}],61:[function(require,module,exports){
4237
4262
  "use strict";
4238
4263
 
4239
4264
  Object.defineProperty(exports, "__esModule", {
@@ -4251,7 +4276,8 @@ function equals(str, comparison) {
4251
4276
  }
4252
4277
 
4253
4278
  module.exports = exports.default;
4254
- },{"./util/assertString":128}],60:[function(require,module,exports){
4279
+ module.exports.default = exports.default;
4280
+ },{"./util/assertString":130}],62:[function(require,module,exports){
4255
4281
  "use strict";
4256
4282
 
4257
4283
  Object.defineProperty(exports, "__esModule", {
@@ -4269,7 +4295,8 @@ function escape(str) {
4269
4295
  }
4270
4296
 
4271
4297
  module.exports = exports.default;
4272
- },{"./util/assertString":128}],61:[function(require,module,exports){
4298
+ module.exports.default = exports.default;
4299
+ },{"./util/assertString":130}],63:[function(require,module,exports){
4273
4300
  "use strict";
4274
4301
 
4275
4302
  Object.defineProperty(exports, "__esModule", {
@@ -4292,7 +4319,8 @@ function isAfter(str) {
4292
4319
  }
4293
4320
 
4294
4321
  module.exports = exports.default;
4295
- },{"./toDate":123,"./util/assertString":128}],62:[function(require,module,exports){
4322
+ module.exports.default = exports.default;
4323
+ },{"./toDate":125,"./util/assertString":130}],64:[function(require,module,exports){
4296
4324
  "use strict";
4297
4325
 
4298
4326
  Object.defineProperty(exports, "__esModule", {
@@ -4320,7 +4348,7 @@ function isAlpha(str) {
4320
4348
 
4321
4349
  var locales = Object.keys(_alpha.alpha);
4322
4350
  exports.locales = locales;
4323
- },{"./alpha":56,"./util/assertString":128}],63:[function(require,module,exports){
4351
+ },{"./alpha":58,"./util/assertString":130}],65:[function(require,module,exports){
4324
4352
  "use strict";
4325
4353
 
4326
4354
  Object.defineProperty(exports, "__esModule", {
@@ -4348,7 +4376,7 @@ function isAlphanumeric(str) {
4348
4376
 
4349
4377
  var locales = Object.keys(_alpha.alphanumeric);
4350
4378
  exports.locales = locales;
4351
- },{"./alpha":56,"./util/assertString":128}],64:[function(require,module,exports){
4379
+ },{"./alpha":58,"./util/assertString":130}],66:[function(require,module,exports){
4352
4380
  "use strict";
4353
4381
 
4354
4382
  Object.defineProperty(exports, "__esModule", {
@@ -4370,7 +4398,8 @@ function isAscii(str) {
4370
4398
  }
4371
4399
 
4372
4400
  module.exports = exports.default;
4373
- },{"./util/assertString":128}],65:[function(require,module,exports){
4401
+ module.exports.default = exports.default;
4402
+ },{"./util/assertString":130}],67:[function(require,module,exports){
4374
4403
  "use strict";
4375
4404
 
4376
4405
  Object.defineProperty(exports, "__esModule", {
@@ -4397,7 +4426,8 @@ function isBase64(str) {
4397
4426
  }
4398
4427
 
4399
4428
  module.exports = exports.default;
4400
- },{"./util/assertString":128}],66:[function(require,module,exports){
4429
+ module.exports.default = exports.default;
4430
+ },{"./util/assertString":130}],68:[function(require,module,exports){
4401
4431
  "use strict";
4402
4432
 
4403
4433
  Object.defineProperty(exports, "__esModule", {
@@ -4420,7 +4450,8 @@ function isBefore(str) {
4420
4450
  }
4421
4451
 
4422
4452
  module.exports = exports.default;
4423
- },{"./toDate":123,"./util/assertString":128}],67:[function(require,module,exports){
4453
+ module.exports.default = exports.default;
4454
+ },{"./toDate":125,"./util/assertString":130}],69:[function(require,module,exports){
4424
4455
  "use strict";
4425
4456
 
4426
4457
  Object.defineProperty(exports, "__esModule", {
@@ -4438,7 +4469,8 @@ function isBoolean(str) {
4438
4469
  }
4439
4470
 
4440
4471
  module.exports = exports.default;
4441
- },{"./util/assertString":128}],68:[function(require,module,exports){
4472
+ module.exports.default = exports.default;
4473
+ },{"./util/assertString":130}],70:[function(require,module,exports){
4442
4474
  "use strict";
4443
4475
 
4444
4476
  Object.defineProperty(exports, "__esModule", {
@@ -4472,7 +4504,8 @@ function isByteLength(str, options) {
4472
4504
  }
4473
4505
 
4474
4506
  module.exports = exports.default;
4475
- },{"./util/assertString":128}],69:[function(require,module,exports){
4507
+ module.exports.default = exports.default;
4508
+ },{"./util/assertString":130}],71:[function(require,module,exports){
4476
4509
  "use strict";
4477
4510
 
4478
4511
  Object.defineProperty(exports, "__esModule", {
@@ -4524,7 +4557,8 @@ function isCreditCard(str) {
4524
4557
  }
4525
4558
 
4526
4559
  module.exports = exports.default;
4527
- },{"./util/assertString":128}],70:[function(require,module,exports){
4560
+ module.exports.default = exports.default;
4561
+ },{"./util/assertString":130}],72:[function(require,module,exports){
4528
4562
  "use strict";
4529
4563
 
4530
4564
  Object.defineProperty(exports, "__esModule", {
@@ -4613,7 +4647,8 @@ function isCurrency(str, options) {
4613
4647
  }
4614
4648
 
4615
4649
  module.exports = exports.default;
4616
- },{"./util/assertString":128,"./util/merge":130}],71:[function(require,module,exports){
4650
+ module.exports.default = exports.default;
4651
+ },{"./util/assertString":130,"./util/merge":132}],73:[function(require,module,exports){
4617
4652
  "use strict";
4618
4653
 
4619
4654
  Object.defineProperty(exports, "__esModule", {
@@ -4667,7 +4702,8 @@ function isDataURI(str) {
4667
4702
  }
4668
4703
 
4669
4704
  module.exports = exports.default;
4670
- },{"./util/assertString":128}],72:[function(require,module,exports){
4705
+ module.exports.default = exports.default;
4706
+ },{"./util/assertString":130}],74:[function(require,module,exports){
4671
4707
  "use strict";
4672
4708
 
4673
4709
  Object.defineProperty(exports, "__esModule", {
@@ -4709,7 +4745,8 @@ function isDecimal(str, options) {
4709
4745
  }
4710
4746
 
4711
4747
  module.exports = exports.default;
4712
- },{"./alpha":56,"./util/assertString":128,"./util/includes":129,"./util/merge":130}],73:[function(require,module,exports){
4748
+ module.exports.default = exports.default;
4749
+ },{"./alpha":58,"./util/assertString":130,"./util/includes":131,"./util/merge":132}],75:[function(require,module,exports){
4713
4750
  "use strict";
4714
4751
 
4715
4752
  Object.defineProperty(exports, "__esModule", {
@@ -4729,7 +4766,8 @@ function isDivisibleBy(str, num) {
4729
4766
  }
4730
4767
 
4731
4768
  module.exports = exports.default;
4732
- },{"./toFloat":124,"./util/assertString":128}],74:[function(require,module,exports){
4769
+ module.exports.default = exports.default;
4770
+ },{"./toFloat":126,"./util/assertString":130}],76:[function(require,module,exports){
4733
4771
  "use strict";
4734
4772
 
4735
4773
  Object.defineProperty(exports, "__esModule", {
@@ -4862,7 +4900,8 @@ function isEmail(str, options) {
4862
4900
  }
4863
4901
 
4864
4902
  module.exports = exports.default;
4865
- },{"./isByteLength":68,"./isFQDN":76,"./isIP":83,"./util/assertString":128,"./util/merge":130}],75:[function(require,module,exports){
4903
+ module.exports.default = exports.default;
4904
+ },{"./isByteLength":70,"./isFQDN":78,"./isIP":85,"./util/assertString":130,"./util/merge":132}],77:[function(require,module,exports){
4866
4905
  "use strict";
4867
4906
 
4868
4907
  Object.defineProperty(exports, "__esModule", {
@@ -4887,7 +4926,8 @@ function isEmpty(str, options) {
4887
4926
  }
4888
4927
 
4889
4928
  module.exports = exports.default;
4890
- },{"./util/assertString":128,"./util/merge":130}],76:[function(require,module,exports){
4929
+ module.exports.default = exports.default;
4930
+ },{"./util/assertString":130,"./util/merge":132}],78:[function(require,module,exports){
4891
4931
  "use strict";
4892
4932
 
4893
4933
  Object.defineProperty(exports, "__esModule", {
@@ -4962,7 +5002,8 @@ function isFQDN(str, options) {
4962
5002
  }
4963
5003
 
4964
5004
  module.exports = exports.default;
4965
- },{"./util/assertString":128,"./util/merge":130}],77:[function(require,module,exports){
5005
+ module.exports.default = exports.default;
5006
+ },{"./util/assertString":130,"./util/merge":132}],79:[function(require,module,exports){
4966
5007
  "use strict";
4967
5008
 
4968
5009
  Object.defineProperty(exports, "__esModule", {
@@ -4992,7 +5033,7 @@ function isFloat(str, options) {
4992
5033
 
4993
5034
  var locales = Object.keys(_alpha.decimal);
4994
5035
  exports.locales = locales;
4995
- },{"./alpha":56,"./util/assertString":128}],78:[function(require,module,exports){
5036
+ },{"./alpha":58,"./util/assertString":130}],80:[function(require,module,exports){
4996
5037
  "use strict";
4997
5038
 
4998
5039
  Object.defineProperty(exports, "__esModule", {
@@ -5012,7 +5053,7 @@ function isFullWidth(str) {
5012
5053
  (0, _assertString.default)(str);
5013
5054
  return fullWidth.test(str);
5014
5055
  }
5015
- },{"./util/assertString":128}],79:[function(require,module,exports){
5056
+ },{"./util/assertString":130}],81:[function(require,module,exports){
5016
5057
  "use strict";
5017
5058
 
5018
5059
  Object.defineProperty(exports, "__esModule", {
@@ -5032,7 +5073,7 @@ function isHalfWidth(str) {
5032
5073
  (0, _assertString.default)(str);
5033
5074
  return halfWidth.test(str);
5034
5075
  }
5035
- },{"./util/assertString":128}],80:[function(require,module,exports){
5076
+ },{"./util/assertString":130}],82:[function(require,module,exports){
5036
5077
  "use strict";
5037
5078
 
5038
5079
  Object.defineProperty(exports, "__esModule", {
@@ -5067,7 +5108,8 @@ function isHash(str, algorithm) {
5067
5108
  }
5068
5109
 
5069
5110
  module.exports = exports.default;
5070
- },{"./util/assertString":128}],81:[function(require,module,exports){
5111
+ module.exports.default = exports.default;
5112
+ },{"./util/assertString":130}],83:[function(require,module,exports){
5071
5113
  "use strict";
5072
5114
 
5073
5115
  Object.defineProperty(exports, "__esModule", {
@@ -5087,7 +5129,8 @@ function isHexColor(str) {
5087
5129
  }
5088
5130
 
5089
5131
  module.exports = exports.default;
5090
- },{"./util/assertString":128}],82:[function(require,module,exports){
5132
+ module.exports.default = exports.default;
5133
+ },{"./util/assertString":130}],84:[function(require,module,exports){
5091
5134
  "use strict";
5092
5135
 
5093
5136
  Object.defineProperty(exports, "__esModule", {
@@ -5107,7 +5150,8 @@ function isHexadecimal(str) {
5107
5150
  }
5108
5151
 
5109
5152
  module.exports = exports.default;
5110
- },{"./util/assertString":128}],83:[function(require,module,exports){
5153
+ module.exports.default = exports.default;
5154
+ },{"./util/assertString":130}],85:[function(require,module,exports){
5111
5155
  "use strict";
5112
5156
 
5113
5157
  Object.defineProperty(exports, "__esModule", {
@@ -5193,7 +5237,8 @@ function isIP(str) {
5193
5237
  }
5194
5238
 
5195
5239
  module.exports = exports.default;
5196
- },{"./util/assertString":128}],84:[function(require,module,exports){
5240
+ module.exports.default = exports.default;
5241
+ },{"./util/assertString":130}],86:[function(require,module,exports){
5197
5242
  "use strict";
5198
5243
 
5199
5244
  Object.defineProperty(exports, "__esModule", {
@@ -5230,7 +5275,8 @@ function isIPRange(str) {
5230
5275
  }
5231
5276
 
5232
5277
  module.exports = exports.default;
5233
- },{"./isIP":83,"./util/assertString":128}],85:[function(require,module,exports){
5278
+ module.exports.default = exports.default;
5279
+ },{"./isIP":85,"./util/assertString":130}],87:[function(require,module,exports){
5234
5280
  "use strict";
5235
5281
 
5236
5282
  Object.defineProperty(exports, "__esModule", {
@@ -5295,7 +5341,8 @@ function isISBN(str) {
5295
5341
  }
5296
5342
 
5297
5343
  module.exports = exports.default;
5298
- },{"./util/assertString":128}],86:[function(require,module,exports){
5344
+ module.exports.default = exports.default;
5345
+ },{"./util/assertString":130}],88:[function(require,module,exports){
5299
5346
  "use strict";
5300
5347
 
5301
5348
  Object.defineProperty(exports, "__esModule", {
@@ -5347,7 +5394,8 @@ function isISIN(str) {
5347
5394
  }
5348
5395
 
5349
5396
  module.exports = exports.default;
5350
- },{"./util/assertString":128}],87:[function(require,module,exports){
5397
+ module.exports.default = exports.default;
5398
+ },{"./util/assertString":130}],89:[function(require,module,exports){
5351
5399
  "use strict";
5352
5400
 
5353
5401
  Object.defineProperty(exports, "__esModule", {
@@ -5370,7 +5418,8 @@ function isISO31661Alpha2(str) {
5370
5418
  }
5371
5419
 
5372
5420
  module.exports = exports.default;
5373
- },{"./util/assertString":128,"./util/includes":129}],88:[function(require,module,exports){
5421
+ module.exports.default = exports.default;
5422
+ },{"./util/assertString":130,"./util/includes":131}],90:[function(require,module,exports){
5374
5423
  "use strict";
5375
5424
 
5376
5425
  Object.defineProperty(exports, "__esModule", {
@@ -5393,7 +5442,8 @@ function isISO31661Alpha3(str) {
5393
5442
  }
5394
5443
 
5395
5444
  module.exports = exports.default;
5396
- },{"./util/assertString":128,"./util/includes":129}],89:[function(require,module,exports){
5445
+ module.exports.default = exports.default;
5446
+ },{"./util/assertString":130,"./util/includes":131}],91:[function(require,module,exports){
5397
5447
  "use strict";
5398
5448
 
5399
5449
  Object.defineProperty(exports, "__esModule", {
@@ -5428,13 +5478,15 @@ var isValidDate = function isValidDate(str) {
5428
5478
  var match = str.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number);
5429
5479
  var year = match[1];
5430
5480
  var month = match[2];
5431
- var day = match[3]; // create a date object and compare
5481
+ var day = match[3];
5482
+ var monthString = month ? "0".concat(month).slice(-2) : month;
5483
+ var dayString = day ? "0".concat(day).slice(-2) : day; // create a date object and compare
5432
5484
 
5433
- var d = new Date("".concat(year, "-").concat(month || 1, "-").concat(day || 1));
5434
- if (isNaN(d.getFullYear())) return false;
5485
+ var d = new Date("".concat(year, "-").concat(monthString || '01', "-").concat(dayString || '01'));
5486
+ if (isNaN(d.getUTCFullYear())) return false;
5435
5487
 
5436
5488
  if (month && day) {
5437
- return d.getFullYear() === year && d.getMonth() + 1 === month && d.getDate() === day;
5489
+ return d.getUTCFullYear() === year && d.getUTCMonth() + 1 === month && d.getUTCDate() === day;
5438
5490
  }
5439
5491
 
5440
5492
  return true;
@@ -5449,7 +5501,8 @@ function isISO8601(str, options) {
5449
5501
  }
5450
5502
 
5451
5503
  module.exports = exports.default;
5452
- },{"./util/assertString":128}],90:[function(require,module,exports){
5504
+ module.exports.default = exports.default;
5505
+ },{"./util/assertString":130}],92:[function(require,module,exports){
5453
5506
  "use strict";
5454
5507
 
5455
5508
  Object.defineProperty(exports, "__esModule", {
@@ -5470,7 +5523,8 @@ function isISRC(str) {
5470
5523
  }
5471
5524
 
5472
5525
  module.exports = exports.default;
5473
- },{"./util/assertString":128}],91:[function(require,module,exports){
5526
+ module.exports.default = exports.default;
5527
+ },{"./util/assertString":130}],93:[function(require,module,exports){
5474
5528
  "use strict";
5475
5529
 
5476
5530
  Object.defineProperty(exports, "__esModule", {
@@ -5507,7 +5561,8 @@ function isISSN(str) {
5507
5561
  }
5508
5562
 
5509
5563
  module.exports = exports.default;
5510
- },{"./util/assertString":128}],92:[function(require,module,exports){
5564
+ module.exports.default = exports.default;
5565
+ },{"./util/assertString":130}],94:[function(require,module,exports){
5511
5566
  "use strict";
5512
5567
 
5513
5568
  Object.defineProperty(exports, "__esModule", {
@@ -5568,7 +5623,8 @@ function isIdentityCard(str) {
5568
5623
  }
5569
5624
 
5570
5625
  module.exports = exports.default;
5571
- },{"./util/assertString":128}],93:[function(require,module,exports){
5626
+ module.exports.default = exports.default;
5627
+ },{"./util/assertString":130}],95:[function(require,module,exports){
5572
5628
  "use strict";
5573
5629
 
5574
5630
  Object.defineProperty(exports, "__esModule", {
@@ -5608,7 +5664,8 @@ function isIn(str, options) {
5608
5664
  }
5609
5665
 
5610
5666
  module.exports = exports.default;
5611
- },{"./util/assertString":128,"./util/toString":131}],94:[function(require,module,exports){
5667
+ module.exports.default = exports.default;
5668
+ },{"./util/assertString":130,"./util/toString":133}],96:[function(require,module,exports){
5612
5669
  "use strict";
5613
5670
 
5614
5671
  Object.defineProperty(exports, "__esModule", {
@@ -5638,7 +5695,8 @@ function isInt(str, options) {
5638
5695
  }
5639
5696
 
5640
5697
  module.exports = exports.default;
5641
- },{"./util/assertString":128}],95:[function(require,module,exports){
5698
+ module.exports.default = exports.default;
5699
+ },{"./util/assertString":130}],97:[function(require,module,exports){
5642
5700
  "use strict";
5643
5701
 
5644
5702
  Object.defineProperty(exports, "__esModule", {
@@ -5666,7 +5724,8 @@ function isJSON(str) {
5666
5724
  }
5667
5725
 
5668
5726
  module.exports = exports.default;
5669
- },{"./util/assertString":128}],96:[function(require,module,exports){
5727
+ module.exports.default = exports.default;
5728
+ },{"./util/assertString":130}],98:[function(require,module,exports){
5670
5729
  "use strict";
5671
5730
 
5672
5731
  Object.defineProperty(exports, "__esModule", {
@@ -5686,7 +5745,8 @@ function isJWT(str) {
5686
5745
  }
5687
5746
 
5688
5747
  module.exports = exports.default;
5689
- },{"./util/assertString":128}],97:[function(require,module,exports){
5748
+ module.exports.default = exports.default;
5749
+ },{"./util/assertString":130}],99:[function(require,module,exports){
5690
5750
  "use strict";
5691
5751
 
5692
5752
  Object.defineProperty(exports, "__esModule", {
@@ -5709,7 +5769,8 @@ function _default(str) {
5709
5769
  }
5710
5770
 
5711
5771
  module.exports = exports.default;
5712
- },{"./util/assertString":128}],98:[function(require,module,exports){
5772
+ module.exports.default = exports.default;
5773
+ },{"./util/assertString":130}],100:[function(require,module,exports){
5713
5774
  "use strict";
5714
5775
 
5715
5776
  Object.defineProperty(exports, "__esModule", {
@@ -5744,7 +5805,8 @@ function isLength(str, options) {
5744
5805
  }
5745
5806
 
5746
5807
  module.exports = exports.default;
5747
- },{"./util/assertString":128}],99:[function(require,module,exports){
5808
+ module.exports.default = exports.default;
5809
+ },{"./util/assertString":130}],101:[function(require,module,exports){
5748
5810
  "use strict";
5749
5811
 
5750
5812
  Object.defineProperty(exports, "__esModule", {
@@ -5762,7 +5824,8 @@ function isLowercase(str) {
5762
5824
  }
5763
5825
 
5764
5826
  module.exports = exports.default;
5765
- },{"./util/assertString":128}],100:[function(require,module,exports){
5827
+ module.exports.default = exports.default;
5828
+ },{"./util/assertString":130}],102:[function(require,module,exports){
5766
5829
  "use strict";
5767
5830
 
5768
5831
  Object.defineProperty(exports, "__esModule", {
@@ -5788,7 +5851,8 @@ function isMACAddress(str, options) {
5788
5851
  }
5789
5852
 
5790
5853
  module.exports = exports.default;
5791
- },{"./util/assertString":128}],101:[function(require,module,exports){
5854
+ module.exports.default = exports.default;
5855
+ },{"./util/assertString":130}],103:[function(require,module,exports){
5792
5856
  "use strict";
5793
5857
 
5794
5858
  Object.defineProperty(exports, "__esModule", {
@@ -5808,7 +5872,8 @@ function isMD5(str) {
5808
5872
  }
5809
5873
 
5810
5874
  module.exports = exports.default;
5811
- },{"./util/assertString":128}],102:[function(require,module,exports){
5875
+ module.exports.default = exports.default;
5876
+ },{"./util/assertString":130}],104:[function(require,module,exports){
5812
5877
  "use strict";
5813
5878
 
5814
5879
  Object.defineProperty(exports, "__esModule", {
@@ -5828,7 +5893,8 @@ function isMagnetURI(url) {
5828
5893
  }
5829
5894
 
5830
5895
  module.exports = exports.default;
5831
- },{"./util/assertString":128}],103:[function(require,module,exports){
5896
+ module.exports.default = exports.default;
5897
+ },{"./util/assertString":130}],105:[function(require,module,exports){
5832
5898
  "use strict";
5833
5899
 
5834
5900
  Object.defineProperty(exports, "__esModule", {
@@ -5879,7 +5945,8 @@ function isMimeType(str) {
5879
5945
  }
5880
5946
 
5881
5947
  module.exports = exports.default;
5882
- },{"./util/assertString":128}],104:[function(require,module,exports){
5948
+ module.exports.default = exports.default;
5949
+ },{"./util/assertString":130}],106:[function(require,module,exports){
5883
5950
  "use strict";
5884
5951
 
5885
5952
  Object.defineProperty(exports, "__esModule", {
@@ -5908,12 +5975,13 @@ var phones = {
5908
5975
  'bn-BD': /\+?(88)?0?1[356789][0-9]{8}\b/,
5909
5976
  'cs-CZ': /^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,
5910
5977
  'da-DK': /^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,
5911
- 'de-DE': /^(\+?49[ \.\-]?)?([\(]{1}[0-9]{1,6}[\)])?([0-9 \.\-\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,
5978
+ 'de-DE': /^(\+49)?0?1(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7}$/,
5912
5979
  'el-GR': /^(\+?30|0)?(69\d{8})$/,
5913
5980
  'en-AU': /^(\+?61|0)4\d{8}$/,
5914
5981
  'en-GB': /^(\+?44|0)7\d{9}$/,
5915
5982
  'en-GH': /^(\+233|0)(20|50|24|54|27|57|26|56|23|28)\d{7}$/,
5916
5983
  'en-HK': /^(\+?852\-?)?[456789]\d{3}\-?\d{4}$/,
5984
+ 'en-IE': /^(\+?353|0)8[356789]\d{7}$/,
5917
5985
  'en-IN': /^(\+?91|0)?[6789]\d{9}$/,
5918
5986
  'en-KE': /^(\+?254|0)?[7]\d{8}$/,
5919
5987
  'en-MU': /^(\+?230|0)?\d{8}$/,
@@ -5924,7 +5992,7 @@ var phones = {
5924
5992
  'en-SG': /^(\+65)?[89]\d{7}$/,
5925
5993
  'en-TZ': /^(\+?255|0)?[67]\d{8}$/,
5926
5994
  'en-UG': /^(\+?256|0)?[7]\d{8}$/,
5927
- 'en-US': /^(\+?1?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,
5995
+ 'en-US': /^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,
5928
5996
  'en-ZA': /^(\+?27|0)\d{9}$/,
5929
5997
  'en-ZM': /^(\+?26)?09[567]\d{7}$/,
5930
5998
  'es-ES': /^(\+?34)?(6\d{1}|7[1234])\d{7}$/,
@@ -5944,7 +6012,7 @@ var phones = {
5944
6012
  'kl-GL': /^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,
5945
6013
  'ko-KR': /^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,
5946
6014
  'lt-LT': /^(\+370|8)\d{8}$/,
5947
- 'ms-MY': /^(\+?6?01){1}(([145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,
6015
+ 'ms-MY': /^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,
5948
6016
  'nb-NO': /^(\+?47)?[49]\d{7}$/,
5949
6017
  'nl-BE': /^(\+?32|0)4?\d{8}$/,
5950
6018
  'nn-NO': /^(\+?47)?[49]\d{7}$/,
@@ -6011,7 +6079,7 @@ function isMobilePhone(str, locale, options) {
6011
6079
 
6012
6080
  var locales = Object.keys(phones);
6013
6081
  exports.locales = locales;
6014
- },{"./util/assertString":128}],105:[function(require,module,exports){
6082
+ },{"./util/assertString":130}],107:[function(require,module,exports){
6015
6083
  "use strict";
6016
6084
 
6017
6085
  Object.defineProperty(exports, "__esModule", {
@@ -6031,7 +6099,8 @@ function isMongoId(str) {
6031
6099
  }
6032
6100
 
6033
6101
  module.exports = exports.default;
6034
- },{"./isHexadecimal":82,"./util/assertString":128}],106:[function(require,module,exports){
6102
+ module.exports.default = exports.default;
6103
+ },{"./isHexadecimal":84,"./util/assertString":130}],108:[function(require,module,exports){
6035
6104
  "use strict";
6036
6105
 
6037
6106
  Object.defineProperty(exports, "__esModule", {
@@ -6053,7 +6122,8 @@ function isMultibyte(str) {
6053
6122
  }
6054
6123
 
6055
6124
  module.exports = exports.default;
6056
- },{"./util/assertString":128}],107:[function(require,module,exports){
6125
+ module.exports.default = exports.default;
6126
+ },{"./util/assertString":130}],109:[function(require,module,exports){
6057
6127
  "use strict";
6058
6128
 
6059
6129
  Object.defineProperty(exports, "__esModule", {
@@ -6079,7 +6149,8 @@ function isNumeric(str, options) {
6079
6149
  }
6080
6150
 
6081
6151
  module.exports = exports.default;
6082
- },{"./util/assertString":128}],108:[function(require,module,exports){
6152
+ module.exports.default = exports.default;
6153
+ },{"./util/assertString":130}],110:[function(require,module,exports){
6083
6154
  "use strict";
6084
6155
 
6085
6156
  Object.defineProperty(exports, "__esModule", {
@@ -6099,7 +6170,8 @@ function isPort(str) {
6099
6170
  }
6100
6171
 
6101
6172
  module.exports = exports.default;
6102
- },{"./isInt":94}],109:[function(require,module,exports){
6173
+ module.exports.default = exports.default;
6174
+ },{"./isInt":96}],111:[function(require,module,exports){
6103
6175
  "use strict";
6104
6176
 
6105
6177
  Object.defineProperty(exports, "__esModule", {
@@ -6160,6 +6232,7 @@ var patterns = {
6160
6232
  SK: /^\d{3}\s?\d{2}$/,
6161
6233
  TN: fourDigit,
6162
6234
  TW: /^\d{3}(\d{2})?$/,
6235
+ UA: fiveDigit,
6163
6236
  US: /^\d{5}(-\d{4})?$/,
6164
6237
  ZA: fourDigit,
6165
6238
  ZM: fiveDigit
@@ -6188,7 +6261,7 @@ function _default(str, locale) {
6188
6261
 
6189
6262
  throw new Error("Invalid locale '".concat(locale, "'"));
6190
6263
  }
6191
- },{"./util/assertString":128}],110:[function(require,module,exports){
6264
+ },{"./util/assertString":130}],112:[function(require,module,exports){
6192
6265
  "use strict";
6193
6266
 
6194
6267
  Object.defineProperty(exports, "__esModule", {
@@ -6221,7 +6294,8 @@ function isRFC3339(str) {
6221
6294
  }
6222
6295
 
6223
6296
  module.exports = exports.default;
6224
- },{"./util/assertString":128}],111:[function(require,module,exports){
6297
+ module.exports.default = exports.default;
6298
+ },{"./util/assertString":130}],113:[function(require,module,exports){
6225
6299
  "use strict";
6226
6300
 
6227
6301
  Object.defineProperty(exports, "__esModule", {
@@ -6241,7 +6315,8 @@ function isSurrogatePair(str) {
6241
6315
  }
6242
6316
 
6243
6317
  module.exports = exports.default;
6244
- },{"./util/assertString":128}],112:[function(require,module,exports){
6318
+ module.exports.default = exports.default;
6319
+ },{"./util/assertString":130}],114:[function(require,module,exports){
6245
6320
  "use strict";
6246
6321
 
6247
6322
  Object.defineProperty(exports, "__esModule", {
@@ -6393,7 +6468,8 @@ function isURL(url, options) {
6393
6468
  }
6394
6469
 
6395
6470
  module.exports = exports.default;
6396
- },{"./isFQDN":76,"./isIP":83,"./util/assertString":128,"./util/merge":130}],113:[function(require,module,exports){
6471
+ module.exports.default = exports.default;
6472
+ },{"./isFQDN":78,"./isIP":85,"./util/assertString":130,"./util/merge":132}],115:[function(require,module,exports){
6397
6473
  "use strict";
6398
6474
 
6399
6475
  Object.defineProperty(exports, "__esModule", {
@@ -6420,7 +6496,8 @@ function isUUID(str) {
6420
6496
  }
6421
6497
 
6422
6498
  module.exports = exports.default;
6423
- },{"./util/assertString":128}],114:[function(require,module,exports){
6499
+ module.exports.default = exports.default;
6500
+ },{"./util/assertString":130}],116:[function(require,module,exports){
6424
6501
  "use strict";
6425
6502
 
6426
6503
  Object.defineProperty(exports, "__esModule", {
@@ -6438,7 +6515,8 @@ function isUppercase(str) {
6438
6515
  }
6439
6516
 
6440
6517
  module.exports = exports.default;
6441
- },{"./util/assertString":128}],115:[function(require,module,exports){
6518
+ module.exports.default = exports.default;
6519
+ },{"./util/assertString":130}],117:[function(require,module,exports){
6442
6520
  "use strict";
6443
6521
 
6444
6522
  Object.defineProperty(exports, "__esModule", {
@@ -6460,7 +6538,8 @@ function isVariableWidth(str) {
6460
6538
  }
6461
6539
 
6462
6540
  module.exports = exports.default;
6463
- },{"./isFullWidth":78,"./isHalfWidth":79,"./util/assertString":128}],116:[function(require,module,exports){
6541
+ module.exports.default = exports.default;
6542
+ },{"./isFullWidth":80,"./isHalfWidth":81,"./util/assertString":130}],118:[function(require,module,exports){
6464
6543
  "use strict";
6465
6544
 
6466
6545
  Object.defineProperty(exports, "__esModule", {
@@ -6485,7 +6564,8 @@ function isWhitelisted(str, chars) {
6485
6564
  }
6486
6565
 
6487
6566
  module.exports = exports.default;
6488
- },{"./util/assertString":128}],117:[function(require,module,exports){
6567
+ module.exports.default = exports.default;
6568
+ },{"./util/assertString":130}],119:[function(require,module,exports){
6489
6569
  "use strict";
6490
6570
 
6491
6571
  Object.defineProperty(exports, "__esModule", {
@@ -6504,7 +6584,8 @@ function ltrim(str, chars) {
6504
6584
  }
6505
6585
 
6506
6586
  module.exports = exports.default;
6507
- },{"./util/assertString":128}],118:[function(require,module,exports){
6587
+ module.exports.default = exports.default;
6588
+ },{"./util/assertString":130}],120:[function(require,module,exports){
6508
6589
  "use strict";
6509
6590
 
6510
6591
  Object.defineProperty(exports, "__esModule", {
@@ -6527,7 +6608,8 @@ function matches(str, pattern, modifiers) {
6527
6608
  }
6528
6609
 
6529
6610
  module.exports = exports.default;
6530
- },{"./util/assertString":128}],119:[function(require,module,exports){
6611
+ module.exports.default = exports.default;
6612
+ },{"./util/assertString":130}],121:[function(require,module,exports){
6531
6613
  "use strict";
6532
6614
 
6533
6615
  Object.defineProperty(exports, "__esModule", {
@@ -6678,7 +6760,8 @@ function normalizeEmail(email, options) {
6678
6760
  }
6679
6761
 
6680
6762
  module.exports = exports.default;
6681
- },{"./util/merge":130}],120:[function(require,module,exports){
6763
+ module.exports.default = exports.default;
6764
+ },{"./util/merge":132}],122:[function(require,module,exports){
6682
6765
  "use strict";
6683
6766
 
6684
6767
  Object.defineProperty(exports, "__esModule", {
@@ -6703,7 +6786,8 @@ function rtrim(str, chars) {
6703
6786
  }
6704
6787
 
6705
6788
  module.exports = exports.default;
6706
- },{"./util/assertString":128}],121:[function(require,module,exports){
6789
+ module.exports.default = exports.default;
6790
+ },{"./util/assertString":130}],123:[function(require,module,exports){
6707
6791
  "use strict";
6708
6792
 
6709
6793
  Object.defineProperty(exports, "__esModule", {
@@ -6724,7 +6808,8 @@ function stripLow(str, keep_new_lines) {
6724
6808
  }
6725
6809
 
6726
6810
  module.exports = exports.default;
6727
- },{"./blacklist":57,"./util/assertString":128}],122:[function(require,module,exports){
6811
+ module.exports.default = exports.default;
6812
+ },{"./blacklist":59,"./util/assertString":130}],124:[function(require,module,exports){
6728
6813
  "use strict";
6729
6814
 
6730
6815
  Object.defineProperty(exports, "__esModule", {
@@ -6747,7 +6832,8 @@ function toBoolean(str, strict) {
6747
6832
  }
6748
6833
 
6749
6834
  module.exports = exports.default;
6750
- },{"./util/assertString":128}],123:[function(require,module,exports){
6835
+ module.exports.default = exports.default;
6836
+ },{"./util/assertString":130}],125:[function(require,module,exports){
6751
6837
  "use strict";
6752
6838
 
6753
6839
  Object.defineProperty(exports, "__esModule", {
@@ -6766,7 +6852,8 @@ function toDate(date) {
6766
6852
  }
6767
6853
 
6768
6854
  module.exports = exports.default;
6769
- },{"./util/assertString":128}],124:[function(require,module,exports){
6855
+ module.exports.default = exports.default;
6856
+ },{"./util/assertString":130}],126:[function(require,module,exports){
6770
6857
  "use strict";
6771
6858
 
6772
6859
  Object.defineProperty(exports, "__esModule", {
@@ -6784,7 +6871,8 @@ function toFloat(str) {
6784
6871
  }
6785
6872
 
6786
6873
  module.exports = exports.default;
6787
- },{"./util/assertString":128}],125:[function(require,module,exports){
6874
+ module.exports.default = exports.default;
6875
+ },{"./util/assertString":130}],127:[function(require,module,exports){
6788
6876
  "use strict";
6789
6877
 
6790
6878
  Object.defineProperty(exports, "__esModule", {
@@ -6802,7 +6890,8 @@ function toInt(str, radix) {
6802
6890
  }
6803
6891
 
6804
6892
  module.exports = exports.default;
6805
- },{"./util/assertString":128}],126:[function(require,module,exports){
6893
+ module.exports.default = exports.default;
6894
+ },{"./util/assertString":130}],128:[function(require,module,exports){
6806
6895
  "use strict";
6807
6896
 
6808
6897
  Object.defineProperty(exports, "__esModule", {
@@ -6821,7 +6910,8 @@ function trim(str, chars) {
6821
6910
  }
6822
6911
 
6823
6912
  module.exports = exports.default;
6824
- },{"./ltrim":117,"./rtrim":120}],127:[function(require,module,exports){
6913
+ module.exports.default = exports.default;
6914
+ },{"./ltrim":119,"./rtrim":122}],129:[function(require,module,exports){
6825
6915
  "use strict";
6826
6916
 
6827
6917
  Object.defineProperty(exports, "__esModule", {
@@ -6839,7 +6929,8 @@ function unescape(str) {
6839
6929
  }
6840
6930
 
6841
6931
  module.exports = exports.default;
6842
- },{"./util/assertString":128}],128:[function(require,module,exports){
6932
+ module.exports.default = exports.default;
6933
+ },{"./util/assertString":130}],130:[function(require,module,exports){
6843
6934
  "use strict";
6844
6935
 
6845
6936
  Object.defineProperty(exports, "__esModule", {
@@ -6872,7 +6963,8 @@ function assertString(input) {
6872
6963
  }
6873
6964
 
6874
6965
  module.exports = exports.default;
6875
- },{}],129:[function(require,module,exports){
6966
+ module.exports.default = exports.default;
6967
+ },{}],131:[function(require,module,exports){
6876
6968
  "use strict";
6877
6969
 
6878
6970
  Object.defineProperty(exports, "__esModule", {
@@ -6889,7 +6981,8 @@ var includes = function includes(arr, val) {
6889
6981
  var _default = includes;
6890
6982
  exports.default = _default;
6891
6983
  module.exports = exports.default;
6892
- },{}],130:[function(require,module,exports){
6984
+ module.exports.default = exports.default;
6985
+ },{}],132:[function(require,module,exports){
6893
6986
  "use strict";
6894
6987
 
6895
6988
  Object.defineProperty(exports, "__esModule", {
@@ -6911,7 +7004,8 @@ function merge() {
6911
7004
  }
6912
7005
 
6913
7006
  module.exports = exports.default;
6914
- },{}],131:[function(require,module,exports){
7007
+ module.exports.default = exports.default;
7008
+ },{}],133:[function(require,module,exports){
6915
7009
  "use strict";
6916
7010
 
6917
7011
  Object.defineProperty(exports, "__esModule", {
@@ -6936,7 +7030,8 @@ function toString(input) {
6936
7030
  }
6937
7031
 
6938
7032
  module.exports = exports.default;
6939
- },{}],132:[function(require,module,exports){
7033
+ module.exports.default = exports.default;
7034
+ },{}],134:[function(require,module,exports){
6940
7035
  "use strict";
6941
7036
 
6942
7037
  Object.defineProperty(exports, "__esModule", {
@@ -6954,7 +7049,8 @@ function whitelist(str, chars) {
6954
7049
  }
6955
7050
 
6956
7051
  module.exports = exports.default;
6957
- },{"./util/assertString":128}],133:[function(require,module,exports){
7052
+ module.exports.default = exports.default;
7053
+ },{"./util/assertString":130}],135:[function(require,module,exports){
6958
7054
  "use strict";
6959
7055
 
6960
7056
  module.exports = {
@@ -7016,7 +7112,7 @@ module.exports = {
7016
7112
 
7017
7113
  };
7018
7114
 
7019
- },{}],134:[function(require,module,exports){
7115
+ },{}],136:[function(require,module,exports){
7020
7116
  /*jshint maxlen: false*/
7021
7117
 
7022
7118
  var validator = require("validator");
@@ -7147,25 +7243,39 @@ var FormatValidators = {
7147
7243
 
7148
7244
  module.exports = FormatValidators;
7149
7245
 
7150
- },{"validator":55}],135:[function(require,module,exports){
7246
+ },{"validator":57}],137:[function(require,module,exports){
7151
7247
  "use strict";
7152
7248
 
7153
7249
  var FormatValidators = require("./FormatValidators"),
7154
7250
  Report = require("./Report"),
7155
7251
  Utils = require("./Utils");
7156
7252
 
7253
+ var shouldSkipValidate = function (options, errors) {
7254
+ return options &&
7255
+ Array.isArray(options.includeErrors) &&
7256
+ options.includeErrors.length > 0 &&
7257
+ !errors.some(function (err) { return options.includeErrors.includes(err);});
7258
+ };
7259
+
7157
7260
  var JsonValidators = {
7158
7261
  multipleOf: function (report, schema, json) {
7159
7262
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.1.1.2
7263
+ if (shouldSkipValidate(this.validateOptions, ["MULTIPLE_OF"])) {
7264
+ return;
7265
+ }
7160
7266
  if (typeof json !== "number") {
7161
7267
  return;
7162
7268
  }
7269
+
7163
7270
  if (Utils.whatIs(json / schema.multipleOf) !== "integer") {
7164
7271
  report.addError("MULTIPLE_OF", [json, schema.multipleOf], null, schema);
7165
7272
  }
7166
7273
  },
7167
7274
  maximum: function (report, schema, json) {
7168
7275
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.1.2.2
7276
+ if (shouldSkipValidate(this.validateOptions, ["MAXIMUM", "MAXIMUM_EXCLUSIVE"])) {
7277
+ return;
7278
+ }
7169
7279
  if (typeof json !== "number") {
7170
7280
  return;
7171
7281
  }
@@ -7184,6 +7294,9 @@ var JsonValidators = {
7184
7294
  },
7185
7295
  minimum: function (report, schema, json) {
7186
7296
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.1.3.2
7297
+ if (shouldSkipValidate(this.validateOptions, ["MINIMUM", "MINIMUM_EXCLUSIVE"])) {
7298
+ return;
7299
+ }
7187
7300
  if (typeof json !== "number") {
7188
7301
  return;
7189
7302
  }
@@ -7202,6 +7315,9 @@ var JsonValidators = {
7202
7315
  },
7203
7316
  maxLength: function (report, schema, json) {
7204
7317
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.2.1.2
7318
+ if (shouldSkipValidate(this.validateOptions, ["MAX_LENGTH"])) {
7319
+ return;
7320
+ }
7205
7321
  if (typeof json !== "string") {
7206
7322
  return;
7207
7323
  }
@@ -7211,6 +7327,9 @@ var JsonValidators = {
7211
7327
  },
7212
7328
  minLength: function (report, schema, json) {
7213
7329
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.2.2.2
7330
+ if (shouldSkipValidate(this.validateOptions, ["MIN_LENGTH"])) {
7331
+ return;
7332
+ }
7214
7333
  if (typeof json !== "string") {
7215
7334
  return;
7216
7335
  }
@@ -7220,6 +7339,9 @@ var JsonValidators = {
7220
7339
  },
7221
7340
  pattern: function (report, schema, json) {
7222
7341
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.2.3.2
7342
+ if (shouldSkipValidate(this.validateOptions, ["PATTERN"])) {
7343
+ return;
7344
+ }
7223
7345
  if (typeof json !== "string") {
7224
7346
  return;
7225
7347
  }
@@ -7229,6 +7351,9 @@ var JsonValidators = {
7229
7351
  },
7230
7352
  additionalItems: function (report, schema, json) {
7231
7353
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.3.1.2
7354
+ if (shouldSkipValidate(this.validateOptions, ["ARRAY_ADDITIONAL_ITEMS"])) {
7355
+ return;
7356
+ }
7232
7357
  if (!Array.isArray(json)) {
7233
7358
  return;
7234
7359
  }
@@ -7245,6 +7370,9 @@ var JsonValidators = {
7245
7370
  },
7246
7371
  maxItems: function (report, schema, json) {
7247
7372
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.3.2.2
7373
+ if (shouldSkipValidate(this.validateOptions, ["ARRAY_LENGTH_LONG"])) {
7374
+ return;
7375
+ }
7248
7376
  if (!Array.isArray(json)) {
7249
7377
  return;
7250
7378
  }
@@ -7254,6 +7382,9 @@ var JsonValidators = {
7254
7382
  },
7255
7383
  minItems: function (report, schema, json) {
7256
7384
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.3.3.2
7385
+ if (shouldSkipValidate(this.validateOptions, ["ARRAY_LENGTH_SHORT"])) {
7386
+ return;
7387
+ }
7257
7388
  if (!Array.isArray(json)) {
7258
7389
  return;
7259
7390
  }
@@ -7263,6 +7394,9 @@ var JsonValidators = {
7263
7394
  },
7264
7395
  uniqueItems: function (report, schema, json) {
7265
7396
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.3.4.2
7397
+ if (shouldSkipValidate(this.validateOptions, ["ARRAY_UNIQUE"])) {
7398
+ return;
7399
+ }
7266
7400
  if (!Array.isArray(json)) {
7267
7401
  return;
7268
7402
  }
@@ -7275,6 +7409,9 @@ var JsonValidators = {
7275
7409
  },
7276
7410
  maxProperties: function (report, schema, json) {
7277
7411
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.4.1.2
7412
+ if (shouldSkipValidate(this.validateOptions, ["OBJECT_PROPERTIES_MAXIMUM"])) {
7413
+ return;
7414
+ }
7278
7415
  if (Utils.whatIs(json) !== "object") {
7279
7416
  return;
7280
7417
  }
@@ -7285,6 +7422,9 @@ var JsonValidators = {
7285
7422
  },
7286
7423
  minProperties: function (report, schema, json) {
7287
7424
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.4.2.2
7425
+ if (shouldSkipValidate(this.validateOptions, ["OBJECT_PROPERTIES_MINIMUM"])) {
7426
+ return;
7427
+ }
7288
7428
  if (Utils.whatIs(json) !== "object") {
7289
7429
  return;
7290
7430
  }
@@ -7295,6 +7435,9 @@ var JsonValidators = {
7295
7435
  },
7296
7436
  required: function (report, schema, json) {
7297
7437
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.4.3.2
7438
+ if (shouldSkipValidate(this.validateOptions, ["OBJECT_MISSING_REQUIRED_PROPERTY"])) {
7439
+ return;
7440
+ }
7298
7441
  if (Utils.whatIs(json) !== "object") {
7299
7442
  return;
7300
7443
  }
@@ -7320,6 +7463,9 @@ var JsonValidators = {
7320
7463
  },
7321
7464
  properties: function (report, schema, json) {
7322
7465
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.4.4.2
7466
+ if (shouldSkipValidate(this.validateOptions, ["OBJECT_ADDITIONAL_PROPERTIES"])) {
7467
+ return;
7468
+ }
7323
7469
  if (Utils.whatIs(json) !== "object") {
7324
7470
  return;
7325
7471
  }
@@ -7368,6 +7514,9 @@ var JsonValidators = {
7368
7514
  },
7369
7515
  dependencies: function (report, schema, json) {
7370
7516
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.4.5.2
7517
+ if (shouldSkipValidate(this.validateOptions, ["OBJECT_DEPENDENCY_KEY"])) {
7518
+ return;
7519
+ }
7371
7520
  if (Utils.whatIs(json) !== "object") {
7372
7521
  return;
7373
7522
  }
@@ -7398,6 +7547,9 @@ var JsonValidators = {
7398
7547
  },
7399
7548
  enum: function (report, schema, json) {
7400
7549
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.5.1.2
7550
+ if (shouldSkipValidate(this.validateOptions, ["ENUM_CASE_MISMATCH", "ENUM_MISMATCH"])) {
7551
+ return;
7552
+ }
7401
7553
  var match = false,
7402
7554
  caseInsensitiveMatch = false,
7403
7555
  idx = schema.enum.length;
@@ -7417,6 +7569,9 @@ var JsonValidators = {
7417
7569
  },
7418
7570
  type: function (report, schema, json) {
7419
7571
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.5.2.2
7572
+ if (shouldSkipValidate(this.validateOptions, ["INVALID_TYPE"])) {
7573
+ return;
7574
+ }
7420
7575
  var jsonType = Utils.whatIs(json);
7421
7576
  if (typeof schema.type === "string") {
7422
7577
  if (jsonType !== schema.type && (jsonType !== "integer" || schema.type !== "number")) {
@@ -7489,6 +7644,9 @@ var JsonValidators = {
7489
7644
  // http://json-schema.org/latest/json-schema-validation.html#rfc.section.7.2
7490
7645
  var formatValidatorFn = FormatValidators[schema.format];
7491
7646
  if (typeof formatValidatorFn === "function") {
7647
+ if (shouldSkipValidate(this.validateOptions, ["INVALID_FORMAT"])) {
7648
+ return;
7649
+ }
7492
7650
  if (formatValidatorFn.length === 2) {
7493
7651
  // async - need to clone the path here, because it will change by the time async function reports back
7494
7652
  var pathBeforeAsync = Utils.clone(report.path);
@@ -7526,13 +7684,13 @@ var recurseArray = function (report, schema, json) {
7526
7684
  while (idx--) {
7527
7685
  // equal to doesn't make sense here
7528
7686
  if (idx < schema.items.length) {
7529
- report.path.push(idx.toString());
7687
+ report.path.push(idx);
7530
7688
  exports.validate.call(this, report, schema.items[idx], json[idx]);
7531
7689
  report.path.pop();
7532
7690
  } else {
7533
7691
  // might be boolean, so check that it's an object
7534
7692
  if (typeof schema.additionalItems === "object") {
7535
- report.path.push(idx.toString());
7693
+ report.path.push(idx);
7536
7694
  exports.validate.call(this, report, schema.additionalItems, json[idx]);
7537
7695
  report.path.pop();
7538
7696
  }
@@ -7544,7 +7702,7 @@ var recurseArray = function (report, schema, json) {
7544
7702
  // If items is a schema, then the child instance must be valid against this schema,
7545
7703
  // regardless of its index, and regardless of the value of "additionalItems".
7546
7704
  while (idx--) {
7547
- report.path.push(idx.toString());
7705
+ report.path.push(idx);
7548
7706
  exports.validate.call(this, report, schema.items, json[idx]);
7549
7707
  report.path.pop();
7550
7708
  }
@@ -7706,7 +7864,7 @@ exports.validate = function (report, schema, json) {
7706
7864
 
7707
7865
  };
7708
7866
 
7709
- },{"./FormatValidators":134,"./Report":137,"./Utils":141}],136:[function(require,module,exports){
7867
+ },{"./FormatValidators":136,"./Report":139,"./Utils":143}],138:[function(require,module,exports){
7710
7868
  // Number.isFinite polyfill
7711
7869
  // http://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isfinite
7712
7870
  if (typeof Number.isFinite !== "function") {
@@ -7724,7 +7882,7 @@ if (typeof Number.isFinite !== "function") {
7724
7882
  };
7725
7883
  }
7726
7884
 
7727
- },{}],137:[function(require,module,exports){
7885
+ },{}],139:[function(require,module,exports){
7728
7886
  (function (process){
7729
7887
  "use strict";
7730
7888
 
@@ -7781,6 +7939,16 @@ Report.prototype.addAsyncTask = function (fn, args, asyncTaskResultProcessFn) {
7781
7939
  this.asyncTasks.push([fn, args, asyncTaskResultProcessFn]);
7782
7940
  };
7783
7941
 
7942
+ Report.prototype.getAncestor = function (id) {
7943
+ if (!this.parentReport) {
7944
+ return undefined;
7945
+ }
7946
+ if (this.parentReport.getSchemaId() === id) {
7947
+ return this.parentReport;
7948
+ }
7949
+ return this.parentReport.getAncestor(id);
7950
+ };
7951
+
7784
7952
  /**
7785
7953
  *
7786
7954
  * @param {*} timeout
@@ -7854,6 +8022,7 @@ Report.prototype.getPath = function (returnPathAsString) {
7854
8022
  if (returnPathAsString !== true) {
7855
8023
  // Sanitize the path segments (http://tools.ietf.org/html/rfc6901#section-4)
7856
8024
  path = "#/" + path.map(function (segment) {
8025
+ segment = segment.toString();
7857
8026
 
7858
8027
  if (Utils.isAbsoluteUri(segment)) {
7859
8028
  return "uri(" + segment + ")";
@@ -8016,7 +8185,7 @@ Report.prototype.addCustomError = function (errorCode, errorMessage, params, sub
8016
8185
  module.exports = Report;
8017
8186
 
8018
8187
  }).call(this,require('_process'))
8019
- },{"./Errors":133,"./Utils":141,"_process":54,"lodash.get":52}],138:[function(require,module,exports){
8188
+ },{"./Errors":135,"./Utils":143,"_process":56,"lodash.get":54}],140:[function(require,module,exports){
8020
8189
  "use strict";
8021
8190
 
8022
8191
  var isequal = require("lodash.isequal");
@@ -8157,16 +8326,23 @@ exports.getSchemaByUri = function (report, uri, root) {
8157
8326
 
8158
8327
  report.path.push(remotePath);
8159
8328
 
8160
- var remoteReport = new Report(report);
8161
- if (SchemaCompilation.compileSchema.call(this, remoteReport, result)) {
8162
- var savedOptions = this.options;
8163
- try {
8164
- // If custom validationOptions were provided to setRemoteReference(),
8165
- // use them instead of the default options
8166
- this.options = result.__$validationOptions || this.options;
8167
- SchemaValidation.validateSchema.call(this, remoteReport, result);
8168
- } finally {
8169
- this.options = savedOptions;
8329
+ var remoteReport;
8330
+
8331
+ var anscestorReport = report.getAncestor(result.id);
8332
+ if (anscestorReport) {
8333
+ remoteReport = anscestorReport;
8334
+ } else {
8335
+ remoteReport = new Report(report);
8336
+ if (SchemaCompilation.compileSchema.call(this, remoteReport, result)) {
8337
+ var savedOptions = this.options;
8338
+ try {
8339
+ // If custom validationOptions were provided to setRemoteReference(),
8340
+ // use them instead of the default options
8341
+ this.options = result.__$validationOptions || this.options;
8342
+ SchemaValidation.validateSchema.call(this, remoteReport, result);
8343
+ } finally {
8344
+ this.options = savedOptions;
8345
+ }
8170
8346
  }
8171
8347
  }
8172
8348
  var remoteReportIsValid = remoteReport.isValid();
@@ -8199,7 +8375,7 @@ exports.getSchemaByUri = function (report, uri, root) {
8199
8375
 
8200
8376
  exports.getRemotePath = getRemotePath;
8201
8377
 
8202
- },{"./Report":137,"./SchemaCompilation":139,"./SchemaValidation":140,"./Utils":141,"lodash.isequal":53}],139:[function(require,module,exports){
8378
+ },{"./Report":139,"./SchemaCompilation":141,"./SchemaValidation":142,"./Utils":143,"lodash.isequal":55}],141:[function(require,module,exports){
8203
8379
  "use strict";
8204
8380
 
8205
8381
  var Report = require("./Report");
@@ -8500,7 +8676,7 @@ exports.compileSchema = function (report, schema) {
8500
8676
 
8501
8677
  };
8502
8678
 
8503
- },{"./Report":137,"./SchemaCache":138,"./Utils":141}],140:[function(require,module,exports){
8679
+ },{"./Report":139,"./SchemaCache":140,"./Utils":143}],142:[function(require,module,exports){
8504
8680
  "use strict";
8505
8681
 
8506
8682
  var FormatValidators = require("./FormatValidators"),
@@ -9121,7 +9297,7 @@ exports.validateSchema = function (report, schema) {
9121
9297
  return isValid;
9122
9298
  };
9123
9299
 
9124
- },{"./FormatValidators":134,"./JsonValidation":135,"./Report":137,"./Utils":141}],141:[function(require,module,exports){
9300
+ },{"./FormatValidators":136,"./JsonValidation":137,"./Report":139,"./Utils":143}],143:[function(require,module,exports){
9125
9301
  "use strict";
9126
9302
 
9127
9303
  require("core-js/es6/symbol");
@@ -9399,7 +9575,7 @@ exports.ucs2decode = function (string) {
9399
9575
  };
9400
9576
  /*jshint +W016*/
9401
9577
 
9402
- },{"core-js/es6/symbol":1}],142:[function(require,module,exports){
9578
+ },{"core-js/es6/symbol":1}],144:[function(require,module,exports){
9403
9579
  (function (process){
9404
9580
  "use strict";
9405
9581
 
@@ -9812,7 +9988,7 @@ ZSchema.jsonSymbol = Utils.jsonSymbol;
9812
9988
  module.exports = ZSchema;
9813
9989
 
9814
9990
  }).call(this,require('_process'))
9815
- },{"./FormatValidators":134,"./JsonValidation":135,"./Polyfills":136,"./Report":137,"./SchemaCache":138,"./SchemaCompilation":139,"./SchemaValidation":140,"./Utils":141,"./schemas/hyper-schema.json":143,"./schemas/schema.json":144,"_process":54,"lodash.get":52}],143:[function(require,module,exports){
9991
+ },{"./FormatValidators":136,"./JsonValidation":137,"./Polyfills":138,"./Report":139,"./SchemaCache":140,"./SchemaCompilation":141,"./SchemaValidation":142,"./Utils":143,"./schemas/hyper-schema.json":145,"./schemas/schema.json":146,"_process":56,"lodash.get":54}],145:[function(require,module,exports){
9816
9992
  module.exports={
9817
9993
  "$schema": "http://json-schema.org/draft-04/hyper-schema#",
9818
9994
  "id": "http://json-schema.org/draft-04/hyper-schema#",
@@ -9972,7 +10148,7 @@ module.exports={
9972
10148
  }
9973
10149
 
9974
10150
 
9975
- },{}],144:[function(require,module,exports){
10151
+ },{}],146:[function(require,module,exports){
9976
10152
  module.exports={
9977
10153
  "id": "http://json-schema.org/draft-04/schema#",
9978
10154
  "$schema": "http://json-schema.org/draft-04/schema#",
@@ -10125,5 +10301,5 @@ module.exports={
10125
10301
  "default": {}
10126
10302
  }
10127
10303
 
10128
- },{}]},{},[133,134,135,136,137,138,139,140,141,142])(142)
10304
+ },{}]},{},[135,136,137,138,139,140,141,142,143,144])(144)
10129
10305
  });