webpack
Version:
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
7 lines • 4 kB
JavaScript
/* eslint-disable */
// @ts-nocheck
/*
* This file was automatically generated by "schema-utils".
* DO NOT MODIFY BY HAND.
*/
;module.exports=s,module.exports.default=s;let t={type:"object",additionalProperties:!1,properties:{encoding:{enum:[!1,"base64"]},mimetype:{type:"string"}}};function n(e,{instancePath="",parentData,parentDataProperty,rootData=e}={}){let r=null,a=0,s=a,o=!1,i=a;if(a==a)if(e&&"object"==typeof e&&!Array.isArray(e)){let n=a;for(let t in e)if("encoding"!==t&&"mimetype"!==t){let n={params:{additionalProperty:t}};r===null?r=[n]:r.push(n),a++;break}if(n===a){if(e.encoding!==void 0){let n=e.encoding,s=a;if(!1!==n&&"base64"!==n){let n={params:{allowedValues:t.properties.encoding.enum}};r===null?r=[n]:r.push(n),a++}var l=s===a}else l=!0;if(l)if(e.mimetype!==void 0){let t=a;if("string"!=typeof e.mimetype){let t={params:{type:"string"}};r===null?r=[t]:r.push(t),a++}l=t===a}else l=!0}}else{let t={params:{type:"object"}};r===null?r=[t]:r.push(t),a++}var p=i===a;if(!(o=o||p)){let t=a;if(!(e instanceof Function)){let t={params:{}};r===null?r=[t]:r.push(t),a++}p=t===a,o=o||p}if(!o){let t={params:{}};return r===null?r=[t]:r.push(t),a++,n.errors=r,!1}return a=s,r!==null&&(s?r.length=s:r=null),n.errors=r,a===0}let e=function(t){let n=t.length,e,r=0,a=0;for(;a<n;)r++,(e=t.charCodeAt(a++))>=55296&&e<=56319&&a<n&&(64512&(e=t.charCodeAt(a)))==56320&&a++;return r},r=/^(?:file:(?=\/))?(?:[A-Za-z]:(\\|\/)|\\\\|\/)/i;function a(t,{instancePath:s="",parentData,parentDataProperty,rootData=t}={}){let o=null,i=0;if(i===0){if(!t||"object"!=typeof t||Array.isArray(t))return a.errors=[{params:{type:"object"}}],!1;{let f=i;for(let n in t)if("binary"!==n&&"dataUrl"!==n&&"emit"!==n&&"filename"!==n&&"outputPath"!==n&&"publicPath"!==n)return a.errors=[{params:{additionalProperty:n}}],!1;if(f===i){if(t.binary!==void 0){if("boolean"!=typeof t.binary)return a.errors=[{params:{type:"boolean"}}],!1;var l=i===i}else l=!0;if(l){if(t.dataUrl!==void 0){let e=i;n(t.dataUrl,{instancePath:s+"/dataUrl",parentData:t,parentDataProperty:"dataUrl",rootData})||(i=(o=o===null?n.errors:o.concat(n.errors)).length),l=e===i}else l=!0;if(l){if(t.emit!==void 0){if("boolean"!=typeof t.emit)return a.errors=[{params:{type:"boolean"}}],!1;l=i===i}else l=!0;if(l){if(t.filename!==void 0){let n=t.filename,s=i,u=i,c=!1,f=i;if(i===f)if("string"==typeof n){if(e(n)<1){let t={params:{limit:1}};o===null?o=[t]:o.push(t),i++}else if(n.includes("!")||!1!==r.test(n)){let t={params:{}};o===null?o=[t]:o.push(t),i++}}else{let t={params:{type:"string"}};o===null?o=[t]:o.push(t),i++}var p=f===i;if(!(c=c||p)){let t=i;if(!(n instanceof Function)){let t={params:{}};o===null?o=[t]:o.push(t),i++}p=t===i,c=c||p}if(!c){let t={params:{}};return o===null?o=[t]:o.push(t),i++,a.errors=o,!1}i=u,o!==null&&(u?o.length=u:o=null),l=s===i}else l=!0;if(l){if(t.outputPath!==void 0){let n=t.outputPath,e=i,s=i,p=!1,c=i;if(i===c)if("string"==typeof n){if(n.includes("!")||!1!==r.test(n)){let t={params:{}};o===null?o=[t]:o.push(t),i++}}else{let t={params:{type:"string"}};o===null?o=[t]:o.push(t),i++}var u=c===i;if(!(p=p||u)){let t=i;if(!(n instanceof Function)){let t={params:{}};o===null?o=[t]:o.push(t),i++}u=t===i,p=p||u}if(!p){let t={params:{}};return o===null?o=[t]:o.push(t),i++,a.errors=o,!1}i=s,o!==null&&(s?o.length=s:o=null),l=e===i}else l=!0;if(l)if(t.publicPath!==void 0){let n=t.publicPath,e=i,r=i,s=!1,p=i;if("string"!=typeof n){let t={params:{type:"string"}};o===null?o=[t]:o.push(t),i++}var c=p===i;if(!(s=s||c)){let t=i;if(!(n instanceof Function)){let t={params:{}};o===null?o=[t]:o.push(t),i++}c=t===i,s=s||c}if(!s){let t={params:{}};return o===null?o=[t]:o.push(t),i++,a.errors=o,!1}i=r,o!==null&&(r?o.length=r:o=null),l=e===i}else l=!0}}}}}}}return a.errors=o,i===0}function s(t,{instancePath="",parentData,parentDataProperty,rootData=t}={}){let n=null,e=0;return a(t,{instancePath,parentData,parentDataProperty,rootData})||(e=(n=n===null?a.errors:n.concat(a.errors)).length),s.errors=n,e===0}