tenebrous-dicebot/api/node_modules/webpack/schemas/plugins/container/ModuleFederationPlugin.chec...

6 lines
20 KiB
JavaScript
Raw Normal View History

/*
* This file was automatically generated.
* DO NOT MODIFY BY HAND.
* Run `yarn special-lint-fix` to update
*/
const r=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(r,{instancePath:e="",parentData:n,parentDataProperty:a,rootData:s=r}={}){if(!Array.isArray(r))return t.errors=[{params:{type:"array"}}],!1;{const e=r.length;for(let n=0;n<e;n++){let e=r[n];const a=0;if("string"!=typeof e)return t.errors=[{params:{type:"string"}}],!1;if(e.length<1)return t.errors=[{params:{}}],!1;if(0!==a)break}}return t.errors=null,!0}function e(r,{instancePath:n="",parentData:a,parentDataProperty:s,rootData:o=r}={}){let l=null,i=0;if(0===i){if(!r||"object"!=typeof r||Array.isArray(r))return e.errors=[{params:{type:"object"}}],!1;{let a;if(void 0===r.import&&(a="import"))return e.errors=[{params:{missingProperty:a}}],!1;{const a=i;for(const t in r)if("import"!==t&&"name"!==t)return e.errors=[{params:{additionalProperty:t}}],!1;if(a===i){if(void 0!==r.import){let a=r.import;const s=i,c=i;let u=!1;const m=i;if(i==i)if("string"==typeof a){if(a.length<1){const r={params:{}};null===l?l=[r]:l.push(r),i++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),i++}var p=m===i;if(u=u||p,!u){const e=i;t(a,{instancePath:n+"/import",parentData:r,parentDataProperty:"import",rootData:o})||(l=null===l?t.errors:l.concat(t.errors),i=l.length),p=e===i,u=u||p}if(!u){const r={params:{}};return null===l?l=[r]:l.push(r),i++,e.errors=l,!1}i=c,null!==l&&(c?l.length=c:l=null);var f=s===i}else f=!0;if(f)if(void 0!==r.name){const t=i;if("string"!=typeof r.name)return e.errors=[{params:{type:"string"}}],!1;f=t===i}else f=!0}}}}return e.errors=l,0===i}function n(r,{instancePath:a="",parentData:s,parentDataProperty:o,rootData:l=r}={}){let i=null,p=0;if(0===p){if(!r||"object"!=typeof r||Array.isArray(r))return n.errors=[{params:{type:"object"}}],!1;for(const s in r){let o=r[s];const c=p,u=p;let m=!1;const y=p;e(o,{instancePath:a+"/"+s.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:r,parentDataProperty:s,rootData:l})||(i=null===i?e.errors:i.concat(e.errors),p=i.length);var f=y===p;if(m=m||f,!m){const e=p;if(p==p)if("string"==typeof o){if(o.length<1){const r={params:{}};null===i?i=[r]:i.push(r),p++}}else{const r={params:{type:"string"}};null===i?i=[r]:i.push(r),p++}if(f=e===p,m=m||f,!m){const e=p;t(o,{instancePath:a+"/"+s.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:r,parentDataProperty:s,rootData:l})||(i=null===i?t.errors:i.concat(t.errors),p=i.length),f=e===p,m=m||f}}if(!m){const r={params:{}};return null===i?i=[r]:i.push(r),p++,n.errors=i,!1}if(p=u,null!==i&&(u?i.length=u:i=null),c!==p)break}}return n.errors=i,0===p}function a(r,{instancePath:t="",parentData:e,parentDataProperty:s,rootData:o=r}={}){let l=null,i=0;const p=i;let f=!1;const c=i;if(i===c)if(Array.isArray(r)){const e=r.length;for(let a=0;a<e;a++){let e=r[a];const s=i,p=i;let f=!1;const c=i;if(i==i)if("string"==typeof e){if(e.length<1){const r={params:{}};null===l?l=[r]:l.push(r),i++}}else{const r={params:{type:"string"}};null===l?l=[r]:l.push(r),i++}var u=c===i;if(f=f||u,!f){const s=i;n(e,{instancePath:t+"/"+a,parentData:r,parentDataProperty:a,rootData:o})||(l=null===l?n.errors:l.concat(n.errors),i=l.length),u=s===i,f=f||u}if(f)i=p,null!==l&&(p?l.length=p:l=null);else{const r={params:{}};null===l?l=[r]:l.push(r),i++}if(s!==i)break}}else{const r={params:{type:"array"}};null===l?l=[r]:l.push(r),i++}var m=c===i;if(f=f||m,!f){const a=i;n(r,{instancePath:t,parentData:e,parentDataProperty:s,rootData:o})||(l=null===l?n.errors:l.concat(n.errors),i=l.length),m=a===i,f=f||m}if(!f){const r={params:{}};return null===l?l=[r]:l.push(r),i++,a.errors=l,!1}return i=p,null!==l&&(p?l.length=p:l=null),a.errors=l,0===i}function s(r,{instancePath:t="",parentData:e,parentDataProperty:n,rootData:a=r}={}){let o=null,l=0;const i=l;let p=!1;const f=l;if("string"!=typeof r){const r={params:{type:"string"}};null===o?o=[r]:o.push(r),l++}var c=f===l;if(p=p||c,!p){const t=l;if(l==l)if(r&&"object"==typeof r&&!Array.isArray(r)){const t=l;for(const t in r)if("amd"!==t&&"commonjs"!==t&&"commonjs2"!==t&&"root"!==t){const r={params:{additionalProperty:t}};null===o?o=[r]:o.push(r),l++;break}if(t===l){if(void 0!==r.amd){const t=l;if("string"!=ty