UNPKG

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.

6 lines 3.64 kB
/* * This file was automatically generated. * DO NOT MODIFY BY HAND. * Run `yarn fix:special` to update */ "use strict";function t(r,{instancePath:e="",parentData:n,parentDataProperty:s,rootData:o=r}={}){let a=null,i=0;const l=i;let p=!1;const c=i;if("string"!=typeof r){const t={params:{type:"string"}};null===a?a=[t]:a.push(t),i++}var u=c===i;if(p=p||u,!p){const t=i;if(!(r instanceof Function)){const t={params:{}};null===a?a=[t]:a.push(t),i++}if(u=t===i,p=p||u,!p){const t=i;if(i==i)if(r&&"object"==typeof r&&!Array.isArray(r)){let t;if(void 0===r.source&&(t="source")){const r={params:{missingProperty:t}};null===a?a=[r]:a.push(r),i++}else{const t=i;for(const t in r)if("context"!==t&&"source"!==t&&"type"!==t&&"version"!==t){const r={params:{additionalProperty:t}};null===a?a=[r]:a.push(r),i++;break}if(t===i){if(void 0!==r.context){const t=i;if("string"!=typeof r.context){const t={params:{type:"string"}};null===a?a=[t]:a.push(t),i++}var f=t===i}else f=!0;if(f){if(void 0!==r.source){const t=i;if(!(r.source instanceof Function)){const t={params:{}};null===a?a=[t]:a.push(t),i++}f=t===i}else f=!0;if(f){if(void 0!==r.type){const t=i;if("string"!=typeof r.type){const t={params:{type:"string"}};null===a?a=[t]:a.push(t),i++}f=t===i}else f=!0;if(f)if(void 0!==r.version){let t=r.version;const e=i,n=i;let s=!1;const o=i;if("boolean"!=typeof t){const t={params:{type:"boolean"}};null===a?a=[t]:a.push(t),i++}if(!0!==t){const t={params:{}};null===a?a=[t]:a.push(t),i++}var y=o===i;if(s=s||y,!s){const r=i;if("string"!=typeof t){const t={params:{type:"string"}};null===a?a=[t]:a.push(t),i++}if(y=r===i,s=s||y,!s){const r=i;if(!(t instanceof Function)){const t={params:{}};null===a?a=[t]:a.push(t),i++}y=r===i,s=s||y}}if(s)i=n,null!==a&&(n?a.length=n:a=null);else{const t={params:{}};null===a?a=[t]:a.push(t),i++}f=e===i}else f=!0}}}}}else{const t={params:{type:"object"}};null===a?a=[t]:a.push(t),i++}u=t===i,p=p||u}}if(!p){const r={params:{}};return null===a?a=[r]:a.push(r),i++,t.errors=a,!1}return i=l,null!==a&&(l?a.length=l:a=null),t.errors=a,0===i}function r(e,{instancePath:n="",parentData:s,parentDataProperty:o,rootData:a=e}={}){let i=null,l=0;if(0===l){if(!e||"object"!=typeof e||Array.isArray(e))return r.errors=[{params:{type:"object"}}],!1;{let s;if(void 0===e.modules&&(s="modules"))return r.errors=[{params:{missingProperty:s}}],!1;{const s=l;for(const t in e)if("context"!==t&&"modules"!==t&&"scheme"!==t)return r.errors=[{params:{additionalProperty:t}}],!1;if(s===l){if(void 0!==e.context){const t=l;if("string"!=typeof e.context)return r.errors=[{params:{type:"string"}}],!1;var p=t===l}else p=!0;if(p){if(void 0!==e.modules){let s=e.modules;const o=l;if(l===o){if(!s||"object"!=typeof s||Array.isArray(s))return r.errors=[{params:{type:"object"}}],!1;for(const r in s){const e=l;if(t(s[r],{instancePath:n+"/modules/"+r.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:s,parentDataProperty:r,rootData:a})||(i=null===i?t.errors:i.concat(t.errors),l=i.length),e!==l)break}}p=o===l}else p=!0;if(p)if(void 0!==e.scheme){const t=l;if("string"!=typeof e.scheme)return r.errors=[{params:{type:"string"}}],!1;p=t===l}else p=!0}}}}}return r.errors=i,0===l}function e(t,{instancePath:n="",parentData:s,parentDataProperty:o,rootData:a=t}={}){let i=null,l=0;const p=l;let c=!1,u=null;const f=l;if(r(t,{instancePath:n,parentData:s,parentDataProperty:o,rootData:a})||(i=null===i?r.errors:i.concat(r.errors),l=i.length),f===l&&(c=!0,u=0),!c){const t={params:{passingSchemas:u}};return null===i?i=[t]:i.push(t),l++,e.errors=i,!1}return l=p,null!==i&&(p?i.length=p:i=null),e.errors=i,0===l}module.exports=e,module.exports.default=e;