z-schema 4.0.2 → 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.
- package/dist/ZSchema-browser-min.js +1 -1
- package/dist/ZSchema-browser-min.js.map +1 -1
- package/dist/ZSchema-browser-test.js +324 -267
- package/dist/ZSchema-browser.js +134 -114
- package/package.json +1 -1
- package/src/JsonValidation.js +3 -3
- package/src/Report.js +1 -0
package/dist/ZSchema-browser.js
CHANGED
|
@@ -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":
|
|
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;
|
|
@@ -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":
|
|
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.6.
|
|
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){
|
|
@@ -312,7 +312,7 @@ var meta = module.exports = {
|
|
|
312
312
|
onFreeze: onFreeze
|
|
313
313
|
};
|
|
314
314
|
|
|
315
|
-
},{"./_fails":15,"./_has":18,"./_is-object":24,"./_object-dp":28,"./_uid":
|
|
315
|
+
},{"./_fails":15,"./_has":18,"./_is-object":24,"./_object-dp":28,"./_uid":48}],27:[function(require,module,exports){
|
|
316
316
|
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
317
317
|
var anObject = require('./_an-object');
|
|
318
318
|
var dPs = require('./_object-dps');
|
|
@@ -373,7 +373,7 @@ exports.f = require('./_descriptors') ? Object.defineProperty : function defineP
|
|
|
373
373
|
return O;
|
|
374
374
|
};
|
|
375
375
|
|
|
376
|
-
},{"./_an-object":3,"./_descriptors":10,"./_ie8-dom-define":21,"./_to-primitive":
|
|
376
|
+
},{"./_an-object":3,"./_descriptors":10,"./_ie8-dom-define":21,"./_to-primitive":47}],29:[function(require,module,exports){
|
|
377
377
|
var dP = require('./_object-dp');
|
|
378
378
|
var anObject = require('./_an-object');
|
|
379
379
|
var getKeys = require('./_object-keys');
|
|
@@ -406,7 +406,7 @@ exports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor
|
|
|
406
406
|
if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
|
|
407
407
|
};
|
|
408
408
|
|
|
409
|
-
},{"./_descriptors":10,"./_has":18,"./_ie8-dom-define":21,"./_object-pie":36,"./_property-desc":37,"./_to-iobject":44,"./_to-primitive":
|
|
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){
|
|
410
410
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
411
411
|
var toIObject = require('./_to-iobject');
|
|
412
412
|
var gOPN = require('./_object-gopn').f;
|
|
@@ -513,7 +513,7 @@ require('./_core').inspectSource = function (it) {
|
|
|
513
513
|
return typeof this == 'function' && this[SRC] || $toString.call(this);
|
|
514
514
|
});
|
|
515
515
|
|
|
516
|
-
},{"./_core":7,"./_function-to-string":16,"./_global":17,"./_has":18,"./_hide":19,"./_uid":
|
|
516
|
+
},{"./_core":7,"./_function-to-string":16,"./_global":17,"./_has":18,"./_hide":19,"./_uid":48}],39:[function(require,module,exports){
|
|
517
517
|
var def = require('./_object-dp').f;
|
|
518
518
|
var has = require('./_has');
|
|
519
519
|
var TAG = require('./_wks')('toStringTag');
|
|
@@ -522,14 +522,14 @@ module.exports = function (it, tag, stat) {
|
|
|
522
522
|
if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
|
|
523
523
|
};
|
|
524
524
|
|
|
525
|
-
},{"./_has":18,"./_object-dp":28,"./_wks":
|
|
525
|
+
},{"./_has":18,"./_object-dp":28,"./_wks":51}],40:[function(require,module,exports){
|
|
526
526
|
var shared = require('./_shared')('keys');
|
|
527
527
|
var uid = require('./_uid');
|
|
528
528
|
module.exports = function (key) {
|
|
529
529
|
return shared[key] || (shared[key] = uid(key));
|
|
530
530
|
};
|
|
531
531
|
|
|
532
|
-
},{"./_shared":41,"./_uid":
|
|
532
|
+
},{"./_shared":41,"./_uid":48}],41:[function(require,module,exports){
|
|
533
533
|
var core = require('./_core');
|
|
534
534
|
var global = require('./_global');
|
|
535
535
|
var SHARED = '__core-js_shared__';
|
|
@@ -577,6 +577,13 @@ module.exports = function (it) {
|
|
|
577
577
|
};
|
|
578
578
|
|
|
579
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){
|
|
580
587
|
// 7.1.1 ToPrimitive(input [, PreferredType])
|
|
581
588
|
var isObject = require('./_is-object');
|
|
582
589
|
// instead of the ES6 spec version, we didn't implement @@toPrimitive case
|
|
@@ -590,14 +597,14 @@ module.exports = function (it, S) {
|
|
|
590
597
|
throw TypeError("Can't convert object to primitive value");
|
|
591
598
|
};
|
|
592
599
|
|
|
593
|
-
},{"./_is-object":24}],
|
|
600
|
+
},{"./_is-object":24}],48:[function(require,module,exports){
|
|
594
601
|
var id = 0;
|
|
595
602
|
var px = Math.random();
|
|
596
603
|
module.exports = function (key) {
|
|
597
604
|
return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
|
|
598
605
|
};
|
|
599
606
|
|
|
600
|
-
},{}],
|
|
607
|
+
},{}],49:[function(require,module,exports){
|
|
601
608
|
var global = require('./_global');
|
|
602
609
|
var core = require('./_core');
|
|
603
610
|
var LIBRARY = require('./_library');
|
|
@@ -608,10 +615,10 @@ module.exports = function (name) {
|
|
|
608
615
|
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
|
|
609
616
|
};
|
|
610
617
|
|
|
611
|
-
},{"./_core":7,"./_global":17,"./_library":25,"./_object-dp":28,"./_wks-ext":
|
|
618
|
+
},{"./_core":7,"./_global":17,"./_library":25,"./_object-dp":28,"./_wks-ext":50}],50:[function(require,module,exports){
|
|
612
619
|
exports.f = require('./_wks');
|
|
613
620
|
|
|
614
|
-
},{"./_wks":
|
|
621
|
+
},{"./_wks":51}],51:[function(require,module,exports){
|
|
615
622
|
var store = require('./_shared')('wks');
|
|
616
623
|
var uid = require('./_uid');
|
|
617
624
|
var Symbol = require('./_global').Symbol;
|
|
@@ -624,7 +631,7 @@ var $exports = module.exports = function (name) {
|
|
|
624
631
|
|
|
625
632
|
$exports.store = store;
|
|
626
633
|
|
|
627
|
-
},{"./_global":17,"./_shared":41,"./_uid":
|
|
634
|
+
},{"./_global":17,"./_shared":41,"./_uid":48}],52:[function(require,module,exports){
|
|
628
635
|
'use strict';
|
|
629
636
|
// 19.1.3.6 Object.prototype.toString()
|
|
630
637
|
var classof = require('./_classof');
|
|
@@ -636,7 +643,7 @@ if (test + '' != '[object z]') {
|
|
|
636
643
|
}, true);
|
|
637
644
|
}
|
|
638
645
|
|
|
639
|
-
},{"./_classof":5,"./_redefine":38,"./_wks":
|
|
646
|
+
},{"./_classof":5,"./_redefine":38,"./_wks":51}],53:[function(require,module,exports){
|
|
640
647
|
'use strict';
|
|
641
648
|
// ECMAScript 6 symbols shim
|
|
642
649
|
var global = require('./_global');
|
|
@@ -656,12 +663,14 @@ var enumKeys = require('./_enum-keys');
|
|
|
656
663
|
var isArray = require('./_is-array');
|
|
657
664
|
var anObject = require('./_an-object');
|
|
658
665
|
var isObject = require('./_is-object');
|
|
666
|
+
var toObject = require('./_to-object');
|
|
659
667
|
var toIObject = require('./_to-iobject');
|
|
660
668
|
var toPrimitive = require('./_to-primitive');
|
|
661
669
|
var createDesc = require('./_property-desc');
|
|
662
670
|
var _create = require('./_object-create');
|
|
663
671
|
var gOPNExt = require('./_object-gopn-ext');
|
|
664
672
|
var $GOPD = require('./_object-gopd');
|
|
673
|
+
var $GOPS = require('./_object-gops');
|
|
665
674
|
var $DP = require('./_object-dp');
|
|
666
675
|
var $keys = require('./_object-keys');
|
|
667
676
|
var gOPD = $GOPD.f;
|
|
@@ -678,7 +687,7 @@ var SymbolRegistry = shared('symbol-registry');
|
|
|
678
687
|
var AllSymbols = shared('symbols');
|
|
679
688
|
var OPSymbols = shared('op-symbols');
|
|
680
689
|
var ObjectProto = Object[PROTOTYPE];
|
|
681
|
-
var USE_NATIVE = typeof $Symbol == 'function';
|
|
690
|
+
var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
|
|
682
691
|
var QObject = global.QObject;
|
|
683
692
|
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
|
|
684
693
|
var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
|
|
@@ -788,7 +797,7 @@ if (!USE_NATIVE) {
|
|
|
788
797
|
$DP.f = $defineProperty;
|
|
789
798
|
require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;
|
|
790
799
|
require('./_object-pie').f = $propertyIsEnumerable;
|
|
791
|
-
|
|
800
|
+
$GOPS.f = $getOwnPropertySymbols;
|
|
792
801
|
|
|
793
802
|
if (DESCRIPTORS && !require('./_library')) {
|
|
794
803
|
redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
|
|
@@ -839,6 +848,16 @@ $export($export.S + $export.F * !USE_NATIVE, 'Object', {
|
|
|
839
848
|
getOwnPropertySymbols: $getOwnPropertySymbols
|
|
840
849
|
});
|
|
841
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
|
+
|
|
842
861
|
// 24.3.2 JSON.stringify(value [, replacer [, space]])
|
|
843
862
|
$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
|
|
844
863
|
var S = $Symbol();
|
|
@@ -872,7 +891,7 @@ setToStringTag(Math, 'Math', true);
|
|
|
872
891
|
// 24.3.3 JSON[@@toStringTag]
|
|
873
892
|
setToStringTag(global.JSON, 'JSON', true);
|
|
874
893
|
|
|
875
|
-
},{"./_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-
|
|
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){
|
|
876
895
|
(function (global){
|
|
877
896
|
/**
|
|
878
897
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -1807,7 +1826,7 @@ function get(object, path, defaultValue) {
|
|
|
1807
1826
|
module.exports = get;
|
|
1808
1827
|
|
|
1809
1828
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
1810
|
-
},{}],
|
|
1829
|
+
},{}],55:[function(require,module,exports){
|
|
1811
1830
|
(function (global){
|
|
1812
1831
|
/**
|
|
1813
1832
|
* Lodash (Custom Build) <https://lodash.com/>
|
|
@@ -3659,7 +3678,7 @@ function stubFalse() {
|
|
|
3659
3678
|
module.exports = isEqual;
|
|
3660
3679
|
|
|
3661
3680
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
3662
|
-
},{}],
|
|
3681
|
+
},{}],56:[function(require,module,exports){
|
|
3663
3682
|
// shim for using process in browser
|
|
3664
3683
|
var process = module.exports = {};
|
|
3665
3684
|
|
|
@@ -3845,7 +3864,7 @@ process.chdir = function (dir) {
|
|
|
3845
3864
|
};
|
|
3846
3865
|
process.umask = function() { return 0; };
|
|
3847
3866
|
|
|
3848
|
-
},{}],
|
|
3867
|
+
},{}],57:[function(require,module,exports){
|
|
3849
3868
|
"use strict";
|
|
3850
3869
|
|
|
3851
3870
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4089,7 +4108,7 @@ var _default = validator;
|
|
|
4089
4108
|
exports.default = _default;
|
|
4090
4109
|
module.exports = exports.default;
|
|
4091
4110
|
module.exports.default = exports.default;
|
|
4092
|
-
},{"./lib/blacklist":
|
|
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){
|
|
4093
4112
|
"use strict";
|
|
4094
4113
|
|
|
4095
4114
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4199,7 +4218,7 @@ decimal['pt-BR'] = decimal['pt-PT']; // see #862
|
|
|
4199
4218
|
alpha['pl-Pl'] = alpha['pl-PL'];
|
|
4200
4219
|
alphanumeric['pl-Pl'] = alphanumeric['pl-PL'];
|
|
4201
4220
|
decimal['pl-Pl'] = decimal['pl-PL'];
|
|
4202
|
-
},{}],
|
|
4221
|
+
},{}],59:[function(require,module,exports){
|
|
4203
4222
|
"use strict";
|
|
4204
4223
|
|
|
4205
4224
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4218,7 +4237,7 @@ function blacklist(str, chars) {
|
|
|
4218
4237
|
|
|
4219
4238
|
module.exports = exports.default;
|
|
4220
4239
|
module.exports.default = exports.default;
|
|
4221
|
-
},{"./util/assertString":
|
|
4240
|
+
},{"./util/assertString":130}],60:[function(require,module,exports){
|
|
4222
4241
|
"use strict";
|
|
4223
4242
|
|
|
4224
4243
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4239,7 +4258,7 @@ function contains(str, elem) {
|
|
|
4239
4258
|
|
|
4240
4259
|
module.exports = exports.default;
|
|
4241
4260
|
module.exports.default = exports.default;
|
|
4242
|
-
},{"./util/assertString":
|
|
4261
|
+
},{"./util/assertString":130,"./util/toString":133}],61:[function(require,module,exports){
|
|
4243
4262
|
"use strict";
|
|
4244
4263
|
|
|
4245
4264
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4258,7 +4277,7 @@ function equals(str, comparison) {
|
|
|
4258
4277
|
|
|
4259
4278
|
module.exports = exports.default;
|
|
4260
4279
|
module.exports.default = exports.default;
|
|
4261
|
-
},{"./util/assertString":
|
|
4280
|
+
},{"./util/assertString":130}],62:[function(require,module,exports){
|
|
4262
4281
|
"use strict";
|
|
4263
4282
|
|
|
4264
4283
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4277,7 +4296,7 @@ function escape(str) {
|
|
|
4277
4296
|
|
|
4278
4297
|
module.exports = exports.default;
|
|
4279
4298
|
module.exports.default = exports.default;
|
|
4280
|
-
},{"./util/assertString":
|
|
4299
|
+
},{"./util/assertString":130}],63:[function(require,module,exports){
|
|
4281
4300
|
"use strict";
|
|
4282
4301
|
|
|
4283
4302
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4301,7 +4320,7 @@ function isAfter(str) {
|
|
|
4301
4320
|
|
|
4302
4321
|
module.exports = exports.default;
|
|
4303
4322
|
module.exports.default = exports.default;
|
|
4304
|
-
},{"./toDate":
|
|
4323
|
+
},{"./toDate":125,"./util/assertString":130}],64:[function(require,module,exports){
|
|
4305
4324
|
"use strict";
|
|
4306
4325
|
|
|
4307
4326
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4329,7 +4348,7 @@ function isAlpha(str) {
|
|
|
4329
4348
|
|
|
4330
4349
|
var locales = Object.keys(_alpha.alpha);
|
|
4331
4350
|
exports.locales = locales;
|
|
4332
|
-
},{"./alpha":
|
|
4351
|
+
},{"./alpha":58,"./util/assertString":130}],65:[function(require,module,exports){
|
|
4333
4352
|
"use strict";
|
|
4334
4353
|
|
|
4335
4354
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4357,7 +4376,7 @@ function isAlphanumeric(str) {
|
|
|
4357
4376
|
|
|
4358
4377
|
var locales = Object.keys(_alpha.alphanumeric);
|
|
4359
4378
|
exports.locales = locales;
|
|
4360
|
-
},{"./alpha":
|
|
4379
|
+
},{"./alpha":58,"./util/assertString":130}],66:[function(require,module,exports){
|
|
4361
4380
|
"use strict";
|
|
4362
4381
|
|
|
4363
4382
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4380,7 +4399,7 @@ function isAscii(str) {
|
|
|
4380
4399
|
|
|
4381
4400
|
module.exports = exports.default;
|
|
4382
4401
|
module.exports.default = exports.default;
|
|
4383
|
-
},{"./util/assertString":
|
|
4402
|
+
},{"./util/assertString":130}],67:[function(require,module,exports){
|
|
4384
4403
|
"use strict";
|
|
4385
4404
|
|
|
4386
4405
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4408,7 +4427,7 @@ function isBase64(str) {
|
|
|
4408
4427
|
|
|
4409
4428
|
module.exports = exports.default;
|
|
4410
4429
|
module.exports.default = exports.default;
|
|
4411
|
-
},{"./util/assertString":
|
|
4430
|
+
},{"./util/assertString":130}],68:[function(require,module,exports){
|
|
4412
4431
|
"use strict";
|
|
4413
4432
|
|
|
4414
4433
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4432,7 +4451,7 @@ function isBefore(str) {
|
|
|
4432
4451
|
|
|
4433
4452
|
module.exports = exports.default;
|
|
4434
4453
|
module.exports.default = exports.default;
|
|
4435
|
-
},{"./toDate":
|
|
4454
|
+
},{"./toDate":125,"./util/assertString":130}],69:[function(require,module,exports){
|
|
4436
4455
|
"use strict";
|
|
4437
4456
|
|
|
4438
4457
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4451,7 +4470,7 @@ function isBoolean(str) {
|
|
|
4451
4470
|
|
|
4452
4471
|
module.exports = exports.default;
|
|
4453
4472
|
module.exports.default = exports.default;
|
|
4454
|
-
},{"./util/assertString":
|
|
4473
|
+
},{"./util/assertString":130}],70:[function(require,module,exports){
|
|
4455
4474
|
"use strict";
|
|
4456
4475
|
|
|
4457
4476
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4486,7 +4505,7 @@ function isByteLength(str, options) {
|
|
|
4486
4505
|
|
|
4487
4506
|
module.exports = exports.default;
|
|
4488
4507
|
module.exports.default = exports.default;
|
|
4489
|
-
},{"./util/assertString":
|
|
4508
|
+
},{"./util/assertString":130}],71:[function(require,module,exports){
|
|
4490
4509
|
"use strict";
|
|
4491
4510
|
|
|
4492
4511
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4539,7 +4558,7 @@ function isCreditCard(str) {
|
|
|
4539
4558
|
|
|
4540
4559
|
module.exports = exports.default;
|
|
4541
4560
|
module.exports.default = exports.default;
|
|
4542
|
-
},{"./util/assertString":
|
|
4561
|
+
},{"./util/assertString":130}],72:[function(require,module,exports){
|
|
4543
4562
|
"use strict";
|
|
4544
4563
|
|
|
4545
4564
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4629,7 +4648,7 @@ function isCurrency(str, options) {
|
|
|
4629
4648
|
|
|
4630
4649
|
module.exports = exports.default;
|
|
4631
4650
|
module.exports.default = exports.default;
|
|
4632
|
-
},{"./util/assertString":
|
|
4651
|
+
},{"./util/assertString":130,"./util/merge":132}],73:[function(require,module,exports){
|
|
4633
4652
|
"use strict";
|
|
4634
4653
|
|
|
4635
4654
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4684,7 +4703,7 @@ function isDataURI(str) {
|
|
|
4684
4703
|
|
|
4685
4704
|
module.exports = exports.default;
|
|
4686
4705
|
module.exports.default = exports.default;
|
|
4687
|
-
},{"./util/assertString":
|
|
4706
|
+
},{"./util/assertString":130}],74:[function(require,module,exports){
|
|
4688
4707
|
"use strict";
|
|
4689
4708
|
|
|
4690
4709
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4727,7 +4746,7 @@ function isDecimal(str, options) {
|
|
|
4727
4746
|
|
|
4728
4747
|
module.exports = exports.default;
|
|
4729
4748
|
module.exports.default = exports.default;
|
|
4730
|
-
},{"./alpha":
|
|
4749
|
+
},{"./alpha":58,"./util/assertString":130,"./util/includes":131,"./util/merge":132}],75:[function(require,module,exports){
|
|
4731
4750
|
"use strict";
|
|
4732
4751
|
|
|
4733
4752
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4748,7 +4767,7 @@ function isDivisibleBy(str, num) {
|
|
|
4748
4767
|
|
|
4749
4768
|
module.exports = exports.default;
|
|
4750
4769
|
module.exports.default = exports.default;
|
|
4751
|
-
},{"./toFloat":
|
|
4770
|
+
},{"./toFloat":126,"./util/assertString":130}],76:[function(require,module,exports){
|
|
4752
4771
|
"use strict";
|
|
4753
4772
|
|
|
4754
4773
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4882,7 +4901,7 @@ function isEmail(str, options) {
|
|
|
4882
4901
|
|
|
4883
4902
|
module.exports = exports.default;
|
|
4884
4903
|
module.exports.default = exports.default;
|
|
4885
|
-
},{"./isByteLength":
|
|
4904
|
+
},{"./isByteLength":70,"./isFQDN":78,"./isIP":85,"./util/assertString":130,"./util/merge":132}],77:[function(require,module,exports){
|
|
4886
4905
|
"use strict";
|
|
4887
4906
|
|
|
4888
4907
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4908,7 +4927,7 @@ function isEmpty(str, options) {
|
|
|
4908
4927
|
|
|
4909
4928
|
module.exports = exports.default;
|
|
4910
4929
|
module.exports.default = exports.default;
|
|
4911
|
-
},{"./util/assertString":
|
|
4930
|
+
},{"./util/assertString":130,"./util/merge":132}],78:[function(require,module,exports){
|
|
4912
4931
|
"use strict";
|
|
4913
4932
|
|
|
4914
4933
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -4984,7 +5003,7 @@ function isFQDN(str, options) {
|
|
|
4984
5003
|
|
|
4985
5004
|
module.exports = exports.default;
|
|
4986
5005
|
module.exports.default = exports.default;
|
|
4987
|
-
},{"./util/assertString":
|
|
5006
|
+
},{"./util/assertString":130,"./util/merge":132}],79:[function(require,module,exports){
|
|
4988
5007
|
"use strict";
|
|
4989
5008
|
|
|
4990
5009
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5014,7 +5033,7 @@ function isFloat(str, options) {
|
|
|
5014
5033
|
|
|
5015
5034
|
var locales = Object.keys(_alpha.decimal);
|
|
5016
5035
|
exports.locales = locales;
|
|
5017
|
-
},{"./alpha":
|
|
5036
|
+
},{"./alpha":58,"./util/assertString":130}],80:[function(require,module,exports){
|
|
5018
5037
|
"use strict";
|
|
5019
5038
|
|
|
5020
5039
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5034,7 +5053,7 @@ function isFullWidth(str) {
|
|
|
5034
5053
|
(0, _assertString.default)(str);
|
|
5035
5054
|
return fullWidth.test(str);
|
|
5036
5055
|
}
|
|
5037
|
-
},{"./util/assertString":
|
|
5056
|
+
},{"./util/assertString":130}],81:[function(require,module,exports){
|
|
5038
5057
|
"use strict";
|
|
5039
5058
|
|
|
5040
5059
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5054,7 +5073,7 @@ function isHalfWidth(str) {
|
|
|
5054
5073
|
(0, _assertString.default)(str);
|
|
5055
5074
|
return halfWidth.test(str);
|
|
5056
5075
|
}
|
|
5057
|
-
},{"./util/assertString":
|
|
5076
|
+
},{"./util/assertString":130}],82:[function(require,module,exports){
|
|
5058
5077
|
"use strict";
|
|
5059
5078
|
|
|
5060
5079
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5090,7 +5109,7 @@ function isHash(str, algorithm) {
|
|
|
5090
5109
|
|
|
5091
5110
|
module.exports = exports.default;
|
|
5092
5111
|
module.exports.default = exports.default;
|
|
5093
|
-
},{"./util/assertString":
|
|
5112
|
+
},{"./util/assertString":130}],83:[function(require,module,exports){
|
|
5094
5113
|
"use strict";
|
|
5095
5114
|
|
|
5096
5115
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5111,7 +5130,7 @@ function isHexColor(str) {
|
|
|
5111
5130
|
|
|
5112
5131
|
module.exports = exports.default;
|
|
5113
5132
|
module.exports.default = exports.default;
|
|
5114
|
-
},{"./util/assertString":
|
|
5133
|
+
},{"./util/assertString":130}],84:[function(require,module,exports){
|
|
5115
5134
|
"use strict";
|
|
5116
5135
|
|
|
5117
5136
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5132,7 +5151,7 @@ function isHexadecimal(str) {
|
|
|
5132
5151
|
|
|
5133
5152
|
module.exports = exports.default;
|
|
5134
5153
|
module.exports.default = exports.default;
|
|
5135
|
-
},{"./util/assertString":
|
|
5154
|
+
},{"./util/assertString":130}],85:[function(require,module,exports){
|
|
5136
5155
|
"use strict";
|
|
5137
5156
|
|
|
5138
5157
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5219,7 +5238,7 @@ function isIP(str) {
|
|
|
5219
5238
|
|
|
5220
5239
|
module.exports = exports.default;
|
|
5221
5240
|
module.exports.default = exports.default;
|
|
5222
|
-
},{"./util/assertString":
|
|
5241
|
+
},{"./util/assertString":130}],86:[function(require,module,exports){
|
|
5223
5242
|
"use strict";
|
|
5224
5243
|
|
|
5225
5244
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5257,7 +5276,7 @@ function isIPRange(str) {
|
|
|
5257
5276
|
|
|
5258
5277
|
module.exports = exports.default;
|
|
5259
5278
|
module.exports.default = exports.default;
|
|
5260
|
-
},{"./isIP":
|
|
5279
|
+
},{"./isIP":85,"./util/assertString":130}],87:[function(require,module,exports){
|
|
5261
5280
|
"use strict";
|
|
5262
5281
|
|
|
5263
5282
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5323,7 +5342,7 @@ function isISBN(str) {
|
|
|
5323
5342
|
|
|
5324
5343
|
module.exports = exports.default;
|
|
5325
5344
|
module.exports.default = exports.default;
|
|
5326
|
-
},{"./util/assertString":
|
|
5345
|
+
},{"./util/assertString":130}],88:[function(require,module,exports){
|
|
5327
5346
|
"use strict";
|
|
5328
5347
|
|
|
5329
5348
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5376,7 +5395,7 @@ function isISIN(str) {
|
|
|
5376
5395
|
|
|
5377
5396
|
module.exports = exports.default;
|
|
5378
5397
|
module.exports.default = exports.default;
|
|
5379
|
-
},{"./util/assertString":
|
|
5398
|
+
},{"./util/assertString":130}],89:[function(require,module,exports){
|
|
5380
5399
|
"use strict";
|
|
5381
5400
|
|
|
5382
5401
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5400,7 +5419,7 @@ function isISO31661Alpha2(str) {
|
|
|
5400
5419
|
|
|
5401
5420
|
module.exports = exports.default;
|
|
5402
5421
|
module.exports.default = exports.default;
|
|
5403
|
-
},{"./util/assertString":
|
|
5422
|
+
},{"./util/assertString":130,"./util/includes":131}],90:[function(require,module,exports){
|
|
5404
5423
|
"use strict";
|
|
5405
5424
|
|
|
5406
5425
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5424,7 +5443,7 @@ function isISO31661Alpha3(str) {
|
|
|
5424
5443
|
|
|
5425
5444
|
module.exports = exports.default;
|
|
5426
5445
|
module.exports.default = exports.default;
|
|
5427
|
-
},{"./util/assertString":
|
|
5446
|
+
},{"./util/assertString":130,"./util/includes":131}],91:[function(require,module,exports){
|
|
5428
5447
|
"use strict";
|
|
5429
5448
|
|
|
5430
5449
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5483,7 +5502,7 @@ function isISO8601(str, options) {
|
|
|
5483
5502
|
|
|
5484
5503
|
module.exports = exports.default;
|
|
5485
5504
|
module.exports.default = exports.default;
|
|
5486
|
-
},{"./util/assertString":
|
|
5505
|
+
},{"./util/assertString":130}],92:[function(require,module,exports){
|
|
5487
5506
|
"use strict";
|
|
5488
5507
|
|
|
5489
5508
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5505,7 +5524,7 @@ function isISRC(str) {
|
|
|
5505
5524
|
|
|
5506
5525
|
module.exports = exports.default;
|
|
5507
5526
|
module.exports.default = exports.default;
|
|
5508
|
-
},{"./util/assertString":
|
|
5527
|
+
},{"./util/assertString":130}],93:[function(require,module,exports){
|
|
5509
5528
|
"use strict";
|
|
5510
5529
|
|
|
5511
5530
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5543,7 +5562,7 @@ function isISSN(str) {
|
|
|
5543
5562
|
|
|
5544
5563
|
module.exports = exports.default;
|
|
5545
5564
|
module.exports.default = exports.default;
|
|
5546
|
-
},{"./util/assertString":
|
|
5565
|
+
},{"./util/assertString":130}],94:[function(require,module,exports){
|
|
5547
5566
|
"use strict";
|
|
5548
5567
|
|
|
5549
5568
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5605,7 +5624,7 @@ function isIdentityCard(str) {
|
|
|
5605
5624
|
|
|
5606
5625
|
module.exports = exports.default;
|
|
5607
5626
|
module.exports.default = exports.default;
|
|
5608
|
-
},{"./util/assertString":
|
|
5627
|
+
},{"./util/assertString":130}],95:[function(require,module,exports){
|
|
5609
5628
|
"use strict";
|
|
5610
5629
|
|
|
5611
5630
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5646,7 +5665,7 @@ function isIn(str, options) {
|
|
|
5646
5665
|
|
|
5647
5666
|
module.exports = exports.default;
|
|
5648
5667
|
module.exports.default = exports.default;
|
|
5649
|
-
},{"./util/assertString":
|
|
5668
|
+
},{"./util/assertString":130,"./util/toString":133}],96:[function(require,module,exports){
|
|
5650
5669
|
"use strict";
|
|
5651
5670
|
|
|
5652
5671
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5677,7 +5696,7 @@ function isInt(str, options) {
|
|
|
5677
5696
|
|
|
5678
5697
|
module.exports = exports.default;
|
|
5679
5698
|
module.exports.default = exports.default;
|
|
5680
|
-
},{"./util/assertString":
|
|
5699
|
+
},{"./util/assertString":130}],97:[function(require,module,exports){
|
|
5681
5700
|
"use strict";
|
|
5682
5701
|
|
|
5683
5702
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5706,7 +5725,7 @@ function isJSON(str) {
|
|
|
5706
5725
|
|
|
5707
5726
|
module.exports = exports.default;
|
|
5708
5727
|
module.exports.default = exports.default;
|
|
5709
|
-
},{"./util/assertString":
|
|
5728
|
+
},{"./util/assertString":130}],98:[function(require,module,exports){
|
|
5710
5729
|
"use strict";
|
|
5711
5730
|
|
|
5712
5731
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5727,7 +5746,7 @@ function isJWT(str) {
|
|
|
5727
5746
|
|
|
5728
5747
|
module.exports = exports.default;
|
|
5729
5748
|
module.exports.default = exports.default;
|
|
5730
|
-
},{"./util/assertString":
|
|
5749
|
+
},{"./util/assertString":130}],99:[function(require,module,exports){
|
|
5731
5750
|
"use strict";
|
|
5732
5751
|
|
|
5733
5752
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5751,7 +5770,7 @@ function _default(str) {
|
|
|
5751
5770
|
|
|
5752
5771
|
module.exports = exports.default;
|
|
5753
5772
|
module.exports.default = exports.default;
|
|
5754
|
-
},{"./util/assertString":
|
|
5773
|
+
},{"./util/assertString":130}],100:[function(require,module,exports){
|
|
5755
5774
|
"use strict";
|
|
5756
5775
|
|
|
5757
5776
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5787,7 +5806,7 @@ function isLength(str, options) {
|
|
|
5787
5806
|
|
|
5788
5807
|
module.exports = exports.default;
|
|
5789
5808
|
module.exports.default = exports.default;
|
|
5790
|
-
},{"./util/assertString":
|
|
5809
|
+
},{"./util/assertString":130}],101:[function(require,module,exports){
|
|
5791
5810
|
"use strict";
|
|
5792
5811
|
|
|
5793
5812
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5806,7 +5825,7 @@ function isLowercase(str) {
|
|
|
5806
5825
|
|
|
5807
5826
|
module.exports = exports.default;
|
|
5808
5827
|
module.exports.default = exports.default;
|
|
5809
|
-
},{"./util/assertString":
|
|
5828
|
+
},{"./util/assertString":130}],102:[function(require,module,exports){
|
|
5810
5829
|
"use strict";
|
|
5811
5830
|
|
|
5812
5831
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5833,7 +5852,7 @@ function isMACAddress(str, options) {
|
|
|
5833
5852
|
|
|
5834
5853
|
module.exports = exports.default;
|
|
5835
5854
|
module.exports.default = exports.default;
|
|
5836
|
-
},{"./util/assertString":
|
|
5855
|
+
},{"./util/assertString":130}],103:[function(require,module,exports){
|
|
5837
5856
|
"use strict";
|
|
5838
5857
|
|
|
5839
5858
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5854,7 +5873,7 @@ function isMD5(str) {
|
|
|
5854
5873
|
|
|
5855
5874
|
module.exports = exports.default;
|
|
5856
5875
|
module.exports.default = exports.default;
|
|
5857
|
-
},{"./util/assertString":
|
|
5876
|
+
},{"./util/assertString":130}],104:[function(require,module,exports){
|
|
5858
5877
|
"use strict";
|
|
5859
5878
|
|
|
5860
5879
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5875,7 +5894,7 @@ function isMagnetURI(url) {
|
|
|
5875
5894
|
|
|
5876
5895
|
module.exports = exports.default;
|
|
5877
5896
|
module.exports.default = exports.default;
|
|
5878
|
-
},{"./util/assertString":
|
|
5897
|
+
},{"./util/assertString":130}],105:[function(require,module,exports){
|
|
5879
5898
|
"use strict";
|
|
5880
5899
|
|
|
5881
5900
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -5927,7 +5946,7 @@ function isMimeType(str) {
|
|
|
5927
5946
|
|
|
5928
5947
|
module.exports = exports.default;
|
|
5929
5948
|
module.exports.default = exports.default;
|
|
5930
|
-
},{"./util/assertString":
|
|
5949
|
+
},{"./util/assertString":130}],106:[function(require,module,exports){
|
|
5931
5950
|
"use strict";
|
|
5932
5951
|
|
|
5933
5952
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6060,7 +6079,7 @@ function isMobilePhone(str, locale, options) {
|
|
|
6060
6079
|
|
|
6061
6080
|
var locales = Object.keys(phones);
|
|
6062
6081
|
exports.locales = locales;
|
|
6063
|
-
},{"./util/assertString":
|
|
6082
|
+
},{"./util/assertString":130}],107:[function(require,module,exports){
|
|
6064
6083
|
"use strict";
|
|
6065
6084
|
|
|
6066
6085
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6081,7 +6100,7 @@ function isMongoId(str) {
|
|
|
6081
6100
|
|
|
6082
6101
|
module.exports = exports.default;
|
|
6083
6102
|
module.exports.default = exports.default;
|
|
6084
|
-
},{"./isHexadecimal":
|
|
6103
|
+
},{"./isHexadecimal":84,"./util/assertString":130}],108:[function(require,module,exports){
|
|
6085
6104
|
"use strict";
|
|
6086
6105
|
|
|
6087
6106
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6104,7 +6123,7 @@ function isMultibyte(str) {
|
|
|
6104
6123
|
|
|
6105
6124
|
module.exports = exports.default;
|
|
6106
6125
|
module.exports.default = exports.default;
|
|
6107
|
-
},{"./util/assertString":
|
|
6126
|
+
},{"./util/assertString":130}],109:[function(require,module,exports){
|
|
6108
6127
|
"use strict";
|
|
6109
6128
|
|
|
6110
6129
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6131,7 +6150,7 @@ function isNumeric(str, options) {
|
|
|
6131
6150
|
|
|
6132
6151
|
module.exports = exports.default;
|
|
6133
6152
|
module.exports.default = exports.default;
|
|
6134
|
-
},{"./util/assertString":
|
|
6153
|
+
},{"./util/assertString":130}],110:[function(require,module,exports){
|
|
6135
6154
|
"use strict";
|
|
6136
6155
|
|
|
6137
6156
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6152,7 +6171,7 @@ function isPort(str) {
|
|
|
6152
6171
|
|
|
6153
6172
|
module.exports = exports.default;
|
|
6154
6173
|
module.exports.default = exports.default;
|
|
6155
|
-
},{"./isInt":
|
|
6174
|
+
},{"./isInt":96}],111:[function(require,module,exports){
|
|
6156
6175
|
"use strict";
|
|
6157
6176
|
|
|
6158
6177
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6242,7 +6261,7 @@ function _default(str, locale) {
|
|
|
6242
6261
|
|
|
6243
6262
|
throw new Error("Invalid locale '".concat(locale, "'"));
|
|
6244
6263
|
}
|
|
6245
|
-
},{"./util/assertString":
|
|
6264
|
+
},{"./util/assertString":130}],112:[function(require,module,exports){
|
|
6246
6265
|
"use strict";
|
|
6247
6266
|
|
|
6248
6267
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6276,7 +6295,7 @@ function isRFC3339(str) {
|
|
|
6276
6295
|
|
|
6277
6296
|
module.exports = exports.default;
|
|
6278
6297
|
module.exports.default = exports.default;
|
|
6279
|
-
},{"./util/assertString":
|
|
6298
|
+
},{"./util/assertString":130}],113:[function(require,module,exports){
|
|
6280
6299
|
"use strict";
|
|
6281
6300
|
|
|
6282
6301
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6297,7 +6316,7 @@ function isSurrogatePair(str) {
|
|
|
6297
6316
|
|
|
6298
6317
|
module.exports = exports.default;
|
|
6299
6318
|
module.exports.default = exports.default;
|
|
6300
|
-
},{"./util/assertString":
|
|
6319
|
+
},{"./util/assertString":130}],114:[function(require,module,exports){
|
|
6301
6320
|
"use strict";
|
|
6302
6321
|
|
|
6303
6322
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6450,7 +6469,7 @@ function isURL(url, options) {
|
|
|
6450
6469
|
|
|
6451
6470
|
module.exports = exports.default;
|
|
6452
6471
|
module.exports.default = exports.default;
|
|
6453
|
-
},{"./isFQDN":
|
|
6472
|
+
},{"./isFQDN":78,"./isIP":85,"./util/assertString":130,"./util/merge":132}],115:[function(require,module,exports){
|
|
6454
6473
|
"use strict";
|
|
6455
6474
|
|
|
6456
6475
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6478,7 +6497,7 @@ function isUUID(str) {
|
|
|
6478
6497
|
|
|
6479
6498
|
module.exports = exports.default;
|
|
6480
6499
|
module.exports.default = exports.default;
|
|
6481
|
-
},{"./util/assertString":
|
|
6500
|
+
},{"./util/assertString":130}],116:[function(require,module,exports){
|
|
6482
6501
|
"use strict";
|
|
6483
6502
|
|
|
6484
6503
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6497,7 +6516,7 @@ function isUppercase(str) {
|
|
|
6497
6516
|
|
|
6498
6517
|
module.exports = exports.default;
|
|
6499
6518
|
module.exports.default = exports.default;
|
|
6500
|
-
},{"./util/assertString":
|
|
6519
|
+
},{"./util/assertString":130}],117:[function(require,module,exports){
|
|
6501
6520
|
"use strict";
|
|
6502
6521
|
|
|
6503
6522
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6520,7 +6539,7 @@ function isVariableWidth(str) {
|
|
|
6520
6539
|
|
|
6521
6540
|
module.exports = exports.default;
|
|
6522
6541
|
module.exports.default = exports.default;
|
|
6523
|
-
},{"./isFullWidth":
|
|
6542
|
+
},{"./isFullWidth":80,"./isHalfWidth":81,"./util/assertString":130}],118:[function(require,module,exports){
|
|
6524
6543
|
"use strict";
|
|
6525
6544
|
|
|
6526
6545
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6546,7 +6565,7 @@ function isWhitelisted(str, chars) {
|
|
|
6546
6565
|
|
|
6547
6566
|
module.exports = exports.default;
|
|
6548
6567
|
module.exports.default = exports.default;
|
|
6549
|
-
},{"./util/assertString":
|
|
6568
|
+
},{"./util/assertString":130}],119:[function(require,module,exports){
|
|
6550
6569
|
"use strict";
|
|
6551
6570
|
|
|
6552
6571
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6566,7 +6585,7 @@ function ltrim(str, chars) {
|
|
|
6566
6585
|
|
|
6567
6586
|
module.exports = exports.default;
|
|
6568
6587
|
module.exports.default = exports.default;
|
|
6569
|
-
},{"./util/assertString":
|
|
6588
|
+
},{"./util/assertString":130}],120:[function(require,module,exports){
|
|
6570
6589
|
"use strict";
|
|
6571
6590
|
|
|
6572
6591
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6590,7 +6609,7 @@ function matches(str, pattern, modifiers) {
|
|
|
6590
6609
|
|
|
6591
6610
|
module.exports = exports.default;
|
|
6592
6611
|
module.exports.default = exports.default;
|
|
6593
|
-
},{"./util/assertString":
|
|
6612
|
+
},{"./util/assertString":130}],121:[function(require,module,exports){
|
|
6594
6613
|
"use strict";
|
|
6595
6614
|
|
|
6596
6615
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6742,7 +6761,7 @@ function normalizeEmail(email, options) {
|
|
|
6742
6761
|
|
|
6743
6762
|
module.exports = exports.default;
|
|
6744
6763
|
module.exports.default = exports.default;
|
|
6745
|
-
},{"./util/merge":
|
|
6764
|
+
},{"./util/merge":132}],122:[function(require,module,exports){
|
|
6746
6765
|
"use strict";
|
|
6747
6766
|
|
|
6748
6767
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6768,7 +6787,7 @@ function rtrim(str, chars) {
|
|
|
6768
6787
|
|
|
6769
6788
|
module.exports = exports.default;
|
|
6770
6789
|
module.exports.default = exports.default;
|
|
6771
|
-
},{"./util/assertString":
|
|
6790
|
+
},{"./util/assertString":130}],123:[function(require,module,exports){
|
|
6772
6791
|
"use strict";
|
|
6773
6792
|
|
|
6774
6793
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6790,7 +6809,7 @@ function stripLow(str, keep_new_lines) {
|
|
|
6790
6809
|
|
|
6791
6810
|
module.exports = exports.default;
|
|
6792
6811
|
module.exports.default = exports.default;
|
|
6793
|
-
},{"./blacklist":
|
|
6812
|
+
},{"./blacklist":59,"./util/assertString":130}],124:[function(require,module,exports){
|
|
6794
6813
|
"use strict";
|
|
6795
6814
|
|
|
6796
6815
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6814,7 +6833,7 @@ function toBoolean(str, strict) {
|
|
|
6814
6833
|
|
|
6815
6834
|
module.exports = exports.default;
|
|
6816
6835
|
module.exports.default = exports.default;
|
|
6817
|
-
},{"./util/assertString":
|
|
6836
|
+
},{"./util/assertString":130}],125:[function(require,module,exports){
|
|
6818
6837
|
"use strict";
|
|
6819
6838
|
|
|
6820
6839
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6834,7 +6853,7 @@ function toDate(date) {
|
|
|
6834
6853
|
|
|
6835
6854
|
module.exports = exports.default;
|
|
6836
6855
|
module.exports.default = exports.default;
|
|
6837
|
-
},{"./util/assertString":
|
|
6856
|
+
},{"./util/assertString":130}],126:[function(require,module,exports){
|
|
6838
6857
|
"use strict";
|
|
6839
6858
|
|
|
6840
6859
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6853,7 +6872,7 @@ function toFloat(str) {
|
|
|
6853
6872
|
|
|
6854
6873
|
module.exports = exports.default;
|
|
6855
6874
|
module.exports.default = exports.default;
|
|
6856
|
-
},{"./util/assertString":
|
|
6875
|
+
},{"./util/assertString":130}],127:[function(require,module,exports){
|
|
6857
6876
|
"use strict";
|
|
6858
6877
|
|
|
6859
6878
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6872,7 +6891,7 @@ function toInt(str, radix) {
|
|
|
6872
6891
|
|
|
6873
6892
|
module.exports = exports.default;
|
|
6874
6893
|
module.exports.default = exports.default;
|
|
6875
|
-
},{"./util/assertString":
|
|
6894
|
+
},{"./util/assertString":130}],128:[function(require,module,exports){
|
|
6876
6895
|
"use strict";
|
|
6877
6896
|
|
|
6878
6897
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6892,7 +6911,7 @@ function trim(str, chars) {
|
|
|
6892
6911
|
|
|
6893
6912
|
module.exports = exports.default;
|
|
6894
6913
|
module.exports.default = exports.default;
|
|
6895
|
-
},{"./ltrim":
|
|
6914
|
+
},{"./ltrim":119,"./rtrim":122}],129:[function(require,module,exports){
|
|
6896
6915
|
"use strict";
|
|
6897
6916
|
|
|
6898
6917
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6911,7 +6930,7 @@ function unescape(str) {
|
|
|
6911
6930
|
|
|
6912
6931
|
module.exports = exports.default;
|
|
6913
6932
|
module.exports.default = exports.default;
|
|
6914
|
-
},{"./util/assertString":
|
|
6933
|
+
},{"./util/assertString":130}],130:[function(require,module,exports){
|
|
6915
6934
|
"use strict";
|
|
6916
6935
|
|
|
6917
6936
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6945,7 +6964,7 @@ function assertString(input) {
|
|
|
6945
6964
|
|
|
6946
6965
|
module.exports = exports.default;
|
|
6947
6966
|
module.exports.default = exports.default;
|
|
6948
|
-
},{}],
|
|
6967
|
+
},{}],131:[function(require,module,exports){
|
|
6949
6968
|
"use strict";
|
|
6950
6969
|
|
|
6951
6970
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6963,7 +6982,7 @@ var _default = includes;
|
|
|
6963
6982
|
exports.default = _default;
|
|
6964
6983
|
module.exports = exports.default;
|
|
6965
6984
|
module.exports.default = exports.default;
|
|
6966
|
-
},{}],
|
|
6985
|
+
},{}],132:[function(require,module,exports){
|
|
6967
6986
|
"use strict";
|
|
6968
6987
|
|
|
6969
6988
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -6986,7 +7005,7 @@ function merge() {
|
|
|
6986
7005
|
|
|
6987
7006
|
module.exports = exports.default;
|
|
6988
7007
|
module.exports.default = exports.default;
|
|
6989
|
-
},{}],
|
|
7008
|
+
},{}],133:[function(require,module,exports){
|
|
6990
7009
|
"use strict";
|
|
6991
7010
|
|
|
6992
7011
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -7012,7 +7031,7 @@ function toString(input) {
|
|
|
7012
7031
|
|
|
7013
7032
|
module.exports = exports.default;
|
|
7014
7033
|
module.exports.default = exports.default;
|
|
7015
|
-
},{}],
|
|
7034
|
+
},{}],134:[function(require,module,exports){
|
|
7016
7035
|
"use strict";
|
|
7017
7036
|
|
|
7018
7037
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -7031,7 +7050,7 @@ function whitelist(str, chars) {
|
|
|
7031
7050
|
|
|
7032
7051
|
module.exports = exports.default;
|
|
7033
7052
|
module.exports.default = exports.default;
|
|
7034
|
-
},{"./util/assertString":
|
|
7053
|
+
},{"./util/assertString":130}],135:[function(require,module,exports){
|
|
7035
7054
|
"use strict";
|
|
7036
7055
|
|
|
7037
7056
|
module.exports = {
|
|
@@ -7093,7 +7112,7 @@ module.exports = {
|
|
|
7093
7112
|
|
|
7094
7113
|
};
|
|
7095
7114
|
|
|
7096
|
-
},{}],
|
|
7115
|
+
},{}],136:[function(require,module,exports){
|
|
7097
7116
|
/*jshint maxlen: false*/
|
|
7098
7117
|
|
|
7099
7118
|
var validator = require("validator");
|
|
@@ -7224,7 +7243,7 @@ var FormatValidators = {
|
|
|
7224
7243
|
|
|
7225
7244
|
module.exports = FormatValidators;
|
|
7226
7245
|
|
|
7227
|
-
},{"validator":
|
|
7246
|
+
},{"validator":57}],137:[function(require,module,exports){
|
|
7228
7247
|
"use strict";
|
|
7229
7248
|
|
|
7230
7249
|
var FormatValidators = require("./FormatValidators"),
|
|
@@ -7665,13 +7684,13 @@ var recurseArray = function (report, schema, json) {
|
|
|
7665
7684
|
while (idx--) {
|
|
7666
7685
|
// equal to doesn't make sense here
|
|
7667
7686
|
if (idx < schema.items.length) {
|
|
7668
|
-
report.path.push(idx
|
|
7687
|
+
report.path.push(idx);
|
|
7669
7688
|
exports.validate.call(this, report, schema.items[idx], json[idx]);
|
|
7670
7689
|
report.path.pop();
|
|
7671
7690
|
} else {
|
|
7672
7691
|
// might be boolean, so check that it's an object
|
|
7673
7692
|
if (typeof schema.additionalItems === "object") {
|
|
7674
|
-
report.path.push(idx
|
|
7693
|
+
report.path.push(idx);
|
|
7675
7694
|
exports.validate.call(this, report, schema.additionalItems, json[idx]);
|
|
7676
7695
|
report.path.pop();
|
|
7677
7696
|
}
|
|
@@ -7683,7 +7702,7 @@ var recurseArray = function (report, schema, json) {
|
|
|
7683
7702
|
// If items is a schema, then the child instance must be valid against this schema,
|
|
7684
7703
|
// regardless of its index, and regardless of the value of "additionalItems".
|
|
7685
7704
|
while (idx--) {
|
|
7686
|
-
report.path.push(idx
|
|
7705
|
+
report.path.push(idx);
|
|
7687
7706
|
exports.validate.call(this, report, schema.items, json[idx]);
|
|
7688
7707
|
report.path.pop();
|
|
7689
7708
|
}
|
|
@@ -7845,7 +7864,7 @@ exports.validate = function (report, schema, json) {
|
|
|
7845
7864
|
|
|
7846
7865
|
};
|
|
7847
7866
|
|
|
7848
|
-
},{"./FormatValidators":
|
|
7867
|
+
},{"./FormatValidators":136,"./Report":139,"./Utils":143}],138:[function(require,module,exports){
|
|
7849
7868
|
// Number.isFinite polyfill
|
|
7850
7869
|
// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isfinite
|
|
7851
7870
|
if (typeof Number.isFinite !== "function") {
|
|
@@ -7863,7 +7882,7 @@ if (typeof Number.isFinite !== "function") {
|
|
|
7863
7882
|
};
|
|
7864
7883
|
}
|
|
7865
7884
|
|
|
7866
|
-
},{}],
|
|
7885
|
+
},{}],139:[function(require,module,exports){
|
|
7867
7886
|
(function (process){
|
|
7868
7887
|
"use strict";
|
|
7869
7888
|
|
|
@@ -8003,6 +8022,7 @@ Report.prototype.getPath = function (returnPathAsString) {
|
|
|
8003
8022
|
if (returnPathAsString !== true) {
|
|
8004
8023
|
// Sanitize the path segments (http://tools.ietf.org/html/rfc6901#section-4)
|
|
8005
8024
|
path = "#/" + path.map(function (segment) {
|
|
8025
|
+
segment = segment.toString();
|
|
8006
8026
|
|
|
8007
8027
|
if (Utils.isAbsoluteUri(segment)) {
|
|
8008
8028
|
return "uri(" + segment + ")";
|
|
@@ -8165,7 +8185,7 @@ Report.prototype.addCustomError = function (errorCode, errorMessage, params, sub
|
|
|
8165
8185
|
module.exports = Report;
|
|
8166
8186
|
|
|
8167
8187
|
}).call(this,require('_process'))
|
|
8168
|
-
},{"./Errors":
|
|
8188
|
+
},{"./Errors":135,"./Utils":143,"_process":56,"lodash.get":54}],140:[function(require,module,exports){
|
|
8169
8189
|
"use strict";
|
|
8170
8190
|
|
|
8171
8191
|
var isequal = require("lodash.isequal");
|
|
@@ -8355,7 +8375,7 @@ exports.getSchemaByUri = function (report, uri, root) {
|
|
|
8355
8375
|
|
|
8356
8376
|
exports.getRemotePath = getRemotePath;
|
|
8357
8377
|
|
|
8358
|
-
},{"./Report":
|
|
8378
|
+
},{"./Report":139,"./SchemaCompilation":141,"./SchemaValidation":142,"./Utils":143,"lodash.isequal":55}],141:[function(require,module,exports){
|
|
8359
8379
|
"use strict";
|
|
8360
8380
|
|
|
8361
8381
|
var Report = require("./Report");
|
|
@@ -8656,7 +8676,7 @@ exports.compileSchema = function (report, schema) {
|
|
|
8656
8676
|
|
|
8657
8677
|
};
|
|
8658
8678
|
|
|
8659
|
-
},{"./Report":
|
|
8679
|
+
},{"./Report":139,"./SchemaCache":140,"./Utils":143}],142:[function(require,module,exports){
|
|
8660
8680
|
"use strict";
|
|
8661
8681
|
|
|
8662
8682
|
var FormatValidators = require("./FormatValidators"),
|
|
@@ -9277,7 +9297,7 @@ exports.validateSchema = function (report, schema) {
|
|
|
9277
9297
|
return isValid;
|
|
9278
9298
|
};
|
|
9279
9299
|
|
|
9280
|
-
},{"./FormatValidators":
|
|
9300
|
+
},{"./FormatValidators":136,"./JsonValidation":137,"./Report":139,"./Utils":143}],143:[function(require,module,exports){
|
|
9281
9301
|
"use strict";
|
|
9282
9302
|
|
|
9283
9303
|
require("core-js/es6/symbol");
|
|
@@ -9555,7 +9575,7 @@ exports.ucs2decode = function (string) {
|
|
|
9555
9575
|
};
|
|
9556
9576
|
/*jshint +W016*/
|
|
9557
9577
|
|
|
9558
|
-
},{"core-js/es6/symbol":1}],
|
|
9578
|
+
},{"core-js/es6/symbol":1}],144:[function(require,module,exports){
|
|
9559
9579
|
(function (process){
|
|
9560
9580
|
"use strict";
|
|
9561
9581
|
|
|
@@ -9968,7 +9988,7 @@ ZSchema.jsonSymbol = Utils.jsonSymbol;
|
|
|
9968
9988
|
module.exports = ZSchema;
|
|
9969
9989
|
|
|
9970
9990
|
}).call(this,require('_process'))
|
|
9971
|
-
},{"./FormatValidators":
|
|
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){
|
|
9972
9992
|
module.exports={
|
|
9973
9993
|
"$schema": "http://json-schema.org/draft-04/hyper-schema#",
|
|
9974
9994
|
"id": "http://json-schema.org/draft-04/hyper-schema#",
|
|
@@ -10128,7 +10148,7 @@ module.exports={
|
|
|
10128
10148
|
}
|
|
10129
10149
|
|
|
10130
10150
|
|
|
10131
|
-
},{}],
|
|
10151
|
+
},{}],146:[function(require,module,exports){
|
|
10132
10152
|
module.exports={
|
|
10133
10153
|
"id": "http://json-schema.org/draft-04/schema#",
|
|
10134
10154
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
@@ -10281,5 +10301,5 @@ module.exports={
|
|
|
10281
10301
|
"default": {}
|
|
10282
10302
|
}
|
|
10283
10303
|
|
|
10284
|
-
},{}]},{},[
|
|
10304
|
+
},{}]},{},[135,136,137,138,139,140,141,142,143,144])(144)
|
|
10285
10305
|
});
|