z-schema 3.21.0 → 3.22.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 +302 -227
- package/dist/ZSchema-browser.js +14 -18
- package/package.json +1 -1
- package/src/JsonValidation.js +14 -18
|
@@ -2622,7 +2622,7 @@ function validateParams (params) {
|
|
|
2622
2622
|
return params
|
|
2623
2623
|
}
|
|
2624
2624
|
|
|
2625
|
-
},{"http":30,"url":
|
|
2625
|
+
},{"http":30,"url":37}],8:[function(require,module,exports){
|
|
2626
2626
|
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
2627
2627
|
var e, m
|
|
2628
2628
|
var eLen = (nBytes * 8) - mLen - 1
|
|
@@ -7918,7 +7918,7 @@ function done(stream, er, data) {
|
|
|
7918
7918
|
return stream.push(null);
|
|
7919
7919
|
}
|
|
7920
7920
|
},{"./_stream_duplex":20,"core-util-is":5,"inherits":9}],24:[function(require,module,exports){
|
|
7921
|
-
(function (process,global){
|
|
7921
|
+
(function (process,global,setImmediate){
|
|
7922
7922
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
7923
7923
|
//
|
|
7924
7924
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -8606,8 +8606,8 @@ Writable.prototype._destroy = function (err, cb) {
|
|
|
8606
8606
|
this.end();
|
|
8607
8607
|
cb(err);
|
|
8608
8608
|
};
|
|
8609
|
-
}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
8610
|
-
},{"./_stream_duplex":20,"./internal/streams/destroy":26,"./internal/streams/stream":27,"_process":15,"core-util-is":5,"inherits":9,"process-nextick-args":14,"safe-buffer":29,"util-deprecate":
|
|
8609
|
+
}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("timers").setImmediate)
|
|
8610
|
+
},{"./_stream_duplex":20,"./internal/streams/destroy":26,"./internal/streams/stream":27,"_process":15,"core-util-is":5,"inherits":9,"process-nextick-args":14,"safe-buffer":29,"timers":35,"util-deprecate":39}],25:[function(require,module,exports){
|
|
8611
8611
|
'use strict';
|
|
8612
8612
|
|
|
8613
8613
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -8926,7 +8926,7 @@ http.METHODS = [
|
|
|
8926
8926
|
'UNSUBSCRIBE'
|
|
8927
8927
|
]
|
|
8928
8928
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
8929
|
-
},{"./lib/request":32,"./lib/response":33,"builtin-status-codes":4,"url":
|
|
8929
|
+
},{"./lib/request":32,"./lib/response":33,"builtin-status-codes":4,"url":37,"xtend":113}],31:[function(require,module,exports){
|
|
8930
8930
|
(function (global){
|
|
8931
8931
|
exports.fetch = isFunction(global.fetch) && isFunction(global.ReadableStream)
|
|
8932
8932
|
|
|
@@ -9335,7 +9335,7 @@ var unsafeHeaders = [
|
|
|
9335
9335
|
]
|
|
9336
9336
|
|
|
9337
9337
|
}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer)
|
|
9338
|
-
},{"./capability":31,"./response":33,"_process":15,"buffer":3,"inherits":9,"readable-stream":28,"to-arraybuffer":
|
|
9338
|
+
},{"./capability":31,"./response":33,"_process":15,"buffer":3,"inherits":9,"readable-stream":28,"to-arraybuffer":36}],33:[function(require,module,exports){
|
|
9339
9339
|
(function (process,global,Buffer){
|
|
9340
9340
|
var capability = require('./capability')
|
|
9341
9341
|
var inherits = require('inherits')
|
|
@@ -9861,6 +9861,85 @@ function simpleEnd(buf) {
|
|
|
9861
9861
|
return buf && buf.length ? this.write(buf) : '';
|
|
9862
9862
|
}
|
|
9863
9863
|
},{"safe-buffer":29}],35:[function(require,module,exports){
|
|
9864
|
+
(function (setImmediate,clearImmediate){
|
|
9865
|
+
var nextTick = require('process/browser.js').nextTick;
|
|
9866
|
+
var apply = Function.prototype.apply;
|
|
9867
|
+
var slice = Array.prototype.slice;
|
|
9868
|
+
var immediateIds = {};
|
|
9869
|
+
var nextImmediateId = 0;
|
|
9870
|
+
|
|
9871
|
+
// DOM APIs, for completeness
|
|
9872
|
+
|
|
9873
|
+
exports.setTimeout = function() {
|
|
9874
|
+
return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);
|
|
9875
|
+
};
|
|
9876
|
+
exports.setInterval = function() {
|
|
9877
|
+
return new Timeout(apply.call(setInterval, window, arguments), clearInterval);
|
|
9878
|
+
};
|
|
9879
|
+
exports.clearTimeout =
|
|
9880
|
+
exports.clearInterval = function(timeout) { timeout.close(); };
|
|
9881
|
+
|
|
9882
|
+
function Timeout(id, clearFn) {
|
|
9883
|
+
this._id = id;
|
|
9884
|
+
this._clearFn = clearFn;
|
|
9885
|
+
}
|
|
9886
|
+
Timeout.prototype.unref = Timeout.prototype.ref = function() {};
|
|
9887
|
+
Timeout.prototype.close = function() {
|
|
9888
|
+
this._clearFn.call(window, this._id);
|
|
9889
|
+
};
|
|
9890
|
+
|
|
9891
|
+
// Does not start the time, just sets up the members needed.
|
|
9892
|
+
exports.enroll = function(item, msecs) {
|
|
9893
|
+
clearTimeout(item._idleTimeoutId);
|
|
9894
|
+
item._idleTimeout = msecs;
|
|
9895
|
+
};
|
|
9896
|
+
|
|
9897
|
+
exports.unenroll = function(item) {
|
|
9898
|
+
clearTimeout(item._idleTimeoutId);
|
|
9899
|
+
item._idleTimeout = -1;
|
|
9900
|
+
};
|
|
9901
|
+
|
|
9902
|
+
exports._unrefActive = exports.active = function(item) {
|
|
9903
|
+
clearTimeout(item._idleTimeoutId);
|
|
9904
|
+
|
|
9905
|
+
var msecs = item._idleTimeout;
|
|
9906
|
+
if (msecs >= 0) {
|
|
9907
|
+
item._idleTimeoutId = setTimeout(function onTimeout() {
|
|
9908
|
+
if (item._onTimeout)
|
|
9909
|
+
item._onTimeout();
|
|
9910
|
+
}, msecs);
|
|
9911
|
+
}
|
|
9912
|
+
};
|
|
9913
|
+
|
|
9914
|
+
// That's not how node.js implements it but the exposed api is the same.
|
|
9915
|
+
exports.setImmediate = typeof setImmediate === "function" ? setImmediate : function(fn) {
|
|
9916
|
+
var id = nextImmediateId++;
|
|
9917
|
+
var args = arguments.length < 2 ? false : slice.call(arguments, 1);
|
|
9918
|
+
|
|
9919
|
+
immediateIds[id] = true;
|
|
9920
|
+
|
|
9921
|
+
nextTick(function onNextTick() {
|
|
9922
|
+
if (immediateIds[id]) {
|
|
9923
|
+
// fn.call() is faster so we optimize for the common use-case
|
|
9924
|
+
// @see http://jsperf.com/call-apply-segu
|
|
9925
|
+
if (args) {
|
|
9926
|
+
fn.apply(null, args);
|
|
9927
|
+
} else {
|
|
9928
|
+
fn.call(null);
|
|
9929
|
+
}
|
|
9930
|
+
// Prevent ids from leaking
|
|
9931
|
+
exports.clearImmediate(id);
|
|
9932
|
+
}
|
|
9933
|
+
});
|
|
9934
|
+
|
|
9935
|
+
return id;
|
|
9936
|
+
};
|
|
9937
|
+
|
|
9938
|
+
exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate : function(id) {
|
|
9939
|
+
delete immediateIds[id];
|
|
9940
|
+
};
|
|
9941
|
+
}).call(this,require("timers").setImmediate,require("timers").clearImmediate)
|
|
9942
|
+
},{"process/browser.js":15,"timers":35}],36:[function(require,module,exports){
|
|
9864
9943
|
var Buffer = require('buffer').Buffer
|
|
9865
9944
|
|
|
9866
9945
|
module.exports = function (buf) {
|
|
@@ -9889,7 +9968,7 @@ module.exports = function (buf) {
|
|
|
9889
9968
|
}
|
|
9890
9969
|
}
|
|
9891
9970
|
|
|
9892
|
-
},{"buffer":3}],
|
|
9971
|
+
},{"buffer":3}],37:[function(require,module,exports){
|
|
9893
9972
|
// Copyright Joyent, Inc. and other Node contributors.
|
|
9894
9973
|
//
|
|
9895
9974
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
|
@@ -10623,7 +10702,7 @@ Url.prototype.parseHost = function() {
|
|
|
10623
10702
|
if (host) this.hostname = host;
|
|
10624
10703
|
};
|
|
10625
10704
|
|
|
10626
|
-
},{"./util":
|
|
10705
|
+
},{"./util":38,"punycode":16,"querystring":19}],38:[function(require,module,exports){
|
|
10627
10706
|
'use strict';
|
|
10628
10707
|
|
|
10629
10708
|
module.exports = {
|
|
@@ -10641,7 +10720,7 @@ module.exports = {
|
|
|
10641
10720
|
}
|
|
10642
10721
|
};
|
|
10643
10722
|
|
|
10644
|
-
},{}],
|
|
10723
|
+
},{}],39:[function(require,module,exports){
|
|
10645
10724
|
(function (global){
|
|
10646
10725
|
|
|
10647
10726
|
/**
|
|
@@ -10712,7 +10791,7 @@ function config (name) {
|
|
|
10712
10791
|
}
|
|
10713
10792
|
|
|
10714
10793
|
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
|
|
10715
|
-
},{}],
|
|
10794
|
+
},{}],40:[function(require,module,exports){
|
|
10716
10795
|
'use strict';
|
|
10717
10796
|
|
|
10718
10797
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11075,7 +11154,7 @@ var validator = {
|
|
|
11075
11154
|
|
|
11076
11155
|
exports.default = validator;
|
|
11077
11156
|
module.exports = exports['default'];
|
|
11078
|
-
},{"./lib/blacklist":
|
|
11157
|
+
},{"./lib/blacklist":42,"./lib/contains":43,"./lib/equals":44,"./lib/escape":45,"./lib/isAfter":46,"./lib/isAlpha":47,"./lib/isAlphanumeric":48,"./lib/isAscii":49,"./lib/isBase64":50,"./lib/isBefore":51,"./lib/isBoolean":52,"./lib/isByteLength":53,"./lib/isCreditCard":54,"./lib/isCurrency":55,"./lib/isDataURI":56,"./lib/isDecimal":57,"./lib/isDivisibleBy":58,"./lib/isEmail":59,"./lib/isEmpty":60,"./lib/isFQDN":61,"./lib/isFloat":62,"./lib/isFullWidth":63,"./lib/isHalfWidth":64,"./lib/isHash":65,"./lib/isHexColor":66,"./lib/isHexadecimal":67,"./lib/isIP":68,"./lib/isISBN":69,"./lib/isISIN":70,"./lib/isISO31661Alpha2":71,"./lib/isISO31661Alpha3":72,"./lib/isISO8601":73,"./lib/isISRC":74,"./lib/isISSN":75,"./lib/isIn":76,"./lib/isInt":77,"./lib/isJSON":78,"./lib/isLatLong":79,"./lib/isLength":80,"./lib/isLowercase":81,"./lib/isMACAddress":82,"./lib/isMD5":83,"./lib/isMimeType":84,"./lib/isMobilePhone":85,"./lib/isMongoId":86,"./lib/isMultibyte":87,"./lib/isNumeric":88,"./lib/isPort":89,"./lib/isPostalCode":90,"./lib/isRFC3339":91,"./lib/isSurrogatePair":92,"./lib/isURL":93,"./lib/isUUID":94,"./lib/isUppercase":95,"./lib/isVariableWidth":96,"./lib/isWhitelisted":97,"./lib/ltrim":98,"./lib/matches":99,"./lib/normalizeEmail":100,"./lib/rtrim":101,"./lib/stripLow":102,"./lib/toBoolean":103,"./lib/toDate":104,"./lib/toFloat":105,"./lib/toInt":106,"./lib/trim":107,"./lib/unescape":108,"./lib/util/toString":111,"./lib/whitelist":112}],41:[function(require,module,exports){
|
|
11079
11158
|
'use strict';
|
|
11080
11159
|
|
|
11081
11160
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11172,7 +11251,7 @@ for (var _i3 = 0; _i3 < commaDecimal.length; _i3++) {
|
|
|
11172
11251
|
alpha['pt-BR'] = alpha['pt-PT'];
|
|
11173
11252
|
alphanumeric['pt-BR'] = alphanumeric['pt-PT'];
|
|
11174
11253
|
decimal['pt-BR'] = decimal['pt-PT'];
|
|
11175
|
-
},{}],
|
|
11254
|
+
},{}],42:[function(require,module,exports){
|
|
11176
11255
|
'use strict';
|
|
11177
11256
|
|
|
11178
11257
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11191,7 +11270,7 @@ function blacklist(str, chars) {
|
|
|
11191
11270
|
return str.replace(new RegExp('[' + chars + ']+', 'g'), '');
|
|
11192
11271
|
}
|
|
11193
11272
|
module.exports = exports['default'];
|
|
11194
|
-
},{"./util/assertString":
|
|
11273
|
+
},{"./util/assertString":109}],43:[function(require,module,exports){
|
|
11195
11274
|
'use strict';
|
|
11196
11275
|
|
|
11197
11276
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11214,7 +11293,7 @@ function contains(str, elem) {
|
|
|
11214
11293
|
return str.indexOf((0, _toString2.default)(elem)) >= 0;
|
|
11215
11294
|
}
|
|
11216
11295
|
module.exports = exports['default'];
|
|
11217
|
-
},{"./util/assertString":
|
|
11296
|
+
},{"./util/assertString":109,"./util/toString":111}],44:[function(require,module,exports){
|
|
11218
11297
|
'use strict';
|
|
11219
11298
|
|
|
11220
11299
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11233,7 +11312,7 @@ function equals(str, comparison) {
|
|
|
11233
11312
|
return str === comparison;
|
|
11234
11313
|
}
|
|
11235
11314
|
module.exports = exports['default'];
|
|
11236
|
-
},{"./util/assertString":
|
|
11315
|
+
},{"./util/assertString":109}],45:[function(require,module,exports){
|
|
11237
11316
|
'use strict';
|
|
11238
11317
|
|
|
11239
11318
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11252,7 +11331,7 @@ function escape(str) {
|
|
|
11252
11331
|
return str.replace(/&/g, '&').replace(/"/g, '"').replace(/'/g, ''').replace(/</g, '<').replace(/>/g, '>').replace(/\//g, '/').replace(/\\/g, '\').replace(/`/g, '`');
|
|
11253
11332
|
}
|
|
11254
11333
|
module.exports = exports['default'];
|
|
11255
|
-
},{"./util/assertString":
|
|
11334
|
+
},{"./util/assertString":109}],46:[function(require,module,exports){
|
|
11256
11335
|
'use strict';
|
|
11257
11336
|
|
|
11258
11337
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11279,7 +11358,7 @@ function isAfter(str) {
|
|
|
11279
11358
|
return !!(original && comparison && original > comparison);
|
|
11280
11359
|
}
|
|
11281
11360
|
module.exports = exports['default'];
|
|
11282
|
-
},{"./toDate":
|
|
11361
|
+
},{"./toDate":104,"./util/assertString":109}],47:[function(require,module,exports){
|
|
11283
11362
|
'use strict';
|
|
11284
11363
|
|
|
11285
11364
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11305,7 +11384,7 @@ function isAlpha(str) {
|
|
|
11305
11384
|
throw new Error('Invalid locale \'' + locale + '\'');
|
|
11306
11385
|
}
|
|
11307
11386
|
module.exports = exports['default'];
|
|
11308
|
-
},{"./alpha":
|
|
11387
|
+
},{"./alpha":41,"./util/assertString":109}],48:[function(require,module,exports){
|
|
11309
11388
|
'use strict';
|
|
11310
11389
|
|
|
11311
11390
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11331,7 +11410,7 @@ function isAlphanumeric(str) {
|
|
|
11331
11410
|
throw new Error('Invalid locale \'' + locale + '\'');
|
|
11332
11411
|
}
|
|
11333
11412
|
module.exports = exports['default'];
|
|
11334
|
-
},{"./alpha":
|
|
11413
|
+
},{"./alpha":41,"./util/assertString":109}],49:[function(require,module,exports){
|
|
11335
11414
|
'use strict';
|
|
11336
11415
|
|
|
11337
11416
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11354,7 +11433,7 @@ function isAscii(str) {
|
|
|
11354
11433
|
return ascii.test(str);
|
|
11355
11434
|
}
|
|
11356
11435
|
module.exports = exports['default'];
|
|
11357
|
-
},{"./util/assertString":
|
|
11436
|
+
},{"./util/assertString":109}],50:[function(require,module,exports){
|
|
11358
11437
|
'use strict';
|
|
11359
11438
|
|
|
11360
11439
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11380,7 +11459,7 @@ function isBase64(str) {
|
|
|
11380
11459
|
return firstPaddingChar === -1 || firstPaddingChar === len - 1 || firstPaddingChar === len - 2 && str[len - 1] === '=';
|
|
11381
11460
|
}
|
|
11382
11461
|
module.exports = exports['default'];
|
|
11383
|
-
},{"./util/assertString":
|
|
11462
|
+
},{"./util/assertString":109}],51:[function(require,module,exports){
|
|
11384
11463
|
'use strict';
|
|
11385
11464
|
|
|
11386
11465
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11407,7 +11486,7 @@ function isBefore(str) {
|
|
|
11407
11486
|
return !!(original && comparison && original < comparison);
|
|
11408
11487
|
}
|
|
11409
11488
|
module.exports = exports['default'];
|
|
11410
|
-
},{"./toDate":
|
|
11489
|
+
},{"./toDate":104,"./util/assertString":109}],52:[function(require,module,exports){
|
|
11411
11490
|
'use strict';
|
|
11412
11491
|
|
|
11413
11492
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11426,7 +11505,7 @@ function isBoolean(str) {
|
|
|
11426
11505
|
return ['true', 'false', '1', '0'].indexOf(str) >= 0;
|
|
11427
11506
|
}
|
|
11428
11507
|
module.exports = exports['default'];
|
|
11429
|
-
},{"./util/assertString":
|
|
11508
|
+
},{"./util/assertString":109}],53:[function(require,module,exports){
|
|
11430
11509
|
'use strict';
|
|
11431
11510
|
|
|
11432
11511
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11460,7 +11539,7 @@ function isByteLength(str, options) {
|
|
|
11460
11539
|
return len >= min && (typeof max === 'undefined' || len <= max);
|
|
11461
11540
|
}
|
|
11462
11541
|
module.exports = exports['default'];
|
|
11463
|
-
},{"./util/assertString":
|
|
11542
|
+
},{"./util/assertString":109}],54:[function(require,module,exports){
|
|
11464
11543
|
'use strict';
|
|
11465
11544
|
|
|
11466
11545
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11506,7 +11585,7 @@ function isCreditCard(str) {
|
|
|
11506
11585
|
return !!(sum % 10 === 0 ? sanitized : false);
|
|
11507
11586
|
}
|
|
11508
11587
|
module.exports = exports['default'];
|
|
11509
|
-
},{"./util/assertString":
|
|
11588
|
+
},{"./util/assertString":109}],55:[function(require,module,exports){
|
|
11510
11589
|
'use strict';
|
|
11511
11590
|
|
|
11512
11591
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11599,7 +11678,7 @@ function isCurrency(str, options) {
|
|
|
11599
11678
|
return currencyRegex(options).test(str);
|
|
11600
11679
|
}
|
|
11601
11680
|
module.exports = exports['default'];
|
|
11602
|
-
},{"./util/assertString":
|
|
11681
|
+
},{"./util/assertString":109,"./util/merge":110}],56:[function(require,module,exports){
|
|
11603
11682
|
'use strict';
|
|
11604
11683
|
|
|
11605
11684
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11649,7 +11728,7 @@ function isDataURI(str) {
|
|
|
11649
11728
|
return true;
|
|
11650
11729
|
}
|
|
11651
11730
|
module.exports = exports['default'];
|
|
11652
|
-
},{"./util/assertString":
|
|
11731
|
+
},{"./util/assertString":109}],57:[function(require,module,exports){
|
|
11653
11732
|
'use strict';
|
|
11654
11733
|
|
|
11655
11734
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11691,7 +11770,7 @@ function isDecimal(str, options) {
|
|
|
11691
11770
|
throw new Error('Invalid locale \'' + options.locale + '\'');
|
|
11692
11771
|
}
|
|
11693
11772
|
module.exports = exports['default'];
|
|
11694
|
-
},{"./alpha":
|
|
11773
|
+
},{"./alpha":41,"./util/assertString":109,"./util/merge":110}],58:[function(require,module,exports){
|
|
11695
11774
|
'use strict';
|
|
11696
11775
|
|
|
11697
11776
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11714,7 +11793,7 @@ function isDivisibleBy(str, num) {
|
|
|
11714
11793
|
return (0, _toFloat2.default)(str) % parseInt(num, 10) === 0;
|
|
11715
11794
|
}
|
|
11716
11795
|
module.exports = exports['default'];
|
|
11717
|
-
},{"./toFloat":
|
|
11796
|
+
},{"./toFloat":105,"./util/assertString":109}],59:[function(require,module,exports){
|
|
11718
11797
|
'use strict';
|
|
11719
11798
|
|
|
11720
11799
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11812,7 +11891,7 @@ function isEmail(str, options) {
|
|
|
11812
11891
|
return true;
|
|
11813
11892
|
}
|
|
11814
11893
|
module.exports = exports['default'];
|
|
11815
|
-
},{"./isByteLength":
|
|
11894
|
+
},{"./isByteLength":53,"./isFQDN":61,"./util/assertString":109,"./util/merge":110}],60:[function(require,module,exports){
|
|
11816
11895
|
'use strict';
|
|
11817
11896
|
|
|
11818
11897
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11831,7 +11910,7 @@ function isEmpty(str) {
|
|
|
11831
11910
|
return str.length === 0;
|
|
11832
11911
|
}
|
|
11833
11912
|
module.exports = exports['default'];
|
|
11834
|
-
},{"./util/assertString":
|
|
11913
|
+
},{"./util/assertString":109}],61:[function(require,module,exports){
|
|
11835
11914
|
'use strict';
|
|
11836
11915
|
|
|
11837
11916
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11898,7 +11977,7 @@ function isFQDN(str, options) {
|
|
|
11898
11977
|
return true;
|
|
11899
11978
|
}
|
|
11900
11979
|
module.exports = exports['default'];
|
|
11901
|
-
},{"./util/assertString":
|
|
11980
|
+
},{"./util/assertString":109,"./util/merge":110}],62:[function(require,module,exports){
|
|
11902
11981
|
'use strict';
|
|
11903
11982
|
|
|
11904
11983
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11925,7 +12004,7 @@ function isFloat(str, options) {
|
|
|
11925
12004
|
return float.test(str) && (!options.hasOwnProperty('min') || value >= options.min) && (!options.hasOwnProperty('max') || value <= options.max) && (!options.hasOwnProperty('lt') || value < options.lt) && (!options.hasOwnProperty('gt') || value > options.gt);
|
|
11926
12005
|
}
|
|
11927
12006
|
module.exports = exports['default'];
|
|
11928
|
-
},{"./alpha":
|
|
12007
|
+
},{"./alpha":41,"./util/assertString":109}],63:[function(require,module,exports){
|
|
11929
12008
|
'use strict';
|
|
11930
12009
|
|
|
11931
12010
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11946,7 +12025,7 @@ function isFullWidth(str) {
|
|
|
11946
12025
|
(0, _assertString2.default)(str);
|
|
11947
12026
|
return fullWidth.test(str);
|
|
11948
12027
|
}
|
|
11949
|
-
},{"./util/assertString":
|
|
12028
|
+
},{"./util/assertString":109}],64:[function(require,module,exports){
|
|
11950
12029
|
'use strict';
|
|
11951
12030
|
|
|
11952
12031
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -11967,7 +12046,7 @@ function isHalfWidth(str) {
|
|
|
11967
12046
|
(0, _assertString2.default)(str);
|
|
11968
12047
|
return halfWidth.test(str);
|
|
11969
12048
|
}
|
|
11970
|
-
},{"./util/assertString":
|
|
12049
|
+
},{"./util/assertString":109}],65:[function(require,module,exports){
|
|
11971
12050
|
'use strict';
|
|
11972
12051
|
|
|
11973
12052
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12003,7 +12082,7 @@ function isHash(str, algorithm) {
|
|
|
12003
12082
|
return hash.test(str);
|
|
12004
12083
|
}
|
|
12005
12084
|
module.exports = exports['default'];
|
|
12006
|
-
},{"./util/assertString":
|
|
12085
|
+
},{"./util/assertString":109}],66:[function(require,module,exports){
|
|
12007
12086
|
'use strict';
|
|
12008
12087
|
|
|
12009
12088
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12024,7 +12103,7 @@ function isHexColor(str) {
|
|
|
12024
12103
|
return hexcolor.test(str);
|
|
12025
12104
|
}
|
|
12026
12105
|
module.exports = exports['default'];
|
|
12027
|
-
},{"./util/assertString":
|
|
12106
|
+
},{"./util/assertString":109}],67:[function(require,module,exports){
|
|
12028
12107
|
'use strict';
|
|
12029
12108
|
|
|
12030
12109
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12045,7 +12124,7 @@ function isHexadecimal(str) {
|
|
|
12045
12124
|
return hexadecimal.test(str);
|
|
12046
12125
|
}
|
|
12047
12126
|
module.exports = exports['default'];
|
|
12048
|
-
},{"./util/assertString":
|
|
12127
|
+
},{"./util/assertString":109}],68:[function(require,module,exports){
|
|
12049
12128
|
'use strict';
|
|
12050
12129
|
|
|
12051
12130
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12127,7 +12206,7 @@ function isIP(str) {
|
|
|
12127
12206
|
return false;
|
|
12128
12207
|
}
|
|
12129
12208
|
module.exports = exports['default'];
|
|
12130
|
-
},{"./util/assertString":
|
|
12209
|
+
},{"./util/assertString":109}],69:[function(require,module,exports){
|
|
12131
12210
|
'use strict';
|
|
12132
12211
|
|
|
12133
12212
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12185,7 +12264,7 @@ function isISBN(str) {
|
|
|
12185
12264
|
return false;
|
|
12186
12265
|
}
|
|
12187
12266
|
module.exports = exports['default'];
|
|
12188
|
-
},{"./util/assertString":
|
|
12267
|
+
},{"./util/assertString":109}],70:[function(require,module,exports){
|
|
12189
12268
|
'use strict';
|
|
12190
12269
|
|
|
12191
12270
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12234,7 +12313,7 @@ function isISIN(str) {
|
|
|
12234
12313
|
return parseInt(str.substr(str.length - 1), 10) === (10000 - sum) % 10;
|
|
12235
12314
|
}
|
|
12236
12315
|
module.exports = exports['default'];
|
|
12237
|
-
},{"./util/assertString":
|
|
12316
|
+
},{"./util/assertString":109}],71:[function(require,module,exports){
|
|
12238
12317
|
'use strict';
|
|
12239
12318
|
|
|
12240
12319
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12256,7 +12335,7 @@ function isISO31661Alpha2(str) {
|
|
|
12256
12335
|
return validISO31661Alpha2CountriesCodes.includes(str.toUpperCase());
|
|
12257
12336
|
}
|
|
12258
12337
|
module.exports = exports['default'];
|
|
12259
|
-
},{"./util/assertString":
|
|
12338
|
+
},{"./util/assertString":109}],72:[function(require,module,exports){
|
|
12260
12339
|
'use strict';
|
|
12261
12340
|
|
|
12262
12341
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12278,7 +12357,7 @@ function isISO31661Alpha3(str) {
|
|
|
12278
12357
|
return validISO31661Alpha3CountriesCodes.includes(str.toUpperCase());
|
|
12279
12358
|
}
|
|
12280
12359
|
module.exports = exports['default'];
|
|
12281
|
-
},{"./util/assertString":
|
|
12360
|
+
},{"./util/assertString":109}],73:[function(require,module,exports){
|
|
12282
12361
|
'use strict';
|
|
12283
12362
|
|
|
12284
12363
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12302,7 +12381,7 @@ function isISO8601(str) {
|
|
|
12302
12381
|
return iso8601.test(str);
|
|
12303
12382
|
}
|
|
12304
12383
|
module.exports = exports['default'];
|
|
12305
|
-
},{"./util/assertString":
|
|
12384
|
+
},{"./util/assertString":109}],74:[function(require,module,exports){
|
|
12306
12385
|
'use strict';
|
|
12307
12386
|
|
|
12308
12387
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12324,7 +12403,7 @@ function isISRC(str) {
|
|
|
12324
12403
|
return isrc.test(str);
|
|
12325
12404
|
}
|
|
12326
12405
|
module.exports = exports['default'];
|
|
12327
|
-
},{"./util/assertString":
|
|
12406
|
+
},{"./util/assertString":109}],75:[function(require,module,exports){
|
|
12328
12407
|
'use strict';
|
|
12329
12408
|
|
|
12330
12409
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12383,7 +12462,7 @@ function isISSN(str) {
|
|
|
12383
12462
|
return checksum % 11 === 0;
|
|
12384
12463
|
}
|
|
12385
12464
|
module.exports = exports['default'];
|
|
12386
|
-
},{"./util/assertString":
|
|
12465
|
+
},{"./util/assertString":109}],76:[function(require,module,exports){
|
|
12387
12466
|
'use strict';
|
|
12388
12467
|
|
|
12389
12468
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12423,7 +12502,7 @@ function isIn(str, options) {
|
|
|
12423
12502
|
return false;
|
|
12424
12503
|
}
|
|
12425
12504
|
module.exports = exports['default'];
|
|
12426
|
-
},{"./util/assertString":
|
|
12505
|
+
},{"./util/assertString":109,"./util/toString":111}],77:[function(require,module,exports){
|
|
12427
12506
|
'use strict';
|
|
12428
12507
|
|
|
12429
12508
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12457,7 +12536,7 @@ function isInt(str, options) {
|
|
|
12457
12536
|
return regex.test(str) && minCheckPassed && maxCheckPassed && ltCheckPassed && gtCheckPassed;
|
|
12458
12537
|
}
|
|
12459
12538
|
module.exports = exports['default'];
|
|
12460
|
-
},{"./util/assertString":
|
|
12539
|
+
},{"./util/assertString":109}],78:[function(require,module,exports){
|
|
12461
12540
|
'use strict';
|
|
12462
12541
|
|
|
12463
12542
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12483,7 +12562,7 @@ function isJSON(str) {
|
|
|
12483
12562
|
return false;
|
|
12484
12563
|
}
|
|
12485
12564
|
module.exports = exports['default'];
|
|
12486
|
-
},{"./util/assertString":
|
|
12565
|
+
},{"./util/assertString":109}],79:[function(require,module,exports){
|
|
12487
12566
|
'use strict';
|
|
12488
12567
|
|
|
12489
12568
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12507,7 +12586,7 @@ var lat = /^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/;
|
|
|
12507
12586
|
var long = /^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/;
|
|
12508
12587
|
|
|
12509
12588
|
module.exports = exports['default'];
|
|
12510
|
-
},{"./util/assertString":
|
|
12589
|
+
},{"./util/assertString":109}],80:[function(require,module,exports){
|
|
12511
12590
|
'use strict';
|
|
12512
12591
|
|
|
12513
12592
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12542,7 +12621,7 @@ function isLength(str, options) {
|
|
|
12542
12621
|
return len >= min && (typeof max === 'undefined' || len <= max);
|
|
12543
12622
|
}
|
|
12544
12623
|
module.exports = exports['default'];
|
|
12545
|
-
},{"./util/assertString":
|
|
12624
|
+
},{"./util/assertString":109}],81:[function(require,module,exports){
|
|
12546
12625
|
'use strict';
|
|
12547
12626
|
|
|
12548
12627
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12561,7 +12640,7 @@ function isLowercase(str) {
|
|
|
12561
12640
|
return str === str.toLowerCase();
|
|
12562
12641
|
}
|
|
12563
12642
|
module.exports = exports['default'];
|
|
12564
|
-
},{"./util/assertString":
|
|
12643
|
+
},{"./util/assertString":109}],82:[function(require,module,exports){
|
|
12565
12644
|
'use strict';
|
|
12566
12645
|
|
|
12567
12646
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12582,7 +12661,7 @@ function isMACAddress(str) {
|
|
|
12582
12661
|
return macAddress.test(str);
|
|
12583
12662
|
}
|
|
12584
12663
|
module.exports = exports['default'];
|
|
12585
|
-
},{"./util/assertString":
|
|
12664
|
+
},{"./util/assertString":109}],83:[function(require,module,exports){
|
|
12586
12665
|
'use strict';
|
|
12587
12666
|
|
|
12588
12667
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12603,7 +12682,7 @@ function isMD5(str) {
|
|
|
12603
12682
|
return md5.test(str);
|
|
12604
12683
|
}
|
|
12605
12684
|
module.exports = exports['default'];
|
|
12606
|
-
},{"./util/assertString":
|
|
12685
|
+
},{"./util/assertString":109}],84:[function(require,module,exports){
|
|
12607
12686
|
'use strict';
|
|
12608
12687
|
|
|
12609
12688
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12656,7 +12735,7 @@ function isMimeType(str) {
|
|
|
12656
12735
|
return mimeTypeSimple.test(str) || mimeTypeText.test(str) || mimeTypeMultipart.test(str);
|
|
12657
12736
|
}
|
|
12658
12737
|
module.exports = exports['default'];
|
|
12659
|
-
},{"./util/assertString":
|
|
12738
|
+
},{"./util/assertString":109}],85:[function(require,module,exports){
|
|
12660
12739
|
'use strict';
|
|
12661
12740
|
|
|
12662
12741
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12760,7 +12839,7 @@ function isMobilePhone(str, locale, options) {
|
|
|
12760
12839
|
throw new Error('Invalid locale \'' + locale + '\'');
|
|
12761
12840
|
}
|
|
12762
12841
|
module.exports = exports['default'];
|
|
12763
|
-
},{"./util/assertString":
|
|
12842
|
+
},{"./util/assertString":109}],86:[function(require,module,exports){
|
|
12764
12843
|
'use strict';
|
|
12765
12844
|
|
|
12766
12845
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12783,7 +12862,7 @@ function isMongoId(str) {
|
|
|
12783
12862
|
return (0, _isHexadecimal2.default)(str) && str.length === 24;
|
|
12784
12863
|
}
|
|
12785
12864
|
module.exports = exports['default'];
|
|
12786
|
-
},{"./isHexadecimal":
|
|
12865
|
+
},{"./isHexadecimal":67,"./util/assertString":109}],87:[function(require,module,exports){
|
|
12787
12866
|
'use strict';
|
|
12788
12867
|
|
|
12789
12868
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12806,7 +12885,7 @@ function isMultibyte(str) {
|
|
|
12806
12885
|
return multibyte.test(str);
|
|
12807
12886
|
}
|
|
12808
12887
|
module.exports = exports['default'];
|
|
12809
|
-
},{"./util/assertString":
|
|
12888
|
+
},{"./util/assertString":109}],88:[function(require,module,exports){
|
|
12810
12889
|
'use strict';
|
|
12811
12890
|
|
|
12812
12891
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12827,7 +12906,7 @@ function isNumeric(str) {
|
|
|
12827
12906
|
return numeric.test(str);
|
|
12828
12907
|
}
|
|
12829
12908
|
module.exports = exports['default'];
|
|
12830
|
-
},{"./util/assertString":
|
|
12909
|
+
},{"./util/assertString":109}],89:[function(require,module,exports){
|
|
12831
12910
|
'use strict';
|
|
12832
12911
|
|
|
12833
12912
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12845,7 +12924,7 @@ function isPort(str) {
|
|
|
12845
12924
|
return (0, _isInt2.default)(str, { min: 0, max: 65535 });
|
|
12846
12925
|
}
|
|
12847
12926
|
module.exports = exports['default'];
|
|
12848
|
-
},{"./isInt":
|
|
12927
|
+
},{"./isInt":77}],90:[function(require,module,exports){
|
|
12849
12928
|
'use strict';
|
|
12850
12929
|
|
|
12851
12930
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12923,7 +13002,7 @@ var patterns = {
|
|
|
12923
13002
|
};
|
|
12924
13003
|
|
|
12925
13004
|
var locales = exports.locales = Object.keys(patterns);
|
|
12926
|
-
},{"./util/assertString":
|
|
13005
|
+
},{"./util/assertString":109}],91:[function(require,module,exports){
|
|
12927
13006
|
'use strict';
|
|
12928
13007
|
|
|
12929
13008
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12963,7 +13042,7 @@ function isRFC3339(str) {
|
|
|
12963
13042
|
return rfc3339.test(str);
|
|
12964
13043
|
}
|
|
12965
13044
|
module.exports = exports['default'];
|
|
12966
|
-
},{"./util/assertString":
|
|
13045
|
+
},{"./util/assertString":109}],92:[function(require,module,exports){
|
|
12967
13046
|
'use strict';
|
|
12968
13047
|
|
|
12969
13048
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -12984,7 +13063,7 @@ function isSurrogatePair(str) {
|
|
|
12984
13063
|
return surrogatePair.test(str);
|
|
12985
13064
|
}
|
|
12986
13065
|
module.exports = exports['default'];
|
|
12987
|
-
},{"./util/assertString":
|
|
13066
|
+
},{"./util/assertString":109}],93:[function(require,module,exports){
|
|
12988
13067
|
'use strict';
|
|
12989
13068
|
|
|
12990
13069
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13132,7 +13211,7 @@ function isURL(url, options) {
|
|
|
13132
13211
|
return true;
|
|
13133
13212
|
}
|
|
13134
13213
|
module.exports = exports['default'];
|
|
13135
|
-
},{"./isFQDN":
|
|
13214
|
+
},{"./isFQDN":61,"./isIP":68,"./util/assertString":109,"./util/merge":110}],94:[function(require,module,exports){
|
|
13136
13215
|
'use strict';
|
|
13137
13216
|
|
|
13138
13217
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13161,7 +13240,7 @@ function isUUID(str) {
|
|
|
13161
13240
|
return pattern && pattern.test(str);
|
|
13162
13241
|
}
|
|
13163
13242
|
module.exports = exports['default'];
|
|
13164
|
-
},{"./util/assertString":
|
|
13243
|
+
},{"./util/assertString":109}],95:[function(require,module,exports){
|
|
13165
13244
|
'use strict';
|
|
13166
13245
|
|
|
13167
13246
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13180,7 +13259,7 @@ function isUppercase(str) {
|
|
|
13180
13259
|
return str === str.toUpperCase();
|
|
13181
13260
|
}
|
|
13182
13261
|
module.exports = exports['default'];
|
|
13183
|
-
},{"./util/assertString":
|
|
13262
|
+
},{"./util/assertString":109}],96:[function(require,module,exports){
|
|
13184
13263
|
'use strict';
|
|
13185
13264
|
|
|
13186
13265
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13203,7 +13282,7 @@ function isVariableWidth(str) {
|
|
|
13203
13282
|
return _isFullWidth.fullWidth.test(str) && _isHalfWidth.halfWidth.test(str);
|
|
13204
13283
|
}
|
|
13205
13284
|
module.exports = exports['default'];
|
|
13206
|
-
},{"./isFullWidth":
|
|
13285
|
+
},{"./isFullWidth":63,"./isHalfWidth":64,"./util/assertString":109}],97:[function(require,module,exports){
|
|
13207
13286
|
'use strict';
|
|
13208
13287
|
|
|
13209
13288
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13227,7 +13306,7 @@ function isWhitelisted(str, chars) {
|
|
|
13227
13306
|
return true;
|
|
13228
13307
|
}
|
|
13229
13308
|
module.exports = exports['default'];
|
|
13230
|
-
},{"./util/assertString":
|
|
13309
|
+
},{"./util/assertString":109}],98:[function(require,module,exports){
|
|
13231
13310
|
'use strict';
|
|
13232
13311
|
|
|
13233
13312
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13247,7 +13326,7 @@ function ltrim(str, chars) {
|
|
|
13247
13326
|
return str.replace(pattern, '');
|
|
13248
13327
|
}
|
|
13249
13328
|
module.exports = exports['default'];
|
|
13250
|
-
},{"./util/assertString":
|
|
13329
|
+
},{"./util/assertString":109}],99:[function(require,module,exports){
|
|
13251
13330
|
'use strict';
|
|
13252
13331
|
|
|
13253
13332
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13269,7 +13348,7 @@ function matches(str, pattern, modifiers) {
|
|
|
13269
13348
|
return pattern.test(str);
|
|
13270
13349
|
}
|
|
13271
13350
|
module.exports = exports['default'];
|
|
13272
|
-
},{"./util/assertString":
|
|
13351
|
+
},{"./util/assertString":109}],100:[function(require,module,exports){
|
|
13273
13352
|
'use strict';
|
|
13274
13353
|
|
|
13275
13354
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13420,7 +13499,7 @@ function normalizeEmail(email, options) {
|
|
|
13420
13499
|
return parts.join('@');
|
|
13421
13500
|
}
|
|
13422
13501
|
module.exports = exports['default'];
|
|
13423
|
-
},{"./util/merge":
|
|
13502
|
+
},{"./util/merge":110}],101:[function(require,module,exports){
|
|
13424
13503
|
'use strict';
|
|
13425
13504
|
|
|
13426
13505
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13446,7 +13525,7 @@ function rtrim(str, chars) {
|
|
|
13446
13525
|
return idx < str.length ? str.substr(0, idx + 1) : str;
|
|
13447
13526
|
}
|
|
13448
13527
|
module.exports = exports['default'];
|
|
13449
|
-
},{"./util/assertString":
|
|
13528
|
+
},{"./util/assertString":109}],102:[function(require,module,exports){
|
|
13450
13529
|
'use strict';
|
|
13451
13530
|
|
|
13452
13531
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13470,7 +13549,7 @@ function stripLow(str, keep_new_lines) {
|
|
|
13470
13549
|
return (0, _blacklist2.default)(str, chars);
|
|
13471
13550
|
}
|
|
13472
13551
|
module.exports = exports['default'];
|
|
13473
|
-
},{"./blacklist":
|
|
13552
|
+
},{"./blacklist":42,"./util/assertString":109}],103:[function(require,module,exports){
|
|
13474
13553
|
'use strict';
|
|
13475
13554
|
|
|
13476
13555
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13492,7 +13571,7 @@ function toBoolean(str, strict) {
|
|
|
13492
13571
|
return str !== '0' && str !== 'false' && str !== '';
|
|
13493
13572
|
}
|
|
13494
13573
|
module.exports = exports['default'];
|
|
13495
|
-
},{"./util/assertString":
|
|
13574
|
+
},{"./util/assertString":109}],104:[function(require,module,exports){
|
|
13496
13575
|
'use strict';
|
|
13497
13576
|
|
|
13498
13577
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13512,7 +13591,7 @@ function toDate(date) {
|
|
|
13512
13591
|
return !isNaN(date) ? new Date(date) : null;
|
|
13513
13592
|
}
|
|
13514
13593
|
module.exports = exports['default'];
|
|
13515
|
-
},{"./util/assertString":
|
|
13594
|
+
},{"./util/assertString":109}],105:[function(require,module,exports){
|
|
13516
13595
|
'use strict';
|
|
13517
13596
|
|
|
13518
13597
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13531,7 +13610,7 @@ function toFloat(str) {
|
|
|
13531
13610
|
return parseFloat(str);
|
|
13532
13611
|
}
|
|
13533
13612
|
module.exports = exports['default'];
|
|
13534
|
-
},{"./util/assertString":
|
|
13613
|
+
},{"./util/assertString":109}],106:[function(require,module,exports){
|
|
13535
13614
|
'use strict';
|
|
13536
13615
|
|
|
13537
13616
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13550,7 +13629,7 @@ function toInt(str, radix) {
|
|
|
13550
13629
|
return parseInt(str, radix || 10);
|
|
13551
13630
|
}
|
|
13552
13631
|
module.exports = exports['default'];
|
|
13553
|
-
},{"./util/assertString":
|
|
13632
|
+
},{"./util/assertString":109}],107:[function(require,module,exports){
|
|
13554
13633
|
'use strict';
|
|
13555
13634
|
|
|
13556
13635
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13572,7 +13651,7 @@ function trim(str, chars) {
|
|
|
13572
13651
|
return (0, _rtrim2.default)((0, _ltrim2.default)(str, chars), chars);
|
|
13573
13652
|
}
|
|
13574
13653
|
module.exports = exports['default'];
|
|
13575
|
-
},{"./ltrim":
|
|
13654
|
+
},{"./ltrim":98,"./rtrim":101}],108:[function(require,module,exports){
|
|
13576
13655
|
'use strict';
|
|
13577
13656
|
|
|
13578
13657
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13591,7 +13670,7 @@ function unescape(str) {
|
|
|
13591
13670
|
return str.replace(/&/g, '&').replace(/"/g, '"').replace(/'/g, "'").replace(/</g, '<').replace(/>/g, '>').replace(///g, '/').replace(/\/g, '\\').replace(/`/g, '`');
|
|
13592
13671
|
}
|
|
13593
13672
|
module.exports = exports['default'];
|
|
13594
|
-
},{"./util/assertString":
|
|
13673
|
+
},{"./util/assertString":109}],109:[function(require,module,exports){
|
|
13595
13674
|
'use strict';
|
|
13596
13675
|
|
|
13597
13676
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13606,7 +13685,7 @@ function assertString(input) {
|
|
|
13606
13685
|
}
|
|
13607
13686
|
}
|
|
13608
13687
|
module.exports = exports['default'];
|
|
13609
|
-
},{}],
|
|
13688
|
+
},{}],110:[function(require,module,exports){
|
|
13610
13689
|
'use strict';
|
|
13611
13690
|
|
|
13612
13691
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13625,7 +13704,7 @@ function merge() {
|
|
|
13625
13704
|
return obj;
|
|
13626
13705
|
}
|
|
13627
13706
|
module.exports = exports['default'];
|
|
13628
|
-
},{}],
|
|
13707
|
+
},{}],111:[function(require,module,exports){
|
|
13629
13708
|
'use strict';
|
|
13630
13709
|
|
|
13631
13710
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13648,7 +13727,7 @@ function toString(input) {
|
|
|
13648
13727
|
return String(input);
|
|
13649
13728
|
}
|
|
13650
13729
|
module.exports = exports['default'];
|
|
13651
|
-
},{}],
|
|
13730
|
+
},{}],112:[function(require,module,exports){
|
|
13652
13731
|
'use strict';
|
|
13653
13732
|
|
|
13654
13733
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -13667,7 +13746,7 @@ function whitelist(str, chars) {
|
|
|
13667
13746
|
return str.replace(new RegExp('[^' + chars + ']+', 'g'), '');
|
|
13668
13747
|
}
|
|
13669
13748
|
module.exports = exports['default'];
|
|
13670
|
-
},{"./util/assertString":
|
|
13749
|
+
},{"./util/assertString":109}],113:[function(require,module,exports){
|
|
13671
13750
|
module.exports = extend
|
|
13672
13751
|
|
|
13673
13752
|
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -13688,7 +13767,7 @@ function extend() {
|
|
|
13688
13767
|
return target
|
|
13689
13768
|
}
|
|
13690
13769
|
|
|
13691
|
-
},{}],
|
|
13770
|
+
},{}],114:[function(require,module,exports){
|
|
13692
13771
|
"use strict";
|
|
13693
13772
|
|
|
13694
13773
|
module.exports = {
|
|
@@ -13750,7 +13829,7 @@ module.exports = {
|
|
|
13750
13829
|
|
|
13751
13830
|
};
|
|
13752
13831
|
|
|
13753
|
-
},{}],
|
|
13832
|
+
},{}],115:[function(require,module,exports){
|
|
13754
13833
|
/*jshint maxlen: false*/
|
|
13755
13834
|
|
|
13756
13835
|
var validator = require("validator");
|
|
@@ -13881,7 +13960,7 @@ var FormatValidators = {
|
|
|
13881
13960
|
|
|
13882
13961
|
module.exports = FormatValidators;
|
|
13883
13962
|
|
|
13884
|
-
},{"validator":
|
|
13963
|
+
},{"validator":40}],116:[function(require,module,exports){
|
|
13885
13964
|
"use strict";
|
|
13886
13965
|
|
|
13887
13966
|
var FormatValidators = require("./FormatValidators"),
|
|
@@ -14146,12 +14225,19 @@ var JsonValidators = {
|
|
|
14146
14225
|
report.addError(error, [json], null, schema.description);
|
|
14147
14226
|
}
|
|
14148
14227
|
},
|
|
14149
|
-
/*
|
|
14150
14228
|
type: function (report, schema, json) {
|
|
14151
14229
|
// http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.5.2.2
|
|
14152
|
-
|
|
14230
|
+
var jsonType = Utils.whatIs(json);
|
|
14231
|
+
if (typeof schema.type === "string") {
|
|
14232
|
+
if (jsonType !== schema.type && (jsonType !== "integer" || schema.type !== "number")) {
|
|
14233
|
+
report.addError("INVALID_TYPE", [schema.type, jsonType], null, schema.description);
|
|
14234
|
+
}
|
|
14235
|
+
} else {
|
|
14236
|
+
if (schema.type.indexOf(jsonType) === -1 && (jsonType !== "integer" || schema.type.indexOf("number") === -1)) {
|
|
14237
|
+
report.addError("INVALID_TYPE", [schema.type, jsonType], null, schema.description);
|
|
14238
|
+
}
|
|
14239
|
+
}
|
|
14153
14240
|
},
|
|
14154
|
-
*/
|
|
14155
14241
|
allOf: function (report, schema, json) {
|
|
14156
14242
|
// http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.5.3.2
|
|
14157
14243
|
var idx = schema.allOf.length;
|
|
@@ -14378,23 +14464,12 @@ exports.validate = function (report, schema, json) {
|
|
|
14378
14464
|
}
|
|
14379
14465
|
|
|
14380
14466
|
// type checking first
|
|
14381
|
-
// http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.5.2.2
|
|
14382
14467
|
var jsonType = Utils.whatIs(json);
|
|
14383
14468
|
if (schema.type) {
|
|
14384
|
-
|
|
14385
|
-
|
|
14386
|
-
|
|
14387
|
-
|
|
14388
|
-
return false;
|
|
14389
|
-
}
|
|
14390
|
-
}
|
|
14391
|
-
} else {
|
|
14392
|
-
if (schema.type.indexOf(jsonType) === -1 && (jsonType !== "integer" || schema.type.indexOf("number") === -1)) {
|
|
14393
|
-
report.addError("INVALID_TYPE", [schema.type, jsonType], null, schema.description);
|
|
14394
|
-
if (this.options.breakOnFirstError) {
|
|
14395
|
-
return false;
|
|
14396
|
-
}
|
|
14397
|
-
}
|
|
14469
|
+
keys.splice(keys.indexOf("type"), 1);
|
|
14470
|
+
JsonValidators.type.call(this, report, schema, json);
|
|
14471
|
+
if (report.errors.length && this.options.breakOnFirstError) {
|
|
14472
|
+
return false;
|
|
14398
14473
|
}
|
|
14399
14474
|
}
|
|
14400
14475
|
|
|
@@ -14429,7 +14504,7 @@ exports.validate = function (report, schema, json) {
|
|
|
14429
14504
|
|
|
14430
14505
|
};
|
|
14431
14506
|
|
|
14432
|
-
},{"./FormatValidators":
|
|
14507
|
+
},{"./FormatValidators":115,"./Report":118,"./Utils":122}],117:[function(require,module,exports){
|
|
14433
14508
|
// Number.isFinite polyfill
|
|
14434
14509
|
// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isfinite
|
|
14435
14510
|
if (typeof Number.isFinite !== "function") {
|
|
@@ -14447,7 +14522,7 @@ if (typeof Number.isFinite !== "function") {
|
|
|
14447
14522
|
};
|
|
14448
14523
|
}
|
|
14449
14524
|
|
|
14450
|
-
},{}],
|
|
14525
|
+
},{}],118:[function(require,module,exports){
|
|
14451
14526
|
(function (process){
|
|
14452
14527
|
"use strict";
|
|
14453
14528
|
|
|
@@ -14654,7 +14729,7 @@ Report.prototype.addCustomError = function (errorCode, errorMessage, params, sub
|
|
|
14654
14729
|
module.exports = Report;
|
|
14655
14730
|
|
|
14656
14731
|
}).call(this,require('_process'))
|
|
14657
|
-
},{"./Errors":
|
|
14732
|
+
},{"./Errors":114,"./Utils":122,"_process":15,"lodash.get":12}],119:[function(require,module,exports){
|
|
14658
14733
|
"use strict";
|
|
14659
14734
|
|
|
14660
14735
|
var isequal = require("lodash.isequal");
|
|
@@ -14818,7 +14893,7 @@ exports.getSchemaByUri = function (report, uri, root) {
|
|
|
14818
14893
|
|
|
14819
14894
|
exports.getRemotePath = getRemotePath;
|
|
14820
14895
|
|
|
14821
|
-
},{"./Report":
|
|
14896
|
+
},{"./Report":118,"./SchemaCompilation":120,"./SchemaValidation":121,"./Utils":122,"lodash.isequal":13}],120:[function(require,module,exports){
|
|
14822
14897
|
"use strict";
|
|
14823
14898
|
|
|
14824
14899
|
var Report = require("./Report");
|
|
@@ -15119,7 +15194,7 @@ exports.compileSchema = function (report, schema) {
|
|
|
15119
15194
|
|
|
15120
15195
|
};
|
|
15121
15196
|
|
|
15122
|
-
},{"./Report":
|
|
15197
|
+
},{"./Report":118,"./SchemaCache":119,"./Utils":122}],121:[function(require,module,exports){
|
|
15123
15198
|
"use strict";
|
|
15124
15199
|
|
|
15125
15200
|
var FormatValidators = require("./FormatValidators"),
|
|
@@ -15728,7 +15803,7 @@ exports.validateSchema = function (report, schema) {
|
|
|
15728
15803
|
return isValid;
|
|
15729
15804
|
};
|
|
15730
15805
|
|
|
15731
|
-
},{"./FormatValidators":
|
|
15806
|
+
},{"./FormatValidators":115,"./JsonValidation":116,"./Report":118,"./Utils":122}],122:[function(require,module,exports){
|
|
15732
15807
|
"use strict";
|
|
15733
15808
|
|
|
15734
15809
|
exports.isAbsoluteUri = function (uri) {
|
|
@@ -15957,7 +16032,7 @@ exports.ucs2decode = function (string) {
|
|
|
15957
16032
|
};
|
|
15958
16033
|
/*jshint +W016*/
|
|
15959
16034
|
|
|
15960
|
-
},{}],
|
|
16035
|
+
},{}],123:[function(require,module,exports){
|
|
15961
16036
|
(function (process){
|
|
15962
16037
|
"use strict";
|
|
15963
16038
|
|
|
@@ -16333,7 +16408,7 @@ ZSchema.getDefaultOptions = function () {
|
|
|
16333
16408
|
module.exports = ZSchema;
|
|
16334
16409
|
|
|
16335
16410
|
}).call(this,require('_process'))
|
|
16336
|
-
},{"./FormatValidators":
|
|
16411
|
+
},{"./FormatValidators":115,"./JsonValidation":116,"./Polyfills":117,"./Report":118,"./SchemaCache":119,"./SchemaCompilation":120,"./SchemaValidation":121,"./Utils":122,"./schemas/hyper-schema.json":124,"./schemas/schema.json":125,"_process":15,"lodash.get":12}],124:[function(require,module,exports){
|
|
16337
16412
|
module.exports={
|
|
16338
16413
|
"$schema": "http://json-schema.org/draft-04/hyper-schema#",
|
|
16339
16414
|
"id": "http://json-schema.org/draft-04/hyper-schema#",
|
|
@@ -16493,7 +16568,7 @@ module.exports={
|
|
|
16493
16568
|
}
|
|
16494
16569
|
|
|
16495
16570
|
|
|
16496
|
-
},{}],
|
|
16571
|
+
},{}],125:[function(require,module,exports){
|
|
16497
16572
|
module.exports={
|
|
16498
16573
|
"id": "http://json-schema.org/draft-04/schema#",
|
|
16499
16574
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
@@ -16646,7 +16721,7 @@ module.exports={
|
|
|
16646
16721
|
"default": {}
|
|
16647
16722
|
}
|
|
16648
16723
|
|
|
16649
|
-
},{}],
|
|
16724
|
+
},{}],126:[function(require,module,exports){
|
|
16650
16725
|
"use strict";
|
|
16651
16726
|
|
|
16652
16727
|
module.exports = {
|
|
@@ -16724,7 +16799,7 @@ module.exports = {
|
|
|
16724
16799
|
]
|
|
16725
16800
|
};
|
|
16726
16801
|
|
|
16727
|
-
},{}],
|
|
16802
|
+
},{}],127:[function(require,module,exports){
|
|
16728
16803
|
"use strict";
|
|
16729
16804
|
|
|
16730
16805
|
module.exports = {
|
|
@@ -16789,7 +16864,7 @@ module.exports = {
|
|
|
16789
16864
|
]
|
|
16790
16865
|
};
|
|
16791
16866
|
|
|
16792
|
-
},{}],
|
|
16867
|
+
},{}],128:[function(require,module,exports){
|
|
16793
16868
|
"use strict";
|
|
16794
16869
|
|
|
16795
16870
|
module.exports = {
|
|
@@ -16862,7 +16937,7 @@ module.exports = {
|
|
|
16862
16937
|
]
|
|
16863
16938
|
};
|
|
16864
16939
|
|
|
16865
|
-
},{}],
|
|
16940
|
+
},{}],129:[function(require,module,exports){
|
|
16866
16941
|
"use strict";
|
|
16867
16942
|
|
|
16868
16943
|
//Implement new 'shouldFail' keyword
|
|
@@ -16925,7 +17000,7 @@ module.exports = {
|
|
|
16925
17000
|
]
|
|
16926
17001
|
};
|
|
16927
17002
|
|
|
16928
|
-
},{}],
|
|
17003
|
+
},{}],130:[function(require,module,exports){
|
|
16929
17004
|
"use strict";
|
|
16930
17005
|
|
|
16931
17006
|
module.exports = {
|
|
@@ -16953,7 +17028,7 @@ module.exports = {
|
|
|
16953
17028
|
]
|
|
16954
17029
|
};
|
|
16955
17030
|
|
|
16956
|
-
},{}],
|
|
17031
|
+
},{}],131:[function(require,module,exports){
|
|
16957
17032
|
"use strict";
|
|
16958
17033
|
|
|
16959
17034
|
module.exports = {
|
|
@@ -16978,7 +17053,7 @@ module.exports = {
|
|
|
16978
17053
|
]
|
|
16979
17054
|
};
|
|
16980
17055
|
|
|
16981
|
-
},{}],
|
|
17056
|
+
},{}],132:[function(require,module,exports){
|
|
16982
17057
|
"use strict";
|
|
16983
17058
|
|
|
16984
17059
|
module.exports = {
|
|
@@ -17051,7 +17126,7 @@ module.exports = {
|
|
|
17051
17126
|
]
|
|
17052
17127
|
};
|
|
17053
17128
|
|
|
17054
|
-
},{}],
|
|
17129
|
+
},{}],133:[function(require,module,exports){
|
|
17055
17130
|
"use strict";
|
|
17056
17131
|
|
|
17057
17132
|
module.exports = {
|
|
@@ -17079,7 +17154,7 @@ module.exports = {
|
|
|
17079
17154
|
]
|
|
17080
17155
|
};
|
|
17081
17156
|
|
|
17082
|
-
},{}],
|
|
17157
|
+
},{}],134:[function(require,module,exports){
|
|
17083
17158
|
"use strict";
|
|
17084
17159
|
|
|
17085
17160
|
module.exports = {
|
|
@@ -17107,7 +17182,7 @@ module.exports = {
|
|
|
17107
17182
|
]
|
|
17108
17183
|
};
|
|
17109
17184
|
|
|
17110
|
-
},{}],
|
|
17185
|
+
},{}],135:[function(require,module,exports){
|
|
17111
17186
|
"use strict";
|
|
17112
17187
|
|
|
17113
17188
|
module.exports = {
|
|
@@ -17135,7 +17210,7 @@ module.exports = {
|
|
|
17135
17210
|
]
|
|
17136
17211
|
};
|
|
17137
17212
|
|
|
17138
|
-
},{}],
|
|
17213
|
+
},{}],136:[function(require,module,exports){
|
|
17139
17214
|
"use strict";
|
|
17140
17215
|
|
|
17141
17216
|
module.exports = {
|
|
@@ -17163,7 +17238,7 @@ module.exports = {
|
|
|
17163
17238
|
]
|
|
17164
17239
|
};
|
|
17165
17240
|
|
|
17166
|
-
},{}],
|
|
17241
|
+
},{}],137:[function(require,module,exports){
|
|
17167
17242
|
"use strict";
|
|
17168
17243
|
|
|
17169
17244
|
module.exports = {
|
|
@@ -17191,7 +17266,7 @@ module.exports = {
|
|
|
17191
17266
|
]
|
|
17192
17267
|
};
|
|
17193
17268
|
|
|
17194
|
-
},{}],
|
|
17269
|
+
},{}],138:[function(require,module,exports){
|
|
17195
17270
|
"use strict";
|
|
17196
17271
|
|
|
17197
17272
|
module.exports = {
|
|
@@ -17247,7 +17322,7 @@ module.exports = {
|
|
|
17247
17322
|
]
|
|
17248
17323
|
};
|
|
17249
17324
|
|
|
17250
|
-
},{}],
|
|
17325
|
+
},{}],139:[function(require,module,exports){
|
|
17251
17326
|
"use strict";
|
|
17252
17327
|
|
|
17253
17328
|
module.exports = {
|
|
@@ -17291,7 +17366,7 @@ module.exports = {
|
|
|
17291
17366
|
]
|
|
17292
17367
|
};
|
|
17293
17368
|
|
|
17294
|
-
},{}],
|
|
17369
|
+
},{}],140:[function(require,module,exports){
|
|
17295
17370
|
"use strict";
|
|
17296
17371
|
|
|
17297
17372
|
module.exports = {
|
|
@@ -17308,7 +17383,7 @@ module.exports = {
|
|
|
17308
17383
|
]
|
|
17309
17384
|
};
|
|
17310
17385
|
|
|
17311
|
-
},{}],
|
|
17386
|
+
},{}],141:[function(require,module,exports){
|
|
17312
17387
|
"use strict";
|
|
17313
17388
|
|
|
17314
17389
|
module.exports = {
|
|
@@ -17330,7 +17405,7 @@ module.exports = {
|
|
|
17330
17405
|
]
|
|
17331
17406
|
};
|
|
17332
17407
|
|
|
17333
|
-
},{}],
|
|
17408
|
+
},{}],142:[function(require,module,exports){
|
|
17334
17409
|
"use strict";
|
|
17335
17410
|
|
|
17336
17411
|
module.exports = {
|
|
@@ -17348,7 +17423,7 @@ module.exports = {
|
|
|
17348
17423
|
]
|
|
17349
17424
|
};
|
|
17350
17425
|
|
|
17351
|
-
},{}],
|
|
17426
|
+
},{}],143:[function(require,module,exports){
|
|
17352
17427
|
"use strict";
|
|
17353
17428
|
|
|
17354
17429
|
module.exports = {
|
|
@@ -17417,7 +17492,7 @@ module.exports = {
|
|
|
17417
17492
|
]
|
|
17418
17493
|
};
|
|
17419
17494
|
|
|
17420
|
-
},{}],
|
|
17495
|
+
},{}],144:[function(require,module,exports){
|
|
17421
17496
|
"use strict";
|
|
17422
17497
|
|
|
17423
17498
|
module.exports = {
|
|
@@ -17432,7 +17507,7 @@ module.exports = {
|
|
|
17432
17507
|
]
|
|
17433
17508
|
};
|
|
17434
17509
|
|
|
17435
|
-
},{}],
|
|
17510
|
+
},{}],145:[function(require,module,exports){
|
|
17436
17511
|
"use strict";
|
|
17437
17512
|
|
|
17438
17513
|
module.exports = {
|
|
@@ -17456,7 +17531,7 @@ module.exports = {
|
|
|
17456
17531
|
]
|
|
17457
17532
|
};
|
|
17458
17533
|
|
|
17459
|
-
},{}],
|
|
17534
|
+
},{}],146:[function(require,module,exports){
|
|
17460
17535
|
"use strict";
|
|
17461
17536
|
|
|
17462
17537
|
module.exports = {
|
|
@@ -17531,7 +17606,7 @@ module.exports = {
|
|
|
17531
17606
|
]
|
|
17532
17607
|
};
|
|
17533
17608
|
|
|
17534
|
-
},{}],
|
|
17609
|
+
},{}],147:[function(require,module,exports){
|
|
17535
17610
|
"use strict";
|
|
17536
17611
|
|
|
17537
17612
|
module.exports = {
|
|
@@ -17552,7 +17627,7 @@ module.exports = {
|
|
|
17552
17627
|
]
|
|
17553
17628
|
};
|
|
17554
17629
|
|
|
17555
|
-
},{}],
|
|
17630
|
+
},{}],148:[function(require,module,exports){
|
|
17556
17631
|
"use strict";
|
|
17557
17632
|
|
|
17558
17633
|
module.exports = {
|
|
@@ -17579,7 +17654,7 @@ module.exports = {
|
|
|
17579
17654
|
]
|
|
17580
17655
|
};
|
|
17581
17656
|
|
|
17582
|
-
},{}],
|
|
17657
|
+
},{}],149:[function(require,module,exports){
|
|
17583
17658
|
"use strict";
|
|
17584
17659
|
|
|
17585
17660
|
var REF_NAME = "int.json";
|
|
@@ -17626,7 +17701,7 @@ module.exports = {
|
|
|
17626
17701
|
]
|
|
17627
17702
|
};
|
|
17628
17703
|
|
|
17629
|
-
},{}],
|
|
17704
|
+
},{}],150:[function(require,module,exports){
|
|
17630
17705
|
"use strict";
|
|
17631
17706
|
|
|
17632
17707
|
module.exports = {
|
|
@@ -17799,7 +17874,7 @@ module.exports = {
|
|
|
17799
17874
|
]
|
|
17800
17875
|
};
|
|
17801
17876
|
|
|
17802
|
-
},{}],
|
|
17877
|
+
},{}],151:[function(require,module,exports){
|
|
17803
17878
|
"use strict";
|
|
17804
17879
|
|
|
17805
17880
|
module.exports = {
|
|
@@ -17844,7 +17919,7 @@ module.exports = {
|
|
|
17844
17919
|
]
|
|
17845
17920
|
};
|
|
17846
17921
|
|
|
17847
|
-
},{}],
|
|
17922
|
+
},{}],152:[function(require,module,exports){
|
|
17848
17923
|
"use strict";
|
|
17849
17924
|
|
|
17850
17925
|
module.exports = {
|
|
@@ -17887,7 +17962,7 @@ module.exports = {
|
|
|
17887
17962
|
]
|
|
17888
17963
|
};
|
|
17889
17964
|
|
|
17890
|
-
},{}],
|
|
17965
|
+
},{}],153:[function(require,module,exports){
|
|
17891
17966
|
"use strict";
|
|
17892
17967
|
|
|
17893
17968
|
var schema1 = {
|
|
@@ -17971,7 +18046,7 @@ module.exports = {
|
|
|
17971
18046
|
]
|
|
17972
18047
|
};
|
|
17973
18048
|
|
|
17974
|
-
},{}],
|
|
18049
|
+
},{}],154:[function(require,module,exports){
|
|
17975
18050
|
module.exports = {
|
|
17976
18051
|
description: "Issue #139 - add schema id if present to erro message via addError method",
|
|
17977
18052
|
tests: [
|
|
@@ -18030,7 +18105,7 @@ module.exports = {
|
|
|
18030
18105
|
]
|
|
18031
18106
|
};
|
|
18032
18107
|
|
|
18033
|
-
},{}],
|
|
18108
|
+
},{}],155:[function(require,module,exports){
|
|
18034
18109
|
"use strict";
|
|
18035
18110
|
|
|
18036
18111
|
module.exports = {
|
|
@@ -18048,7 +18123,7 @@ module.exports = {
|
|
|
18048
18123
|
]
|
|
18049
18124
|
};
|
|
18050
18125
|
|
|
18051
|
-
},{}],
|
|
18126
|
+
},{}],156:[function(require,module,exports){
|
|
18052
18127
|
"use strict";
|
|
18053
18128
|
|
|
18054
18129
|
module.exports = {
|
|
@@ -18078,7 +18153,7 @@ module.exports = {
|
|
|
18078
18153
|
]
|
|
18079
18154
|
};
|
|
18080
18155
|
|
|
18081
|
-
},{}],
|
|
18156
|
+
},{}],157:[function(require,module,exports){
|
|
18082
18157
|
"use strict";
|
|
18083
18158
|
|
|
18084
18159
|
module.exports = {
|
|
@@ -18106,7 +18181,7 @@ module.exports = {
|
|
|
18106
18181
|
]
|
|
18107
18182
|
};
|
|
18108
18183
|
|
|
18109
|
-
},{}],
|
|
18184
|
+
},{}],158:[function(require,module,exports){
|
|
18110
18185
|
"use strict";
|
|
18111
18186
|
|
|
18112
18187
|
module.exports = {
|
|
@@ -18133,7 +18208,7 @@ module.exports = {
|
|
|
18133
18208
|
]
|
|
18134
18209
|
};
|
|
18135
18210
|
|
|
18136
|
-
},{}],
|
|
18211
|
+
},{}],159:[function(require,module,exports){
|
|
18137
18212
|
"use strict";
|
|
18138
18213
|
|
|
18139
18214
|
module.exports = {
|
|
@@ -18209,7 +18284,7 @@ module.exports = {
|
|
|
18209
18284
|
]
|
|
18210
18285
|
};
|
|
18211
18286
|
|
|
18212
|
-
},{}],
|
|
18287
|
+
},{}],160:[function(require,module,exports){
|
|
18213
18288
|
"use strict";
|
|
18214
18289
|
|
|
18215
18290
|
module.exports = {
|
|
@@ -18245,7 +18320,7 @@ module.exports = {
|
|
|
18245
18320
|
]
|
|
18246
18321
|
};
|
|
18247
18322
|
|
|
18248
|
-
},{}],
|
|
18323
|
+
},{}],161:[function(require,module,exports){
|
|
18249
18324
|
"use strict";
|
|
18250
18325
|
|
|
18251
18326
|
module.exports = {
|
|
@@ -18335,7 +18410,7 @@ module.exports = {
|
|
|
18335
18410
|
]
|
|
18336
18411
|
};
|
|
18337
18412
|
|
|
18338
|
-
},{}],
|
|
18413
|
+
},{}],162:[function(require,module,exports){
|
|
18339
18414
|
"use strict";
|
|
18340
18415
|
|
|
18341
18416
|
module.exports = {
|
|
@@ -18360,7 +18435,7 @@ module.exports = {
|
|
|
18360
18435
|
]
|
|
18361
18436
|
};
|
|
18362
18437
|
|
|
18363
|
-
},{}],
|
|
18438
|
+
},{}],163:[function(require,module,exports){
|
|
18364
18439
|
"use strict";
|
|
18365
18440
|
|
|
18366
18441
|
module.exports = {
|
|
@@ -18436,7 +18511,7 @@ module.exports = {
|
|
|
18436
18511
|
]
|
|
18437
18512
|
};
|
|
18438
18513
|
|
|
18439
|
-
},{}],
|
|
18514
|
+
},{}],164:[function(require,module,exports){
|
|
18440
18515
|
"use strict";
|
|
18441
18516
|
|
|
18442
18517
|
module.exports = {
|
|
@@ -18549,7 +18624,7 @@ module.exports = {
|
|
|
18549
18624
|
]
|
|
18550
18625
|
};
|
|
18551
18626
|
|
|
18552
|
-
},{}],
|
|
18627
|
+
},{}],165:[function(require,module,exports){
|
|
18553
18628
|
"use strict";
|
|
18554
18629
|
|
|
18555
18630
|
module.exports = {
|
|
@@ -18729,7 +18804,7 @@ module.exports = {
|
|
|
18729
18804
|
]
|
|
18730
18805
|
};
|
|
18731
18806
|
|
|
18732
|
-
},{}],
|
|
18807
|
+
},{}],166:[function(require,module,exports){
|
|
18733
18808
|
"use strict";
|
|
18734
18809
|
|
|
18735
18810
|
module.exports = {
|
|
@@ -18776,7 +18851,7 @@ module.exports = {
|
|
|
18776
18851
|
]
|
|
18777
18852
|
};
|
|
18778
18853
|
|
|
18779
|
-
},{}],
|
|
18854
|
+
},{}],167:[function(require,module,exports){
|
|
18780
18855
|
"use strict";
|
|
18781
18856
|
|
|
18782
18857
|
var resourceObject = {
|
|
@@ -19072,7 +19147,7 @@ module.exports = {
|
|
|
19072
19147
|
]
|
|
19073
19148
|
};
|
|
19074
19149
|
|
|
19075
|
-
},{}],
|
|
19150
|
+
},{}],168:[function(require,module,exports){
|
|
19076
19151
|
"use strict";
|
|
19077
19152
|
|
|
19078
19153
|
var draft4 = require("./files/Issue47/draft4.json");
|
|
@@ -19101,7 +19176,7 @@ module.exports = {
|
|
|
19101
19176
|
]
|
|
19102
19177
|
};
|
|
19103
19178
|
|
|
19104
|
-
},{"./files/Issue47/draft4.json":
|
|
19179
|
+
},{"./files/Issue47/draft4.json":192,"./files/Issue47/sample.json":193,"./files/Issue47/swagger_draft.json":194,"./files/Issue47/swagger_draft_modified.json":195}],169:[function(require,module,exports){
|
|
19105
19180
|
"use strict";
|
|
19106
19181
|
|
|
19107
19182
|
module.exports = {
|
|
@@ -19134,7 +19209,7 @@ module.exports = {
|
|
|
19134
19209
|
]
|
|
19135
19210
|
};
|
|
19136
19211
|
|
|
19137
|
-
},{}],
|
|
19212
|
+
},{}],170:[function(require,module,exports){
|
|
19138
19213
|
"use strict";
|
|
19139
19214
|
|
|
19140
19215
|
module.exports = {
|
|
@@ -19152,7 +19227,7 @@ module.exports = {
|
|
|
19152
19227
|
]
|
|
19153
19228
|
};
|
|
19154
19229
|
|
|
19155
|
-
},{}],
|
|
19230
|
+
},{}],171:[function(require,module,exports){
|
|
19156
19231
|
"use strict";
|
|
19157
19232
|
|
|
19158
19233
|
module.exports = {
|
|
@@ -19174,7 +19249,7 @@ module.exports = {
|
|
|
19174
19249
|
]
|
|
19175
19250
|
};
|
|
19176
19251
|
|
|
19177
|
-
},{}],
|
|
19252
|
+
},{}],172:[function(require,module,exports){
|
|
19178
19253
|
"use strict";
|
|
19179
19254
|
|
|
19180
19255
|
module.exports = {
|
|
@@ -19245,7 +19320,7 @@ module.exports = {
|
|
|
19245
19320
|
]
|
|
19246
19321
|
};
|
|
19247
19322
|
|
|
19248
|
-
},{}],
|
|
19323
|
+
},{}],173:[function(require,module,exports){
|
|
19249
19324
|
"use strict";
|
|
19250
19325
|
|
|
19251
19326
|
var dataTypeBaseJson = {
|
|
@@ -19930,7 +20005,7 @@ module.exports = {
|
|
|
19930
20005
|
]
|
|
19931
20006
|
};
|
|
19932
20007
|
|
|
19933
|
-
},{}],
|
|
20008
|
+
},{}],174:[function(require,module,exports){
|
|
19934
20009
|
"use strict";
|
|
19935
20010
|
|
|
19936
20011
|
module.exports = {
|
|
@@ -19993,7 +20068,7 @@ module.exports = {
|
|
|
19993
20068
|
]
|
|
19994
20069
|
};
|
|
19995
20070
|
|
|
19996
|
-
},{}],
|
|
20071
|
+
},{}],175:[function(require,module,exports){
|
|
19997
20072
|
/*jshint -W101*/
|
|
19998
20073
|
|
|
19999
20074
|
"use strict";
|
|
@@ -20570,7 +20645,7 @@ module.exports = {
|
|
|
20570
20645
|
]
|
|
20571
20646
|
};
|
|
20572
20647
|
|
|
20573
|
-
},{}],
|
|
20648
|
+
},{}],176:[function(require,module,exports){
|
|
20574
20649
|
"use strict";
|
|
20575
20650
|
|
|
20576
20651
|
module.exports = {
|
|
@@ -20601,7 +20676,7 @@ module.exports = {
|
|
|
20601
20676
|
]
|
|
20602
20677
|
};
|
|
20603
20678
|
|
|
20604
|
-
},{}],
|
|
20679
|
+
},{}],177:[function(require,module,exports){
|
|
20605
20680
|
"use strict";
|
|
20606
20681
|
|
|
20607
20682
|
module.exports = {
|
|
@@ -20652,7 +20727,7 @@ module.exports = {
|
|
|
20652
20727
|
]
|
|
20653
20728
|
};
|
|
20654
20729
|
|
|
20655
|
-
},{}],
|
|
20730
|
+
},{}],178:[function(require,module,exports){
|
|
20656
20731
|
"use strict";
|
|
20657
20732
|
|
|
20658
20733
|
module.exports = {
|
|
@@ -20772,7 +20847,7 @@ module.exports = {
|
|
|
20772
20847
|
]
|
|
20773
20848
|
};
|
|
20774
20849
|
|
|
20775
|
-
},{}],
|
|
20850
|
+
},{}],179:[function(require,module,exports){
|
|
20776
20851
|
"use strict";
|
|
20777
20852
|
|
|
20778
20853
|
module.exports = {
|
|
@@ -20830,7 +20905,7 @@ module.exports = {
|
|
|
20830
20905
|
]
|
|
20831
20906
|
};
|
|
20832
20907
|
|
|
20833
|
-
},{}],
|
|
20908
|
+
},{}],180:[function(require,module,exports){
|
|
20834
20909
|
"use strict";
|
|
20835
20910
|
|
|
20836
20911
|
module.exports = {
|
|
@@ -20903,7 +20978,7 @@ module.exports = {
|
|
|
20903
20978
|
]
|
|
20904
20979
|
};
|
|
20905
20980
|
|
|
20906
|
-
},{}],
|
|
20981
|
+
},{}],181:[function(require,module,exports){
|
|
20907
20982
|
"use strict";
|
|
20908
20983
|
|
|
20909
20984
|
var innerSchema = {
|
|
@@ -20948,7 +21023,7 @@ module.exports = {
|
|
|
20948
21023
|
]
|
|
20949
21024
|
};
|
|
20950
21025
|
|
|
20951
|
-
},{}],
|
|
21026
|
+
},{}],182:[function(require,module,exports){
|
|
20952
21027
|
"use strict";
|
|
20953
21028
|
|
|
20954
21029
|
var schema1 = {
|
|
@@ -20992,7 +21067,7 @@ module.exports = {
|
|
|
20992
21067
|
]
|
|
20993
21068
|
};
|
|
20994
21069
|
|
|
20995
|
-
},{}],
|
|
21070
|
+
},{}],183:[function(require,module,exports){
|
|
20996
21071
|
"use strict";
|
|
20997
21072
|
|
|
20998
21073
|
module.exports = {
|
|
@@ -21010,7 +21085,7 @@ module.exports = {
|
|
|
21010
21085
|
]
|
|
21011
21086
|
};
|
|
21012
21087
|
|
|
21013
|
-
},{}],
|
|
21088
|
+
},{}],184:[function(require,module,exports){
|
|
21014
21089
|
"use strict";
|
|
21015
21090
|
|
|
21016
21091
|
module.exports = {
|
|
@@ -21042,7 +21117,7 @@ module.exports = {
|
|
|
21042
21117
|
]
|
|
21043
21118
|
};
|
|
21044
21119
|
|
|
21045
|
-
},{}],
|
|
21120
|
+
},{}],185:[function(require,module,exports){
|
|
21046
21121
|
"use strict";
|
|
21047
21122
|
|
|
21048
21123
|
module.exports = {
|
|
@@ -21101,7 +21176,7 @@ module.exports = {
|
|
|
21101
21176
|
]
|
|
21102
21177
|
};
|
|
21103
21178
|
|
|
21104
|
-
},{}],
|
|
21179
|
+
},{}],186:[function(require,module,exports){
|
|
21105
21180
|
"use strict";
|
|
21106
21181
|
|
|
21107
21182
|
module.exports = {
|
|
@@ -21126,7 +21201,7 @@ module.exports = {
|
|
|
21126
21201
|
]
|
|
21127
21202
|
};
|
|
21128
21203
|
|
|
21129
|
-
},{}],
|
|
21204
|
+
},{}],187:[function(require,module,exports){
|
|
21130
21205
|
"use strict";
|
|
21131
21206
|
|
|
21132
21207
|
module.exports = {
|
|
@@ -21151,7 +21226,7 @@ module.exports = {
|
|
|
21151
21226
|
]
|
|
21152
21227
|
};
|
|
21153
21228
|
|
|
21154
|
-
},{}],
|
|
21229
|
+
},{}],188:[function(require,module,exports){
|
|
21155
21230
|
"use strict";
|
|
21156
21231
|
|
|
21157
21232
|
module.exports = {
|
|
@@ -21196,7 +21271,7 @@ module.exports = {
|
|
|
21196
21271
|
]
|
|
21197
21272
|
};
|
|
21198
21273
|
|
|
21199
|
-
},{}],
|
|
21274
|
+
},{}],189:[function(require,module,exports){
|
|
21200
21275
|
"use strict";
|
|
21201
21276
|
|
|
21202
21277
|
module.exports = {
|
|
@@ -21221,7 +21296,7 @@ module.exports = {
|
|
|
21221
21296
|
]
|
|
21222
21297
|
};
|
|
21223
21298
|
|
|
21224
|
-
},{}],
|
|
21299
|
+
},{}],190:[function(require,module,exports){
|
|
21225
21300
|
"use strict";
|
|
21226
21301
|
|
|
21227
21302
|
module.exports = {
|
|
@@ -21260,7 +21335,7 @@ module.exports = {
|
|
|
21260
21335
|
]
|
|
21261
21336
|
};
|
|
21262
21337
|
|
|
21263
|
-
},{}],
|
|
21338
|
+
},{}],191:[function(require,module,exports){
|
|
21264
21339
|
"use strict";
|
|
21265
21340
|
|
|
21266
21341
|
module.exports = {
|
|
@@ -21290,7 +21365,7 @@ module.exports = {
|
|
|
21290
21365
|
]
|
|
21291
21366
|
};
|
|
21292
21367
|
|
|
21293
|
-
},{}],
|
|
21368
|
+
},{}],192:[function(require,module,exports){
|
|
21294
21369
|
module.exports={
|
|
21295
21370
|
"id": "http://json-schema.org/draft-04/schema#",
|
|
21296
21371
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
@@ -21442,7 +21517,7 @@ module.exports={
|
|
|
21442
21517
|
"default": {}
|
|
21443
21518
|
}
|
|
21444
21519
|
|
|
21445
|
-
},{}],
|
|
21520
|
+
},{}],193:[function(require,module,exports){
|
|
21446
21521
|
module.exports={
|
|
21447
21522
|
"swagger": 2,
|
|
21448
21523
|
"info": {
|
|
@@ -21533,7 +21608,7 @@ module.exports={
|
|
|
21533
21608
|
}
|
|
21534
21609
|
}
|
|
21535
21610
|
|
|
21536
|
-
},{}],
|
|
21611
|
+
},{}],194:[function(require,module,exports){
|
|
21537
21612
|
module.exports={
|
|
21538
21613
|
"title": "A JSON Schema for Swagger 2.0 API.",
|
|
21539
21614
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
@@ -21931,7 +22006,7 @@ module.exports={
|
|
|
21931
22006
|
}
|
|
21932
22007
|
}
|
|
21933
22008
|
|
|
21934
|
-
},{}],
|
|
22009
|
+
},{}],195:[function(require,module,exports){
|
|
21935
22010
|
module.exports={
|
|
21936
22011
|
"title": "A JSON Schema for Swagger 2.0 API.",
|
|
21937
22012
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
@@ -22329,7 +22404,7 @@ module.exports={
|
|
|
22329
22404
|
}
|
|
22330
22405
|
}
|
|
22331
22406
|
|
|
22332
|
-
},{}],
|
|
22407
|
+
},{}],196:[function(require,module,exports){
|
|
22333
22408
|
'use strict';
|
|
22334
22409
|
|
|
22335
22410
|
module.exports = {
|
|
@@ -22354,15 +22429,15 @@ module.exports = {
|
|
|
22354
22429
|
]
|
|
22355
22430
|
};
|
|
22356
22431
|
|
|
22357
|
-
},{}],
|
|
22358
|
-
arguments[4][
|
|
22359
|
-
},{"dup":
|
|
22432
|
+
},{}],197:[function(require,module,exports){
|
|
22433
|
+
arguments[4][192][0].apply(exports,arguments)
|
|
22434
|
+
},{"dup":192}],198:[function(require,module,exports){
|
|
22360
22435
|
module.exports={
|
|
22361
22436
|
"type": "integer"
|
|
22362
22437
|
}
|
|
22363
|
-
},{}],
|
|
22364
|
-
arguments[4][
|
|
22365
|
-
},{"dup":
|
|
22438
|
+
},{}],199:[function(require,module,exports){
|
|
22439
|
+
arguments[4][198][0].apply(exports,arguments)
|
|
22440
|
+
},{"dup":198}],200:[function(require,module,exports){
|
|
22366
22441
|
module.exports={
|
|
22367
22442
|
"integer": {
|
|
22368
22443
|
"type": "integer"
|
|
@@ -22371,7 +22446,7 @@ module.exports={
|
|
|
22371
22446
|
"$ref": "#/integer"
|
|
22372
22447
|
}
|
|
22373
22448
|
}
|
|
22374
|
-
},{}],
|
|
22449
|
+
},{}],201:[function(require,module,exports){
|
|
22375
22450
|
module.exports=[
|
|
22376
22451
|
{
|
|
22377
22452
|
"description": "additionalItems as schema",
|
|
@@ -22455,7 +22530,7 @@ module.exports=[
|
|
|
22455
22530
|
}
|
|
22456
22531
|
]
|
|
22457
22532
|
|
|
22458
|
-
},{}],
|
|
22533
|
+
},{}],202:[function(require,module,exports){
|
|
22459
22534
|
module.exports=[
|
|
22460
22535
|
{
|
|
22461
22536
|
"description":
|
|
@@ -22545,7 +22620,7 @@ module.exports=[
|
|
|
22545
22620
|
}
|
|
22546
22621
|
]
|
|
22547
22622
|
|
|
22548
|
-
},{}],
|
|
22623
|
+
},{}],203:[function(require,module,exports){
|
|
22549
22624
|
module.exports=[
|
|
22550
22625
|
{
|
|
22551
22626
|
"description": "allOf",
|
|
@@ -22659,7 +22734,7 @@ module.exports=[
|
|
|
22659
22734
|
}
|
|
22660
22735
|
]
|
|
22661
22736
|
|
|
22662
|
-
},{}],
|
|
22737
|
+
},{}],204:[function(require,module,exports){
|
|
22663
22738
|
module.exports=[
|
|
22664
22739
|
{
|
|
22665
22740
|
"description": "anyOf",
|
|
@@ -22729,7 +22804,7 @@ module.exports=[
|
|
|
22729
22804
|
}
|
|
22730
22805
|
]
|
|
22731
22806
|
|
|
22732
|
-
},{}],
|
|
22807
|
+
},{}],205:[function(require,module,exports){
|
|
22733
22808
|
module.exports=[
|
|
22734
22809
|
{
|
|
22735
22810
|
"description": "invalid type for default",
|
|
@@ -22780,7 +22855,7 @@ module.exports=[
|
|
|
22780
22855
|
}
|
|
22781
22856
|
]
|
|
22782
22857
|
|
|
22783
|
-
},{}],
|
|
22858
|
+
},{}],206:[function(require,module,exports){
|
|
22784
22859
|
module.exports=[
|
|
22785
22860
|
{
|
|
22786
22861
|
"description": "valid definition",
|
|
@@ -22814,7 +22889,7 @@ module.exports=[
|
|
|
22814
22889
|
}
|
|
22815
22890
|
]
|
|
22816
22891
|
|
|
22817
|
-
},{}],
|
|
22892
|
+
},{}],207:[function(require,module,exports){
|
|
22818
22893
|
module.exports=[
|
|
22819
22894
|
{
|
|
22820
22895
|
"description": "dependencies",
|
|
@@ -22929,7 +23004,7 @@ module.exports=[
|
|
|
22929
23004
|
}
|
|
22930
23005
|
]
|
|
22931
23006
|
|
|
22932
|
-
},{}],
|
|
23007
|
+
},{}],208:[function(require,module,exports){
|
|
22933
23008
|
module.exports=[
|
|
22934
23009
|
{
|
|
22935
23010
|
"description": "simple enum validation",
|
|
@@ -23003,7 +23078,7 @@ module.exports=[
|
|
|
23003
23078
|
}
|
|
23004
23079
|
]
|
|
23005
23080
|
|
|
23006
|
-
},{}],
|
|
23081
|
+
},{}],209:[function(require,module,exports){
|
|
23007
23082
|
module.exports=[
|
|
23008
23083
|
{
|
|
23009
23084
|
"description": "a schema given for items",
|
|
@@ -23051,7 +23126,7 @@ module.exports=[
|
|
|
23051
23126
|
}
|
|
23052
23127
|
]
|
|
23053
23128
|
|
|
23054
|
-
},{}],
|
|
23129
|
+
},{}],210:[function(require,module,exports){
|
|
23055
23130
|
module.exports=[
|
|
23056
23131
|
{
|
|
23057
23132
|
"description": "maxItems validation",
|
|
@@ -23081,7 +23156,7 @@ module.exports=[
|
|
|
23081
23156
|
}
|
|
23082
23157
|
]
|
|
23083
23158
|
|
|
23084
|
-
},{}],
|
|
23159
|
+
},{}],211:[function(require,module,exports){
|
|
23085
23160
|
module.exports=[
|
|
23086
23161
|
{
|
|
23087
23162
|
"description": "maxLength validation",
|
|
@@ -23116,7 +23191,7 @@ module.exports=[
|
|
|
23116
23191
|
}
|
|
23117
23192
|
]
|
|
23118
23193
|
|
|
23119
|
-
},{}],
|
|
23194
|
+
},{}],212:[function(require,module,exports){
|
|
23120
23195
|
module.exports=[
|
|
23121
23196
|
{
|
|
23122
23197
|
"description": "maxProperties validation",
|
|
@@ -23146,7 +23221,7 @@ module.exports=[
|
|
|
23146
23221
|
}
|
|
23147
23222
|
]
|
|
23148
23223
|
|
|
23149
|
-
},{}],
|
|
23224
|
+
},{}],213:[function(require,module,exports){
|
|
23150
23225
|
module.exports=[
|
|
23151
23226
|
{
|
|
23152
23227
|
"description": "maximum validation",
|
|
@@ -23190,7 +23265,7 @@ module.exports=[
|
|
|
23190
23265
|
}
|
|
23191
23266
|
]
|
|
23192
23267
|
|
|
23193
|
-
},{}],
|
|
23268
|
+
},{}],214:[function(require,module,exports){
|
|
23194
23269
|
module.exports=[
|
|
23195
23270
|
{
|
|
23196
23271
|
"description": "minItems validation",
|
|
@@ -23220,7 +23295,7 @@ module.exports=[
|
|
|
23220
23295
|
}
|
|
23221
23296
|
]
|
|
23222
23297
|
|
|
23223
|
-
},{}],
|
|
23298
|
+
},{}],215:[function(require,module,exports){
|
|
23224
23299
|
module.exports=[
|
|
23225
23300
|
{
|
|
23226
23301
|
"description": "minLength validation",
|
|
@@ -23255,7 +23330,7 @@ module.exports=[
|
|
|
23255
23330
|
}
|
|
23256
23331
|
]
|
|
23257
23332
|
|
|
23258
|
-
},{}],
|
|
23333
|
+
},{}],216:[function(require,module,exports){
|
|
23259
23334
|
module.exports=[
|
|
23260
23335
|
{
|
|
23261
23336
|
"description": "minProperties validation",
|
|
@@ -23285,7 +23360,7 @@ module.exports=[
|
|
|
23285
23360
|
}
|
|
23286
23361
|
]
|
|
23287
23362
|
|
|
23288
|
-
},{}],
|
|
23363
|
+
},{}],217:[function(require,module,exports){
|
|
23289
23364
|
module.exports=[
|
|
23290
23365
|
{
|
|
23291
23366
|
"description": "minimum validation",
|
|
@@ -23329,7 +23404,7 @@ module.exports=[
|
|
|
23329
23404
|
}
|
|
23330
23405
|
]
|
|
23331
23406
|
|
|
23332
|
-
},{}],
|
|
23407
|
+
},{}],218:[function(require,module,exports){
|
|
23333
23408
|
module.exports=[
|
|
23334
23409
|
{
|
|
23335
23410
|
"description": "by int",
|
|
@@ -23391,7 +23466,7 @@ module.exports=[
|
|
|
23391
23466
|
}
|
|
23392
23467
|
]
|
|
23393
23468
|
|
|
23394
|
-
},{}],
|
|
23469
|
+
},{}],219:[function(require,module,exports){
|
|
23395
23470
|
module.exports=[
|
|
23396
23471
|
{
|
|
23397
23472
|
"description": "not",
|
|
@@ -23489,7 +23564,7 @@ module.exports=[
|
|
|
23489
23564
|
|
|
23490
23565
|
]
|
|
23491
23566
|
|
|
23492
|
-
},{}],
|
|
23567
|
+
},{}],220:[function(require,module,exports){
|
|
23493
23568
|
module.exports=[
|
|
23494
23569
|
{
|
|
23495
23570
|
"description": "oneOf",
|
|
@@ -23559,7 +23634,7 @@ module.exports=[
|
|
|
23559
23634
|
}
|
|
23560
23635
|
]
|
|
23561
23636
|
|
|
23562
|
-
},{}],
|
|
23637
|
+
},{}],221:[function(require,module,exports){
|
|
23563
23638
|
module.exports=[
|
|
23564
23639
|
{
|
|
23565
23640
|
"description": "integer",
|
|
@@ -23668,7 +23743,7 @@ module.exports=[
|
|
|
23668
23743
|
}
|
|
23669
23744
|
]
|
|
23670
23745
|
|
|
23671
|
-
},{}],
|
|
23746
|
+
},{}],222:[function(require,module,exports){
|
|
23672
23747
|
module.exports=[
|
|
23673
23748
|
{
|
|
23674
23749
|
"description": "validation of date-time strings",
|
|
@@ -23813,7 +23888,7 @@ module.exports=[
|
|
|
23813
23888
|
}
|
|
23814
23889
|
]
|
|
23815
23890
|
|
|
23816
|
-
},{}],
|
|
23891
|
+
},{}],223:[function(require,module,exports){
|
|
23817
23892
|
module.exports=[
|
|
23818
23893
|
{
|
|
23819
23894
|
"description": "pattern validation",
|
|
@@ -23838,7 +23913,7 @@ module.exports=[
|
|
|
23838
23913
|
}
|
|
23839
23914
|
]
|
|
23840
23915
|
|
|
23841
|
-
},{}],
|
|
23916
|
+
},{}],224:[function(require,module,exports){
|
|
23842
23917
|
module.exports=[
|
|
23843
23918
|
{
|
|
23844
23919
|
"description":
|
|
@@ -23950,7 +24025,7 @@ module.exports=[
|
|
|
23950
24025
|
}
|
|
23951
24026
|
]
|
|
23952
24027
|
|
|
23953
|
-
},{}],
|
|
24028
|
+
},{}],225:[function(require,module,exports){
|
|
23954
24029
|
module.exports=[
|
|
23955
24030
|
{
|
|
23956
24031
|
"description": "object properties validation",
|
|
@@ -24044,7 +24119,7 @@ module.exports=[
|
|
|
24044
24119
|
}
|
|
24045
24120
|
]
|
|
24046
24121
|
|
|
24047
|
-
},{}],
|
|
24122
|
+
},{}],226:[function(require,module,exports){
|
|
24048
24123
|
module.exports=[
|
|
24049
24124
|
{
|
|
24050
24125
|
"description": "root pointer ref",
|
|
@@ -24190,7 +24265,7 @@ module.exports=[
|
|
|
24190
24265
|
}
|
|
24191
24266
|
]
|
|
24192
24267
|
|
|
24193
|
-
},{}],
|
|
24268
|
+
},{}],227:[function(require,module,exports){
|
|
24194
24269
|
module.exports=[
|
|
24195
24270
|
{
|
|
24196
24271
|
"description": "remote ref",
|
|
@@ -24266,7 +24341,7 @@ module.exports=[
|
|
|
24266
24341
|
}
|
|
24267
24342
|
]
|
|
24268
24343
|
|
|
24269
|
-
},{}],
|
|
24344
|
+
},{}],228:[function(require,module,exports){
|
|
24270
24345
|
module.exports=[
|
|
24271
24346
|
{
|
|
24272
24347
|
"description": "required validation",
|
|
@@ -24307,7 +24382,7 @@ module.exports=[
|
|
|
24307
24382
|
}
|
|
24308
24383
|
]
|
|
24309
24384
|
|
|
24310
|
-
},{}],
|
|
24385
|
+
},{}],229:[function(require,module,exports){
|
|
24311
24386
|
module.exports=[
|
|
24312
24387
|
{
|
|
24313
24388
|
"description": "integer type matches integers",
|
|
@@ -24639,7 +24714,7 @@ module.exports=[
|
|
|
24639
24714
|
}
|
|
24640
24715
|
]
|
|
24641
24716
|
|
|
24642
|
-
},{}],
|
|
24717
|
+
},{}],230:[function(require,module,exports){
|
|
24643
24718
|
module.exports=[
|
|
24644
24719
|
{
|
|
24645
24720
|
"description": "uniqueItems validation",
|
|
@@ -24720,7 +24795,7 @@ module.exports=[
|
|
|
24720
24795
|
}
|
|
24721
24796
|
]
|
|
24722
24797
|
|
|
24723
|
-
},{}],
|
|
24798
|
+
},{}],231:[function(require,module,exports){
|
|
24724
24799
|
"use strict";
|
|
24725
24800
|
|
|
24726
24801
|
var isBrowser = typeof window !== "undefined";
|
|
@@ -24813,7 +24888,7 @@ describe("Automatic schema loading", function () {
|
|
|
24813
24888
|
|
|
24814
24889
|
});
|
|
24815
24890
|
|
|
24816
|
-
},{"../../src/ZSchema":
|
|
24891
|
+
},{"../../src/ZSchema":123,"https":7}],232:[function(require,module,exports){
|
|
24817
24892
|
"use strict";
|
|
24818
24893
|
|
|
24819
24894
|
var ZSchema = require("../../src/ZSchema");
|
|
@@ -24885,7 +24960,7 @@ describe("Basic", function () {
|
|
|
24885
24960
|
|
|
24886
24961
|
});
|
|
24887
24962
|
|
|
24888
|
-
},{"../../src/ZSchema":
|
|
24963
|
+
},{"../../src/ZSchema":123,"../files/draft-04-schema.json":197,"../jsonSchemaTestSuite/remotes/folder/folderInteger.json":198,"../jsonSchemaTestSuite/remotes/integer.json":199,"../jsonSchemaTestSuite/remotes/subSchemas.json":200}],233:[function(require,module,exports){
|
|
24889
24964
|
"use strict";
|
|
24890
24965
|
|
|
24891
24966
|
var ZSchema = require("../../src/ZSchema");
|
|
@@ -24981,7 +25056,7 @@ describe("JsonSchemaTestSuite", function () {
|
|
|
24981
25056
|
|
|
24982
25057
|
});
|
|
24983
25058
|
|
|
24984
|
-
},{"../../src/ZSchema":
|
|
25059
|
+
},{"../../src/ZSchema":123,"../files/draft-04-schema.json":197,"../jsonSchemaTestSuite/remotes/folder/folderInteger.json":198,"../jsonSchemaTestSuite/remotes/integer.json":199,"../jsonSchemaTestSuite/remotes/subSchemas.json":200,"../jsonSchemaTestSuite/tests/draft4/additionalItems.json":201,"../jsonSchemaTestSuite/tests/draft4/additionalProperties.json":202,"../jsonSchemaTestSuite/tests/draft4/allOf.json":203,"../jsonSchemaTestSuite/tests/draft4/anyOf.json":204,"../jsonSchemaTestSuite/tests/draft4/default.json":205,"../jsonSchemaTestSuite/tests/draft4/definitions.json":206,"../jsonSchemaTestSuite/tests/draft4/dependencies.json":207,"../jsonSchemaTestSuite/tests/draft4/enum.json":208,"../jsonSchemaTestSuite/tests/draft4/items.json":209,"../jsonSchemaTestSuite/tests/draft4/maxItems.json":210,"../jsonSchemaTestSuite/tests/draft4/maxLength.json":211,"../jsonSchemaTestSuite/tests/draft4/maxProperties.json":212,"../jsonSchemaTestSuite/tests/draft4/maximum.json":213,"../jsonSchemaTestSuite/tests/draft4/minItems.json":214,"../jsonSchemaTestSuite/tests/draft4/minLength.json":215,"../jsonSchemaTestSuite/tests/draft4/minProperties.json":216,"../jsonSchemaTestSuite/tests/draft4/minimum.json":217,"../jsonSchemaTestSuite/tests/draft4/multipleOf.json":218,"../jsonSchemaTestSuite/tests/draft4/not.json":219,"../jsonSchemaTestSuite/tests/draft4/oneOf.json":220,"../jsonSchemaTestSuite/tests/draft4/optional/bignum.json":221,"../jsonSchemaTestSuite/tests/draft4/optional/format.json":222,"../jsonSchemaTestSuite/tests/draft4/pattern.json":223,"../jsonSchemaTestSuite/tests/draft4/patternProperties.json":224,"../jsonSchemaTestSuite/tests/draft4/properties.json":225,"../jsonSchemaTestSuite/tests/draft4/ref.json":226,"../jsonSchemaTestSuite/tests/draft4/refRemote.json":227,"../jsonSchemaTestSuite/tests/draft4/required.json":228,"../jsonSchemaTestSuite/tests/draft4/type.json":229,"../jsonSchemaTestSuite/tests/draft4/uniqueItems.json":230}],234:[function(require,module,exports){
|
|
24985
25060
|
"use strict";
|
|
24986
25061
|
|
|
24987
25062
|
var ZSchema = require("../../src/ZSchema");
|
|
@@ -25015,7 +25090,7 @@ describe("Using multiple instances of Z-Schema", function () {
|
|
|
25015
25090
|
|
|
25016
25091
|
});
|
|
25017
25092
|
|
|
25018
|
-
},{"../../src/ZSchema":
|
|
25093
|
+
},{"../../src/ZSchema":123}],235:[function(require,module,exports){
|
|
25019
25094
|
/*jshint -W030 */
|
|
25020
25095
|
|
|
25021
25096
|
"use strict";
|
|
@@ -25213,7 +25288,7 @@ describe("ZSchemaTestSuite", function () {
|
|
|
25213
25288
|
|
|
25214
25289
|
});
|
|
25215
25290
|
|
|
25216
|
-
},{"../../src/ZSchema":
|
|
25291
|
+
},{"../../src/ZSchema":123,"../ZSchemaTestSuite/AssumeAdditional.js":126,"../ZSchemaTestSuite/CustomFormats.js":127,"../ZSchemaTestSuite/CustomFormatsAsync.js":128,"../ZSchemaTestSuite/CustomValidator.js":129,"../ZSchemaTestSuite/ErrorPathAsArray.js":130,"../ZSchemaTestSuite/ErrorPathAsJSONPointer.js":131,"../ZSchemaTestSuite/ForceAdditional.js":132,"../ZSchemaTestSuite/ForceItems.js":133,"../ZSchemaTestSuite/ForceMaxItems.js":134,"../ZSchemaTestSuite/ForceMaxLength.js":135,"../ZSchemaTestSuite/ForceMinItems.js":136,"../ZSchemaTestSuite/ForceMinLength.js":137,"../ZSchemaTestSuite/ForceProperties.js":138,"../ZSchemaTestSuite/IgnoreUnresolvableReferences.js":139,"../ZSchemaTestSuite/InvalidId.js":140,"../ZSchemaTestSuite/Issue101.js":141,"../ZSchemaTestSuite/Issue102.js":142,"../ZSchemaTestSuite/Issue103.js":143,"../ZSchemaTestSuite/Issue106.js":144,"../ZSchemaTestSuite/Issue107.js":145,"../ZSchemaTestSuite/Issue12.js":146,"../ZSchemaTestSuite/Issue121.js":147,"../ZSchemaTestSuite/Issue125.js":148,"../ZSchemaTestSuite/Issue126.js":149,"../ZSchemaTestSuite/Issue13.js":150,"../ZSchemaTestSuite/Issue130.js":151,"../ZSchemaTestSuite/Issue131.js":152,"../ZSchemaTestSuite/Issue137.js":153,"../ZSchemaTestSuite/Issue139.js":154,"../ZSchemaTestSuite/Issue142.js":155,"../ZSchemaTestSuite/Issue146.js":156,"../ZSchemaTestSuite/Issue151.js":157,"../ZSchemaTestSuite/Issue16.js":158,"../ZSchemaTestSuite/Issue22.js":159,"../ZSchemaTestSuite/Issue25.js":160,"../ZSchemaTestSuite/Issue26.js":161,"../ZSchemaTestSuite/Issue37.js":162,"../ZSchemaTestSuite/Issue40.js":163,"../ZSchemaTestSuite/Issue41.js":164,"../ZSchemaTestSuite/Issue43.js":165,"../ZSchemaTestSuite/Issue44.js":166,"../ZSchemaTestSuite/Issue45.js":167,"../ZSchemaTestSuite/Issue47.js":168,"../ZSchemaTestSuite/Issue48.js":169,"../ZSchemaTestSuite/Issue49.js":170,"../ZSchemaTestSuite/Issue53.js":171,"../ZSchemaTestSuite/Issue56.js":172,"../ZSchemaTestSuite/Issue57.js":173,"../ZSchemaTestSuite/Issue58.js":174,"../ZSchemaTestSuite/Issue63.js":175,"../ZSchemaTestSuite/Issue64.js":176,"../ZSchemaTestSuite/Issue67.js":177,"../ZSchemaTestSuite/Issue71.js":178,"../ZSchemaTestSuite/Issue73.js":179,"../ZSchemaTestSuite/Issue76.js":180,"../ZSchemaTestSuite/Issue85.js":181,"../ZSchemaTestSuite/Issue94.js":182,"../ZSchemaTestSuite/Issue96.js":183,"../ZSchemaTestSuite/Issue98.js":184,"../ZSchemaTestSuite/MultipleSchemas.js":185,"../ZSchemaTestSuite/NoEmptyArrays.js":186,"../ZSchemaTestSuite/NoEmptyStrings.js":187,"../ZSchemaTestSuite/NoExtraKeywords.js":188,"../ZSchemaTestSuite/NoTypeless.js":189,"../ZSchemaTestSuite/PedanticCheck.js":190,"../ZSchemaTestSuite/StrictUris.js":191,"../ZSchemaTestSuite/getRegisteredFormats.js":196}],236:[function(require,module,exports){
|
|
25217
25292
|
"use strict";
|
|
25218
25293
|
|
|
25219
25294
|
var ZSchema = require("../../src/ZSchema");
|
|
@@ -25312,4 +25387,4 @@ describe("Using path to schema as a third argument", function () {
|
|
|
25312
25387
|
|
|
25313
25388
|
});
|
|
25314
25389
|
|
|
25315
|
-
},{"../../src/ZSchema":
|
|
25390
|
+
},{"../../src/ZSchema":123}]},{},[231,232,233,234,236,235]);
|