@serverless-devs/s 2.0.96 → 2.0.97-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/clean/index.js +1 -1
- package/lib/cli/index.js +1 -1
- package/lib/component/index.js +1 -1
- package/lib/config/add/index.js +1 -1
- package/lib/config/delete/index.js +1 -1
- package/lib/config/get/index.js +1 -1
- package/lib/config/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/init/index.js +1 -1
- package/lib/set/analysis/index.js +1 -1
- package/lib/set/index.js +1 -1
- package/lib/set/locale/index.js +1 -1
- package/lib/set/registry/index.js +1 -1
- package/lib/set/workspace/index.js +1 -1
- package/lib/update-notifier/index.js +1 -1
- package/package.json +2 -2
- package/CODE_OF_CONDUCT.md +0 -5
- package/CONTRIBUTING.md +0 -189
- package/CONTRIBUTORS.md +0 -148
- package/docs/readme.md +0 -100
- package/docs/zh/awesome.md +0 -20
- package/docs/zh/cicd.md +0 -231
- package/docs/zh/cli_design.md +0 -100
- package/docs/zh/command/clean.md +0 -63
- package/docs/zh/command/cli.md +0 -92
- package/docs/zh/command/component.md +0 -75
- package/docs/zh/command/config.md +0 -274
- package/docs/zh/command/custom.md +0 -73
- package/docs/zh/command/init.md +0 -149
- package/docs/zh/command/readme.md +0 -76
- package/docs/zh/command/set.md +0 -195
- package/docs/zh/default_provider_config/alibabacloud.md +0 -82
- package/docs/zh/default_provider_config/aws.md +0 -12
- package/docs/zh/default_provider_config/azure.md +0 -9
- package/docs/zh/default_provider_config/baiducloud.md +0 -8
- package/docs/zh/default_provider_config/gcp.md +0 -21
- package/docs/zh/default_provider_config/huaweicloud.md +0 -52
- package/docs/zh/default_provider_config/readme.md +0 -9
- package/docs/zh/default_provider_config/tencentcloud.md +0 -41
- package/docs/zh/install.md +0 -52
- package/docs/zh/package_dev.md +0 -142
- package/docs/zh/quick_start.md +0 -297
- package/docs/zh/readme.md +0 -92
- package/docs/zh/tool.md +0 -101
- package/docs/zh/yaml.md +0 -207
- package/docs/zh/yaml_and_cli.md +0 -67
- package/jest.setup.ts +0 -37
- package/spec/readme.md +0 -59
- package/spec/zh/0.0.1/readme.md +0 -47
- package/spec/zh/0.0.1/serverless_package_model/1.purpose_and_goals.md +0 -3
- package/spec/zh/0.0.1/serverless_package_model/2.overview_and_terminology.md +0 -14
- package/spec/zh/0.0.1/serverless_package_model/3.package_model.md +0 -434
- package/spec/zh/0.0.1/serverless_package_model/4.application_scopes.md +0 -3
- package/spec/zh/0.0.1/serverless_package_model/5.design_principles.md +0 -3
- package/spec/zh/0.0.1/serverless_package_model/readme.md +0 -12
- package/spec/zh/0.0.1/serverless_registry_model/1.purpose_and_goals.md +0 -18
- package/spec/zh/0.0.1/serverless_registry_model/2.overview_and_terminology.md +0 -18
- package/spec/zh/0.0.1/serverless_registry_model/3.registry_model.md +0 -61
- package/spec/zh/0.0.1/serverless_registry_model/4.application_scopes.md +0 -6
- package/spec/zh/0.0.1/serverless_registry_model/5.design_principles.md +0 -3
- package/spec/zh/0.0.1/serverless_registry_model/readme.md +0 -12
- package/spec/zh/0.0.1/serverless_user_model/1.purpose_and_goals.md +0 -3
- package/spec/zh/0.0.1/serverless_user_model/2.overview_and_terminology.md +0 -16
- package/spec/zh/0.0.1/serverless_user_model/3.user_model.md +0 -218
- package/spec/zh/0.0.1/serverless_user_model/4.application_scopes.md +0 -4
- package/spec/zh/0.0.1/serverless_user_model/5.design_principles.md +0 -3
- package/spec/zh/0.0.1/serverless_user_model/readme.md +0 -12
- package/test/ci.sh +0 -33
- package/test/cli/cli-manager.test.ts +0 -64
- package/test/config/get.test.ts +0 -12
- package/test/helloworld.test.ts +0 -7
- package/test/start-fc-http-nodejs12/code/index.js +0 -47
- package/test/start-fc-http-nodejs12/s.yaml +0 -38
- package/test/utils/index.test.ts +0 -8
- package/test/utils/storage.test.ts +0 -19
- package/tsconfig.json +0 -37
|
@@ -19,7 +19,7 @@ ${n.slice(0,77)}...`,e,r);this.name="ParseError",this.statusCode=t,this.statusMe
|
|
|
19
19
|
`).map(n=>NE(n,t,r)).join(`
|
|
20
20
|
`)});var Sl=D((ng,bs)=>{"use strict";var Le=$t(),Dt=Kc(),Il=Qc(),Ol=rl(),xE=sl(),Tl=ul(),Ll=Al(),pt=`
|
|
21
21
|
`,ae=" ",SE=()=>{let{env:e,stdout:t,stderr:r}=process;return t&&t.columns?t.columns:r&&r.columns?r.columns:e.COLUMNS?Number.parseInt(e.COLUMNS,10):80},Nl=e=>typeof e=="number"?{top:e,right:e*3,bottom:e,left:e*3}:N({top:0,right:0,bottom:0,left:0},e),_E=e=>{let t=["topLeft","topRight","bottomRight","bottomLeft","vertical","horizontal"],r;if(typeof e=="string"){if(r=Ol[e],!r)throw new TypeError(`Invalid border style: ${e}`)}else{for(let n of t)if(!e[n]||typeof e[n]!="string")throw new TypeError(`Invalid border style: ${n}`);r=e}return r},BE=(e,t,r)=>{let n="",s=Le(e);switch(r){case"left":n=e+t.slice(s);break;case"right":n=t.slice(s)+e;break;default:t=t.slice(s),t.length%2==1?(t=t.slice(Math.floor(t.length/2)),n=t.slice(1)+e+t):(t=t.slice(t.length/2),n=t+e+t);break}return n},PE=(e,t,r,n)=>{e=Tl(e,{align:n});let s=e.split(pt),i=Il(e),u=r-t.left-t.right;if(i>u){let l=[];for(let f of s){let c=Ll(f,u,{hard:!0}),p=Tl(c,{align:n}).split(`
|
|
22
|
-
`),A=Math.max(...p.map(y=>Le(y)));for(let y of p){let v;switch(n){case"center":v=ae.repeat((u-A)/2)+y;break;case"right":v=ae.repeat(u-A)+y;break;default:v=y;break}l.push(v)}}s=l}n==="center"&&i<u?s=s.map(l=>ae.repeat((u-i)/2)+l):n==="right"&&i<u&&(s=s.map(l=>ae.repeat(u-i)+l));let o=ae.repeat(t.left),a=ae.repeat(t.right);return s=s.map(l=>o+l+a),s=s.map(l=>{if(r-Le(l)>0)switch(n){case"center":return l+ae.repeat(r-Le(l));case"right":return l+ae.repeat(r-Le(l));default:return l+ae.repeat(r-Le(l))}return l}),t.top>0&&(s=new Array(t.top).fill(ae.repeat(r)).concat(s)),t.bottom>0&&(s=s.concat(new Array(t.bottom).fill(ae.repeat(r)))),s.join(pt)},vs=e=>e.match(/^#(?:[0-f]{3}){1,2}$/i),xl=e=>typeof e=="string"&&(Dt[e]||vs(e)),qE=e=>vs(e)?Dt.hex(e):Dt[e],$E=e=>vs(e)?Dt.bgHex(e):Dt[xE(["bg",e])];bs.exports=(e,t)=>{t=N({padding:0,borderStyle:"single",dimBorder:!1,textAlignment:"left",float:"left",titleAlignment:"left"},t),t.align&&(t.textAlignment=t.align);let r=2;if(t.borderColor&&!xl(t.borderColor))throw new Error(`${t.borderColor} is not a valid borderColor`);if(t.backgroundColor&&!xl(t.backgroundColor))throw new Error(`${t.backgroundColor} is not a valid backgroundColor`);let n=_E(t.borderStyle),s=Nl(t.padding),i=Nl(t.margin),u=B=>{let I=t.borderColor?qE(t.borderColor)(B):B;return t.dimBorder?Dt.dim(I):I},o=B=>t.backgroundColor?$E(t.backgroundColor)(B):B,a=SE(),l=Il(Ll(e,a-r,{hard:!0,trim:!1}))+s.left+s.right,f=t.title&&t.title.slice(0,a-4-i.left-i.right);if(f&&(f=` ${f} `,Le(f)>l&&(l=Le(f))),i.left&&i.right&&l+r+i.left+i.right>a){let I=(a-l-r)/(i.left+i.right);i.left=Math.max(0,Math.floor(i.left*I)),i.right=Math.max(0,Math.floor(i.right*I))}l=Math.min(l,a-r-i.left-i.right),e=PE(e,s,l,t.textAlignment);let c=ae.repeat(i.left);if(t.float==="center"){let B=Math.max((a-l-r)/2,0);c=ae.repeat(B)}else if(t.float==="right"){let B=Math.max(a-l-i.right-r,0);c=ae.repeat(B)}let h=n.horizontal.repeat(l),p=u(pt.repeat(i.top)+c+n.topLeft+(f?BE(f,h,t.titleAlignment):h)+n.topRight),A=u(c+n.bottomLeft+h+n.bottomRight+pt.repeat(i.bottom)),y=u(n.vertical),v=l+r+i.left>=a?"":pt,z=e.split(pt).map(B=>c+y+o(B)+y).join(v);return p+v+z+v+A};bs.exports._borderStyles=Ol});var _l=D(Ne=>{"use strict";Object.defineProperty(Ne,"__esModule",{value:!0});Ne.UPDATE_CHECK_INTERVAL=Ne.DEFAULT_REGIRSTRY=Ne.PROCESS_ENV_TEMPLATE_NAME=void 0;Ne.PROCESS_ENV_TEMPLATE_NAME="templateFile";Ne.DEFAULT_REGIRSTRY="http://registry.devsapp.cn/simple";Ne.UPDATE_CHECK_INTERVAL=1e3*60*60*12});var Bl=D((ig,jE)=>{jE.exports={name:"@serverless-devs/s",version:"2.0.96",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:"MIT",repository:{type:"git",url:"https://github.com/Serverless-Devs/Serverless-Devs"},bugs:{url:"https://github.com/Serverless-Devs/Serverless-Devs/issues"},scripts:{prewatch:"rm -rf lib/* && cp -r ./src/daemon ./lib",watch:"tsc -w",test:"npx jest",prebuild:"rm -rf lib/*",build:"tsc && cp -r ./src/daemon ./lib",postbuild:"./shell/postbuild.sh","test:cov":"jest --coverage",lint:"npm run typecheck && f2elint scan -i src",fix:"f2elint fix",typecheck:"npx tsc -p tsconfig.json --noEmit",update:"rm -rf yarn.lock && rm -rf package-lock.json && rm -rf node_modules && yarn",beta:"npm publish --tag=beta"},main:"./lib/index.js",bin:{s:"bin/s"},devDependencies:{"@types/jest":"^27.0.1","@types/lodash":"^4.14.168","@types/node":"^14.0.23","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","babel-eslint":"^10.1.0",boxen:"^5.0.0",commander:"^6.0.0",dotenv:"^10.0.0",esbuild:"^0.13.6",eslint:"^7.7.0","eslint-config-prettier":"^7.2.0","eslint-plugin-import":"^2.20.1","eslint-plugin-prettier":"^3.1.2",husky:"^4.2.3",inquirer:"^8.2.0","inquirer-autocomplete-prompt":"^1.3.0",jest:"^27.1.0","latest-version":"^5.1.0","lint-staged":"^10.0.8",lodash:"^4.17.20","os-locale":"5.0.0",prettier:"^2.2.1",semver:"^7.3.5","semver-diff":"^3.1.1","ts-jest":"^27.0.1","ts-node":"^9.1.1","tty-table":"^4.1.5",typescript:"^4.1.3"},"lint-staged":{"**/*.{js,jsx,ts}":"f2elint exec eslint"},jest:{coverageDirectory:"coverage",testEnvironment:"node",coverageProvider:"v8",preset:"ts-jest",testMatch:["**/test/**/*test.[jt]s"],setupFilesAfterEnv:["./jest.setup.ts"]},dependencies:{"@serverless-devs/core":"latest"}}});var Ml=D((T,kl)=>{T=kl.exports=_;var H;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?H=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:H=function(){};T.SEMVER_SPEC_VERSION="2.0.0";var Cs=256,Sr=Number.MAX_SAFE_INTEGER||9007199254740991,Rs=16,M=T.re=[],g=T.src=[],E=T.tokens={},Pl=0;function q(e){E[e]=Pl++}q("NUMERICIDENTIFIER");g[E.NUMERICIDENTIFIER]="0|[1-9]\\d*";q("NUMERICIDENTIFIERLOOSE");g[E.NUMERICIDENTIFIERLOOSE]="[0-9]+";q("NONNUMERICIDENTIFIER");g[E.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";q("MAINVERSION");g[E.MAINVERSION]="("+g[E.NUMERICIDENTIFIER]+")\\.("+g[E.NUMERICIDENTIFIER]+")\\.("+g[E.NUMERICIDENTIFIER]+")";q("MAINVERSIONLOOSE");g[E.MAINVERSIONLOOSE]="("+g[E.NUMERICIDENTIFIERLOOSE]+")\\.("+g[E.NUMERICIDENTIFIERLOOSE]+")\\.("+g[E.NUMERICIDENTIFIERLOOSE]+")";q("PRERELEASEIDENTIFIER");g[E.PRERELEASEIDENTIFIER]="(?:"+g[E.NUMERICIDENTIFIER]+"|"+g[E.NONNUMERICIDENTIFIER]+")";q("PRERELEASEIDENTIFIERLOOSE");g[E.PRERELEASEIDENTIFIERLOOSE]="(?:"+g[E.NUMERICIDENTIFIERLOOSE]+"|"+g[E.NONNUMERICIDENTIFIER]+")";q("PRERELEASE");g[E.PRERELEASE]="(?:-("+g[E.PRERELEASEIDENTIFIER]+"(?:\\."+g[E.PRERELEASEIDENTIFIER]+")*))";q("PRERELEASELOOSE");g[E.PRERELEASELOOSE]="(?:-?("+g[E.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+g[E.PRERELEASEIDENTIFIERLOOSE]+")*))";q("BUILDIDENTIFIER");g[E.BUILDIDENTIFIER]="[0-9A-Za-z-]+";q("BUILD");g[E.BUILD]="(?:\\+("+g[E.BUILDIDENTIFIER]+"(?:\\."+g[E.BUILDIDENTIFIER]+")*))";q("FULL");q("FULLPLAIN");g[E.FULLPLAIN]="v?"+g[E.MAINVERSION]+g[E.PRERELEASE]+"?"+g[E.BUILD]+"?";g[E.FULL]="^"+g[E.FULLPLAIN]+"$";q("LOOSEPLAIN");g[E.LOOSEPLAIN]="[v=\\s]*"+g[E.MAINVERSIONLOOSE]+g[E.PRERELEASELOOSE]+"?"+g[E.BUILD]+"?";q("LOOSE");g[E.LOOSE]="^"+g[E.LOOSEPLAIN]+"$";q("GTLT");g[E.GTLT]="((?:<|>)?=?)";q("XRANGEIDENTIFIERLOOSE");g[E.XRANGEIDENTIFIERLOOSE]=g[E.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";q("XRANGEIDENTIFIER");g[E.XRANGEIDENTIFIER]=g[E.NUMERICIDENTIFIER]+"|x|X|\\*";q("XRANGEPLAIN");g[E.XRANGEPLAIN]="[v=\\s]*("+g[E.XRANGEIDENTIFIER]+")(?:\\.("+g[E.XRANGEIDENTIFIER]+")(?:\\.("+g[E.XRANGEIDENTIFIER]+")(?:"+g[E.PRERELEASE]+")?"+g[E.BUILD]+"?)?)?";q("XRANGEPLAINLOOSE");g[E.XRANGEPLAINLOOSE]="[v=\\s]*("+g[E.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+g[E.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+g[E.XRANGEIDENTIFIERLOOSE]+")(?:"+g[E.PRERELEASELOOSE]+")?"+g[E.BUILD]+"?)?)?";q("XRANGE");g[E.XRANGE]="^"+g[E.GTLT]+"\\s*"+g[E.XRANGEPLAIN]+"$";q("XRANGELOOSE");g[E.XRANGELOOSE]="^"+g[E.GTLT]+"\\s*"+g[E.XRANGEPLAINLOOSE]+"$";q("COERCE");g[E.COERCE]="(^|[^\\d])(\\d{1,"+Rs+"})(?:\\.(\\d{1,"+Rs+"}))?(?:\\.(\\d{1,"+Rs+"}))?(?:$|[^\\d])";q("COERCERTL");M[E.COERCERTL]=new RegExp(g[E.COERCE],"g");q("LONETILDE");g[E.LONETILDE]="(?:~>?)";q("TILDETRIM");g[E.TILDETRIM]="(\\s*)"+g[E.LONETILDE]+"\\s+";M[E.TILDETRIM]=new RegExp(g[E.TILDETRIM],"g");var kE="$1~";q("TILDE");g[E.TILDE]="^"+g[E.LONETILDE]+g[E.XRANGEPLAIN]+"$";q("TILDELOOSE");g[E.TILDELOOSE]="^"+g[E.LONETILDE]+g[E.XRANGEPLAINLOOSE]+"$";q("LONECARET");g[E.LONECARET]="(?:\\^)";q("CARETTRIM");g[E.CARETTRIM]="(\\s*)"+g[E.LONECARET]+"\\s+";M[E.CARETTRIM]=new RegExp(g[E.CARETTRIM],"g");var ME="$1^";q("CARET");g[E.CARET]="^"+g[E.LONECARET]+g[E.XRANGEPLAIN]+"$";q("CARETLOOSE");g[E.CARETLOOSE]="^"+g[E.LONECARET]+g[E.XRANGEPLAINLOOSE]+"$";q("COMPARATORLOOSE");g[E.COMPARATORLOOSE]="^"+g[E.GTLT]+"\\s*("+g[E.LOOSEPLAIN]+")$|^$";q("COMPARATOR");g[E.COMPARATOR]="^"+g[E.GTLT]+"\\s*("+g[E.FULLPLAIN]+")$|^$";q("COMPARATORTRIM");g[E.COMPARATORTRIM]="(\\s*)"+g[E.GTLT]+"\\s*("+g[E.LOOSEPLAIN]+"|"+g[E.XRANGEPLAIN]+")";M[E.COMPARATORTRIM]=new RegExp(g[E.COMPARATORTRIM],"g");var UE="$1$2$3";q("HYPHENRANGE");g[E.HYPHENRANGE]="^\\s*("+g[E.XRANGEPLAIN]+")\\s+-\\s+("+g[E.XRANGEPLAIN]+")\\s*$";q("HYPHENRANGELOOSE");g[E.HYPHENRANGELOOSE]="^\\s*("+g[E.XRANGEPLAINLOOSE]+")\\s+-\\s+("+g[E.XRANGEPLAINLOOSE]+")\\s*$";q("STAR");g[E.STAR]="(<|>)?=?\\s*\\*";for(xe=0;xe<Pl;xe++)H(xe,g[xe]),M[xe]||(M[xe]=new RegExp(g[xe]));var xe;T.parse=ze;function ze(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof _)return e;if(typeof e!="string"||e.length>Cs)return null;var r=t.loose?M[E.LOOSE]:M[E.FULL];if(!r.test(e))return null;try{return new _(e,t)}catch{return null}}T.valid=GE;function GE(e,t){var r=ze(e,t);return r?r.version:null}T.clean=HE;function HE(e,t){var r=ze(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}T.SemVer=_;function _(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof _){if(e.loose===t.loose)return e;e=e.version}else if(typeof e!="string")throw new TypeError("Invalid Version: "+e);if(e.length>Cs)throw new TypeError("version is longer than "+Cs+" characters");if(!(this instanceof _))return new _(e,t);H("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?M[E.LOOSE]:M[E.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Sr||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Sr||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Sr||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var s=+n;if(s>=0&&s<Sr)return s}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}_.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};_.prototype.toString=function(){return this.version};_.prototype.compare=function(e){return H("SemVer.compare",this.version,this.options,e),e instanceof _||(e=new _(e,this.options)),this.compareMain(e)||this.comparePre(e)};_.prototype.compareMain=function(e){return e instanceof _||(e=new _(e,this.options)),We(this.major,e.major)||We(this.minor,e.minor)||We(this.patch,e.patch)};_.prototype.comparePre=function(e){if(e instanceof _||(e=new _(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],n=e.prerelease[t];if(H("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return We(r,n)}while(++t)};_.prototype.compareBuild=function(e){e instanceof _||(e=new _(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(H("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return We(r,n)}while(++t)};_.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t),this.inc("pre",t);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this};T.inc=XE;function XE(e,t,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new _(e,r).inc(t,n).version}catch{return null}}T.diff=VE;function VE(e,t){if(Fs(e,t))return null;var r=ze(e),n=ze(t),s="";if(r.prerelease.length||n.prerelease.length){s="pre";var i="prerelease"}for(var u in r)if((u==="major"||u==="minor"||u==="patch")&&r[u]!==n[u])return s+u;return i}T.compareIdentifiers=We;var ql=/^[0-9]+$/;function We(e,t){var r=ql.test(e),n=ql.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}T.rcompareIdentifiers=zE;function zE(e,t){return We(t,e)}T.major=WE;function WE(e,t){return new _(e,t).major}T.minor=YE;function YE(e,t){return new _(e,t).minor}T.patch=JE;function JE(e,t){return new _(e,t).patch}T.compare=we;function we(e,t,r){return new _(e,r).compare(new _(t,r))}T.compareLoose=KE;function KE(e,t){return we(e,t,!0)}T.compareBuild=ZE;function ZE(e,t,r){var n=new _(e,r),s=new _(t,r);return n.compare(s)||n.compareBuild(s)}T.rcompare=QE;function QE(e,t,r){return we(t,e,r)}T.sort=e1;function e1(e,t){return e.sort(function(r,n){return T.compareBuild(r,n,t)})}T.rsort=t1;function t1(e,t){return e.sort(function(r,n){return T.compareBuild(n,r,t)})}T.gt=Gt;function Gt(e,t,r){return we(e,t,r)>0}T.lt=_r;function _r(e,t,r){return we(e,t,r)<0}T.eq=Fs;function Fs(e,t,r){return we(e,t,r)===0}T.neq=$l;function $l(e,t,r){return we(e,t,r)!==0}T.gte=ws;function ws(e,t,r){return we(e,t,r)>=0}T.lte=As;function As(e,t,r){return we(e,t,r)<=0}T.cmp=Br;function Br(e,t,r,n){switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return Fs(e,r,n);case"!=":return $l(e,r,n);case">":return Gt(e,r,n);case">=":return ws(e,r,n);case"<":return _r(e,r,n);case"<=":return As(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}T.Comparator=de;function de(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof de){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof de))return new de(e,t);H("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===dt?this.value="":this.value=this.operator+this.semver.version,H("comp",this)}var dt={};de.prototype.parse=function(e){var t=this.options.loose?M[E.COMPARATORLOOSE]:M[E.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new _(r[2],this.options.loose):this.semver=dt};de.prototype.toString=function(){return this.value};de.prototype.test=function(e){if(H("Comparator.test",e,this.options.loose),this.semver===dt||e===dt)return!0;if(typeof e=="string")try{e=new _(e,this.options)}catch{return!1}return Br(e,this.operator,this.semver,this.options)};de.prototype.intersects=function(e,t){if(!(e instanceof de))throw new TypeError("a Comparator is required");(!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new J(e.value,t),Pr(this.value,r,t));if(e.operator==="")return e.value===""?!0:(r=new J(this.value,t),Pr(e.semver,r,t));var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),s=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),i=this.semver.version===e.semver.version,u=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),o=Br(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),a=Br(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||s||i&&u||o||a};T.Range=J;function J(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof J)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new J(e.raw,t);if(e instanceof de)return new J(e.value,t);if(!(this instanceof J))return new J(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}J.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range};J.prototype.toString=function(){return this.range};J.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?M[E.HYPHENRANGELOOSE]:M[E.HYPHENRANGE];e=e.replace(r,f1),H("hyphen replace",e),e=e.replace(M[E.COMPARATORTRIM],UE),H("comparator trim",e,M[E.COMPARATORTRIM]),e=e.replace(M[E.TILDETRIM],kE),e=e.replace(M[E.CARETTRIM],ME),e=e.split(/\s+/).join(" ");var n=t?M[E.COMPARATORLOOSE]:M[E.COMPARATOR],s=e.split(" ").map(function(i){return n1(i,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(s=s.filter(function(i){return!!i.match(n)})),s=s.map(function(i){return new de(i,this.options)},this),s};J.prototype.intersects=function(e,t){if(!(e instanceof J))throw new TypeError("a Range is required");return this.set.some(function(r){return jl(r,t)&&e.set.some(function(n){return jl(n,t)&&r.every(function(s){return n.every(function(i){return s.intersects(i,t)})})})})};function jl(e,t){for(var r=!0,n=e.slice(),s=n.pop();r&&n.length;)r=n.every(function(i){return s.intersects(i,t)}),s=n.pop();return r}T.toComparators=r1;function r1(e,t){return new J(e,t).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function n1(e,t){return H("comp",e,t),e=u1(e,t),H("caret",e),e=s1(e,t),H("tildes",e),e=a1(e,t),H("xrange",e),e=l1(e,t),H("stars",e),e}function ue(e){return!e||e.toLowerCase()==="x"||e==="*"}function s1(e,t){return e.trim().split(/\s+/).map(function(r){return i1(r,t)}).join(" ")}function i1(e,t){var r=t.loose?M[E.TILDELOOSE]:M[E.TILDE];return e.replace(r,function(n,s,i,u,o){H("tilde",e,n,s,i,u,o);var a;return ue(s)?a="":ue(i)?a=">="+s+".0.0 <"+(+s+1)+".0.0":ue(u)?a=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":o?(H("replaceTilde pr",o),a=">="+s+"."+i+"."+u+"-"+o+" <"+s+"."+(+i+1)+".0"):a=">="+s+"."+i+"."+u+" <"+s+"."+(+i+1)+".0",H("tilde return",a),a})}function u1(e,t){return e.trim().split(/\s+/).map(function(r){return o1(r,t)}).join(" ")}function o1(e,t){H("caret",e,t);var r=t.loose?M[E.CARETLOOSE]:M[E.CARET];return e.replace(r,function(n,s,i,u,o){H("caret",e,n,s,i,u,o);var a;return ue(s)?a="":ue(i)?a=">="+s+".0.0 <"+(+s+1)+".0.0":ue(u)?s==="0"?a=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":a=">="+s+"."+i+".0 <"+(+s+1)+".0.0":o?(H("replaceCaret pr",o),s==="0"?i==="0"?a=">="+s+"."+i+"."+u+"-"+o+" <"+s+"."+i+"."+(+u+1):a=">="+s+"."+i+"."+u+"-"+o+" <"+s+"."+(+i+1)+".0":a=">="+s+"."+i+"."+u+"-"+o+" <"+(+s+1)+".0.0"):(H("no pr"),s==="0"?i==="0"?a=">="+s+"."+i+"."+u+" <"+s+"."+i+"."+(+u+1):a=">="+s+"."+i+"."+u+" <"+s+"."+(+i+1)+".0":a=">="+s+"."+i+"."+u+" <"+(+s+1)+".0.0"),H("caret return",a),a})}function a1(e,t){return H("replaceXRanges",e,t),e.split(/\s+/).map(function(r){return c1(r,t)}).join(" ")}function c1(e,t){e=e.trim();var r=t.loose?M[E.XRANGELOOSE]:M[E.XRANGE];return e.replace(r,function(n,s,i,u,o,a){H("xRange",e,n,s,i,u,o,a);var l=ue(i),f=l||ue(u),c=f||ue(o),h=c;return s==="="&&h&&(s=""),a=t.includePrerelease?"-0":"",l?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&h?(f&&(u=0),o=0,s===">"?(s=">=",f?(i=+i+1,u=0,o=0):(u=+u+1,o=0)):s==="<="&&(s="<",f?i=+i+1:u=+u+1),n=s+i+"."+u+"."+o+a):f?n=">="+i+".0.0"+a+" <"+(+i+1)+".0.0"+a:c&&(n=">="+i+"."+u+".0"+a+" <"+i+"."+(+u+1)+".0"+a),H("xRange return",n),n})}function l1(e,t){return H("replaceStars",e,t),e.trim().replace(M[E.STAR],"")}function f1(e,t,r,n,s,i,u,o,a,l,f,c,h){return ue(r)?t="":ue(n)?t=">="+r+".0.0":ue(s)?t=">="+r+"."+n+".0":t=">="+t,ue(a)?o="":ue(l)?o="<"+(+a+1)+".0.0":ue(f)?o="<"+a+"."+(+l+1)+".0":c?o="<="+a+"."+l+"."+f+"-"+c:o="<="+o,(t+" "+o).trim()}J.prototype.test=function(e){if(!e)return!1;if(typeof e=="string")try{e=new _(e,this.options)}catch{return!1}for(var t=0;t<this.set.length;t++)if(h1(this.set[t],e,this.options))return!0;return!1};function h1(e,t,r){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(n=0;n<e.length;n++)if(H(e[n].semver),e[n].semver!==dt&&e[n].semver.prerelease.length>0){var s=e[n].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch)return!0}return!1}return!0}T.satisfies=Pr;function Pr(e,t,r){try{t=new J(t,r)}catch{return!1}return t.test(e)}T.maxSatisfying=D1;function D1(e,t,r){var n=null,s=null;try{var i=new J(t,r)}catch{return null}return e.forEach(function(u){i.test(u)&&(!n||s.compare(u)===-1)&&(n=u,s=new _(n,r))}),n}T.minSatisfying=p1;function p1(e,t,r){var n=null,s=null;try{var i=new J(t,r)}catch{return null}return e.forEach(function(u){i.test(u)&&(!n||s.compare(u)===1)&&(n=u,s=new _(n,r))}),n}T.minVersion=d1;function d1(e,t){e=new J(e,t);var r=new _("0.0.0");if(e.test(r)||(r=new _("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n<e.set.length;++n){var s=e.set[n];s.forEach(function(i){var u=new _(i.semver.version);switch(i.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!r||Gt(r,u))&&(r=u);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}})}return r&&e.test(r)?r:null}T.validRange=E1;function E1(e,t){try{return new J(e,t).range||"*"}catch{return null}}T.ltr=m1;function m1(e,t,r){return Is(e,t,"<",r)}T.gtr=g1;function g1(e,t,r){return Is(e,t,">",r)}T.outside=Is;function Is(e,t,r,n){e=new _(e,n),t=new J(t,n);var s,i,u,o,a;switch(r){case">":s=Gt,i=As,u=_r,o=">",a=">=";break;case"<":s=_r,i=ws,u=Gt,o="<",a="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Pr(e,t,n))return!1;for(var l=0;l<t.set.length;++l){var f=t.set[l],c=null,h=null;if(f.forEach(function(p){p.semver===dt&&(p=new de(">=0.0.0")),c=c||p,h=h||p,s(p.semver,c.semver,n)?c=p:u(p.semver,h.semver,n)&&(h=p)}),c.operator===o||c.operator===a||(!h.operator||h.operator===o)&&i(e,h.semver))return!1;if(h.operator===a&&u(e,h.semver))return!1}return!0}T.prerelease=y1;function y1(e,t){var r=ze(e,t);return r&&r.prerelease.length?r.prerelease:null}T.intersects=v1;function v1(e,t,r){return e=new J(e,r),t=new J(t,r),e.intersects(t)}T.coerce=b1;function b1(e,t){if(e instanceof _)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};var r=null;if(!t.rtl)r=e.match(M[E.COERCE]);else{for(var n;(n=M[E.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),M[E.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;M[E.COERCERTL].lastIndex=-1}return r===null?null:ze(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}});var Gl=D((ug,Ul)=>{"use strict";var qr=Ml();Ul.exports=(e,t)=>{if(e=qr.parse(e),t=qr.parse(t),!(qr.compareBuild(e,t)>=0))return qr.diff(e,t)||"build"}});"use strict";var $r=exports&&exports.__assign||function(){return $r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},$r.apply(this,arguments)},C1=exports&&exports.__awaiter||function(e,t,r,n){function s(i){return i instanceof r?i:new r(function(u){u(i)})}return new(r||(r=Promise))(function(i,u){function o(f){try{l(n.next(f))}catch(c){u(c)}}function a(f){try{l(n.throw(f))}catch(c){u(c)}}function l(f){f.done?i(f.value):s(f.value).then(o,a)}l((n=n.apply(e,t||[])).next())})},R1=exports&&exports.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,s,i,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,s&&(i=l[0]&2?s.return:l[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,l[1])).done)return i;switch(s=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,s=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(f){l=[6,f],s=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},jr=exports&&exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Hl=jr(require("path")),F1=Su(),w1=jr(cc()),A1=jr(Sl()),I1=_l(),kr=jr(rn()),Ht=kr.default.fse,Mr=kr.default.chalk,Xl=kr.default.execa,O1=kr.default.getRootHome,Se=Bl(),T1=en(),L1=Gl(),N1=Hl.default.join(O1(),"config"),Ye=Hl.default.join(N1,"update-notifier.json");function Os(e){return JSON.stringify(e,null,2)}var x1=function(){function e(){Ht.existsSync(Ye)||(Ht.ensureFileSync(Ye),Ht.writeFileSync(Ye,Os({})))}return e.prototype.config=function(t){return t?require(Ye)[t]:require(Ye)},e.prototype.check=function(){return this.config("lastUpdateCheck")?Date.now()-this.config("lastUpdateCheck")>I1.UPDATE_CHECK_INTERVAL:!0},e.prototype.init=function(){return this.check()&&(0,F1.execDaemon)("update.js"),this},e.prototype.update=function(){return C1(this,void 0,void 0,function(){var t,r,n,s;return R1(this,function(i){switch(i.label){case 0:return[4,(0,w1.default)(Se.name)];case 1:return t=i.sent(),r=L1(Se.version,t),n=["major","minor"].includes(r),s={output:n?!1:T1.gt(t,Se.version),current:Se.version,latest:t,type:r,lastUpdateCheck:Date.now()},Ht.writeFileSync(Ye,Os(s)),n&&this.install(),[2]}})})},e.prototype.install=function(){try{Xl.sync("npm install "+Se.name+" -g",{shell:!0})}catch{Xl.sync("yarn global add "+Se.name,{shell:!0})}},e.prototype.notify=function(){var t=this;if(!!this.config("output")){var r="Update available "+Mr.dim(Se.version)+" "+Mr.reset("\u2192")+" "+Mr.green(this.config("latest"))+`
|
|
22
|
+
`),A=Math.max(...p.map(y=>Le(y)));for(let y of p){let v;switch(n){case"center":v=ae.repeat((u-A)/2)+y;break;case"right":v=ae.repeat(u-A)+y;break;default:v=y;break}l.push(v)}}s=l}n==="center"&&i<u?s=s.map(l=>ae.repeat((u-i)/2)+l):n==="right"&&i<u&&(s=s.map(l=>ae.repeat(u-i)+l));let o=ae.repeat(t.left),a=ae.repeat(t.right);return s=s.map(l=>o+l+a),s=s.map(l=>{if(r-Le(l)>0)switch(n){case"center":return l+ae.repeat(r-Le(l));case"right":return l+ae.repeat(r-Le(l));default:return l+ae.repeat(r-Le(l))}return l}),t.top>0&&(s=new Array(t.top).fill(ae.repeat(r)).concat(s)),t.bottom>0&&(s=s.concat(new Array(t.bottom).fill(ae.repeat(r)))),s.join(pt)},vs=e=>e.match(/^#(?:[0-f]{3}){1,2}$/i),xl=e=>typeof e=="string"&&(Dt[e]||vs(e)),qE=e=>vs(e)?Dt.hex(e):Dt[e],$E=e=>vs(e)?Dt.bgHex(e):Dt[xE(["bg",e])];bs.exports=(e,t)=>{t=N({padding:0,borderStyle:"single",dimBorder:!1,textAlignment:"left",float:"left",titleAlignment:"left"},t),t.align&&(t.textAlignment=t.align);let r=2;if(t.borderColor&&!xl(t.borderColor))throw new Error(`${t.borderColor} is not a valid borderColor`);if(t.backgroundColor&&!xl(t.backgroundColor))throw new Error(`${t.backgroundColor} is not a valid backgroundColor`);let n=_E(t.borderStyle),s=Nl(t.padding),i=Nl(t.margin),u=B=>{let I=t.borderColor?qE(t.borderColor)(B):B;return t.dimBorder?Dt.dim(I):I},o=B=>t.backgroundColor?$E(t.backgroundColor)(B):B,a=SE(),l=Il(Ll(e,a-r,{hard:!0,trim:!1}))+s.left+s.right,f=t.title&&t.title.slice(0,a-4-i.left-i.right);if(f&&(f=` ${f} `,Le(f)>l&&(l=Le(f))),i.left&&i.right&&l+r+i.left+i.right>a){let I=(a-l-r)/(i.left+i.right);i.left=Math.max(0,Math.floor(i.left*I)),i.right=Math.max(0,Math.floor(i.right*I))}l=Math.min(l,a-r-i.left-i.right),e=PE(e,s,l,t.textAlignment);let c=ae.repeat(i.left);if(t.float==="center"){let B=Math.max((a-l-r)/2,0);c=ae.repeat(B)}else if(t.float==="right"){let B=Math.max(a-l-i.right-r,0);c=ae.repeat(B)}let h=n.horizontal.repeat(l),p=u(pt.repeat(i.top)+c+n.topLeft+(f?BE(f,h,t.titleAlignment):h)+n.topRight),A=u(c+n.bottomLeft+h+n.bottomRight+pt.repeat(i.bottom)),y=u(n.vertical),v=l+r+i.left>=a?"":pt,z=e.split(pt).map(B=>c+y+o(B)+y).join(v);return p+v+z+v+A};bs.exports._borderStyles=Ol});var _l=D(Ne=>{"use strict";Object.defineProperty(Ne,"__esModule",{value:!0});Ne.UPDATE_CHECK_INTERVAL=Ne.DEFAULT_REGIRSTRY=Ne.PROCESS_ENV_TEMPLATE_NAME=void 0;Ne.PROCESS_ENV_TEMPLATE_NAME="templateFile";Ne.DEFAULT_REGIRSTRY="http://registry.devsapp.cn/simple";Ne.UPDATE_CHECK_INTERVAL=1e3*60*60*12});var Bl=D((ig,jE)=>{jE.exports={name:"@serverless-devs/s",version:"2.0.97-beta.1",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:"MIT",repository:{type:"git",url:"https://github.com/Serverless-Devs/Serverless-Devs"},bugs:{url:"https://github.com/Serverless-Devs/Serverless-Devs/issues"},scripts:{prewatch:"rm -rf lib/* && cp -r ./src/daemon ./lib",watch:"tsc -w",test:"npx jest",prebuild:"rm -rf lib/*",build:"tsc && cp -r ./src/daemon ./lib",postbuild:"./shell/postbuild.sh","test:cov":"jest --coverage",lint:"npm run typecheck && f2elint scan -i src",fix:"f2elint fix",typecheck:"npx tsc -p tsconfig.json --noEmit",update:"rm -rf yarn.lock && rm -rf package-lock.json && rm -rf node_modules && yarn",beta:"npm publish --tag=beta"},main:"./lib/index.js",bin:{s:"bin/s"},devDependencies:{"@types/jest":"^27.0.1","@types/lodash":"^4.14.168","@types/node":"^14.0.23","@typescript-eslint/eslint-plugin":"^4.14.1","@typescript-eslint/parser":"^4.14.1","babel-eslint":"^10.1.0",boxen:"^5.0.0",commander:"^6.0.0",dotenv:"^10.0.0",esbuild:"^0.13.6",eslint:"^7.7.0","eslint-config-prettier":"^7.2.0","eslint-plugin-import":"^2.20.1","eslint-plugin-prettier":"^3.1.2",husky:"^4.2.3",inquirer:"^8.2.0","inquirer-autocomplete-prompt":"^1.3.0",jest:"^27.1.0","latest-version":"^5.1.0","lint-staged":"^10.0.8",lodash:"^4.17.20","os-locale":"5.0.0",prettier:"^2.2.1",semver:"^7.3.5","semver-diff":"^3.1.1","ts-jest":"^27.0.1","ts-node":"^9.1.1","tty-table":"^4.1.5",typescript:"^4.1.3"},"lint-staged":{"**/*.{js,jsx,ts}":"f2elint exec eslint"},jest:{coverageDirectory:"coverage",testEnvironment:"node",coverageProvider:"v8",preset:"ts-jest",testMatch:["**/test/**/*test.[jt]s"],setupFilesAfterEnv:["./jest.setup.ts"]},dependencies:{"@serverless-devs/core":"beta"}}});var Ml=D((T,kl)=>{T=kl.exports=_;var H;typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?H=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:H=function(){};T.SEMVER_SPEC_VERSION="2.0.0";var Cs=256,Sr=Number.MAX_SAFE_INTEGER||9007199254740991,Rs=16,M=T.re=[],g=T.src=[],E=T.tokens={},Pl=0;function q(e){E[e]=Pl++}q("NUMERICIDENTIFIER");g[E.NUMERICIDENTIFIER]="0|[1-9]\\d*";q("NUMERICIDENTIFIERLOOSE");g[E.NUMERICIDENTIFIERLOOSE]="[0-9]+";q("NONNUMERICIDENTIFIER");g[E.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";q("MAINVERSION");g[E.MAINVERSION]="("+g[E.NUMERICIDENTIFIER]+")\\.("+g[E.NUMERICIDENTIFIER]+")\\.("+g[E.NUMERICIDENTIFIER]+")";q("MAINVERSIONLOOSE");g[E.MAINVERSIONLOOSE]="("+g[E.NUMERICIDENTIFIERLOOSE]+")\\.("+g[E.NUMERICIDENTIFIERLOOSE]+")\\.("+g[E.NUMERICIDENTIFIERLOOSE]+")";q("PRERELEASEIDENTIFIER");g[E.PRERELEASEIDENTIFIER]="(?:"+g[E.NUMERICIDENTIFIER]+"|"+g[E.NONNUMERICIDENTIFIER]+")";q("PRERELEASEIDENTIFIERLOOSE");g[E.PRERELEASEIDENTIFIERLOOSE]="(?:"+g[E.NUMERICIDENTIFIERLOOSE]+"|"+g[E.NONNUMERICIDENTIFIER]+")";q("PRERELEASE");g[E.PRERELEASE]="(?:-("+g[E.PRERELEASEIDENTIFIER]+"(?:\\."+g[E.PRERELEASEIDENTIFIER]+")*))";q("PRERELEASELOOSE");g[E.PRERELEASELOOSE]="(?:-?("+g[E.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+g[E.PRERELEASEIDENTIFIERLOOSE]+")*))";q("BUILDIDENTIFIER");g[E.BUILDIDENTIFIER]="[0-9A-Za-z-]+";q("BUILD");g[E.BUILD]="(?:\\+("+g[E.BUILDIDENTIFIER]+"(?:\\."+g[E.BUILDIDENTIFIER]+")*))";q("FULL");q("FULLPLAIN");g[E.FULLPLAIN]="v?"+g[E.MAINVERSION]+g[E.PRERELEASE]+"?"+g[E.BUILD]+"?";g[E.FULL]="^"+g[E.FULLPLAIN]+"$";q("LOOSEPLAIN");g[E.LOOSEPLAIN]="[v=\\s]*"+g[E.MAINVERSIONLOOSE]+g[E.PRERELEASELOOSE]+"?"+g[E.BUILD]+"?";q("LOOSE");g[E.LOOSE]="^"+g[E.LOOSEPLAIN]+"$";q("GTLT");g[E.GTLT]="((?:<|>)?=?)";q("XRANGEIDENTIFIERLOOSE");g[E.XRANGEIDENTIFIERLOOSE]=g[E.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";q("XRANGEIDENTIFIER");g[E.XRANGEIDENTIFIER]=g[E.NUMERICIDENTIFIER]+"|x|X|\\*";q("XRANGEPLAIN");g[E.XRANGEPLAIN]="[v=\\s]*("+g[E.XRANGEIDENTIFIER]+")(?:\\.("+g[E.XRANGEIDENTIFIER]+")(?:\\.("+g[E.XRANGEIDENTIFIER]+")(?:"+g[E.PRERELEASE]+")?"+g[E.BUILD]+"?)?)?";q("XRANGEPLAINLOOSE");g[E.XRANGEPLAINLOOSE]="[v=\\s]*("+g[E.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+g[E.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+g[E.XRANGEIDENTIFIERLOOSE]+")(?:"+g[E.PRERELEASELOOSE]+")?"+g[E.BUILD]+"?)?)?";q("XRANGE");g[E.XRANGE]="^"+g[E.GTLT]+"\\s*"+g[E.XRANGEPLAIN]+"$";q("XRANGELOOSE");g[E.XRANGELOOSE]="^"+g[E.GTLT]+"\\s*"+g[E.XRANGEPLAINLOOSE]+"$";q("COERCE");g[E.COERCE]="(^|[^\\d])(\\d{1,"+Rs+"})(?:\\.(\\d{1,"+Rs+"}))?(?:\\.(\\d{1,"+Rs+"}))?(?:$|[^\\d])";q("COERCERTL");M[E.COERCERTL]=new RegExp(g[E.COERCE],"g");q("LONETILDE");g[E.LONETILDE]="(?:~>?)";q("TILDETRIM");g[E.TILDETRIM]="(\\s*)"+g[E.LONETILDE]+"\\s+";M[E.TILDETRIM]=new RegExp(g[E.TILDETRIM],"g");var kE="$1~";q("TILDE");g[E.TILDE]="^"+g[E.LONETILDE]+g[E.XRANGEPLAIN]+"$";q("TILDELOOSE");g[E.TILDELOOSE]="^"+g[E.LONETILDE]+g[E.XRANGEPLAINLOOSE]+"$";q("LONECARET");g[E.LONECARET]="(?:\\^)";q("CARETTRIM");g[E.CARETTRIM]="(\\s*)"+g[E.LONECARET]+"\\s+";M[E.CARETTRIM]=new RegExp(g[E.CARETTRIM],"g");var ME="$1^";q("CARET");g[E.CARET]="^"+g[E.LONECARET]+g[E.XRANGEPLAIN]+"$";q("CARETLOOSE");g[E.CARETLOOSE]="^"+g[E.LONECARET]+g[E.XRANGEPLAINLOOSE]+"$";q("COMPARATORLOOSE");g[E.COMPARATORLOOSE]="^"+g[E.GTLT]+"\\s*("+g[E.LOOSEPLAIN]+")$|^$";q("COMPARATOR");g[E.COMPARATOR]="^"+g[E.GTLT]+"\\s*("+g[E.FULLPLAIN]+")$|^$";q("COMPARATORTRIM");g[E.COMPARATORTRIM]="(\\s*)"+g[E.GTLT]+"\\s*("+g[E.LOOSEPLAIN]+"|"+g[E.XRANGEPLAIN]+")";M[E.COMPARATORTRIM]=new RegExp(g[E.COMPARATORTRIM],"g");var UE="$1$2$3";q("HYPHENRANGE");g[E.HYPHENRANGE]="^\\s*("+g[E.XRANGEPLAIN]+")\\s+-\\s+("+g[E.XRANGEPLAIN]+")\\s*$";q("HYPHENRANGELOOSE");g[E.HYPHENRANGELOOSE]="^\\s*("+g[E.XRANGEPLAINLOOSE]+")\\s+-\\s+("+g[E.XRANGEPLAINLOOSE]+")\\s*$";q("STAR");g[E.STAR]="(<|>)?=?\\s*\\*";for(xe=0;xe<Pl;xe++)H(xe,g[xe]),M[xe]||(M[xe]=new RegExp(g[xe]));var xe;T.parse=ze;function ze(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof _)return e;if(typeof e!="string"||e.length>Cs)return null;var r=t.loose?M[E.LOOSE]:M[E.FULL];if(!r.test(e))return null;try{return new _(e,t)}catch{return null}}T.valid=GE;function GE(e,t){var r=ze(e,t);return r?r.version:null}T.clean=HE;function HE(e,t){var r=ze(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}T.SemVer=_;function _(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof _){if(e.loose===t.loose)return e;e=e.version}else if(typeof e!="string")throw new TypeError("Invalid Version: "+e);if(e.length>Cs)throw new TypeError("version is longer than "+Cs+" characters");if(!(this instanceof _))return new _(e,t);H("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?M[E.LOOSE]:M[E.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Sr||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Sr||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Sr||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(function(n){if(/^[0-9]+$/.test(n)){var s=+n;if(s>=0&&s<Sr)return s}return n}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}_.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version};_.prototype.toString=function(){return this.version};_.prototype.compare=function(e){return H("SemVer.compare",this.version,this.options,e),e instanceof _||(e=new _(e,this.options)),this.compareMain(e)||this.comparePre(e)};_.prototype.compareMain=function(e){return e instanceof _||(e=new _(e,this.options)),We(this.major,e.major)||We(this.minor,e.minor)||We(this.patch,e.patch)};_.prototype.comparePre=function(e){if(e instanceof _||(e=new _(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],n=e.prerelease[t];if(H("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return We(r,n)}while(++t)};_.prototype.compareBuild=function(e){e instanceof _||(e=new _(e,this.options));var t=0;do{var r=this.build[t],n=e.build[t];if(H("prerelease compare",t,r,n),r===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(r===void 0)return-1;if(r===n)continue;return We(r,n)}while(++t)};_.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",t),this.inc("pre",t);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{for(var r=this.prerelease.length;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this};T.inc=XE;function XE(e,t,r,n){typeof r=="string"&&(n=r,r=void 0);try{return new _(e,r).inc(t,n).version}catch{return null}}T.diff=VE;function VE(e,t){if(Fs(e,t))return null;var r=ze(e),n=ze(t),s="";if(r.prerelease.length||n.prerelease.length){s="pre";var i="prerelease"}for(var u in r)if((u==="major"||u==="minor"||u==="patch")&&r[u]!==n[u])return s+u;return i}T.compareIdentifiers=We;var ql=/^[0-9]+$/;function We(e,t){var r=ql.test(e),n=ql.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}T.rcompareIdentifiers=zE;function zE(e,t){return We(t,e)}T.major=WE;function WE(e,t){return new _(e,t).major}T.minor=YE;function YE(e,t){return new _(e,t).minor}T.patch=JE;function JE(e,t){return new _(e,t).patch}T.compare=we;function we(e,t,r){return new _(e,r).compare(new _(t,r))}T.compareLoose=KE;function KE(e,t){return we(e,t,!0)}T.compareBuild=ZE;function ZE(e,t,r){var n=new _(e,r),s=new _(t,r);return n.compare(s)||n.compareBuild(s)}T.rcompare=QE;function QE(e,t,r){return we(t,e,r)}T.sort=e1;function e1(e,t){return e.sort(function(r,n){return T.compareBuild(r,n,t)})}T.rsort=t1;function t1(e,t){return e.sort(function(r,n){return T.compareBuild(n,r,t)})}T.gt=Gt;function Gt(e,t,r){return we(e,t,r)>0}T.lt=_r;function _r(e,t,r){return we(e,t,r)<0}T.eq=Fs;function Fs(e,t,r){return we(e,t,r)===0}T.neq=$l;function $l(e,t,r){return we(e,t,r)!==0}T.gte=ws;function ws(e,t,r){return we(e,t,r)>=0}T.lte=As;function As(e,t,r){return we(e,t,r)<=0}T.cmp=Br;function Br(e,t,r,n){switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return Fs(e,r,n);case"!=":return $l(e,r,n);case">":return Gt(e,r,n);case">=":return ws(e,r,n);case"<":return _r(e,r,n);case"<=":return As(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}T.Comparator=de;function de(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof de){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof de))return new de(e,t);H("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===dt?this.value="":this.value=this.operator+this.semver.version,H("comp",this)}var dt={};de.prototype.parse=function(e){var t=this.options.loose?M[E.COMPARATORLOOSE]:M[E.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=r[1]!==void 0?r[1]:"",this.operator==="="&&(this.operator=""),r[2]?this.semver=new _(r[2],this.options.loose):this.semver=dt};de.prototype.toString=function(){return this.value};de.prototype.test=function(e){if(H("Comparator.test",e,this.options.loose),this.semver===dt||e===dt)return!0;if(typeof e=="string")try{e=new _(e,this.options)}catch{return!1}return Br(e,this.operator,this.semver,this.options)};de.prototype.intersects=function(e,t){if(!(e instanceof de))throw new TypeError("a Comparator is required");(!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1});var r;if(this.operator==="")return this.value===""?!0:(r=new J(e.value,t),Pr(this.value,r,t));if(e.operator==="")return e.value===""?!0:(r=new J(this.value,t),Pr(e.semver,r,t));var n=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">"),s=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<"),i=this.semver.version===e.semver.version,u=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<="),o=Br(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"),a=Br(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return n||s||i&&u||o||a};T.Range=J;function J(e,t){if((!t||typeof t!="object")&&(t={loose:!!t,includePrerelease:!1}),e instanceof J)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new J(e.raw,t);if(e instanceof de)return new J(e.value,t);if(!(this instanceof J))return new J(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(r){return this.parseRange(r.trim())},this).filter(function(r){return r.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}J.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range};J.prototype.toString=function(){return this.range};J.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?M[E.HYPHENRANGELOOSE]:M[E.HYPHENRANGE];e=e.replace(r,f1),H("hyphen replace",e),e=e.replace(M[E.COMPARATORTRIM],UE),H("comparator trim",e,M[E.COMPARATORTRIM]),e=e.replace(M[E.TILDETRIM],kE),e=e.replace(M[E.CARETTRIM],ME),e=e.split(/\s+/).join(" ");var n=t?M[E.COMPARATORLOOSE]:M[E.COMPARATOR],s=e.split(" ").map(function(i){return n1(i,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(s=s.filter(function(i){return!!i.match(n)})),s=s.map(function(i){return new de(i,this.options)},this),s};J.prototype.intersects=function(e,t){if(!(e instanceof J))throw new TypeError("a Range is required");return this.set.some(function(r){return jl(r,t)&&e.set.some(function(n){return jl(n,t)&&r.every(function(s){return n.every(function(i){return s.intersects(i,t)})})})})};function jl(e,t){for(var r=!0,n=e.slice(),s=n.pop();r&&n.length;)r=n.every(function(i){return s.intersects(i,t)}),s=n.pop();return r}T.toComparators=r1;function r1(e,t){return new J(e,t).set.map(function(r){return r.map(function(n){return n.value}).join(" ").trim().split(" ")})}function n1(e,t){return H("comp",e,t),e=u1(e,t),H("caret",e),e=s1(e,t),H("tildes",e),e=a1(e,t),H("xrange",e),e=l1(e,t),H("stars",e),e}function ue(e){return!e||e.toLowerCase()==="x"||e==="*"}function s1(e,t){return e.trim().split(/\s+/).map(function(r){return i1(r,t)}).join(" ")}function i1(e,t){var r=t.loose?M[E.TILDELOOSE]:M[E.TILDE];return e.replace(r,function(n,s,i,u,o){H("tilde",e,n,s,i,u,o);var a;return ue(s)?a="":ue(i)?a=">="+s+".0.0 <"+(+s+1)+".0.0":ue(u)?a=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":o?(H("replaceTilde pr",o),a=">="+s+"."+i+"."+u+"-"+o+" <"+s+"."+(+i+1)+".0"):a=">="+s+"."+i+"."+u+" <"+s+"."+(+i+1)+".0",H("tilde return",a),a})}function u1(e,t){return e.trim().split(/\s+/).map(function(r){return o1(r,t)}).join(" ")}function o1(e,t){H("caret",e,t);var r=t.loose?M[E.CARETLOOSE]:M[E.CARET];return e.replace(r,function(n,s,i,u,o){H("caret",e,n,s,i,u,o);var a;return ue(s)?a="":ue(i)?a=">="+s+".0.0 <"+(+s+1)+".0.0":ue(u)?s==="0"?a=">="+s+"."+i+".0 <"+s+"."+(+i+1)+".0":a=">="+s+"."+i+".0 <"+(+s+1)+".0.0":o?(H("replaceCaret pr",o),s==="0"?i==="0"?a=">="+s+"."+i+"."+u+"-"+o+" <"+s+"."+i+"."+(+u+1):a=">="+s+"."+i+"."+u+"-"+o+" <"+s+"."+(+i+1)+".0":a=">="+s+"."+i+"."+u+"-"+o+" <"+(+s+1)+".0.0"):(H("no pr"),s==="0"?i==="0"?a=">="+s+"."+i+"."+u+" <"+s+"."+i+"."+(+u+1):a=">="+s+"."+i+"."+u+" <"+s+"."+(+i+1)+".0":a=">="+s+"."+i+"."+u+" <"+(+s+1)+".0.0"),H("caret return",a),a})}function a1(e,t){return H("replaceXRanges",e,t),e.split(/\s+/).map(function(r){return c1(r,t)}).join(" ")}function c1(e,t){e=e.trim();var r=t.loose?M[E.XRANGELOOSE]:M[E.XRANGE];return e.replace(r,function(n,s,i,u,o,a){H("xRange",e,n,s,i,u,o,a);var l=ue(i),f=l||ue(u),c=f||ue(o),h=c;return s==="="&&h&&(s=""),a=t.includePrerelease?"-0":"",l?s===">"||s==="<"?n="<0.0.0-0":n="*":s&&h?(f&&(u=0),o=0,s===">"?(s=">=",f?(i=+i+1,u=0,o=0):(u=+u+1,o=0)):s==="<="&&(s="<",f?i=+i+1:u=+u+1),n=s+i+"."+u+"."+o+a):f?n=">="+i+".0.0"+a+" <"+(+i+1)+".0.0"+a:c&&(n=">="+i+"."+u+".0"+a+" <"+i+"."+(+u+1)+".0"+a),H("xRange return",n),n})}function l1(e,t){return H("replaceStars",e,t),e.trim().replace(M[E.STAR],"")}function f1(e,t,r,n,s,i,u,o,a,l,f,c,h){return ue(r)?t="":ue(n)?t=">="+r+".0.0":ue(s)?t=">="+r+"."+n+".0":t=">="+t,ue(a)?o="":ue(l)?o="<"+(+a+1)+".0.0":ue(f)?o="<"+a+"."+(+l+1)+".0":c?o="<="+a+"."+l+"."+f+"-"+c:o="<="+o,(t+" "+o).trim()}J.prototype.test=function(e){if(!e)return!1;if(typeof e=="string")try{e=new _(e,this.options)}catch{return!1}for(var t=0;t<this.set.length;t++)if(h1(this.set[t],e,this.options))return!0;return!1};function h1(e,t,r){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(n=0;n<e.length;n++)if(H(e[n].semver),e[n].semver!==dt&&e[n].semver.prerelease.length>0){var s=e[n].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch)return!0}return!1}return!0}T.satisfies=Pr;function Pr(e,t,r){try{t=new J(t,r)}catch{return!1}return t.test(e)}T.maxSatisfying=D1;function D1(e,t,r){var n=null,s=null;try{var i=new J(t,r)}catch{return null}return e.forEach(function(u){i.test(u)&&(!n||s.compare(u)===-1)&&(n=u,s=new _(n,r))}),n}T.minSatisfying=p1;function p1(e,t,r){var n=null,s=null;try{var i=new J(t,r)}catch{return null}return e.forEach(function(u){i.test(u)&&(!n||s.compare(u)===1)&&(n=u,s=new _(n,r))}),n}T.minVersion=d1;function d1(e,t){e=new J(e,t);var r=new _("0.0.0");if(e.test(r)||(r=new _("0.0.0-0"),e.test(r)))return r;r=null;for(var n=0;n<e.set.length;++n){var s=e.set[n];s.forEach(function(i){var u=new _(i.semver.version);switch(i.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!r||Gt(r,u))&&(r=u);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}})}return r&&e.test(r)?r:null}T.validRange=E1;function E1(e,t){try{return new J(e,t).range||"*"}catch{return null}}T.ltr=m1;function m1(e,t,r){return Is(e,t,"<",r)}T.gtr=g1;function g1(e,t,r){return Is(e,t,">",r)}T.outside=Is;function Is(e,t,r,n){e=new _(e,n),t=new J(t,n);var s,i,u,o,a;switch(r){case">":s=Gt,i=As,u=_r,o=">",a=">=";break;case"<":s=_r,i=ws,u=Gt,o="<",a="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Pr(e,t,n))return!1;for(var l=0;l<t.set.length;++l){var f=t.set[l],c=null,h=null;if(f.forEach(function(p){p.semver===dt&&(p=new de(">=0.0.0")),c=c||p,h=h||p,s(p.semver,c.semver,n)?c=p:u(p.semver,h.semver,n)&&(h=p)}),c.operator===o||c.operator===a||(!h.operator||h.operator===o)&&i(e,h.semver))return!1;if(h.operator===a&&u(e,h.semver))return!1}return!0}T.prerelease=y1;function y1(e,t){var r=ze(e,t);return r&&r.prerelease.length?r.prerelease:null}T.intersects=v1;function v1(e,t,r){return e=new J(e,r),t=new J(t,r),e.intersects(t)}T.coerce=b1;function b1(e,t){if(e instanceof _)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};var r=null;if(!t.rtl)r=e.match(M[E.COERCE]);else{for(var n;(n=M[E.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||n.index+n[0].length!==r.index+r[0].length)&&(r=n),M[E.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;M[E.COERCERTL].lastIndex=-1}return r===null?null:ze(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}});var Gl=D((ug,Ul)=>{"use strict";var qr=Ml();Ul.exports=(e,t)=>{if(e=qr.parse(e),t=qr.parse(t),!(qr.compareBuild(e,t)>=0))return qr.diff(e,t)||"build"}});"use strict";var $r=exports&&exports.__assign||function(){return $r=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s])}return e},$r.apply(this,arguments)},C1=exports&&exports.__awaiter||function(e,t,r,n){function s(i){return i instanceof r?i:new r(function(u){u(i)})}return new(r||(r=Promise))(function(i,u){function o(f){try{l(n.next(f))}catch(c){u(c)}}function a(f){try{l(n.throw(f))}catch(c){u(c)}}function l(f){f.done?i(f.value):s(f.value).then(o,a)}l((n=n.apply(e,t||[])).next())})},R1=exports&&exports.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,s,i,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(l){return function(f){return a([l,f])}}function a(l){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,s&&(i=l[0]&2?s.return:l[0]?s.throw||((i=s.return)&&i.call(s),0):s.next)&&!(i=i.call(s,l[1])).done)return i;switch(s=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,s=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(f){l=[6,f],s=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}},jr=exports&&exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Hl=jr(require("path")),F1=Su(),w1=jr(cc()),A1=jr(Sl()),I1=_l(),kr=jr(rn()),Ht=kr.default.fse,Mr=kr.default.chalk,Xl=kr.default.execa,O1=kr.default.getRootHome,Se=Bl(),T1=en(),L1=Gl(),N1=Hl.default.join(O1(),"config"),Ye=Hl.default.join(N1,"update-notifier.json");function Os(e){return JSON.stringify(e,null,2)}var x1=function(){function e(){Ht.existsSync(Ye)||(Ht.ensureFileSync(Ye),Ht.writeFileSync(Ye,Os({})))}return e.prototype.config=function(t){return t?require(Ye)[t]:require(Ye)},e.prototype.check=function(){return this.config("lastUpdateCheck")?Date.now()-this.config("lastUpdateCheck")>I1.UPDATE_CHECK_INTERVAL:!0},e.prototype.init=function(){return this.check()&&(0,F1.execDaemon)("update.js"),this},e.prototype.update=function(){return C1(this,void 0,void 0,function(){var t,r,n,s;return R1(this,function(i){switch(i.label){case 0:return[4,(0,w1.default)(Se.name)];case 1:return t=i.sent(),r=L1(Se.version,t),n=["major","minor"].includes(r),s={output:n?!1:T1.gt(t,Se.version),current:Se.version,latest:t,type:r,lastUpdateCheck:Date.now()},Ht.writeFileSync(Ye,Os(s)),n&&this.install(),[2]}})})},e.prototype.install=function(){try{Xl.sync("npm install "+Se.name+" -g",{shell:!0})}catch{Xl.sync("yarn global add "+Se.name,{shell:!0})}},e.prototype.notify=function(){var t=this;if(!!this.config("output")){var r="Update available "+Mr.dim(Se.version)+" "+Mr.reset("\u2192")+" "+Mr.green(this.config("latest"))+`
|
|
23
23
|
Run `+Mr.cyan("npm i -g "+Se.name)+" to update",n=(0,A1.default)(r,{padding:1,margin:1,align:"center",borderColor:"yellow",borderStyle:"round"});process.on("exit",function(){console.log(n),Ht.writeFileSync(Ye,Os($r($r({},t.config()),{output:!1})))})}},e}();module.exports=x1;
|
|
24
24
|
/*!
|
|
25
25
|
* @description Recursive object extending
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serverless-devs/s",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.97-beta.1",
|
|
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": [
|
|
@@ -92,6 +92,6 @@
|
|
|
92
92
|
]
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@serverless-devs/core": "
|
|
95
|
+
"@serverless-devs/core": "beta"
|
|
96
96
|
}
|
|
97
97
|
}
|
package/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Serverless Devs Community Code of Conduct
|
|
2
|
-
|
|
3
|
-
Serverless Devs follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
|
|
4
|
-
|
|
5
|
-
In cases of abusive, harassing, or any unacceptable behaviors, please don't hesitate to contact the project team at service@serverlessfans.com.
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
# Contributing to Serverless Devs
|
|
2
|
-
|
|
3
|
-
It is warmly welcomed if you have interest to hack on Serverless Devs. First, we encourage this kind of willing very much. And here is a list of contributing guide for you.
|
|
4
|
-
|
|
5
|
-
## Topics
|
|
6
|
-
|
|
7
|
-
- [Contributing to Serverless Devs](#contributing-to-serverless-devs)
|
|
8
|
-
- [Topics](#topics)
|
|
9
|
-
- [Reporting security issues](#reporting-security-issues)
|
|
10
|
-
- [Reporting general issues](#reporting-general-issues)
|
|
11
|
-
- [Code and doc contribution](#code-and-doc-contribution)
|
|
12
|
-
- [Workspace Preparation](#workspace-preparation)
|
|
13
|
-
- [Branch Definition](#branch-definition)
|
|
14
|
-
- [Commit Rules](#commit-rules)
|
|
15
|
-
- [Commit Message](#commit-message)
|
|
16
|
-
- [Commit Content](#commit-content)
|
|
17
|
-
- [PR Description](#pr-description)
|
|
18
|
-
- [Test case contribution](#test-case-contribution)
|
|
19
|
-
- [Package contribution](#package-contribution)
|
|
20
|
-
- [Engage to help anything](#engage-to-help-anything)
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
## Reporting security issues
|
|
25
|
-
|
|
26
|
-
Security issues are always treated seriously. As our usual principle, we discourage anyone to spread security issues. If you find a security issue of Serverless Devs, please do not discuss it in public and even do not open a public issue. Instead we encourage you to send us a private email to [service@serverlessfans.com](mailto:service@serverlessfans.com) to report this.
|
|
27
|
-
|
|
28
|
-
## Reporting general issues
|
|
29
|
-
|
|
30
|
-
To be honest, we regard every user of Serverless Devs as a very kind contributor. After experiencing Serverless Devs, you may have some feedback for the project. Then feel free to open an issue via [NEW ISSUE](https://github.com/Serverless-Devs/Serverless-Devs/issues/new/choose).
|
|
31
|
-
|
|
32
|
-
Since we collaborate project Serverless Devs in a distributed way, we appreciate **WELL-WRITTEN**, **DETAILED**, **EXPLICIT** issue reports. To make the communication more efficient, we wish everyone could search if your issue is an existing one in the searching list. If you find it existing, please add your details in comments under the existing issue instead of opening a brand new one.
|
|
33
|
-
|
|
34
|
-
To make the issue details as standard as possible, we setup an [ISSUE TEMPLATE](./.github/ISSUE_TEMPLATE) for issue reporters. Please **BE SURE** to follow the instructions to fill fields in template.
|
|
35
|
-
|
|
36
|
-
There are a lot of cases when you could open an issue:
|
|
37
|
-
|
|
38
|
-
* bug report
|
|
39
|
-
* feature request
|
|
40
|
-
* performance issues
|
|
41
|
-
* feature proposal
|
|
42
|
-
* feature design
|
|
43
|
-
* help wanted
|
|
44
|
-
* doc incomplete
|
|
45
|
-
* test improvement
|
|
46
|
-
* any questions on project
|
|
47
|
-
* and so on
|
|
48
|
-
|
|
49
|
-
Also we must remind that when filling a new issue, please remember to remove the sensitive data from your post. Sensitive data could be password, secret key, network locations, private business data and so on.
|
|
50
|
-
|
|
51
|
-
## Code and doc contribution
|
|
52
|
-
|
|
53
|
-
Every action to make project Serverless Devs better is encouraged. On GitHub, every improvement for Serverless Devs could be via a PR (short for pull request).
|
|
54
|
-
|
|
55
|
-
* If you find a typo, try to fix it!
|
|
56
|
-
* If you find a bug, try to fix it!
|
|
57
|
-
* If you find some redundant codes, try to remove them!
|
|
58
|
-
* If you find some test cases missing, try to add them!
|
|
59
|
-
* If you could enhance a feature, please **DO NOT** hesitate!
|
|
60
|
-
* If you find code implicit, try to add comments to make it clear!
|
|
61
|
-
* If you find code ugly, try to refactor that!
|
|
62
|
-
* If you can help to improve documents, it could not be better!
|
|
63
|
-
* If you find document incorrect, just do it and fix that!
|
|
64
|
-
* ...
|
|
65
|
-
|
|
66
|
-
Actually it is impossible to list them completely. Just remember one principle:
|
|
67
|
-
|
|
68
|
-
> WE ARE LOOKING FORWARD TO ANY PR FROM YOU.
|
|
69
|
-
|
|
70
|
-
Since you are ready to improve Serverless Devs with a PR, we suggest you could take a look at the PR rules here.
|
|
71
|
-
|
|
72
|
-
* [Workspace Preparation](#workspace-preparation)
|
|
73
|
-
* [Branch Definition](#branch-definition)
|
|
74
|
-
* [Commit Rules](#commit-rules)
|
|
75
|
-
* [PR Description](#pr-description)
|
|
76
|
-
|
|
77
|
-
### Workspace Preparation
|
|
78
|
-
|
|
79
|
-
To put forward a PR, we assume you have registered a GitHub ID. Then you could finish the preparation in the following steps:
|
|
80
|
-
|
|
81
|
-
1. **FORK** Serverless Devs to your repository. To make this work, you just need to click the button Fork in right-left of [Serverless-Devs/Serverless-Devs](https://github.com/Serverless-Devs/Serverless-Devs) main page. Then you will end up with your repository in `https://github.com/<your-username>/Serverless-Devs`, in which `your-username` is your GitHub username.
|
|
82
|
-
|
|
83
|
-
1. **CLONE** your own repository to develop locally. Use `git clone git@github.com:<your-username>/Serverless-Devs.git` to clone repository to your local machine. Then you can create new branches to finish the change you wish to make.
|
|
84
|
-
|
|
85
|
-
1. **Set Remote** upstream to be `git@github.com:Serverless-Devs/Serverless-Devs.git` using the following two commands:
|
|
86
|
-
|
|
87
|
-
```
|
|
88
|
-
git remote add upstream git@github.com:Serverless-Devs/Serverless-Devs.git
|
|
89
|
-
git remote set-url --push upstream no-pushing
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
With this remote setting, you can check your git remote configuration like this:
|
|
93
|
-
|
|
94
|
-
```
|
|
95
|
-
$ git remote -v
|
|
96
|
-
origin git@github.com:<your-username>/Serverless-Devs.git (fetch)
|
|
97
|
-
origin git@github.com:<your-username>/Serverless-Devs.git (push)
|
|
98
|
-
upstream git@github.com:Serverless-Devs/Serverless-Devs.git (fetch)
|
|
99
|
-
upstream no-pushing (push)
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
Adding this, we can easily synchronize local branches with upstream branches.
|
|
103
|
-
|
|
104
|
-
### Branch Definition
|
|
105
|
-
|
|
106
|
-
Right now we assume every contribution via pull request is for [branch develop](https://github.com/Serverless-Devs/Serverless-Devs/tree/develop) in Serverless Devs. Before contributing, be aware of branch definition would help a lot.
|
|
107
|
-
|
|
108
|
-
As a contributor, keep in mind again that every contribution via pull request is for branch develop. While in project Serverless Devs, there are several other branches, we generally call them release branches(such as 0.6.0,0.6.1), feature branches, hotfix branches and master branch.
|
|
109
|
-
|
|
110
|
-
When officially releasing a version, there will be a release branch and named with the version number.
|
|
111
|
-
|
|
112
|
-
After the release, we will merge the commit of the release branch into the master branch.
|
|
113
|
-
|
|
114
|
-
When we find that there is a bug in a certain version, we will decide to fix it in a later version or fix it in a specific hotfix version. When we decide to fix the hotfix version, we will checkout the hotfix branch based on the corresponding release branch, perform code repair and verification, and merge it into the develop branch and the master branch.
|
|
115
|
-
|
|
116
|
-
For larger features, we will pull out the feature branch for development and verification.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
### Commit Rules
|
|
120
|
-
|
|
121
|
-
Actually in Serverless Devs, we take two rules serious when committing:
|
|
122
|
-
|
|
123
|
-
* [Commit Message](#commit-message)
|
|
124
|
-
* [Commit Content](#commit-content)
|
|
125
|
-
|
|
126
|
-
#### Commit Message
|
|
127
|
-
|
|
128
|
-
Commit message could help reviewers better understand what is the purpose of submitted PR. It could help accelerate the code review procedure as well. We encourage contributors to use **EXPLICIT** commit message rather than ambiguous message. In general, we advocate the following commit message type:
|
|
129
|
-
|
|
130
|
-
* docs: xxxx. For example, "docs: add docs about Serverless Devs cluster installation".
|
|
131
|
-
* feature: xxxx.For example, "feature: support oracle in AT mode".
|
|
132
|
-
* bugfix: xxxx. For example, "bugfix: fix panic when input nil parameter".
|
|
133
|
-
* refactor: xxxx. For example, "refactor: simplify to make codes more readable".
|
|
134
|
-
* test: xxx. For example, "test: add unit test case for func InsertIntoArray".
|
|
135
|
-
* other readable and explicit expression ways.
|
|
136
|
-
|
|
137
|
-
On the other side, we discourage contributors from committing message like the following ways:
|
|
138
|
-
|
|
139
|
-
* ~~fix bug~~
|
|
140
|
-
* ~~update~~
|
|
141
|
-
* ~~add doc~~
|
|
142
|
-
|
|
143
|
-
If you get lost, please see [How to Write a Git Commit Message](http://chris.beams.io/posts/git-commit/) for a start.
|
|
144
|
-
|
|
145
|
-
#### Commit Content
|
|
146
|
-
|
|
147
|
-
Commit content represents all content changes included in one commit. We had better include things in one single commit which could support reviewer's complete review without any other commits' help. In another word, contents in one single commit can pass the CI to avoid code mess. In brief, there are three minor rules for us to keep in mind:
|
|
148
|
-
|
|
149
|
-
* avoid very large change in a commit;
|
|
150
|
-
* complete and reviewable for each commit.
|
|
151
|
-
* check git config(`user.name`, `user.email`) when committing to ensure that it is associated with your github ID.
|
|
152
|
-
* when submitting pr, please add a brief description of the current changes to the X.X.X.md file under the 'changes/' folder
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
In addition, in the code change part, we suggest that all contributors should read the [code style of Serverless Devs](#code-style).
|
|
156
|
-
|
|
157
|
-
No matter commit message, or commit content, we do take more emphasis on code review.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
### PR Description
|
|
161
|
-
|
|
162
|
-
PR is the only way to make change to Serverless Devs project files. To help reviewers better get your purpose, PR description could not be too detailed. We encourage contributors to follow the [PR template](./.github/PULL_REQUEST_TEMPLATE.md) to finish the pull request.
|
|
163
|
-
|
|
164
|
-
## Test case contribution
|
|
165
|
-
|
|
166
|
-
Any test case would be welcomed. Currently, Serverless Devs function test cases are high priority.
|
|
167
|
-
|
|
168
|
-
* For unit test, you need to create a test file named `xxxTest.java` in the test directory of the same module. Recommend you to use the junit5 UT framework
|
|
169
|
-
|
|
170
|
-
* For integration test, you can put the integration test in the test directory or the Serverless Devs-test module. It is recommended to use the mockito test framework.
|
|
171
|
-
|
|
172
|
-
## Package contribution
|
|
173
|
-
|
|
174
|
-
For the development of Serverless Devs Package, please refer to the [development guide](https://github.com/Serverless-Devs/Serverless-Devs/discussions/62). After the development is completed, please refer [PR](https://github.com/Serverless-Devs/package-awesome) to the summary warehouse for more reference.
|
|
175
|
-
|
|
176
|
-
## Engage to help anything
|
|
177
|
-
|
|
178
|
-
We choose GitHub as the primary place for Serverless Devs to collaborate. So the latest updates of Serverless Devs are always here. Although contributions via PR is an explicit way to help, we still call for any other ways.
|
|
179
|
-
|
|
180
|
-
* reply to other's issues if you could;
|
|
181
|
-
* help solve other user's problems;
|
|
182
|
-
* help review other's PR design;
|
|
183
|
-
* help review other's codes in PR;
|
|
184
|
-
* discuss about Serverless Devs to make things clearer;
|
|
185
|
-
* advocate Serverless Devs technology beyond GitHub;
|
|
186
|
-
* write blogs on Serverless Devs and so on.
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
In a word, **ANY HELP IS CONTRIBUTION.**
|
package/CONTRIBUTORS.md
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
# Serverless Devs Contributors
|
|
2
|
-
|
|
3
|
-
> Thank you for your support and recognition of serverless devs. Serverless devs is committed to creating an active and open serverless developer ecosystem, providing more simple and easy-to-use serverless developer tools for more serverless developers.
|
|
4
|
-
|
|
5
|
-
> If you also contributed to this project, but there is no your name below, please add your information at the end in order and submit [Pull Requests](https://github.com/Serverless-Devs/Serverless-Devs/pulls) to us
|
|
6
|
-
|
|
7
|
-
<center>
|
|
8
|
-
<table>
|
|
9
|
-
<tr>
|
|
10
|
-
<td align="center" width="20%">
|
|
11
|
-
<img src="https://avatars.githubusercontent.com/u/4457084?s=60&v=4" width="20%" style="min-width: 100px"><br>
|
|
12
|
-
<p>hanxie-crypto<br><a href="https://github.com/hanxie-crypto"> Github</a> | Blog</p>
|
|
13
|
-
</td>
|
|
14
|
-
<td align="center" width="20%">
|
|
15
|
-
<img src="https://avatars.githubusercontent.com/u/46711?v=4" width="20%" style="min-width: 100px"><br>
|
|
16
|
-
<p>linux-china<br><a href="http://github.com/linux-china">Github</a> | <a href="http://rsocketbyexample.info">Blog</a></p>
|
|
17
|
-
</td>
|
|
18
|
-
<td align="center" width="20%">
|
|
19
|
-
<img src="https://avatars.githubusercontent.com/u/21079031?v=4" width="20%" style="min-width: 100px"><br>
|
|
20
|
-
<p>anycodes<br><a href="http://github.com/anycodes">Github</a> | <a href="http://faas.net.cn">Blog</a></p>
|
|
21
|
-
</td>
|
|
22
|
-
<td align="center" width="20%">
|
|
23
|
-
<img src="https://avatars.githubusercontent.com/u/56686088?v=4" width="20%" style="min-width: 100px"><br>
|
|
24
|
-
<p>wss-git<br><a href="https://github.com/wss-git">Github</a> | Blog</p>
|
|
25
|
-
</td>
|
|
26
|
-
<td align="center" width="20%">
|
|
27
|
-
<img src="https://avatars.githubusercontent.com/u/31543505?v=4" width="20%" style="min-width: 100px"><br>
|
|
28
|
-
<p>hanyang-sh<br><a href="http://github.com/hanyang-sh">Github</a> | <a href="https://hanyang-sh.github.io/">Blog</a></p>
|
|
29
|
-
</td>
|
|
30
|
-
</tr>
|
|
31
|
-
<tr>
|
|
32
|
-
<td align="center" width="20%">
|
|
33
|
-
<img src="https://avatars.githubusercontent.com/u/2697433?v=4" width="20%" style="min-width: 100px"><br>
|
|
34
|
-
<p>dengshenyu<br><a href="https://github.com/dengshenyu"> Github</a> | <a href="http://www.dengshenyu.com">Blog</a></p>
|
|
35
|
-
</td>
|
|
36
|
-
<td align="center" width="20%">
|
|
37
|
-
<img src="https://avatars.githubusercontent.com/u/52195264?v=4" width="20%" style="min-width: 100px"><br>
|
|
38
|
-
<p>git-qfzhang<br><a href="http://github.com/git-qfzhang">Github</a> | Blog</p>
|
|
39
|
-
</td>
|
|
40
|
-
<td align="center" width="20%">
|
|
41
|
-
<img src="https://avatars.githubusercontent.com/u/5129967?v=4" width="20%" style="min-width: 100px"><br>
|
|
42
|
-
<p>heimanba<br><a href="https://avatars.githubusercontent.com/u/5129967?v=4">Github</a> | Blog</p>
|
|
43
|
-
</td>
|
|
44
|
-
<td align="center" width="20%">
|
|
45
|
-
<img src="https://avatars.githubusercontent.com/u/10919599?v=4" width="20%" style="min-width: 100px"><br>
|
|
46
|
-
<p>rsonghuster<br><a href="https://github.com/rsonghuster">Github</a> | Blog</p>
|
|
47
|
-
</td>
|
|
48
|
-
<td align="center" width="20%">
|
|
49
|
-
<img src="https://avatars.githubusercontent.com/u/5166366?v=4" width="20%" style="min-width: 100px"><br>
|
|
50
|
-
<p>Tang Xianbin<br><a href="http://github.com/XianB">Github</a> | <a href="https://hanyang-sh.github.io/">Blog</a></p>
|
|
51
|
-
</td>
|
|
52
|
-
</tr>
|
|
53
|
-
<tr>
|
|
54
|
-
<td align="center" width="20%">
|
|
55
|
-
<img src="https://avatars.githubusercontent.com/u/13564730?v=4" width="20%" style="min-width: 100px"><br>
|
|
56
|
-
<p>cong876<br><a href="https://github.com/cong876"> Github</a> | <a href="http://cong876.github.io/">Blog</a></p>
|
|
57
|
-
</td>
|
|
58
|
-
<td align="center" width="20%">
|
|
59
|
-
<img src="https://avatars.githubusercontent.com/u/43135116?v=4" width="20%" style="min-width: 100px"><br>
|
|
60
|
-
<p>gongjl88<br><a href="http://github.com/gongjl88">Github</a> | <a href="https://www.blog.loveapple.top"> Blog </a></p>
|
|
61
|
-
</td>
|
|
62
|
-
<td align="center" width="20%">
|
|
63
|
-
<img src="https://avatars.githubusercontent.com/u/21334770?v=4" width="20%" style="min-width: 100px"><br>
|
|
64
|
-
<p>wangbow<br><a href="http://github.com/wangbow">Github</a> | <a href="https://juejin.im/user/58e8a667ac502e4957bcddbe">Blog</a></p>
|
|
65
|
-
</td>
|
|
66
|
-
<td align="center" width="20%">
|
|
67
|
-
<img src="https://avatars.githubusercontent.com/u/30379999?v=4" width="20%" style="min-width: 100px"><br>
|
|
68
|
-
<p>Herbbbb<br><a href="https://github.com/Herbbbb">Github</a> | Blog</p>
|
|
69
|
-
</td>
|
|
70
|
-
<td align="center" width="20%">
|
|
71
|
-
<img src="https://avatars.githubusercontent.com/u/62200750?v=4" width="20%" style="min-width: 100px"><br>
|
|
72
|
-
<p>janw<br><a href="http://github.com/jjangww">Github</a> | Blog</p>
|
|
73
|
-
</td>
|
|
74
|
-
</tr>
|
|
75
|
-
<tr>
|
|
76
|
-
<td align="center" width="20%">
|
|
77
|
-
<img src="https://avatars.githubusercontent.com/u/48934955?v=4" width="20%" style="min-width: 100px"><br>
|
|
78
|
-
<p>Ellison<br><a href="https://github.com/coco-super"> Github</a> | Blog</p>
|
|
79
|
-
</td>
|
|
80
|
-
<td align="center" width="20%">
|
|
81
|
-
<img src="https://avatars.githubusercontent.com/u/23737468?v=4" width="20%" style="min-width: 100px"><br>
|
|
82
|
-
<p>黄沐<br><a href="https://github.com/huangfushan"> Github</a> | Blog</p>
|
|
83
|
-
</td>
|
|
84
|
-
<td align="center" width="20%">
|
|
85
|
-
<img src="https://avatars.githubusercontent.com/u/84389274?v=4" width="20%" style="min-width: 100px"><br>
|
|
86
|
-
<p>siyuniuali<br><a href="https://github.com/siyuniuali"> Github</a> | Blog</p>
|
|
87
|
-
</td>
|
|
88
|
-
<td align="center" width="20%">
|
|
89
|
-
<img src="https://avatars.githubusercontent.com/u/85347842?v=4" width="20%" style="min-width: 100px"><br>
|
|
90
|
-
<p>Laura-monkey<br><a href="https://github.com/Laura-monkey"> Github</a> | Blog</p>
|
|
91
|
-
</td>
|
|
92
|
-
<td align="center" width="20%">
|
|
93
|
-
<img src="https://avatars.githubusercontent.com/u/85340348?v=4" width="20%" style="min-width: 100px"><br>
|
|
94
|
-
<p>jingyan0705<br><a href="https://github.com/jingyan0705"> Github</a> | Blog</p>
|
|
95
|
-
</td>
|
|
96
|
-
</tr>
|
|
97
|
-
<tr>
|
|
98
|
-
<td align="center" width="20%">
|
|
99
|
-
<img src="https://avatars.githubusercontent.com/u/16363180?v=4" width="20%" style="min-width: 100px"><br>
|
|
100
|
-
<p>邓超<br><a href="https://github.com/DevDengChao"> Github</a> | Blog</p>
|
|
101
|
-
</td>
|
|
102
|
-
<td align="center" width="20%">
|
|
103
|
-
<img src="https://avatars.githubusercontent.com/u/24624391?v=4" width="20%" style="min-width: 100px"><br>
|
|
104
|
-
<p>吴培泽<br><a href="https://github.com/wupz-repo"> Github</a> | <a href="https://wupeize.com">Blog</a></p>
|
|
105
|
-
</td>
|
|
106
|
-
<td align="center" width="20%">
|
|
107
|
-
<img src="https://avatars.githubusercontent.com/u/18051618?v=4" width="20%" style="min-width: 100px"><br>
|
|
108
|
-
<p>xiezht<br><a href="https://github.com/xiezht"> Github</a> | <a href="https://wupeize.com">Blog</a></p>
|
|
109
|
-
</td>
|
|
110
|
-
<td align="center" width="20%">
|
|
111
|
-
<img src="https://avatars.githubusercontent.com/u/10382462?v=4" width="20%" style="min-width: 100px"><br>
|
|
112
|
-
<p>Bingqing Wang<br><a href="https://github.com/bingtsingw"> Github</a> | Blog </p>
|
|
113
|
-
</td>
|
|
114
|
-
<td align="center" width="20%">
|
|
115
|
-
<img src="https://avatars.githubusercontent.com/u/7664030?v=4" width="20%" style="min-width: 100px"><br>
|
|
116
|
-
<p>Wang Gechao<br><a href="https://github.com/GotzeWong"> Github</a> | Blog </p>
|
|
117
|
-
</td>
|
|
118
|
-
</tr>
|
|
119
|
-
<tr>
|
|
120
|
-
<td align="center" width="20%">
|
|
121
|
-
<img src="https://avatars.githubusercontent.com/u/6525544?v=4" width="20%" style="min-width: 100px"><br>
|
|
122
|
-
<p>金炳<br><a href="https://github.com/stone-jin"> Github</a> | <a href="https://www.fedfans.com">Blog</a></p>
|
|
123
|
-
</td>
|
|
124
|
-
<td align="center" width="20%">
|
|
125
|
-
<img src="https://avatars.githubusercontent.com/u/45506000?v=4" width="20%" style="min-width: 100px"><br>
|
|
126
|
-
<p>吹风机<br><a href="https://github.com/chuifengji"> Github</a> | <a href="https://ethan.nt-geek.club/">Blog</a></p>
|
|
127
|
-
</td>
|
|
128
|
-
<td align="center" width="20%">
|
|
129
|
-
<img src="https://avatars.githubusercontent.com/u/626967?v=4" width="20%" style="min-width: 100px"><br>
|
|
130
|
-
<p>Haoran Yang<br><a href="https://github.com/hryang"> Github</a> | Blog</p>
|
|
131
|
-
</td>
|
|
132
|
-
<td align="center" width="20%">
|
|
133
|
-
<img src="https://avatars.githubusercontent.com/u/53770230?v=4" width="20%" style="min-width: 100px"><br>
|
|
134
|
-
<p>whaohan<br><a href="https://github.com/whaohan"> Github</a> | Blog</p>
|
|
135
|
-
</td>
|
|
136
|
-
<td align="center" width="20%">
|
|
137
|
-
<img src="https://avatars.githubusercontent.com/u/39087996?v=4" width="20%" style="min-width: 100px"><br>
|
|
138
|
-
<p>JasonLam<br><a href="https://github.com/JasonLamv-t"> Github</a> | <a href="http://jasonlam.cc/">Blog</a></p>
|
|
139
|
-
</td>
|
|
140
|
-
</tr>
|
|
141
|
-
<tr>
|
|
142
|
-
<td align="center" width="20%">
|
|
143
|
-
<img src="https://avatars.githubusercontent.com/u/23239892?v=4" width="20%" style="min-width: 100px"><br>
|
|
144
|
-
<p>Gao Zhiyuan<br><a href="https://github.com/alapha23"> Github</a> | Blog</p>
|
|
145
|
-
</td>
|
|
146
|
-
</tr>
|
|
147
|
-
</table>
|
|
148
|
-
</center>
|