@serverless-devs/s 3.0.3-d9b6a3b7 → 3.0.3-edadad05
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/daemon/lib.js +1 -1
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -336,7 +336,7 @@ ${" ".repeat(u)}`))}this._progressContent=`${t.join(`
|
|
|
336
336
|
${qbt("ERROR:")}`),Ft.write(`
|
|
337
337
|
${t}
|
|
338
338
|
`),r&&Ft.write(`${Dt.gray(r)}
|
|
339
|
-
`)}},lP=J7e});var fP=N((V_u,Kvn)=>{Kvn.exports={name:"@serverless-devs/s",version:"3.0.3-
|
|
339
|
+
`)}},lP=J7e});var fP=N((V_u,Kvn)=>{Kvn.exports={name:"@serverless-devs/s",version:"3.0.3-edadad05",description:"Serverless devs tool, serverless developer tool, supports Alibaba cloud, AWS, azure, baidu cloud, Huawei cloud, Google cloud and Tencent cloud.",homepage:"https://www.serverless-devs.com",keywords:["serverless","alibaba","tencent","azure","baidu","huawei","google","function","faas","serverless-devs"],publishConfig:{access:"public",registry:"https://registry.npmjs.org"},license:"Apache 2.0",repository:{type:"git",url:"https://github.com/Serverless-Devs/Serverless-Devs"},bugs:{url:"https://github.com/Serverless-Devs/Serverless-Devs/issues"},scripts:{start:"npm run watch",test:"jest --testTimeout 10000","test:watch":"jest --testTimeout 10000 --watchAll",format:"prettier --write src/ __tests__/**/*.test.ts",watch:"npm run build -- --watch",prebuild:"cross-os prebuild",build:"node ./scripts/build.js",pkg:"pkg . --out-path releases",prepublishOnly:"npm run build",beta:"npm publish --tag=beta",pub:"npm publish"},"cross-os":{prebuild:{darwin:"rm -rf node_modules && npm install --production false",linux:"rm -rf node_modules && npm install --production false",win32:"rmdir /s /q node_modules && npm install --production false"}},pkg:{scripts:["./lib/daemon/**/*.js"]},main:"./lib/index.js",bin:{s:"bin/s"},engines:{node:">=14.14.0"},devDependencies:{"@serverless-devs/core":"^0.1.67-beta.1","@serverless-devs/credential":"^0.0.5","@serverless-devs/engine":"^0.1.1","@serverless-devs/load-application":"^0.0.12","@serverless-devs/load-component":"^0.0.7-beta.1","@serverless-devs/logger":"^0.0.4","@serverless-devs/parse-spec":"^0.0.25","@serverless-devs/registry":"^0.0.8","@serverless-devs/utils":"^0.0.14","@types/fs-extra":"^11.0.4","@types/inquirer":"^9.0.7","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9","@types/lodash":"^4.14.201","@types/node":"^20.9.1","@types/semver":"^7.5.5",ajv:"^8.12.0",axios:"^1.6.2",boxen:"^7.1.1",chalk:"^5.3.0",commander:"^11.1.0","cross-os":"^1.5.0",dotenv:"^16.3.1","dotenv-expand":"^10.0.0",esbuild:"^0.19.5","fs-extra":"^11.1.1","global-agent":"^3.0.0",inquirer:"^9.2.12","inquirer-autocomplete-prompt":"^3.0.1",jest:"^29.7.0","js-yaml":"^4.1.0","latest-version":"^7.0.0",leven:"^4.0.0",lodash:"^4.17.21",pkg:"^5.8.1",prettier:"^3.1.0",prettyjson:"^1.2.5",rimraf:"^5.0.5",semver:"^7.5.4","semver-diff":"^4.0.0","strip-ansi":"^7.1.0","table-layout":"^3.0.2","ts-jest":"^29.1.1","ts-node":"^10.9.1",typescript:"^5.2.2"},"lint-staged":{"**/*.{js,jsx,ts}":"f2elint exec eslint"}}});var F0,mJ,pP,Hbt,sE,Wbt,Yvn,Vbt,Xvn,Gbt,cd,og=Bt(()=>{F0=ot(Er());Zn();wr();mJ=ot(require("path")),pP=ot(ji());gn();Hbt=ot(Er()),sE=ot(fr());ug();zbt();Wbt=fP(),Yvn=async(e,t={})=>{Ft.unsilent();let{silent:r}=(0,Hbt.parseArgv)(process.argv.slice(2)),n=mJ.default.join((0,F0.getRootHome)(),"logs",process.env.serverless_devs_traceid,"error.json");pP.default.ensureFileSync(n),pP.default.writeJSONSync(n,[],{spaces:2});let u=1;if((0,sE.isArray)(e))for(let i of e){Vbt(i,t);let o=(0,sE.get)(i,"exitCode");o&&(u=o)}else{Vbt(e,t);let i=(0,sE.get)(e,"exitCode");i&&(u=i)}Ft.write(" "),Ft.write(Kbt([{key:"Env:",value:`${Wbt.name}: ${Wbt.version}, ${process.platform}-${process.arch} node-${process.version}`},{key:"Logs:",value:Dt.underline(mJ.default.join((0,F0.getRootHome)(),"logs",process.env.serverless_devs_traceid))},{key:"Get Help:",value:"DingTalk: 33947367"},{key:"Feedback:",value:Dt.cyan.underline("https://github.com/Serverless-Devs/Serverless-Devs/issues")}])),r&&Ft.silent(),process.exitCode=u},Vbt=(e,t={})=>{Uc("report.js",{argv:process.argv.slice(2),userAgent:(0,F0.getUserAgent)(),...t,type:(0,sE.get)(e,"trackerType"),message:e.message}),Xvn(e),Ft.write(" ");let r=e;if(r.CODE===F0.DevsError.CODE){let i=r.prefix?[`${Dt.red("\u2716")} ${r.prefix}`,"===================="]:[];i.push(Dt.red("Error Message:"),Dt.red((0,F0.isDebugMode)()?r.stack:r.message)),r.tips&&i.push(`
|
|
340
340
|
\u{1F37C} Tips`,"====================",Dt.yellow(`${r.tips}`)),Ft.write(i.join(`
|
|
341
341
|
`)),Gbt(r.stack);return}let n=e,u=[Dt.red("Error Message:"),Dt.red((0,F0.isDebugMode)()?n.stack:n.message)];Ft.write(u.join(`
|
|
342
342
|
`)),Gbt(n.stack)},Xvn=e=>{let t=u=>{let i=(0,sE.get)(u,"data");if(i)return i;let o=u;return o.CODE===F0.DevsError.CODE?{prefix:o.prefix,message:o.message,exitCode:o.exitCode,tips:o.tips}:{message:o.message}},r=mJ.default.join((0,F0.getRootHome)(),"logs",process.env.serverless_devs_traceid,"error.json"),n=pP.default.readJSONSync(r);n.push(t(e)),pP.default.writeJSONSync(r,n,{spaces:2})},Gbt=e=>{(0,F0.isDebugMode)()||Ft.debug(e)},cd=Yvn});function Qvn(){let{version:e}=Q7e.default.minVersion(Jvn.engines.node);Q7e.default.gte(process.versions.node,e)||(new lP(`Node.js version must be greater than or equal to ${e}`,`Your current Node.js version is ${process.versions.node}, please upgrade your Node.js version at ${Dt.underline("https://nodejs.org/en")}.`),process.exit(1))}var Q7e,Jvn,Z7e,Ybt=Bt(()=>{og();wr();Q7e=ot(iE()),Jvn=fP();Z7e=Qvn});var Xbt=N(gJ=>{"use strict";Object.defineProperty(gJ,"__esModule",{value:!0});gJ.boolean=void 0;var Zvn=function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return["true","t","yes","y","on","1"].includes(e.trim().toLowerCase());case"[object Number]":return e.valueOf()===1;case"[object Boolean]":return e.valueOf();default:return!1}};gJ.boolean=Zvn});var Jbt=N(vJ=>{"use strict";Object.defineProperty(vJ,"__esModule",{value:!0});vJ.isBooleanable=void 0;var eDn=function(e){switch(Object.prototype.toString.call(e)){case"[object String]":return["true","t","yes","y","on","1","false","f","no","n","off","0"].includes(e.trim().toLowerCase());case"[object Number]":return[0,1].includes(e.valueOf());case"[object Boolean]":return!0;default:return!1}};vJ.isBooleanable=eDn});var DJ=N(LC=>{"use strict";Object.defineProperty(LC,"__esModule",{value:!0});LC.isBooleanable=LC.boolean=void 0;var tDn=Xbt();Object.defineProperty(LC,"boolean",{enumerable:!0,get:function(){return tDn.boolean}});var rDn=Jbt();Object.defineProperty(LC,"isBooleanable",{enumerable:!0,get:function(){return rDn.isBooleanable}})});var yJ=N((uBu,Qbt)=>{Qbt.exports=Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"});var e9e=N((iBu,eCt)=>{"use strict";var Zbt=Object.prototype.toString;eCt.exports=function(t){var r=Zbt.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&Zbt.call(t.callee)==="[object Function]"),n}});var cCt=N((oBu,aCt)=>{"use strict";var sCt;Object.keys||(hP=Object.prototype.hasOwnProperty,t9e=Object.prototype.toString,tCt=e9e(),r9e=Object.prototype.propertyIsEnumerable,rCt=!r9e.call({toString:null},"toString"),nCt=r9e.call(function(){},"prototype"),dP=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],EJ=function(e){var t=e.constructor;return t&&t.prototype===e},uCt={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},iCt=function(){if(typeof window>"u")return!1;for(var e in window)try{if(!uCt["$"+e]&&hP.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{EJ(window[e])}catch{return!0}}catch{return!0}return!1}(),oCt=function(e){if(typeof window>"u"||!iCt)return EJ(e);try{return EJ(e)}catch{return!1}},sCt=function(t){var r=t!==null&&typeof t=="object",n=t9e.call(t)==="[object Function]",u=tCt(t),i=r&&t9e.call(t)==="[object String]",o=[];if(!r&&!n&&!u)throw new TypeError("Object.keys called on a non-object");var s=nCt&&n;if(i&&t.length>0&&!hP.call(t,0))for(var a=0;a<t.length;++a)o.push(String(a));if(u&&t.length>0)for(var c=0;c<t.length;++c)o.push(String(c));else for(var l in t)!(s&&l==="prototype")&&hP.call(t,l)&&o.push(String(l));if(rCt)for(var f=oCt(t),p=0;p<dP.length;++p)!(f&&dP[p]==="constructor")&&hP.call(t,dP[p])&&o.push(dP[p]);return o});var hP,t9e,tCt,r9e,rCt,nCt,dP,EJ,uCt,iCt,oCt;aCt.exports=sCt});var hCt=N((sBu,pCt)=>{"use strict";var nDn=Array.prototype.slice,uDn=e9e(),lCt=Object.keys,bJ=lCt?function(t){return lCt(t)}:cCt(),fCt=Object.keys;bJ.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return uDn(n)?fCt(nDn.call(n)):fCt(n)})}else Object.keys=bJ;return Object.keys||bJ};pCt.exports=bJ});var mCt=N((aBu,dCt)=>{"use strict";dCt.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var u=42;t[r]=u;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==u||o.enumerable!==!0)return!1}return!0}});var DCt=N((cBu,vCt)=>{"use strict";var gCt=typeof Symbol<"u"&&Symbol,iDn=mCt();vCt.exports=function(){return typeof gCt!="function"||typeof Symbol!="function"||typeof gCt("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:iDn()}});var bCt=N((lBu,ECt)=>{"use strict";var yCt={foo:{}},oDn=Object;ECt.exports=function(){return{__proto__:yCt}.foo===yCt.foo&&!({__proto__:null}instanceof oDn)}});var ACt=N((fBu,xCt)=>{"use strict";var sDn="Function.prototype.bind called on incompatible ",aDn=Object.prototype.toString,cDn=Math.max,lDn="[object Function]",CCt=function(t,r){for(var n=[],u=0;u<t.length;u+=1)n[u]=t[u];for(var i=0;i<r.length;i+=1)n[i+t.length]=r[i];return n},fDn=function(t,r){for(var n=[],u=r||0,i=0;u<t.length;u+=1,i+=1)n[i]=t[u];return n},pDn=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};xCt.exports=function(t){var r=this;if(typeof r!="function"||aDn.apply(r)!==lDn)throw new TypeError(sDn+r);for(var n=fDn(arguments,1),u,i=function(){if(this instanceof u){var l=r.apply(this,CCt(n,arguments));return Object(l)===l?l:this}return r.apply(t,CCt(n,arguments))},o=cDn(0,r.length-n.length),s=[],a=0;a<o;a++)s[a]="$"+a;if(u=Function("binder","return function ("+pDn(s,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var c=function(){};c.prototype=r.prototype,u.prototype=new c,c.prototype=null}return u}});var CJ=N((pBu,FCt)=>{"use strict";var hDn=ACt();FCt.exports=Function.prototype.bind||hDn});var BCt=N((hBu,_Ct)=>{"use strict";var dDn=Function.prototype.call,mDn=Object.prototype.hasOwnProperty,gDn=CJ();_Ct.exports=gDn.call(dDn,mDn)});var $C=N((dBu,PCt)=>{"use strict";var eu,UC=SyntaxError,TCt=Function,MC=TypeError,n9e=function(e){try{return TCt('"use strict"; return ('+e+").constructor;")()}catch{}},aE=Object.getOwnPropertyDescriptor;if(aE)try{aE({},"")}catch{aE=null}var u9e=function(){throw new MC},vDn=aE?function(){try{return arguments.callee,u9e}catch{try{return aE(arguments,"callee").get}catch{return u9e}}}():u9e,NC=DCt()(),DDn=bCt()(),ca=Object.getPrototypeOf||(DDn?function(e){return e.__proto__}:null),qC={},yDn=typeof Uint8Array>"u"||!ca?eu:ca(Uint8Array),cE={"%AggregateError%":typeof AggregateError>"u"?eu:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?eu:ArrayBuffer,"%ArrayIteratorPrototype%":NC&&ca?ca([][Symbol.iterator]()):eu,"%AsyncFromSyncIteratorPrototype%":eu,"%AsyncFunction%":qC,"%AsyncGenerator%":qC,"%AsyncGeneratorFunction%":qC,"%AsyncIteratorPrototype%":qC,"%Atomics%":typeof Atomics>"u"?eu:Atomics,"%BigInt%":typeof BigInt>"u"?eu:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?eu:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?eu:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?eu:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?eu:Float32Array,"%Float64Array%":typeof Float64Array>"u"?eu:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?eu:FinalizationRegistry,"%Function%":TCt,"%GeneratorFunction%":qC,"%Int8Array%":typeof Int8Array>"u"?eu:Int8Array,"%Int16Array%":typeof Int16Array>"u"?eu:Int16Array,"%Int32Array%":typeof Int32Array>"u"?eu:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":NC&&ca?ca(ca([][Symbol.iterator]())):eu,"%JSON%":typeof JSON=="object"?JSON:eu,"%Map%":typeof Map>"u"?eu:Map,"%MapIteratorPrototype%":typeof Map>"u"||!NC||!ca?eu:ca(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?eu:Promise,"%Proxy%":typeof Proxy>"u"?eu:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?eu:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?eu:Set,"%SetIteratorPrototype%":typeof Set>"u"||!NC||!ca?eu:ca(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?eu:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":NC&&ca?ca(""[Symbol.iterator]()):eu,"%Symbol%":NC?Symbol:eu,"%SyntaxError%":UC,"%ThrowTypeError%":vDn,"%TypedArray%":yDn,"%TypeError%":MC,"%Uint8Array%":typeof Uint8Array>"u"?eu:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?eu:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?eu:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?eu:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?eu:WeakMap,"%WeakRef%":typeof WeakRef>"u"?eu:WeakRef,"%WeakSet%":typeof WeakSet>"u"?eu:WeakSet};if(ca)try{null.error}catch(e){wCt=ca(ca(e)),cE["%Error.prototype%"]=wCt}var wCt,EDn=function e(t){var r;if(t==="%AsyncFunction%")r=n9e("async function () {}");else if(t==="%GeneratorFunction%")r=n9e("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=n9e("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var u=e("%AsyncGenerator%");u&&ca&&(r=ca(u.prototype))}return cE[t]=r,r},SCt={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},mP=CJ(),xJ=BCt(),bDn=mP.call(Function.call,Array.prototype.concat),CDn=mP.call(Function.apply,Array.prototype.splice),OCt=mP.call(Function.call,String.prototype.replace),AJ=mP.call(Function.call,String.prototype.slice),xDn=mP.call(Function.call,RegExp.prototype.exec),ADn=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,FDn=/\\(\\)?/g,_Dn=function(t){var r=AJ(t,0,1),n=AJ(t,-1);if(r==="%"&&n!=="%")throw new UC("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new UC("invalid intrinsic syntax, expected opening `%`");var u=[];return OCt(t,ADn,function(i,o,s,a){u[u.length]=s?OCt(a,FDn,"$1"):o||i}),u},BDn=function(t,r){var n=t,u;if(xJ(SCt,n)&&(u=SCt[n],n="%"+u[0]+"%"),xJ(cE,n)){var i=cE[n];if(i===qC&&(i=EDn(n)),typeof i>"u"&&!r)throw new MC("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:u,name:n,value:i}}throw new UC("intrinsic "+t+" does not exist!")};PCt.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new MC("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new MC('"allowMissing" argument must be a boolean');if(xDn(/^%?[^%]*%?$/,t)===null)throw new UC("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=_Dn(t),u=n.length>0?n[0]:"",i=BDn("%"+u+"%",r),o=i.name,s=i.value,a=!1,c=i.alias;c&&(u=c[0],CDn(n,bDn([0,1],c)));for(var l=1,f=!0;l<n.length;l+=1){var p=n[l],h=AJ(p,0,1),d=AJ(p,-1);if((h==='"'||h==="'"||h==="`"||d==='"'||d==="'"||d==="`")&&h!==d)throw new UC("property names with quotes must have matching quotes");if((p==="constructor"||!f)&&(a=!0),u+="."+p,o="%"+u+"%",xJ(cE,o))s=cE[o];else if(s!=null){if(!(p in s)){if(!r)throw new MC("base intrinsic for "+t+" exists, but the property is not available.");return}if(aE&&l+1>=n.length){var m=aE(s,p);f=!!m,f&&"get"in m&&!("originalValue"in m.get)?s=m.get:s=s[p]}else f=xJ(s,p),s=s[p];f&&!a&&(cE[o]=s)}}return s}});var FJ=N((mBu,kCt)=>{"use strict";var wDn=$C(),i9e=wDn("%Object.defineProperty%",!0),o9e=function(){if(i9e)try{return i9e({},"a",{value:1}),!0}catch{return!1}return!1};o9e.hasArrayLengthDefineBug=function(){if(!o9e())return null;try{return i9e([],"length",{value:1}).length!==1}catch{return!0}};kCt.exports=o9e});var s9e=N((gBu,RCt)=>{"use strict";var SDn=$C(),_J=SDn("%Object.getOwnPropertyDescriptor%",!0);if(_J)try{_J([],"length")}catch{_J=null}RCt.exports=_J});var c9e=N((vBu,jCt)=>{"use strict";var ODn=FJ()(),a9e=$C(),gP=ODn&&a9e("%Object.defineProperty%",!0);if(gP)try{gP({},"a",{value:1})}catch{gP=!1}var TDn=a9e("%SyntaxError%"),zC=a9e("%TypeError%"),ICt=s9e();jCt.exports=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new zC("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new zC("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new zC("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new zC("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new zC("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new zC("`loose`, if provided, must be a boolean");var u=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,o=arguments.length>5?arguments[5]:null,s=arguments.length>6?arguments[6]:!1,a=!!ICt&&ICt(t,r);if(gP)gP(t,r,{configurable:o===null&&a?a.configurable:!o,enumerable:u===null&&a?a.enumerable:!u,value:n,writable:i===null&&a?a.writable:!i});else if(s||!u&&!i&&!o)t[r]=n;else throw new TDn("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var l9e=N((DBu,MCt)=>{"use strict";var PDn=hCt(),kDn=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",RDn=Object.prototype.toString,IDn=Array.prototype.concat,LCt=c9e(),jDn=function(e){return typeof e=="function"&&RDn.call(e)==="[object Function]"},NCt=FJ()(),LDn=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!jDn(n)||!n())return}NCt?LCt(e,t,r,!0):LCt(e,t,r)},qCt=function(e,t){var r=arguments.length>2?arguments[2]:{},n=PDn(t);kDn&&(n=IDn.call(n,Object.getOwnPropertySymbols(t)));for(var u=0;u<n.length;u+=1)LDn(e,n[u],t[n[u]],r[n[u]])};qCt.supportsDescriptors=!!NCt;MCt.exports=qCt});var f9e=N((yBu,UCt)=>{"use strict";UCt.exports=global});var p9e=N((EBu,$Ct)=>{"use strict";var NDn=f9e();$Ct.exports=function(){return typeof global!="object"||!global||global.Math!==Math||global.Array!==Array?NDn:global}});var WCt=N((bBu,zCt)=>{"use strict";var qDn=l9e(),MDn=p9e();zCt.exports=function(){var t=MDn();if(qDn.supportsDescriptors){var r=Object.getOwnPropertyDescriptor(t,"globalThis");(!r||r.configurable&&(r.enumerable||!r.writable||globalThis!==t))&&Object.defineProperty(t,"globalThis",{configurable:!0,enumerable:!1,value:t,writable:!0})}else(typeof globalThis!="object"||globalThis!==t)&&(t.globalThis=t);return t}});var h9e=N((CBu,HCt)=>{"use strict";var UDn=l9e(),$Dn=f9e(),VCt=p9e(),zDn=WCt(),WDn=VCt(),GCt=function(){return WDn};UDn(GCt,{getPolyfill:VCt,implementation:$Dn,shim:zDn});HCt.exports=GCt});var XCt=N((d9e,YCt)=>{d9e=YCt.exports=VDn;d9e.getSerialize=KCt;function VDn(e,t,r,n){return JSON.stringify(e,KCt(t,n),r)}function KCt(e,t){var r=[],n=[];return t==null&&(t=function(u,i){return r[0]===i?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(i)).join(".")+"]"}),function(u,i){if(r.length>0){var o=r.indexOf(this);~o?r.splice(o+1):r.push(this),~o?n.splice(o,1/0,u):n.push(u),~r.indexOf(i)&&(i=t.call(this,u,i))}else r.push(i);return e==null?i:e.call(this,u,i)}}});var JCt=N(BJ=>{(function(){"use strict";var e={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function t(o){return n(i(o),arguments)}function r(o,s){return t.apply(null,[o].concat(s||[]))}function n(o,s){var a=1,c=o.length,l,f="",p,h,d,m,v,y,g,D;for(p=0;p<c;p++)if(typeof o[p]=="string")f+=o[p];else if(typeof o[p]=="object"){if(d=o[p],d.keys)for(l=s[a],h=0;h<d.keys.length;h++){if(l==null)throw new Error(t('[sprintf] Cannot access property "%s" of undefined value "%s"',d.keys[h],d.keys[h-1]));l=l[d.keys[h]]}else d.param_no?l=s[d.param_no]:l=s[a++];if(e.not_type.test(d.type)&&e.not_primitive.test(d.type)&&l instanceof Function&&(l=l()),e.numeric_arg.test(d.type)&&typeof l!="number"&&isNaN(l))throw new TypeError(t("[sprintf] expecting number but found %T",l));switch(e.number.test(d.type)&&(g=l>=0),d.type){case"b":l=parseInt(l,10).toString(2);break;case"c":l=String.fromCharCode(parseInt(l,10));break;case"d":case"i":l=parseInt(l,10);break;case"j":l=JSON.stringify(l,null,d.width?parseInt(d.width):0);break;case"e":l=d.precision?parseFloat(l).toExponential(d.precision):parseFloat(l).toExponential();break;case"f":l=d.precision?parseFloat(l).toFixed(d.precision):parseFloat(l);break;case"g":l=d.precision?String(Number(l.toPrecision(d.precision))):parseFloat(l);break;case"o":l=(parseInt(l,10)>>>0).toString(8);break;case"s":l=String(l),l=d.precision?l.substring(0,d.precision):l;break;case"t":l=String(!!l),l=d.precision?l.substring(0,d.precision):l;break;case"T":l=Object.prototype.toString.call(l).slice(8,-1).toLowerCase(),l=d.precision?l.substring(0,d.precision):l;break;case"u":l=parseInt(l,10)>>>0;break;case"v":l=l.valueOf(),l=d.precision?l.substring(0,d.precision):l;break;case"x":l=(parseInt(l,10)>>>0).toString(16);break;case"X":l=(parseInt(l,10)>>>0).toString(16).toUpperCase();break}e.json.test(d.type)?f+=l:(e.number.test(d.type)&&(!g||d.sign)?(D=g?"+":"-",l=l.toString().replace(e.sign,"")):D="",v=d.pad_char?d.pad_char==="0"?"0":d.pad_char.charAt(1):" ",y=d.width-(D+l).length,m=d.width&&y>0?v.repeat(y):"",f+=d.align?D+l+m:v==="0"?D+m+l:m+D+l)}return f}var u=Object.create(null);function i(o){if(u[o])return u[o];for(var s=o,a,c=[],l=0;s;){if((a=e.text.exec(s))!==null)c.push(a[0]);else if((a=e.modulo.exec(s))!==null)c.push("%");else if((a=e.placeholder.exec(s))!==null){if(a[2]){l|=1;var f=[],p=a[2],h=[];if((h=e.key.exec(p))!==null)for(f.push(h[1]);(p=p.substring(h[0].length))!=="";)if((h=e.key_access.exec(p))!==null)f.push(h[1]);else if((h=e.index_access.exec(p))!==null)f.push(h[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");a[2]=f}else l|=2;if(l===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");c.push({placeholder:a[0],param_no:a[1],keys:a[2],sign:a[3],pad_char:a[4],align:a[5],width:a[6],precision:a[7],type:a[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");s=s.substring(a[0].length)}return u[o]=c}typeof BJ<"u"&&(BJ.sprintf=t,BJ.vsprintf=r),typeof window<"u"&&(window.sprintf=t,window.vsprintf=r,typeof define=="function"&&define.amd&&define(function(){return{sprintf:t,vsprintf:r}}))})()});var m9e=N(wJ=>{"use strict";Object.defineProperty(wJ,"__esModule",{value:!0});wJ.logLevels=void 0;var GDn={debug:20,error:50,fatal:60,info:30,trace:10,warn:40};wJ.logLevels=GDn});var ext=N(OJ=>{"use strict";Object.defineProperty(OJ,"__esModule",{value:!0});OJ.default=void 0;var HDn=y9e(yJ()),KDn=y9e(h9e()),YDn=y9e(XCt()),g9e=JCt(),QCt=m9e();function y9e(e){return e&&e.__esModule?e:{default:e}}function v9e(){return v9e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},v9e.apply(this,arguments)}function ZCt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),r.push.apply(r,n)}return r}function Bf(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ZCt(Object(r),!0).forEach(function(n){XDn(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ZCt(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function XDn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var JDn=(0,KDn.default)(),vP;HDn.default&&(vP=require("domain"));var QDn=()=>{if(!vP)return{};let e=[],t=process.domain;if(!t||!t.parentDomain)return{};for(;t&&t.parentDomain;)t=t.parentDomain,t.roarr&&t.roarr.context&&e.push(t.roarr.context);let r={};for(let n of e)r=Bf(Bf({},r),n);return r},SJ=()=>{if(!vP)return{};let e=process.domain;if(e&&e.roarr&&e.roarr.context)return e.roarr.context;if(!e||!e.parentDomain)return{};for(;e&&e.parentDomain;)if(e=e.parentDomain,e.roarr&&e.roarr.context)return e.roarr.context;return{}},D9e=(e,t)=>{let r=(n,u,i,o,s,a,c,l,f,p)=>{let h=Date.now(),d=JDn.ROARR.sequence++,m,v;if(typeof n=="string"){m=Bf(Bf({},SJ()),t||{});let y=v9e({},{a:n,b:u,c:i,d:o,e:s,f:a,g:c,h:l,i:f,k:p});v=Object.keys(y).map(E=>y[E]).reduce((E,b)=>E+=typeof b>"u"?0:1,0)===1?(0,g9e.sprintf)("%s",n):(0,g9e.sprintf)(n,u,i,o,s,a,c,l,f,p)}else{if(typeof u!="string")throw new TypeError("Message must be a string.");m=JSON.parse((0,YDn.default)(Bf(Bf(Bf({},SJ()),t||{}),n))),v=(0,g9e.sprintf)(u,i,o,s,a,c,l,f,p)}e({context:m,message:v,sequence:d,time:h,version:"1.0.0"})};r.child=n=>typeof n=="function"?D9e(u=>{if(typeof n!="function")throw new TypeError("Unexpected state.");e(n(u))},t):D9e(e,Bf(Bf(Bf({},SJ()),t),n)),r.getContext=()=>Bf(Bf({},SJ()),t||{}),r.adopt=async(n,u)=>{if(!vP)return n();let i=vP.create();return i.run(()=>(i.roarr={context:Bf(Bf({},QDn()),u)},n()))};for(let n of Object.keys(QCt.logLevels))r[n]=(u,i,o,s,a,c,l,f,p,h)=>r.child({logLevel:QCt.logLevels[n]})(u,i,o,s,a,c,l,f,p,h);return r},ZDn=D9e;OJ.default=ZDn});var nxt=N(TJ=>{"use strict";Object.defineProperty(TJ,"__esModule",{value:!0});TJ.default=void 0;var txt=m9e(),rxt=(e,t)=>{let r=(n,u,i,o,s,a,c,l,f,p)=>{};r.adopt=async n=>n(),r.child=n=>rxt(e,t),r.getContext=()=>({});for(let n of Object.keys(txt.logLevels))r[n]=(u,i,o,s,a,c,l,f,p,h)=>r.child({logLevel:txt.logLevels[n]})(u,i,o,s,a,c,l,f,p,h);return r},eyn=rxt;TJ.default=eyn});var ixt=N((BBu,uxt)=>{uxt.exports=function(t,r){for(var n=t.split("."),u=r.split("."),i=0;i<3;i++){var o=Number(n[i]),s=Number(u[i]);if(o>s)return 1;if(s>o)return-1;if(!isNaN(o)&&isNaN(s))return 1;if(isNaN(o)&&!isNaN(s))return-1}return 0}});var oxt=N((wBu,tyn)=>{tyn.exports={author:{email:"gajus@gajus.com",name:"Gajus Kuizinas",url:"http://gajus.com"},ava:{babel:{compileAsTests:["test/helpers/**/*"]},files:["test/roarr/**/*"],require:["@babel/register"]},dependencies:{boolean:"^3.0.1","detect-node":"^2.0.4",globalthis:"^1.0.1","json-stringify-safe":"^5.0.1","semver-compare":"^1.0.0","sprintf-js":"^1.1.2"},description:"JSON logger for Node.js and browser.",devDependencies:{"@ava/babel":"^1.0.1","@babel/cli":"^7.11.6","@babel/core":"^7.11.6","@babel/node":"^7.10.5","@babel/plugin-transform-flow-strip-types":"^7.10.4","@babel/preset-env":"^7.11.5","@babel/register":"^7.11.5",ava:"^3.12.1","babel-plugin-istanbul":"^6.0.0","babel-plugin-transform-export-default-name":"^2.0.4",coveralls:"^3.1.0","domain-parent":"^1.0.0",eslint:"^7.9.0","eslint-config-canonical":"^24.1.1","flow-bin":"^0.133.0","flow-copy-source":"^2.0.9",gitdown:"^3.1.3",husky:"^4.3.0",nyc:"^15.1.0","semantic-release":"^17.1.1"},engines:{node:">=8.0"},husky:{hooks:{"pre-commit":"npm run lint && npm run test && npm run build","pre-push":"gitdown ./.README/README.md --output-file ./README.md --check"}},keywords:["log","logger","json"],main:"./dist/log.js",name:"roarr",nyc:{include:["src/**/*.js"],instrument:!1,reporter:["text-lcov"],require:["@babel/register"],sourceMap:!1},license:"BSD-3-Clause",repository:{type:"git",url:"git@github.com:gajus/roarr.git"},scripts:{build:"rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps && flow-copy-source src dist","create-readme":"gitdown ./.README/README.md --output-file ./README.md",dev:"NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps --watch",lint:"eslint ./src ./test && flow",test:"NODE_ENV=test ava --serial --verbose"},version:"2.15.4"}});var sxt=N(PJ=>{"use strict";Object.defineProperty(PJ,"__esModule",{value:!0});PJ.default=void 0;var ryn=e=>({write:t=>{e.write(t+`
|
|
@@ -345,7 +345,7 @@ ${t}
|
|
|
345
345
|
`,t.proxy.authorization&&(u+="Proxy-Authorization: Basic "+Buffer.from(t.proxy.authorization).toString("base64")+`\r
|
|
346
346
|
`),u+=`\r
|
|
347
347
|
`,n.write(u)}},Iyn=O9e;qJ.default=Iyn});var bxt=N(EP=>{"use strict";Object.defineProperty(EP,"__esModule",{value:!0});Object.defineProperty(EP,"Agent",{enumerable:!0,get:function(){return jyn.default}});Object.defineProperty(EP,"HttpProxyAgent",{enumerable:!0,get:function(){return Lyn.default}});Object.defineProperty(EP,"HttpsProxyAgent",{enumerable:!0,get:function(){return Nyn.default}});var jyn=P9e(LJ()),Lyn=P9e(yxt()),Nyn=P9e(Ext());function P9e(e){return e&&e.__esModule?e:{default:e}}});var Axt=N((MJ,xxt)=>{"use strict";Object.defineProperty(MJ,"__esModule",{value:!0});function qyn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cxt(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function Myn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function Uyn(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}var $yn=function(e){Myn(t,e);function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";qyn(this,t);var n=Cxt(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,r));return Object.defineProperty(n,"message",{configurable:!0,enumerable:!1,value:r,writable:!0}),Object.defineProperty(n,"name",{configurable:!0,enumerable:!1,value:n.constructor.name,writable:!0}),Error.hasOwnProperty("captureStackTrace")?(Error.captureStackTrace(n,n.constructor),Cxt(n)):(Object.defineProperty(n,"stack",{configurable:!0,enumerable:!1,value:new Error(r).stack,writable:!0}),n)}return t}(Uyn(Error));MJ.default=$yn;xxt.exports=MJ.default});var $J=N(UJ=>{"use strict";Object.defineProperty(UJ,"__esModule",{value:!0});UJ.UnexpectedStateError=void 0;var zyn=Wyn(Axt());function Wyn(e){return e&&e.__esModule?e:{default:e}}var k9e=class extends zyn.default{constructor(t,r="UNEXPECTED_STATE_ERROR"){super(t),this.code=r}};UJ.UnexpectedStateError=k9e});var _xt=N(zJ=>{"use strict";Object.defineProperty(zJ,"__esModule",{value:!0});zJ.default=void 0;var Vyn=Fxt(require("http")),Gyn=Fxt(require("https"));function Fxt(e){return e&&e.__esModule?e:{default:e}}var Hyn=(e,t,r)=>(...n)=>{let u,i,o;return typeof n[0]=="string"||n[0]instanceof URL?(u=n[0],typeof n[1]=="function"?(i={},o=n[1]):(i={...n[1]},o=n[2])):(i={...n[0]},o=n[1]),r?i.agent=t:(i.agent||(i.agent=t),(i.agent===Vyn.default.globalAgent||i.agent===Gyn.default.globalAgent)&&(i.agent=t)),u?e(u,i,o):e(i,o)},Kyn=Hyn;zJ.default=Kyn});var wxt=N((UBu,Bxt)=>{"use strict";Bxt.exports=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}});var Oxt=N(($Bu,I9e)=>{"use strict";var Yyn=wxt(),R9e=new Map;function Sxt(e,t){t={caseSensitive:!1,...t};let r=e+JSON.stringify(t);if(R9e.has(r))return R9e.get(r);let n=e[0]==="!";n&&(e=e.slice(1)),e=Yyn(e).replace(/\\\*/g,"[\\s\\S]*");let u=new RegExp(`^${e}$`,t.caseSensitive?"":"i");return u.negated=n,R9e.set(r,u),u}I9e.exports=(e,t,r)=>{if(!(Array.isArray(e)&&Array.isArray(t)))throw new TypeError(`Expected two arrays, got ${typeof e} ${typeof t}`);if(t.length===0)return e;let n=t[0][0]==="!";t=t.map(i=>Sxt(i,r));let u=[];for(let i of e){let o=n;for(let s of t)s.test(i)&&(o=!s.negated);o&&u.push(i)}return u};I9e.exports.isMatch=(e,t,r)=>{let n=Array.isArray(e)?e:[e],u=Array.isArray(t)?t:[t];return n.some(i=>u.every(o=>{let s=Sxt(o,r),a=s.test(i);return s.negated?!a:a}))}});var Pxt=N(WJ=>{"use strict";Object.defineProperty(WJ,"__esModule",{value:!0});WJ.default=void 0;var Xyn=require("url"),Jyn=Qyn(Oxt()),Txt=$J();function Qyn(e){return e&&e.__esModule?e:{default:e}}var Zyn=(e,t)=>{let r=(0,Xyn.parse)(e),n=t.split(/[\s,]+/);for(let u of n){let i=u.replace(/^(?<leadingDot>\.)/,"*").match(/^(?<hostname>.+?)(?::(?<port>\d+))?$/);if(!i||!i.groups)throw new Txt.UnexpectedStateError("Invalid NO_PROXY pattern.");if(!i.groups.hostname)throw new Txt.UnexpectedStateError("NO_PROXY entry pattern must include hostname. Use * to match any hostname.");if(Jyn.default.isMatch(r.hostname,i.groups.hostname)&&(!i.groups||!i.groups.port||r.port&&r.port===i.groups.port))return!0}return!1},eEn=Zyn;WJ.default=eEn});var kxt=N(VJ=>{"use strict";Object.defineProperty(VJ,"__esModule",{value:!0});VJ.default=void 0;var tEn=require("url"),j9e=$J(),rEn=e=>{let t=(0,tEn.parse)(e);if(t.query!==null)throw new j9e.UnexpectedStateError("Unsupported `GLOBAL_AGENT.HTTP_PROXY` configuration value: URL must not have query.");if(t.hash!==null)throw new j9e.UnexpectedStateError("Unsupported `GLOBAL_AGENT.HTTP_PROXY` configuration value: URL must not have hash.");if(t.protocol!=="http:")throw new j9e.UnexpectedStateError('Unsupported `GLOBAL_AGENT.HTTP_PROXY` configuration value: URL protocol must be "http:".');let r=80;return t.port&&(r=Number.parseInt(t.port,10)),{authorization:t.auth||null,hostname:t.hostname,port:r}},nEn=rEn;VJ.default=nEn});var Rxt=N(bP=>{"use strict";Object.defineProperty(bP,"__esModule",{value:!0});Object.defineProperty(bP,"bindHttpMethod",{enumerable:!0,get:function(){return uEn.default}});Object.defineProperty(bP,"isUrlMatchingNoProxy",{enumerable:!0,get:function(){return iEn.default}});Object.defineProperty(bP,"parseProxyUrl",{enumerable:!0,get:function(){return oEn.default}});var uEn=L9e(_xt()),iEn=L9e(Pxt()),oEn=L9e(kxt());function L9e(e){return e&&e.__esModule?e:{default:e}}});var N9e=N(GJ=>{"use strict";Object.defineProperty(GJ,"__esModule",{value:!0});GJ.default=void 0;var sEn=aEn(yP());function aEn(e){return e&&e.__esModule?e:{default:e}}var cEn=sEn.default.child({namespace:"createProxyController"}),lEn=["HTTP_PROXY","HTTPS_PROXY","NO_PROXY"],fEn=()=>new Proxy({HTTP_PROXY:null,HTTPS_PROXY:null,NO_PROXY:null},{set:(e,t,r)=>{if(!lEn.includes(t))throw new Error('Cannot set an unmapped property "'+t+'".');return e[t]=r,cEn.info({change:{name:t,value:r},newConfiguration:e},"configuration changed"),!0}}),pEn=fEn;GJ.default=pEn});var qxt=N(HJ=>{"use strict";Object.defineProperty(HJ,"__esModule",{value:!0});HJ.default=void 0;var GC=CP(require("http")),HC=CP(require("https")),hEn=DJ(),Ixt=CP(iE()),dEn=CP(yP()),jxt=bxt(),mEn=$J(),VC=Rxt(),gEn=CP(N9e());function CP(e){return e&&e.__esModule?e:{default:e}}var vEn=GC.default.get,DEn=GC.default.request,yEn=HC.default.get,EEn=HC.default.request,Lxt=dEn.default.child({namespace:"createGlobalProxyAgent"}),Nxt={environmentVariableNamespace:void 0,forceGlobalAgent:void 0,socketConnectionTimeout:6e4},bEn=e=>{let t=Object.keys(e),r={};for(let n of t){let u=e[n];u!==void 0&&(r[n]=u)}return r},CEn=e=>{let t=process.env;return{...{environmentVariableNamespace:typeof t.GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE=="string"?t.GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE:"GLOBAL_AGENT_",forceGlobalAgent:typeof t.GLOBAL_AGENT_FORCE_GLOBAL_AGENT=="string"?(0,hEn.boolean)(t.GLOBAL_AGENT_FORCE_GLOBAL_AGENT):!0,socketConnectionTimeout:typeof t.GLOBAL_AGENT_SOCKET_CONNECTION_TIMEOUT=="string"?Number.parseInt(t.GLOBAL_AGENT_SOCKET_CONNECTION_TIMEOUT,10):Nxt.socketConnectionTimeout},...bEn(e)}},xEn=(e=Nxt)=>{let t=CEn(e),r=(0,gEn.default)();r.HTTP_PROXY=process.env[t.environmentVariableNamespace+"HTTP_PROXY"]||null,r.HTTPS_PROXY=process.env[t.environmentVariableNamespace+"HTTPS_PROXY"]||null,r.NO_PROXY=process.env[t.environmentVariableNamespace+"NO_PROXY"]||null,Lxt.info({configuration:t,state:r},"global agent has been initialized");let n=f=>p=>f()?r.NO_PROXY?!(0,VC.isUrlMatchingNoProxy)(p,r.NO_PROXY):!0:!1,u=f=>()=>{let p=f();if(!p)throw new mEn.UnexpectedStateError("HTTP(S) proxy must be configured.");return(0,VC.parseProxyUrl)(p)},i=()=>r.HTTP_PROXY,o=class extends jxt.HttpProxyAgent{constructor(){super(()=>i(),n(i),u(i),GC.default.globalAgent,t.socketConnectionTimeout)}},s=new o,a=()=>r.HTTPS_PROXY||r.HTTP_PROXY,c=class extends jxt.HttpsProxyAgent{constructor(){super(()=>a(),n(a),u(a),HC.default.globalAgent,t.socketConnectionTimeout)}},l=new c;return Ixt.default.gte(process.version,"v11.7.0")&&(GC.default.globalAgent=s,HC.default.globalAgent=l),Ixt.default.gte(process.version,"v10.0.0")?(GC.default.get=(0,VC.bindHttpMethod)(vEn,s,t.forceGlobalAgent),GC.default.request=(0,VC.bindHttpMethod)(DEn,s,t.forceGlobalAgent),HC.default.get=(0,VC.bindHttpMethod)(yEn,l,t.forceGlobalAgent),HC.default.request=(0,VC.bindHttpMethod)(EEn,l,t.forceGlobalAgent)):Lxt.warn("attempt to initialize global-agent in unsupported Node.js version was ignored"),r},AEn=xEn;HJ.default=AEn});var q9e=N(KJ=>{"use strict";Object.defineProperty(KJ,"__esModule",{value:!0});Object.defineProperty(KJ,"createGlobalProxyAgent",{enumerable:!0,get:function(){return FEn.default}});Object.defineProperty(KJ,"createProxyController",{enumerable:!0,get:function(){return _En.default}});var FEn=Mxt(qxt()),_En=Mxt(N9e());function Mxt(e){return e&&e.__esModule?e:{default:e}}});var Uxt=N(YJ=>{"use strict";Object.defineProperty(YJ,"__esModule",{value:!0});YJ.default=void 0;var BEn=SEn(yP()),wEn=q9e();function SEn(e){return e&&e.__esModule?e:{default:e}}var OEn=BEn.default.child({namespace:"bootstrap"}),TEn=e=>global.GLOBAL_AGENT?(OEn.warn("found global.GLOBAL_AGENT; second attempt to bootstrap global-agent was ignored"),!1):(global.GLOBAL_AGENT=(0,wEn.createGlobalProxyAgent)(e),!0),PEn=TEn;YJ.default=PEn});var $xt=N(M9e=>{"use strict";Object.defineProperty(M9e,"__esModule",{value:!0});Object.defineProperty(M9e,"bootstrap",{enumerable:!0,get:function(){return kEn.default}});var kEn=REn(Uxt());function REn(e){return e&&e.__esModule?e:{default:e}}});var zxt=N(XJ=>{"use strict";Object.defineProperty(XJ,"__esModule",{value:!0});Object.defineProperty(XJ,"bootstrap",{enumerable:!0,get:function(){return IEn.bootstrap}});Object.defineProperty(XJ,"createGlobalProxyAgent",{enumerable:!0,get:function(){return jEn.createGlobalProxyAgent}});var IEn=$xt(),jEn=q9e()});var JJ,LEn,NEn,U9e,Wxt=Bt(()=>{JJ=ot(Er()),LEn=zxt(),NEn=()=>{if(!(0,JJ.getGlobalConfig)("proxy_enable"))return;LEn.bootstrap();let t=(0,JJ.getGlobalConfig)("http_proxy"),r=(0,JJ.getGlobalConfig)("https_proxy");t&&(global.GLOBAL_AGENT.HTTP_PROXY=t),r&&(global.GLOBAL_AGENT.HTTPS_PROXY=r),process.env.NODE_TLS_REJECT_UNAUTHORIZED="0"},U9e=NEn});function xP(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,u=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-u);)n--,u--;let i=0;for(;i<n&&e.charCodeAt(i)===t.charCodeAt(i);)i++;if(n-=i,u-=i,n===0)return u;let o,s,a,c,l=0,f=0;for(;l<n;)Vxt[l]=e.charCodeAt(i+l),$9e[l]=++l;for(;f<u;)for(o=t.charCodeAt(i+f),a=f++,s=f,l=0;l<n;l++)c=o===Vxt[l]?a:a+1,a=$9e[l],s=$9e[l]=a>s?c>s?s+1:c:c>a?a+1:c;return s}var $9e,Vxt,Gxt=Bt(()=>{$9e=[],Vxt=[]});var Hxt,qEn,c5,Kxt=Bt(()=>{wr();Gxt();Hxt=ot(fr());og();qEn=e=>{e.on("command:*",([t])=>{let r=e.commands.map(u=>(0,Hxt.get)(u,"_name")),n="";r.forEach(u=>{let i=xP(u,t)<xP(n,t);xP(u,t)<=3&&i&&(n=u)}),new lP(`Unknown command ${Dt.yellow(t)}.`,n&&`Did you mean ${Dt.yellow(n)}?`),process.env.NODE_ENV!=="test"&&process.exit(1)})},c5=qEn});var ZJ,KC,z9e,QJ,Yxt,MEn,_0,Xxt=Bt(()=>{ZJ=ot(Er()),KC=ot(fr()),z9e=ot(ji());mT();QJ=ot(Cf()),Yxt=ot(sye()),MEn=e=>{if((0,KC.isEmpty)(e))return;let t=process.argv.slice(2),r=ZJ.parseArgv(t),n=(0,KC.get)(r,"output-file");if(!n)return;let u=ZJ.getAbsolutePath(n),i=(0,KC.get)(r,"output"),o={[QJ.IOutput.JSON]:JSON.stringify(e,null,2),[QJ.IOutput.YAML]:Hm.dump(e),[QJ.IOutput.RAW]:JSON.stringify(e)},s=Yxt.default.render(e,{keysColor:"bold",emptyArrayMsg:"[]"});z9e.default.writeFileSync(u,(0,KC.get)(o,i,s),"utf-8"),z9e.default.appendFileSync(u,`
|
|
348
|
-
`)},_0=MEn});function Zxt(){return[`${W9e.name}: ${W9e.version}`,`s-home: ${(0,eQ.getRootHome)()}`,`${process.platform}-${process.arch}`,`node-${process.version}`].filter(t=>t).join(", ")}async function tQ(e){let t=new Map;await r(e);async function r(u){let i=X1.default.lstatSync(u);if(typeof i=="object"&&(t.set(i.ino,i.size),i.isDirectory())){let o=X1.default.readdirSync(u);if(typeof o!="object")return;await Promise.all(o.map(s=>r(V9e.default.join(u,s))))}}return Array.from(t.values()).reduce((u,i)=>u+i,0)}var tu,eQ,X1,V9e,wl,ec,G9e,H9e,Jxt,Pt,W9e,K9e,Kbt,Qxt,rQ,eAt,YC,XC,JC,UEn,tAt,rAt,gn=Bt(()=>{tu=ot(fr());Ple();eQ=ot(Er()),X1=ot(ji()),V9e=ot(require("path")),wl=ot(Cf());Zn();mT();ec=ot(Er()),G9e=ot(a5());sJ();H9e=ot(Dl()),Jxt=ot(require("assert"));aJ();Ybt();Wxt();Kxt();Xxt();Pt=ot(Er()),W9e=fP(),K9e=(e,t=0)=>{let r=(0,tu.filter)(e,i=>i.command!=="help"),n=(0,tu.maxBy)(r,i=>(0,tu.get)(i,"command.length")).command.length,u=(0,tu.maxBy)(r,i=>(0,tu.get)(i,"description.length")).description.length;return new _B(r,{padding:{left:(0,tu.repeat)(" ",t+2)},columns:[{name:"command",width:n+2>29?n+2:29},{name:"description",width:u+10}]}).toString()},Kbt=e=>{let t=(0,tu.maxBy)(e,n=>(0,tu.get)(n,"key.length")).key.length,r=(0,tu.maxBy)(e,n=>(0,tu.get)(n,"value.length")).value.length;return new _B(e,{padding:{left:""},columns:[{name:"key",width:t+2},{name:"value",width:r+10}]}).toString()},Qxt=e=>W9e[e];rQ=(e,t="-p/--props")=>{try{return JSON.parse(e)}catch{throw new Error(`${t} parameter format error`)}},eAt=e=>(0,tu.cloneDeepWith)(e,t=>{if(!((0,tu.isObject)(t)&&!(0,tu.isArray)(t)&&!(0,tu.isFunction)(t)))return"******"}),YC=e=>{Ft.unsilent();let{output:t=wl.IOutput.DEFAULT,silent:r}=(0,eQ.parseArgv)(process.argv.slice(2));if(t!==wl.IOutput.DEFAULT){switch((0,tu.isString)(e)&&(e=oE(e)),t){case wl.IOutput.JSON:e=JSON.stringify(e,null,2);break;case wl.IOutput.YAML:e=Hm.dump(e);break;case wl.IOutput.RAW:e=JSON.stringify(e);break;default:break}Ft.write(e)}else Ft.output(e);r&&Ft.silent()},XC=async(e,t)=>{let r=ec.getGlobalConfig(oJ,Abt),n=Ft.loggerInstance.__generate(r),u=await(0,G9e.default)(r,{logger:n});try{return await u.env({cwd:process.cwd(),userAgent:ec.getUserAgent({component:u.__info}),getCredential:async()=>{let o=await new H9e.default({logger:n}).get(t),s=(0,tu.get)(o,"credential",{});return(0,tu.each)(s,a=>{Ft.loggerInstance.__setSecret([a])}),s},...e})}catch(i){throw new ec.DevsError(i.message,{stack:i.stack,exitCode:101})}},JC=async e=>{try{let t=await new H9e.default({logger:Ft}).get(e);return(0,tu.get)(t,"credential.AccountID")}catch{}},UEn=e=>{let t=process.env[wl.ALIYUN_REMOTE_PROJECT_ENV_PARAM],r,n,u;if(t){if(n=ec.getAbsolutePath(wl.ENVIRONMENT_FILE_NAME),!X1.default.existsSync(n))return null;r=ec.getYamlContent(n),u=t}else{X1.default.existsSync(e)||(e="s.yaml");let i=ec.getAbsolutePath(e);if(!X1.default.existsSync(i))return null;let o=ec.getYamlContent(i),s=(0,tu.get)(o,"env",wl.ENVIRONMENT_FILE_NAME);if(n=ec.getAbsolutePath(s),!X1.default.existsSync(n))return null;r=ec.getYamlContent(n),u=(0,tu.get)(o,"name")}if(!u)return null;if(X1.default.existsSync(wl.ENVIRONMENT_FILE_PATH)){let i=require(wl.ENVIRONMENT_FILE_PATH),o=i==null?void 0:i.find(s=>s.project===u&&s.path===n);return!(0,tu.isEmpty)(o)&&X1.default.existsSync(o.path)?o.default:null}else return null},tAt=async(e,t)=>{if(typeof e=="boolean"||(0,tu.isEmpty)(e)&&(e=UEn(t),(0,tu.isEmpty)(e)))return;X1.default.existsSync(t)||(t="s.yaml");let r=ec.getAbsolutePath(t),{env:n}=ec.getYamlContent(r),u=V9e.default.join(process.cwd(),n||wl.ENVIRONMENT_FILE_NAME),{environments:i}=ec.getYamlContent(u),o=(0,tu.find)(i,l=>l.name===e);(0,Jxt.default)(o,`The environment ${e} was not found`);let{access:s,...a}=o,c={props:{...a},command:"env",args:["deploy"]};await XC(c,s)},rAt=async e=>{let t=Ft.loggerInstance.__generate(e),r=await(0,G9e.default)(e,{logger:t});return!r||!r.getSchema?null:r.getSchema()}});var nAt=Bt(()=>{});function Y9e(){return Np.default.platform!=="win32"?Np.default.env.TERM!=="linux":!!Np.default.env.CI||!!Np.default.env.WT_SESSION||!!Np.default.env.TERMINUS_SUBLIME||Np.default.env.ConEmuTask==="{cmd::Cmder}"||Np.default.env.TERM_PROGRAM==="Terminus-Sublime"||Np.default.env.TERM_PROGRAM==="vscode"||Np.default.env.TERM==="xterm-256color"||Np.default.env.TERM==="alacritty"||Np.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Np,uAt=Bt(()=>{Np=ot(require("process"),1)});var iAt,$En,oAt,zEn,WEn,VEn,GEn,J1,AP=Bt(()=>{iAt=ot(require("process"),1);nAt();uAt();({platform:$En}=iAt.default),oAt={square:"\u2588",squareDarkShade:"\u2593",squareMediumShade:"\u2592",squareLightShade:"\u2591",squareTop:"\u2580",squareBottom:"\u2584",squareLeft:"\u258C",squareRight:"\u2590",squareCenter:"\u25A0",bullet:"\u25CF",dot:"\u2024",ellipsis:"\u2026",pointerSmall:"\u203A",triangleUp:"\u25B2",triangleUpSmall:"\u25B4",triangleDown:"\u25BC",triangleDownSmall:"\u25BE",triangleLeftSmall:"\u25C2",triangleRightSmall:"\u25B8",home:"\u2302",heart:"\u2665",musicNote:"\u266A",musicNoteBeamed:"\u266B",arrowUp:"\u2191",arrowDown:"\u2193",arrowLeft:"\u2190",arrowRight:"\u2192",arrowLeftRight:"\u2194",arrowUpDown:"\u2195",almostEqual:"\u2248",notEqual:"\u2260",lessOrEqual:"\u2264",greaterOrEqual:"\u2265",identical:"\u2261",infinity:"\u221E",subscriptZero:"\u2080",subscriptOne:"\u2081",subscriptTwo:"\u2082",subscriptThree:"\u2083",subscriptFour:"\u2084",subscriptFive:"\u2085",subscriptSix:"\u2086",subscriptSeven:"\u2087",subscriptEight:"\u2088",subscriptNine:"\u2089",oneHalf:"\xBD",oneThird:"\u2153",oneQuarter:"\xBC",oneFifth:"\u2155",oneSixth:"\u2159",oneEighth:"\u215B",twoThirds:"\u2154",twoFifths:"\u2156",threeQuarters:"\xBE",threeFifths:"\u2157",threeEighths:"\u215C",fourFifths:"\u2158",fiveSixths:"\u215A",fiveEighths:"\u215D",sevenEighths:"\u215E",line:"\u2500",lineBold:"\u2501",lineDouble:"\u2550",lineDashed0:"\u2504",lineDashed1:"\u2505",lineDashed2:"\u2508",lineDashed3:"\u2509",lineDashed4:"\u254C",lineDashed5:"\u254D",lineDashed6:"\u2574",lineDashed7:"\u2576",lineDashed8:"\u2578",lineDashed9:"\u257A",lineDashed10:"\u257C",lineDashed11:"\u257E",lineDashed12:"\u2212",lineDashed13:"\u2013",lineDashed14:"\u2010",lineDashed15:"\u2043",lineVertical:"\u2502",lineVerticalBold:"\u2503",lineVerticalDouble:"\u2551",lineVerticalDashed0:"\u2506",lineVerticalDashed1:"\u2507",lineVerticalDashed2:"\u250A",lineVerticalDashed3:"\u250B",lineVerticalDashed4:"\u254E",lineVerticalDashed5:"\u254F",lineVerticalDashed6:"\u2575",lineVerticalDashed7:"\u2577",lineVerticalDashed8:"\u2579",lineVerticalDashed9:"\u257B",lineVerticalDashed10:"\u257D",lineVerticalDashed11:"\u257F",lineDownLeft:"\u2510",lineDownLeftArc:"\u256E",lineDownBoldLeftBold:"\u2513",lineDownBoldLeft:"\u2512",lineDownLeftBold:"\u2511",lineDownDoubleLeftDouble:"\u2557",lineDownDoubleLeft:"\u2556",lineDownLeftDouble:"\u2555",lineDownRight:"\u250C",lineDownRightArc:"\u256D",lineDownBoldRightBold:"\u250F",lineDownBoldRight:"\u250E",lineDownRightBold:"\u250D",lineDownDoubleRightDouble:"\u2554",lineDownDoubleRight:"\u2553",lineDownRightDouble:"\u2552",lineUpLeft:"\u2518",lineUpLeftArc:"\u256F",lineUpBoldLeftBold:"\u251B",lineUpBoldLeft:"\u251A",lineUpLeftBold:"\u2519",lineUpDoubleLeftDouble:"\u255D",lineUpDoubleLeft:"\u255C",lineUpLeftDouble:"\u255B",lineUpRight:"\u2514",lineUpRightArc:"\u2570",lineUpBoldRightBold:"\u2517",lineUpBoldRight:"\u2516",lineUpRightBold:"\u2515",lineUpDoubleRightDouble:"\u255A",lineUpDoubleRight:"\u2559",lineUpRightDouble:"\u2558",lineUpDownLeft:"\u2524",lineUpBoldDownBoldLeftBold:"\u252B",lineUpBoldDownBoldLeft:"\u2528",lineUpDownLeftBold:"\u2525",lineUpBoldDownLeftBold:"\u2529",lineUpDownBoldLeftBold:"\u252A",lineUpDownBoldLeft:"\u2527",lineUpBoldDownLeft:"\u2526",lineUpDoubleDownDoubleLeftDouble:"\u2563",lineUpDoubleDownDoubleLeft:"\u2562",lineUpDownLeftDouble:"\u2561",lineUpDownRight:"\u251C",lineUpBoldDownBoldRightBold:"\u2523",lineUpBoldDownBoldRight:"\u2520",lineUpDownRightBold:"\u251D",lineUpBoldDownRightBold:"\u2521",lineUpDownBoldRightBold:"\u2522",lineUpDownBoldRight:"\u251F",lineUpBoldDownRight:"\u251E",lineUpDoubleDownDoubleRightDouble:"\u2560",lineUpDoubleDownDoubleRight:"\u255F",lineUpDownRightDouble:"\u255E",lineDownLeftRight:"\u252C",lineDownBoldLeftBoldRightBold:"\u2533",lineDownLeftBoldRightBold:"\u252F",lineDownBoldLeftRight:"\u2530",lineDownBoldLeftBoldRight:"\u2531",lineDownBoldLeftRightBold:"\u2532",lineDownLeftRightBold:"\u252E",lineDownLeftBoldRight:"\u252D",lineDownDoubleLeftDoubleRightDouble:"\u2566",lineDownDoubleLeftRight:"\u2565",lineDownLeftDoubleRightDouble:"\u2564",lineUpLeftRight:"\u2534",lineUpBoldLeftBoldRightBold:"\u253B",lineUpLeftBoldRightBold:"\u2537",lineUpBoldLeftRight:"\u2538",lineUpBoldLeftBoldRight:"\u2539",lineUpBoldLeftRightBold:"\u253A",lineUpLeftRightBold:"\u2536",lineUpLeftBoldRight:"\u2535",lineUpDoubleLeftDoubleRightDouble:"\u2569",lineUpDoubleLeftRight:"\u2568",lineUpLeftDoubleRightDouble:"\u2567",lineUpDownLeftRight:"\u253C",lineUpBoldDownBoldLeftBoldRightBold:"\u254B",lineUpDownBoldLeftBoldRightBold:"\u2548",lineUpBoldDownLeftBoldRightBold:"\u2547",lineUpBoldDownBoldLeftRightBold:"\u254A",lineUpBoldDownBoldLeftBoldRight:"\u2549",lineUpBoldDownLeftRight:"\u2540",lineUpDownBoldLeftRight:"\u2541",lineUpDownLeftBoldRight:"\u253D",lineUpDownLeftRightBold:"\u253E",lineUpBoldDownBoldLeftRight:"\u2542",lineUpDownLeftBoldRightBold:"\u253F",lineUpBoldDownLeftBoldRight:"\u2543",lineUpBoldDownLeftRightBold:"\u2544",lineUpDownBoldLeftBoldRight:"\u2545",lineUpDownBoldLeftRightBold:"\u2546",lineUpDoubleDownDoubleLeftDoubleRightDouble:"\u256C",lineUpDoubleDownDoubleLeftRight:"\u256B",lineUpDownLeftDoubleRightDouble:"\u256A",lineCross:"\u2573",lineBackslash:"\u2572",lineSlash:"\u2571"},zEn={...oAt,...$En==="linux"?{circleQuestionMark:"?\u20DD",questionMarkPrefix:"?\u20DD"}:{circleQuestionMark:"?",questionMarkPrefix:"?"},tick:"\u2714",info:"\u2139",warning:"\u26A0",cross:"\u2718",squareSmall:"\u25FB",squareSmallFilled:"\u25FC",circle:"\u25EF",circleFilled:"\u25C9",circleDotted:"\u25CC",circleDouble:"\u25CE",circleCircle:"\u24DE",circleCross:"\u24E7",circlePipe:"\u24BE",radioOn:"\u25C9",radioOff:"\u25EF",checkboxOn:"\u2612",checkboxOff:"\u2610",checkboxCircleOn:"\u24E7",checkboxCircleOff:"\u24BE",pointer:"\u276F",triangleUpOutline:"\u25B3",triangleLeft:"\u25C0",triangleRight:"\u25B6",lozenge:"\u25C6",lozengeOutline:"\u25C7",hamburger:"\u2630",smiley:"\u32E1",mustache:"\u0DF4",star:"\u2605",play:"\u25B6",nodejs:"\u2B22",oneSeventh:"\u2150",oneNinth:"\u2151",oneTenth:"\u2152"},WEn={...oAt,tick:"\u221A",info:"i",warning:"\u203C",cross:"\xD7",squareSmall:"\u25A1",squareSmallFilled:"\u25A0",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(\u25CB)",circleCross:"(\xD7)",circlePipe:"(\u2502)",circleQuestionMark:"(?)",radioOn:"(*)",radioOff:"( )",checkboxOn:"[\xD7]",checkboxOff:"[ ]",checkboxCircleOn:"(\xD7)",checkboxCircleOff:"( )",questionMarkPrefix:"\uFF1F",pointer:">",triangleUpOutline:"\u2206",triangleLeft:"\u25C4",triangleRight:"\u25BA",lozenge:"\u2666",lozengeOutline:"\u25CA",hamburger:"\u2261",smiley:"\u263A",mustache:"\u250C\u2500\u2510",star:"\u2736",play:"\u25BA",nodejs:"\u2666",oneSeventh:"1/7",oneNinth:"1/9",oneTenth:"1/10"},VEn=Y9e(),GEn=VEn?zEn:WEn,J1=GEn});var FP=N((Awu,cAt)=>{"use strict";function sAt(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}var aAt=cAt.exports=function(e,t,r="async"){return typeof t=="string"&&(r=t,t=void 0),t=t||function(){},function(){var n=arguments,u=this,i=new Promise(function(o,s){var a=!1;let c=function(g){a&&console.warn("Run-async promise already resolved."),a=!0,o(g)};var l=!1;let f=function(g){l&&console.warn("Run-async promise already rejected."),l=!0,s(g)};var p=!1,h=!1,d=!1,m=function(){return d?(console.warn("Run-async async() called outside a valid run-async context, callback will be ignored."),function(){}):(h&&console.warn(`Run-async wrapped function (async) returned a promise.
|
|
348
|
+
`)},_0=MEn});function Zxt(){return[`${W9e.name}: ${W9e.version}`,`s-home: ${(0,eQ.getRootHome)()}`,`${process.platform}-${process.arch}`,`node-${process.version}`].filter(t=>t).join(", ")}async function tQ(e){let t=new Map;await r(e);async function r(u){let i=X1.default.lstatSync(u);if(typeof i=="object"&&(t.set(i.ino,i.size),i.isDirectory())){let o=X1.default.readdirSync(u);if(typeof o!="object")return;await Promise.all(o.map(s=>r(V9e.default.join(u,s))))}}return Array.from(t.values()).reduce((u,i)=>u+i,0)}var tu,eQ,X1,V9e,wl,ec,G9e,H9e,Jxt,Pt,W9e,K9e,Kbt,Qxt,rQ,eAt,YC,XC,JC,UEn,tAt,rAt,gn=Bt(()=>{tu=ot(fr());Ple();eQ=ot(Er()),X1=ot(ji()),V9e=ot(require("path")),wl=ot(Cf());Zn();mT();ec=ot(Er()),G9e=ot(a5());sJ();H9e=ot(Dl()),Jxt=ot(require("assert"));aJ();Ybt();Wxt();Kxt();Xxt();Pt=ot(Er()),W9e=fP(),K9e=(e,t=0)=>{let r=(0,tu.filter)(e,i=>i.command!=="help"),n=(0,tu.maxBy)(r,i=>(0,tu.get)(i,"command.length")).command.length,u=(0,tu.maxBy)(r,i=>(0,tu.get)(i,"description.length")).description.length;return new _B(r,{padding:{left:(0,tu.repeat)(" ",t+2)},columns:[{name:"command",width:n+2>29?n+2:29},{name:"description",width:u+10}]}).toString()},Kbt=e=>{let t=(0,tu.maxBy)(e,n=>(0,tu.get)(n,"key.length")).key.length,r=(0,tu.maxBy)(e,n=>(0,tu.get)(n,"value.length")).value.length;return new _B(e,{padding:{left:""},columns:[{name:"key",width:t+2},{name:"value",width:r+10}]}).toString()},Qxt=e=>W9e[e];rQ=(e,t="-p/--props")=>{try{return JSON.parse(e)}catch{throw new Error(`${t} parameter format error`)}},eAt=e=>(0,tu.cloneDeepWith)(e,t=>{if(!((0,tu.isObject)(t)||(0,tu.isArray)(t)&&!(0,tu.isFunction)(t)))return"******"}),YC=e=>{Ft.unsilent();let{output:t=wl.IOutput.DEFAULT,silent:r}=(0,eQ.parseArgv)(process.argv.slice(2));if(t!==wl.IOutput.DEFAULT){switch((0,tu.isString)(e)&&(e=oE(e)),t){case wl.IOutput.JSON:e=JSON.stringify(e,null,2);break;case wl.IOutput.YAML:e=Hm.dump(e);break;case wl.IOutput.RAW:e=JSON.stringify(e);break;default:break}Ft.write(e)}else Ft.output(e);r&&Ft.silent()},XC=async(e,t)=>{let r=ec.getGlobalConfig(oJ,Abt),n=Ft.loggerInstance.__generate(r),u=await(0,G9e.default)(r,{logger:n});try{return await u.env({cwd:process.cwd(),userAgent:ec.getUserAgent({component:u.__info}),getCredential:async()=>{let o=await new H9e.default({logger:n}).get(t),s=(0,tu.get)(o,"credential",{});return(0,tu.each)(s,a=>{Ft.loggerInstance.__setSecret([a])}),s},...e})}catch(i){throw new ec.DevsError(i.message,{stack:i.stack,exitCode:101})}},JC=async e=>{try{let t=await new H9e.default({logger:Ft}).get(e);return(0,tu.get)(t,"credential.AccountID")}catch{}},UEn=e=>{let t=process.env[wl.ALIYUN_REMOTE_PROJECT_ENV_PARAM],r,n,u;if(t){if(n=ec.getAbsolutePath(wl.ENVIRONMENT_FILE_NAME),!X1.default.existsSync(n))return null;r=ec.getYamlContent(n),u=t}else{X1.default.existsSync(e)||(e="s.yaml");let i=ec.getAbsolutePath(e);if(!X1.default.existsSync(i))return null;let o=ec.getYamlContent(i),s=(0,tu.get)(o,"env",wl.ENVIRONMENT_FILE_NAME);if(n=ec.getAbsolutePath(s),!X1.default.existsSync(n))return null;r=ec.getYamlContent(n),u=(0,tu.get)(o,"name")}if(!u)return null;if(X1.default.existsSync(wl.ENVIRONMENT_FILE_PATH)){let i=require(wl.ENVIRONMENT_FILE_PATH),o=i==null?void 0:i.find(s=>s.project===u&&s.path===n);return!(0,tu.isEmpty)(o)&&X1.default.existsSync(o.path)?o.default:null}else return null},tAt=async(e,t)=>{if(typeof e=="boolean"||(0,tu.isEmpty)(e)&&(e=UEn(t),(0,tu.isEmpty)(e)))return;X1.default.existsSync(t)||(t="s.yaml");let r=ec.getAbsolutePath(t),{env:n}=ec.getYamlContent(r),u=V9e.default.join(process.cwd(),n||wl.ENVIRONMENT_FILE_NAME),{environments:i}=ec.getYamlContent(u),o=(0,tu.find)(i,l=>l.name===e);(0,Jxt.default)(o,`The environment ${e} was not found`);let{access:s,...a}=o,c={props:{...a},command:"env",args:["deploy"]};await XC(c,s)},rAt=async e=>{let t=Ft.loggerInstance.__generate(e),r=await(0,G9e.default)(e,{logger:t});return!r||!r.getSchema?null:r.getSchema()}});var nAt=Bt(()=>{});function Y9e(){return Np.default.platform!=="win32"?Np.default.env.TERM!=="linux":!!Np.default.env.CI||!!Np.default.env.WT_SESSION||!!Np.default.env.TERMINUS_SUBLIME||Np.default.env.ConEmuTask==="{cmd::Cmder}"||Np.default.env.TERM_PROGRAM==="Terminus-Sublime"||Np.default.env.TERM_PROGRAM==="vscode"||Np.default.env.TERM==="xterm-256color"||Np.default.env.TERM==="alacritty"||Np.default.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var Np,uAt=Bt(()=>{Np=ot(require("process"),1)});var iAt,$En,oAt,zEn,WEn,VEn,GEn,J1,AP=Bt(()=>{iAt=ot(require("process"),1);nAt();uAt();({platform:$En}=iAt.default),oAt={square:"\u2588",squareDarkShade:"\u2593",squareMediumShade:"\u2592",squareLightShade:"\u2591",squareTop:"\u2580",squareBottom:"\u2584",squareLeft:"\u258C",squareRight:"\u2590",squareCenter:"\u25A0",bullet:"\u25CF",dot:"\u2024",ellipsis:"\u2026",pointerSmall:"\u203A",triangleUp:"\u25B2",triangleUpSmall:"\u25B4",triangleDown:"\u25BC",triangleDownSmall:"\u25BE",triangleLeftSmall:"\u25C2",triangleRightSmall:"\u25B8",home:"\u2302",heart:"\u2665",musicNote:"\u266A",musicNoteBeamed:"\u266B",arrowUp:"\u2191",arrowDown:"\u2193",arrowLeft:"\u2190",arrowRight:"\u2192",arrowLeftRight:"\u2194",arrowUpDown:"\u2195",almostEqual:"\u2248",notEqual:"\u2260",lessOrEqual:"\u2264",greaterOrEqual:"\u2265",identical:"\u2261",infinity:"\u221E",subscriptZero:"\u2080",subscriptOne:"\u2081",subscriptTwo:"\u2082",subscriptThree:"\u2083",subscriptFour:"\u2084",subscriptFive:"\u2085",subscriptSix:"\u2086",subscriptSeven:"\u2087",subscriptEight:"\u2088",subscriptNine:"\u2089",oneHalf:"\xBD",oneThird:"\u2153",oneQuarter:"\xBC",oneFifth:"\u2155",oneSixth:"\u2159",oneEighth:"\u215B",twoThirds:"\u2154",twoFifths:"\u2156",threeQuarters:"\xBE",threeFifths:"\u2157",threeEighths:"\u215C",fourFifths:"\u2158",fiveSixths:"\u215A",fiveEighths:"\u215D",sevenEighths:"\u215E",line:"\u2500",lineBold:"\u2501",lineDouble:"\u2550",lineDashed0:"\u2504",lineDashed1:"\u2505",lineDashed2:"\u2508",lineDashed3:"\u2509",lineDashed4:"\u254C",lineDashed5:"\u254D",lineDashed6:"\u2574",lineDashed7:"\u2576",lineDashed8:"\u2578",lineDashed9:"\u257A",lineDashed10:"\u257C",lineDashed11:"\u257E",lineDashed12:"\u2212",lineDashed13:"\u2013",lineDashed14:"\u2010",lineDashed15:"\u2043",lineVertical:"\u2502",lineVerticalBold:"\u2503",lineVerticalDouble:"\u2551",lineVerticalDashed0:"\u2506",lineVerticalDashed1:"\u2507",lineVerticalDashed2:"\u250A",lineVerticalDashed3:"\u250B",lineVerticalDashed4:"\u254E",lineVerticalDashed5:"\u254F",lineVerticalDashed6:"\u2575",lineVerticalDashed7:"\u2577",lineVerticalDashed8:"\u2579",lineVerticalDashed9:"\u257B",lineVerticalDashed10:"\u257D",lineVerticalDashed11:"\u257F",lineDownLeft:"\u2510",lineDownLeftArc:"\u256E",lineDownBoldLeftBold:"\u2513",lineDownBoldLeft:"\u2512",lineDownLeftBold:"\u2511",lineDownDoubleLeftDouble:"\u2557",lineDownDoubleLeft:"\u2556",lineDownLeftDouble:"\u2555",lineDownRight:"\u250C",lineDownRightArc:"\u256D",lineDownBoldRightBold:"\u250F",lineDownBoldRight:"\u250E",lineDownRightBold:"\u250D",lineDownDoubleRightDouble:"\u2554",lineDownDoubleRight:"\u2553",lineDownRightDouble:"\u2552",lineUpLeft:"\u2518",lineUpLeftArc:"\u256F",lineUpBoldLeftBold:"\u251B",lineUpBoldLeft:"\u251A",lineUpLeftBold:"\u2519",lineUpDoubleLeftDouble:"\u255D",lineUpDoubleLeft:"\u255C",lineUpLeftDouble:"\u255B",lineUpRight:"\u2514",lineUpRightArc:"\u2570",lineUpBoldRightBold:"\u2517",lineUpBoldRight:"\u2516",lineUpRightBold:"\u2515",lineUpDoubleRightDouble:"\u255A",lineUpDoubleRight:"\u2559",lineUpRightDouble:"\u2558",lineUpDownLeft:"\u2524",lineUpBoldDownBoldLeftBold:"\u252B",lineUpBoldDownBoldLeft:"\u2528",lineUpDownLeftBold:"\u2525",lineUpBoldDownLeftBold:"\u2529",lineUpDownBoldLeftBold:"\u252A",lineUpDownBoldLeft:"\u2527",lineUpBoldDownLeft:"\u2526",lineUpDoubleDownDoubleLeftDouble:"\u2563",lineUpDoubleDownDoubleLeft:"\u2562",lineUpDownLeftDouble:"\u2561",lineUpDownRight:"\u251C",lineUpBoldDownBoldRightBold:"\u2523",lineUpBoldDownBoldRight:"\u2520",lineUpDownRightBold:"\u251D",lineUpBoldDownRightBold:"\u2521",lineUpDownBoldRightBold:"\u2522",lineUpDownBoldRight:"\u251F",lineUpBoldDownRight:"\u251E",lineUpDoubleDownDoubleRightDouble:"\u2560",lineUpDoubleDownDoubleRight:"\u255F",lineUpDownRightDouble:"\u255E",lineDownLeftRight:"\u252C",lineDownBoldLeftBoldRightBold:"\u2533",lineDownLeftBoldRightBold:"\u252F",lineDownBoldLeftRight:"\u2530",lineDownBoldLeftBoldRight:"\u2531",lineDownBoldLeftRightBold:"\u2532",lineDownLeftRightBold:"\u252E",lineDownLeftBoldRight:"\u252D",lineDownDoubleLeftDoubleRightDouble:"\u2566",lineDownDoubleLeftRight:"\u2565",lineDownLeftDoubleRightDouble:"\u2564",lineUpLeftRight:"\u2534",lineUpBoldLeftBoldRightBold:"\u253B",lineUpLeftBoldRightBold:"\u2537",lineUpBoldLeftRight:"\u2538",lineUpBoldLeftBoldRight:"\u2539",lineUpBoldLeftRightBold:"\u253A",lineUpLeftRightBold:"\u2536",lineUpLeftBoldRight:"\u2535",lineUpDoubleLeftDoubleRightDouble:"\u2569",lineUpDoubleLeftRight:"\u2568",lineUpLeftDoubleRightDouble:"\u2567",lineUpDownLeftRight:"\u253C",lineUpBoldDownBoldLeftBoldRightBold:"\u254B",lineUpDownBoldLeftBoldRightBold:"\u2548",lineUpBoldDownLeftBoldRightBold:"\u2547",lineUpBoldDownBoldLeftRightBold:"\u254A",lineUpBoldDownBoldLeftBoldRight:"\u2549",lineUpBoldDownLeftRight:"\u2540",lineUpDownBoldLeftRight:"\u2541",lineUpDownLeftBoldRight:"\u253D",lineUpDownLeftRightBold:"\u253E",lineUpBoldDownBoldLeftRight:"\u2542",lineUpDownLeftBoldRightBold:"\u253F",lineUpBoldDownLeftBoldRight:"\u2543",lineUpBoldDownLeftRightBold:"\u2544",lineUpDownBoldLeftBoldRight:"\u2545",lineUpDownBoldLeftRightBold:"\u2546",lineUpDoubleDownDoubleLeftDoubleRightDouble:"\u256C",lineUpDoubleDownDoubleLeftRight:"\u256B",lineUpDownLeftDoubleRightDouble:"\u256A",lineCross:"\u2573",lineBackslash:"\u2572",lineSlash:"\u2571"},zEn={...oAt,...$En==="linux"?{circleQuestionMark:"?\u20DD",questionMarkPrefix:"?\u20DD"}:{circleQuestionMark:"?",questionMarkPrefix:"?"},tick:"\u2714",info:"\u2139",warning:"\u26A0",cross:"\u2718",squareSmall:"\u25FB",squareSmallFilled:"\u25FC",circle:"\u25EF",circleFilled:"\u25C9",circleDotted:"\u25CC",circleDouble:"\u25CE",circleCircle:"\u24DE",circleCross:"\u24E7",circlePipe:"\u24BE",radioOn:"\u25C9",radioOff:"\u25EF",checkboxOn:"\u2612",checkboxOff:"\u2610",checkboxCircleOn:"\u24E7",checkboxCircleOff:"\u24BE",pointer:"\u276F",triangleUpOutline:"\u25B3",triangleLeft:"\u25C0",triangleRight:"\u25B6",lozenge:"\u25C6",lozengeOutline:"\u25C7",hamburger:"\u2630",smiley:"\u32E1",mustache:"\u0DF4",star:"\u2605",play:"\u25B6",nodejs:"\u2B22",oneSeventh:"\u2150",oneNinth:"\u2151",oneTenth:"\u2152"},WEn={...oAt,tick:"\u221A",info:"i",warning:"\u203C",cross:"\xD7",squareSmall:"\u25A1",squareSmallFilled:"\u25A0",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(\u25CB)",circleCross:"(\xD7)",circlePipe:"(\u2502)",circleQuestionMark:"(?)",radioOn:"(*)",radioOff:"( )",checkboxOn:"[\xD7]",checkboxOff:"[ ]",checkboxCircleOn:"(\xD7)",checkboxCircleOff:"( )",questionMarkPrefix:"\uFF1F",pointer:">",triangleUpOutline:"\u2206",triangleLeft:"\u25C4",triangleRight:"\u25BA",lozenge:"\u2666",lozengeOutline:"\u25CA",hamburger:"\u2261",smiley:"\u263A",mustache:"\u250C\u2500\u2510",star:"\u2736",play:"\u25BA",nodejs:"\u2666",oneSeventh:"1/7",oneNinth:"1/9",oneTenth:"1/10"},VEn=Y9e(),GEn=VEn?zEn:WEn,J1=GEn});var FP=N((Awu,cAt)=>{"use strict";function sAt(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}var aAt=cAt.exports=function(e,t,r="async"){return typeof t=="string"&&(r=t,t=void 0),t=t||function(){},function(){var n=arguments,u=this,i=new Promise(function(o,s){var a=!1;let c=function(g){a&&console.warn("Run-async promise already resolved."),a=!0,o(g)};var l=!1;let f=function(g){l&&console.warn("Run-async promise already rejected."),l=!0,s(g)};var p=!1,h=!1,d=!1,m=function(){return d?(console.warn("Run-async async() called outside a valid run-async context, callback will be ignored."),function(){}):(h&&console.warn(`Run-async wrapped function (async) returned a promise.
|
|
349
349
|
Calls to async() callback can have unexpected results.`),p=!0,function(g,D){g?f(g):c(D)})},v;u&&r&&Proxy?v=new Proxy(u,{get(g,D){return D===r?(D in g&&console.warn(`${r} property is been shadowed by run-sync`),m):Reflect.get(...arguments)}}):v={[r]:m};var y=e.apply(v,Array.prototype.slice.call(n));p?sAt(y)&&console.warn("Run-async wrapped function (sync) returned a promise but async() callback must be executed to resolve."):sAt(y)?(h=!0,y.then(c,f)):c(y),d=!0});return i.then(t.bind(null,null),t),i}};aAt.cb=function(e,t){return aAt(function(){var r=Array.prototype.slice.call(arguments);return r.length===e.length-1&&r.push(this.async()),e.apply(this,r)},t)}});function HEn(e,t){return{value:e,key:t||{}}}function la(e){let t=(0,oo.fromEvent)(e.input,"keypress",HEn).pipe((0,oo.takeUntil)((0,oo.fromEvent)(e,"close"))).pipe((0,oo.filter)(({key:r})=>r.name!=="enter"&&r.name!=="return"));return{line:(0,oo.fromEvent)(e,"line"),keypress:t,normalizedUpKey:t.pipe((0,oo.filter)(({key:r})=>r.name==="up"||r.name==="k"||r.name==="p"&&r.ctrl),(0,oo.share)()),normalizedDownKey:t.pipe((0,oo.filter)(({key:r})=>r.name==="down"||r.name==="j"||r.name==="n"&&r.ctrl),(0,oo.share)()),numberKey:t.pipe((0,oo.filter)(r=>r.value&&"123456789".indexOf(r.value)>=0),(0,oo.map)(r=>Number(r.value)),(0,oo.share)()),spaceKey:t.pipe((0,oo.filter)(({key:r})=>r&&r.name==="space"),(0,oo.share)()),aKey:t.pipe((0,oo.filter)(({key:r})=>r&&r.name==="a"),(0,oo.share)()),iKey:t.pipe((0,oo.filter)(({key:r})=>r&&r.name==="i"),(0,oo.share)())}}var oo,Q1=Bt(()=>{oo=ot(No(),1)});var B0,QC=Bt(()=>{wr();B0=class{constructor(t,r={}){let{isInfinite:n=!0}=r;this.lastIndex=0,this.screen=t,this.isInfinite=n}paginate(t,r,n){n=n||7;let u=t.split(`
|
|
350
350
|
`);if(this.screen&&(u=this.screen.breakLines(u),r=u.map(o=>o.length).splice(0,r).reduce((o,s)=>o+s,0),u=u.flat()),u.length<=n)return t;let i=this.isInfinite?this.getInfiniteLines(u,r,n):this.getFiniteLines(u,r,n);return this.lastIndex=r,i.join(`
|
|
351
351
|
`)+`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serverless-devs/s",
|
|
3
|
-
"version": "3.0.3-
|
|
3
|
+
"version": "3.0.3-edadad05",
|
|
4
4
|
"description": "Serverless devs tool, serverless developer tool, supports Alibaba cloud, AWS, azure, baidu cloud, Huawei cloud, Google cloud and Tencent cloud.",
|
|
5
5
|
"homepage": "https://www.serverless-devs.com",
|
|
6
6
|
"keywords": [
|