@fugood/bricks-cli 2.26.0-beta.0 → 2.26.0-beta.1

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/lib/4920.js ADDED
@@ -0,0 +1 @@
1
+ export const __rspack_esm_id=4920;export const __rspack_esm_ids=[4920];export const __webpack_modules__={38792(e){e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;if(Array.isArray(t)){if((o=t.length)!=r.length)return!1;for(n=o;0!=n--;)if(!e(t[n],r[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((o=(s=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(n=o;0!=n--;)if(!Object.prototype.hasOwnProperty.call(r,s[n]))return!1;for(n=o;0!=n--;){var o,n,s,i=s[n];if(!e(t[i],r[i]))return!1}return!0}return t!=t&&r!=r}},1645(e){var t=e.exports=function(e,r,o){"function"==typeof r&&(o=r,r={});var n="function"==typeof(o=r.cb||o)?o:o.pre||function(){};!function e(r,o,n,s,i,a,u,p,f,c){if(s&&"object"==typeof s&&!Array.isArray(s)){for(var h in o(s,i,a,u,p,f,c),s){var l=s[h];if(Array.isArray(l)){if(h in t.arrayKeywords)for(var d=0;d<l.length;d++)e(r,o,n,l[d],i+"/"+h+"/"+d,a,i,h,s,d)}else if(h in t.propsKeywords){if(l&&"object"==typeof l)for(var m in l)e(r,o,n,l[m],i+"/"+h+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),a,i,h,s,m)}else(h in t.keywords||r.allKeys&&!(h in t.skipKeywords))&&e(r,o,n,l,i+"/"+h,a,i,h,s)}n(s,i,a,u,p,f,c)}}(r,n,o.post||function(){},e,"",e)};t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},84800(e,t,r){let{normalizeIPv6:o,removeDotSegments:n,recomposeAuthority:s,normalizePercentEncoding:i,normalizePathEncoding:a,escapePreservingEscapes:u,reescapeHostDelimiters:p,isIPv4:f,nonSimpleDomain:c}=r(75365),{SCHEMES:h,getSchemeHandler:l}=r(13956);function d(e,t,r,o){let s={};return o||(e=b(m(e,r),r),t=b(m(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(s.scheme=t.scheme,s.userinfo=t.userinfo,s.host=t.host,s.port=t.port,s.path=n(t.path||""),s.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(s.userinfo=t.userinfo,s.host=t.host,s.port=t.port,s.path=n(t.path||""),s.query=t.query):(t.path?("/"===t.path[0]?s.path=n(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?s.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:s.path=t.path:s.path="/"+t.path,s.path=n(s.path)),s.query=t.query):(s.path=e.path,void 0!==t.query?s.query=t.query:s.query=e.query),s.userinfo=e.userinfo,s.host=e.host,s.port=e.port),s.scheme=e.scheme),s.fragment=t.fragment,s}function m(e,t){let r={host:e.host,scheme:e.scheme,userinfo:e.userinfo,port:e.port,path:e.path,query:e.query,nid:e.nid,nss:e.nss,uuid:e.uuid,fragment:e.fragment,reference:e.reference,resourceName:e.resourceName,secure:e.secure,error:""},o=Object.assign({},t),a=[],p=l(o.scheme||r.scheme);p&&p.serialize&&p.serialize(r,o),void 0!==r.path&&(o.skipEscape?r.path=i(r.path):(r.path=u(r.path),void 0!==r.scheme&&(r.path=r.path.split("%3A").join(":")))),"suffix"!==o.reference&&r.scheme&&a.push(r.scheme,":");let f=s(r);if(void 0!==f&&("suffix"!==o.reference&&a.push("//"),a.push(f),r.path&&"/"!==r.path[0]&&a.push("/")),void 0!==r.path){let e=r.path;o.absolutePath||p&&p.absolutePath||(e=n(e)),void 0===f&&"/"===e[0]&&"/"===e[1]&&(e="/%2F"+e.slice(2)),a.push(e)}return void 0!==r.query&&a.push("?",r.query),void 0!==r.fragment&&a.push("#",r.fragment),a.join("")}let y=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u,g=/^(?:[^#/:?]+:)?\/\/([^/?#]*)/;function v(e,t){let r=Object.assign({},t),n={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},s=!1,i=!1;"suffix"===r.reference&&(e=r.scheme?r.scheme+":"+e:"//"+e);let u=e.match(g);null!==u&&-1!==u[1].indexOf("\\")&&(n.error="URI authority must not contain a literal backslash.",s=!0);let h=e.match(y);if(h){n.scheme=h[1],n.userinfo=h[3],n.host=h[4],n.port=parseInt(h[5],10),n.path=h[6]||"",n.query=h[7],n.fragment=h[8],isNaN(n.port)&&(n.port=h[5]);let t=void 0!==h[2]&&n.path&&"/"!==n.path[0]?'URI path must start with "/" when authority is present.':"number"==typeof n.port&&(n.port<0||n.port>65535)?"URI port is malformed.":void 0;if(void 0!==t&&(n.error=n.error||t,s=!0),n.host)if(!1===f(n.host)){let e=o(n.host);n.host=e.host.toLowerCase(),i=e.isIPV6}else i=!0;void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||void 0!==n.query||n.path?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",r.reference&&"suffix"!==r.reference&&r.reference!==n.reference&&(n.error=n.error||"URI is not a "+r.reference+" reference.");let u=l(r.scheme||n.scheme);if(!r.unicodeSupport&&(!u||!u.unicodeSupport)&&n.host&&(r.domainHost||u&&u.domainHost)&&!1===i&&c(n.host))try{n.host=new URL("http://"+n.host).hostname}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII: "+e}if((!u||u&&!u.skipNormalize)&&(-1!==e.indexOf("%")&&(void 0!==n.scheme&&(n.scheme=unescape(n.scheme)),void 0!==n.host&&(n.host=p(unescape(n.host),i))),n.path&&(n.path=a(n.path)),n.fragment))try{n.fragment=encodeURI(decodeURIComponent(n.fragment))}catch{n.error=n.error||"URI malformed"}u&&u.parse&&u.parse(n,r)}else n.error=n.error||"URI can not be parsed.";return{parsed:n,malformedAuthorityOrPort:s}}function b(e,t){return v(e,t).parsed}function x(e,t){let{parsed:r,malformedAuthorityOrPort:o}=v(e,t);return{normalized:o?e:m(r,t),malformedAuthorityOrPort:o}}function w(e,t){if("string"==typeof e){let{normalized:r,malformedAuthorityOrPort:o}=x(e,t);return o?void 0:r}if("object"==typeof e)return m(e,t)}let z={SCHEMES:h,normalize:function(e,t){return"string"==typeof e?e=x(e,t).normalized:"object"==typeof e&&(e=b(m(e,t),t)),e},resolve:function(e,t,r){let o=r?Object.assign({scheme:"null"},r):{scheme:"null"},n=d(b(e,o),b(t,o),o,!0);return o.skipEscape=!0,m(n,o)},resolveComponent:d,equal:function(e,t,r){let o=w(e,r),n=w(t,r);return void 0!==o&&void 0!==n&&o.toLowerCase()===n.toLowerCase()},serialize:m,parse:b};e.exports=z,e.exports.default=z,e.exports.fastUri=z},13956(e,t,r){let{isUUID:o}=r(75365),n=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,s=["http","https","ws","wss","urn","urn:uuid"];function i(e){return!0===e.secure||!1!==e.secure&&!!e.scheme&&3===e.scheme.length&&("w"===e.scheme[0]||"W"===e.scheme[0])&&("s"===e.scheme[1]||"S"===e.scheme[1])&&("s"===e.scheme[2]||"S"===e.scheme[2])}function a(e){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e}function u(e){let t="https"===String(e.scheme).toLowerCase();return(e.port===(t?443:80)||""===e.port)&&(e.port=void 0),e.path||(e.path="/"),e}let p={scheme:"http",domainHost:!0,parse:a,serialize:u},f={scheme:"https",domainHost:p.domainHost,parse:a,serialize:u},c={scheme:"ws",domainHost:!0,parse:function(e){return e.secure=i(e),e.resourceName=(e.path||"/")+(e.query?"?"+e.query:""),e.path=void 0,e.query=void 0,e},serialize:function(e){if((e.port===(i(e)?443:80)||""===e.port)&&(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){let[t,r]=e.resourceName.split("?");e.path=t&&"/"!==t?t:void 0,e.query=r,e.resourceName=void 0}return e.fragment=void 0,e}},h={scheme:"wss",domainHost:c.domainHost,parse:c.parse,serialize:c.serialize},l={http:p,https:f,ws:c,wss:h,urn:{scheme:"urn",parse:function(e,t){if(!e.path)return e.error="URN can not be parsed",e;let r=e.path.match(n);if(r){let o=t.scheme||e.scheme||"urn";e.nid=r[1].toLowerCase(),e.nss=r[2];let n=d(`${o}:${t.nid||e.nid}`);e.path=void 0,n&&(e=n.parse(e,t))}else e.error=e.error||"URN can not be parsed.";return e},serialize:function(e,t){if(void 0===e.nid)throw Error("URN without nid cannot be serialized");let r=t.scheme||e.scheme||"urn",o=e.nid.toLowerCase(),n=d(`${r}:${t.nid||o}`);n&&(e=n.serialize(e,t));let s=e,i=e.nss;return s.path=`${o||t.nid}:${i}`,t.skipEscape=!0,s},skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:function(e,t){return e.uuid=e.nss,e.nss=void 0,t.tolerant||e.uuid&&o(e.uuid)||(e.error=e.error||"UUID is not valid."),e},serialize:function(e){return e.nss=(e.uuid||"").toLowerCase(),e},skipNormalize:!0}};function d(e){return e&&(l[e]||l[e.toLowerCase()])||void 0}Object.setPrototypeOf(l,null),e.exports={wsIsSecure:i,SCHEMES:l,isValidSchemeName:function(e){return -1!==s.indexOf(e)},getSchemeHandler:d}},75365(e){let t=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),r=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u),o=RegExp.prototype.test.bind(/^[\da-f]{2}$/iu),n=RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu),s=RegExp.prototype.test.bind(/^[\da-z\-._~!$&'()*+,;=:@/]$/iu);function i(e){let t="",r=0,o=0;for(o=0;o<e.length;o++)if(48!==(r=e[o].charCodeAt(0))){if(!(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[o];break}for(o+=1;o<e.length;o++){if(!((r=e[o].charCodeAt(0))>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102))return"";t+=e[o]}return t}let a=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function u(e){return e.length=0,!0}function p(e,t,r){if(e.length){let o=i(e);if(""===o)return r.error=!0,!1;t.push(o),e.length=0}return!0}function f(e){if(2>function(e){let t=0;for(let r=0;r<e.length;r++)":"===e[r]&&t++;return t}(e))return{host:e,isIPV6:!1};let t=function(e){let t=0,r={error:!1,address:"",zone:""},o=[],n=[],s=!1,a=!1,f=p;for(let i=0;i<e.length;i++){let p=e[i];if("["!==p&&"]"!==p)if(":"===p){if(!0===s&&(a=!0),!f(n,o,r))break;if(++t>7){r.error=!0;break}i>0&&":"===e[i-1]&&(s=!0),o.push(":");continue}else if("%"===p){if(!f(n,o,r))break;f=u}else{n.push(p);continue}}return n.length&&(f===u?r.zone=n.join(""):a?o.push(n.join("")):o.push(i(n))),r.address=o.join(""),r}(e);if(t.error)return{host:e,isIPV6:!1};{let e=t.address,r=t.address;return t.zone&&(e+="%"+t.zone,r+="%25"+t.zone),{host:e,isIPV6:!0,escapedHost:r}}}let c={"@":"%40","/":"%2F","?":"%3F","#":"%23",":":"%3A"},h=/[@/?#:]/g,l=/[@/?#]/g;function d(e,t){let r=t?l:h;return r.lastIndex=0,e.replace(r,e=>c[e])}e.exports={nonSimpleDomain:a,recomposeAuthority:function(e){let t=[];if(void 0!==e.userinfo&&(t.push(e.userinfo),t.push("@")),void 0!==e.host){let o=unescape(e.host);if(!r(o)){let e=f(o);o=!0===e.isIPV6?`[${e.escapedHost}]`:d(o,!1)}t.push(o)}return("number"==typeof e.port||"string"==typeof e.port)&&(t.push(":"),t.push(String(e.port))),t.length?t.join(""):void 0},reescapeHostDelimiters:d,normalizePercentEncoding:function(e,t=!1){if(-1===e.indexOf("%"))return e;let r="";for(let s=0;s<e.length;s++){if("%"===e[s]&&s+2<e.length){let i=e.slice(s+1,s+3);if(o(i)){let e=i.toUpperCase(),o=String.fromCharCode(parseInt(e,16));t&&n(o)?r+=o:r+="%"+e,s+=2;continue}}r+=e[s]}return r},normalizePathEncoding:function(e){let t="";for(let r=0;r<e.length;r++){if("%"===e[r]&&r+2<e.length){let s=e.slice(r+1,r+3);if(o(s)){let e=s.toUpperCase(),o=String.fromCharCode(parseInt(e,16));"."!==o&&n(o)?t+=o:t+="%"+e,r+=2;continue}}s(e[r])?t+=e[r]:t+=escape(e[r])}return t},escapePreservingEscapes:function(e){let t="";for(let r=0;r<e.length;r++){if("%"===e[r]&&r+2<e.length){let n=e.slice(r+1,r+3);if(o(n)){t+="%"+n.toUpperCase(),r+=2;continue}}t+=escape(e[r])}return t},removeDotSegments:function(e){let t=e,r=[],o=-1,n=0;for(;n=t.length;){if(1===n)if("."===t)break;else if("/"===t){r.push("/");break}else{r.push(t);break}if(2===n){if("."===t[0]){if("."===t[1])break;else if("/"===t[1]){t=t.slice(2);continue}}else if("/"===t[0]&&("."===t[1]||"/"===t[1])){r.push("/");break}}else if(3===n&&"/.."===t){0!==r.length&&r.pop(),r.push("/");break}if("."===t[0]){if("."===t[1]){if("/"===t[2]){t=t.slice(3);continue}}else if("/"===t[1]){t=t.slice(2);continue}}else if("/"===t[0]&&"."===t[1]){if("/"===t[2]){t=t.slice(2);continue}else if("."===t[2]&&"/"===t[3]){t=t.slice(3),0!==r.length&&r.pop();continue}}if(-1===(o=t.indexOf("/",1))){r.push(t);break}r.push(t.slice(0,o)),t=t.slice(o)}return r.join("")},isIPv4:r,isUUID:t,normalizeIPv6:f,stringArrayToHexStripped:i}}};