Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wix/cli

Package Overview
Dependencies
Maintainers
0
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/cli - npm Package Compare versions

Comparing version 1.1.47 to 1.1.48

build/chunk-FZFQS2M3.js

4

build/index.js
import { createRequire as _createRequire } from 'node:module';
const require = _createRequire(import.meta.url);
import{a as Et}from"./chunk-KRD4NQZH.js";import{a as y,b as T,c as xt}from"./chunk-6XLL7BRJ.js";import{a as A}from"./chunk-HYMGR3RL.js";import{a as ye}from"./chunk-XOWZQRGH.js";import"./chunk-4Y2R5QID.js";import{a as bt,b as $e}from"./chunk-522L5OXR.js";import"./chunk-U37RKZCU.js";import{g as vt,i as At}from"./chunk-2NLIPYRH.js";import{b as gt,e as _t,f as Ct,g as Ot}from"./chunk-UDD4OHCT.js";import{a as B,v as wt}from"./chunk-X5FGKR74.js";import"./chunk-CNRVJIPG.js";import"./chunk-SYHT5LTW.js";import"./chunk-K656WQZA.js";import{c as xe}from"./chunk-TVMTOQUC.js";import"./chunk-F67LDVCV.js";import{c as V}from"./chunk-ZBJRW65P.js";import"./chunk-J3IJS26Z.js";import"./chunk-CJ3JTOGS.js";import{d as mt,h as ht,i as L,j as pt}from"./chunk-T7C26E3I.js";import"./chunk-NRX52J22.js";import{a as G,b as dt,c as ft}from"./chunk-CUZEHDNU.js";import{a as Ee,c as D,e as j}from"./chunk-AQJFGMCV.js";import{a as P,c as w,e as S,g as __dirname,i as m}from"./chunk-UO4ZAUJK.js";var W=w(K=>{"use strict";m();var R=class extends Error{constructor(t,e,n){super(n),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=e,this.exitCode=t,this.nestedError=void 0}},J=class extends R{constructor(t){super(1,"commander.invalidArgument",t),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}};K.CommanderError=R;K.InvalidArgumentError=J});var q=w(Y=>{"use strict";m();var{InvalidArgumentError:Ie}=W(),z=class{constructor(t,e){switch(this.description=e||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,t[0]){case"<":this.required=!0,this._name=t.slice(1,-1);break;case"[":this.required=!1,this._name=t.slice(1,-1);break;default:this.required=!0,this._name=t;break}this._name.length>3&&this._name.slice(-3)==="..."&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(t,e){return e===this.defaultValue||!Array.isArray(e)?[t]:e.concat(t)}default(t,e){return this.defaultValue=t,this.defaultValueDescription=e,this}argParser(t){return this.parseArg=t,this}choices(t){return this.argChoices=t.slice(),this.parseArg=(e,n)=>{if(!this.argChoices.includes(e))throw new Ie(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,n):e},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}};function Fe(o){let t=o.name()+(o.variadic===!0?"...":"");return o.required?"<"+t+">":"["+t+"]"}Y.Argument=z;Y.humanReadableArgName=Fe});var X=w(St=>{"use strict";m();var{humanReadableArgName:Pe}=q(),Q=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(t){let e=t.commands.filter(i=>!i._hidden),n=t._getHelpCommand();return n&&!n._hidden&&e.push(n),this.sortSubcommands&&e.sort((i,r)=>i.name().localeCompare(r.name())),e}compareOptions(t,e){let n=i=>i.short?i.short.replace(/^-/,""):i.long.replace(/^--/,"");return n(t).localeCompare(n(e))}visibleOptions(t){let e=t.options.filter(i=>!i.hidden),n=t._getHelpOption();if(n&&!n.hidden){let i=n.short&&t._findOption(n.short),r=n.long&&t._findOption(n.long);!i&&!r?e.push(n):n.long&&!r?e.push(t.createOption(n.long,n.description)):n.short&&!i&&e.push(t.createOption(n.short,n.description))}return this.sortOptions&&e.sort(this.compareOptions),e}visibleGlobalOptions(t){if(!this.showGlobalOptions)return[];let e=[];for(let n=t.parent;n;n=n.parent){let i=n.options.filter(r=>!r.hidden);e.push(...i)}return this.sortOptions&&e.sort(this.compareOptions),e}visibleArguments(t){return t._argsDescription&&t.registeredArguments.forEach(e=>{e.description=e.description||t._argsDescription[e.name()]||""}),t.registeredArguments.find(e=>e.description)?t.registeredArguments:[]}subcommandTerm(t){let e=t.registeredArguments.map(n=>Pe(n)).join(" ");return t._name+(t._aliases[0]?"|"+t._aliases[0]:"")+(t.options.length?" [options]":"")+(e?" "+e:"")}optionTerm(t){return t.flags}argumentTerm(t){return t.name()}longestSubcommandTermLength(t,e){return e.visibleCommands(t).reduce((n,i)=>Math.max(n,e.subcommandTerm(i).length),0)}longestOptionTermLength(t,e){return e.visibleOptions(t).reduce((n,i)=>Math.max(n,e.optionTerm(i).length),0)}longestGlobalOptionTermLength(t,e){return e.visibleGlobalOptions(t).reduce((n,i)=>Math.max(n,e.optionTerm(i).length),0)}longestArgumentTermLength(t,e){return e.visibleArguments(t).reduce((n,i)=>Math.max(n,e.argumentTerm(i).length),0)}commandUsage(t){let e=t._name;t._aliases[0]&&(e=e+"|"+t._aliases[0]);let n="";for(let i=t.parent;i;i=i.parent)n=i.name()+" "+n;return n+e+" "+t.usage()}commandDescription(t){return t.description()}subcommandDescription(t){return t.summary()||t.description()}optionDescription(t){let e=[];return t.argChoices&&e.push(`choices: ${t.argChoices.map(n=>JSON.stringify(n)).join(", ")}`),t.defaultValue!==void 0&&(t.required||t.optional||t.isBoolean()&&typeof t.defaultValue=="boolean")&&e.push(`default: ${t.defaultValueDescription||JSON.stringify(t.defaultValue)}`),t.presetArg!==void 0&&t.optional&&e.push(`preset: ${JSON.stringify(t.presetArg)}`),t.envVar!==void 0&&e.push(`env: ${t.envVar}`),e.length>0?`${t.description} (${e.join(", ")})`:t.description}argumentDescription(t){let e=[];if(t.argChoices&&e.push(`choices: ${t.argChoices.map(n=>JSON.stringify(n)).join(", ")}`),t.defaultValue!==void 0&&e.push(`default: ${t.defaultValueDescription||JSON.stringify(t.defaultValue)}`),e.length>0){let n=`(${e.join(", ")})`;return t.description?`${t.description} ${n}`:n}return t.description}formatHelp(t,e){let n=e.padWidth(t,e),i=e.helpWidth||80,r=2,a=2;function l(d,x){if(x){let U=`${d.padEnd(n+a)}${x}`;return e.wrap(U,i-r,n+a)}return d}function s(d){return d.join(`
import{a as Et}from"./chunk-KRD4NQZH.js";import{a as y,b as T,c as xt}from"./chunk-FZFQS2M3.js";import{a as A}from"./chunk-HYMGR3RL.js";import{a as ye}from"./chunk-XOWZQRGH.js";import"./chunk-4Y2R5QID.js";import{a as bt,b as $e}from"./chunk-522L5OXR.js";import"./chunk-U37RKZCU.js";import{g as vt,i as At}from"./chunk-2NLIPYRH.js";import{b as gt,e as _t,f as Ct,g as Ot}from"./chunk-UDD4OHCT.js";import{a as B,v as wt}from"./chunk-X5FGKR74.js";import"./chunk-CNRVJIPG.js";import"./chunk-SYHT5LTW.js";import"./chunk-K656WQZA.js";import{c as xe}from"./chunk-TVMTOQUC.js";import"./chunk-F67LDVCV.js";import{c as V}from"./chunk-ZBJRW65P.js";import"./chunk-J3IJS26Z.js";import"./chunk-CJ3JTOGS.js";import{d as mt,h as ht,i as L,j as pt}from"./chunk-T7C26E3I.js";import"./chunk-NRX52J22.js";import{a as G,b as dt,c as ft}from"./chunk-CUZEHDNU.js";import{a as Ee,c as D,e as j}from"./chunk-AQJFGMCV.js";import{a as P,c as w,e as S,g as __dirname,i as m}from"./chunk-UO4ZAUJK.js";var W=w(K=>{"use strict";m();var R=class extends Error{constructor(t,e,n){super(n),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=e,this.exitCode=t,this.nestedError=void 0}},J=class extends R{constructor(t){super(1,"commander.invalidArgument",t),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}};K.CommanderError=R;K.InvalidArgumentError=J});var q=w(Y=>{"use strict";m();var{InvalidArgumentError:Ie}=W(),z=class{constructor(t,e){switch(this.description=e||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,t[0]){case"<":this.required=!0,this._name=t.slice(1,-1);break;case"[":this.required=!1,this._name=t.slice(1,-1);break;default:this.required=!0,this._name=t;break}this._name.length>3&&this._name.slice(-3)==="..."&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(t,e){return e===this.defaultValue||!Array.isArray(e)?[t]:e.concat(t)}default(t,e){return this.defaultValue=t,this.defaultValueDescription=e,this}argParser(t){return this.parseArg=t,this}choices(t){return this.argChoices=t.slice(),this.parseArg=(e,n)=>{if(!this.argChoices.includes(e))throw new Ie(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,n):e},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}};function Fe(o){let t=o.name()+(o.variadic===!0?"...":"");return o.required?"<"+t+">":"["+t+"]"}Y.Argument=z;Y.humanReadableArgName=Fe});var X=w(St=>{"use strict";m();var{humanReadableArgName:Pe}=q(),Q=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(t){let e=t.commands.filter(i=>!i._hidden),n=t._getHelpCommand();return n&&!n._hidden&&e.push(n),this.sortSubcommands&&e.sort((i,r)=>i.name().localeCompare(r.name())),e}compareOptions(t,e){let n=i=>i.short?i.short.replace(/^-/,""):i.long.replace(/^--/,"");return n(t).localeCompare(n(e))}visibleOptions(t){let e=t.options.filter(i=>!i.hidden),n=t._getHelpOption();if(n&&!n.hidden){let i=n.short&&t._findOption(n.short),r=n.long&&t._findOption(n.long);!i&&!r?e.push(n):n.long&&!r?e.push(t.createOption(n.long,n.description)):n.short&&!i&&e.push(t.createOption(n.short,n.description))}return this.sortOptions&&e.sort(this.compareOptions),e}visibleGlobalOptions(t){if(!this.showGlobalOptions)return[];let e=[];for(let n=t.parent;n;n=n.parent){let i=n.options.filter(r=>!r.hidden);e.push(...i)}return this.sortOptions&&e.sort(this.compareOptions),e}visibleArguments(t){return t._argsDescription&&t.registeredArguments.forEach(e=>{e.description=e.description||t._argsDescription[e.name()]||""}),t.registeredArguments.find(e=>e.description)?t.registeredArguments:[]}subcommandTerm(t){let e=t.registeredArguments.map(n=>Pe(n)).join(" ");return t._name+(t._aliases[0]?"|"+t._aliases[0]:"")+(t.options.length?" [options]":"")+(e?" "+e:"")}optionTerm(t){return t.flags}argumentTerm(t){return t.name()}longestSubcommandTermLength(t,e){return e.visibleCommands(t).reduce((n,i)=>Math.max(n,e.subcommandTerm(i).length),0)}longestOptionTermLength(t,e){return e.visibleOptions(t).reduce((n,i)=>Math.max(n,e.optionTerm(i).length),0)}longestGlobalOptionTermLength(t,e){return e.visibleGlobalOptions(t).reduce((n,i)=>Math.max(n,e.optionTerm(i).length),0)}longestArgumentTermLength(t,e){return e.visibleArguments(t).reduce((n,i)=>Math.max(n,e.argumentTerm(i).length),0)}commandUsage(t){let e=t._name;t._aliases[0]&&(e=e+"|"+t._aliases[0]);let n="";for(let i=t.parent;i;i=i.parent)n=i.name()+" "+n;return n+e+" "+t.usage()}commandDescription(t){return t.description()}subcommandDescription(t){return t.summary()||t.description()}optionDescription(t){let e=[];return t.argChoices&&e.push(`choices: ${t.argChoices.map(n=>JSON.stringify(n)).join(", ")}`),t.defaultValue!==void 0&&(t.required||t.optional||t.isBoolean()&&typeof t.defaultValue=="boolean")&&e.push(`default: ${t.defaultValueDescription||JSON.stringify(t.defaultValue)}`),t.presetArg!==void 0&&t.optional&&e.push(`preset: ${JSON.stringify(t.presetArg)}`),t.envVar!==void 0&&e.push(`env: ${t.envVar}`),e.length>0?`${t.description} (${e.join(", ")})`:t.description}argumentDescription(t){let e=[];if(t.argChoices&&e.push(`choices: ${t.argChoices.map(n=>JSON.stringify(n)).join(", ")}`),t.defaultValue!==void 0&&e.push(`default: ${t.defaultValueDescription||JSON.stringify(t.defaultValue)}`),e.length>0){let n=`(${e.join(", ")})`;return t.description?`${t.description} ${n}`:n}return t.description}formatHelp(t,e){let n=e.padWidth(t,e),i=e.helpWidth||80,r=2,a=2;function l(d,x){if(x){let U=`${d.padEnd(n+a)}${x}`;return e.wrap(U,i-r,n+a)}return d}function s(d){return d.join(`
`).replace(/^/gm," ".repeat(r))}let c=[`Usage: ${e.commandUsage(t)}`,""],u=e.commandDescription(t);u.length>0&&(c=c.concat([e.wrap(u,i,0),""]));let h=e.visibleArguments(t).map(d=>l(e.argumentTerm(d),e.argumentDescription(d)));h.length>0&&(c=c.concat(["Arguments:",s(h),""]));let p=e.visibleOptions(t).map(d=>l(e.optionTerm(d),e.optionDescription(d)));if(p.length>0&&(c=c.concat(["Options:",s(p),""])),this.showGlobalOptions){let d=e.visibleGlobalOptions(t).map(x=>l(e.optionTerm(x),e.optionDescription(x)));d.length>0&&(c=c.concat(["Global Options:",s(d),""]))}let _=e.visibleCommands(t).map(d=>l(e.subcommandTerm(d),e.subcommandDescription(d)));return _.length>0&&(c=c.concat(["Commands:",s(_),""])),c.join(`

@@ -28,3 +28,3 @@ `)}padWidth(t,e){return Math.max(e.longestOptionTermLength(t,e),e.longestGlobalOptionTermLength(t,e),e.longestSubcommandTermLength(t,e),e.longestArgumentTermLength(t,e))}wrap(t,e,n,i=40){let r=" \\f\\t\\v\xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF",a=new RegExp(`[\\n][${r}]+`);if(t.match(a))return t;let l=e-n;if(l<i)return t;let s=t.slice(0,n),c=t.slice(n).replace(`\r

${t.commandUsage(o)}`,n=t.visibleCommands(o).map(h=>({term:h.name(),usage:h.usage(),description:t.commandDescription(h)})),i=t.visibleOptions(o).map(h=>({term:t.optionTerm(h),description:t.optionDescription(h)})),r=(0,ae.default)([...n,...i],{showHeaders:!1,columnSplitter:" "}).split($).map(h=>` ${h}`),a=r.splice(n.length),l=r,s=`${V.dim("Commands:")}${$}${l.join($)}`,c=`${V.dim("Options:")}${$}${a.join($)}`,u=`${V.dim("Learn More:")}
Learn more at ${se}${$}`;return`${[e,s,c,u].join($.repeat(2))}${$}`}};m();var le=S(B(),1);m();function H(){return wt(Et)}function ue(){let o=H();return o.t.bind(o)}var me=o=>{let t=H();return g("login").description(t.t("login_command.description")).option("--api-key <token>",t.t("login_command.option.api_key")).action(async(e,n)=>{let{apiKey:i}=e,{getUserInfo:r}=await import("./src-7ZO4JB2L.js"),{LoginCommand:a}=await import("./LoginCommand-LTE5PPRN.js"),{renderCommand:l}=await import("./render-command-SUIKHHWS.js"),s=await r();await l(n,o,le.default.createElement(a,{apiKeyToken:i,userInfo:s}))})};m();var he=S(B(),1);var pe=o=>{let t=H();return g("whoami").description(t.t("whoami_command.description")).action(async(e,n)=>{let{getUserInfo:i}=await import("./src-7ZO4JB2L.js"),{WhoamiCommand:r}=await import("./WhoamiCommand-W7GLY3WG.js"),{renderCommand:a}=await import("./render-command-SUIKHHWS.js"),l=await i();await a(n,o,he.default.createElement(r,{userInfo:l}))})};m();var de=S(B(),1);var fe=o=>{let t=H();return g("logout").description(t.t("logout_command.description")).action(async(e,n)=>{let{getUserInfo:i}=await import("./src-7ZO4JB2L.js"),{LogoutCommand:r}=await import("./LogoutCommand-C57ZNKT5.js"),{renderCommand:a}=await import("./render-command-SUIKHHWS.js"),l=await i();await a(n,o,de.default.createElement(r,{userInfo:l}))})};m();var ge=()=>{let o=ue();return g("telemetry").description(o("telemetry_command.description")).addArgument(new Ut("<state>","").choices(["on","off"])).action(async t=>{let{updateUserConfig:e}=await import("./src-YMGQ6GZL.js"),{CliError:n,CliErrorCode:i}=await import("./src-CZRQVWWJ.js"),{createLogger:r}=await import("./src-ZUXRDORN.js"),a=r();try{await e({telemetry:t==="on"}),a.log(o("telemetry_command.state_updated",{state:t}))}catch(l){throw new n({code:i.FailedToUpdateTelemetryConfig(),cause:l})}})};m();var _e=S(xe(),1);import{cwd as fn}from"node:process";import{createRequire as gn}from"node:module";import{join as _n}from"node:path";import{pathToFileURL as Cn}from"node:url";var Ce=gn(_n(fn(),"dummy.js"));async function we(){try{let o=Ce.resolve("@wix/cli-app");return wn(),await import(Cn(o).href)}catch(o){if(o instanceof Error&&"code"in o&&o.code==="MODULE_NOT_FOUND")return null;throw o}}function wn(){let o=Ce("@wix/cli-app/package.json").version;if((0,_e.default)(o)===null&&y!==o)throw new D({code:j.CliAppVersionMismatch({cliVersion:y,cliAppVersion:o})})}async function Oe(o,t){let e=new Nt;e.name("wix"),e.version(y,"-v, --version","Output the version number"),e.enablePositionalOptions(!0),e.helpOption("-h, --help","Display help for command"),e.addHelpCommand(!1),e.configureHelp(ce);let n=await we();return n&&e.addCommand(await n.getRootCommand({biLogger:t,errorReporter:o},y)),(await ct({biLogger:t,errorReporter:o},y)).commands.forEach(r=>{e.addCommand(r)}),e.addCommand(me({errorReporter:o,biLogger:t})).addCommand(pe({errorReporter:o,biLogger:t})).addCommand(fe({errorReporter:o,biLogger:t})).addCommand(ge()),e}m();var ve=o=>o.parent?`${ve(o.parent)} ${o.name()}`.trim():o.name();function Ae(o,{errorReporter:t}){o.hook("preAction",(e,n)=>{let i=ve(n);t.setContext("command info",{command:i,opts:n.opts(),args:n.args})})}ft();var be=On();async function vn(){let{default:o}=await import("./update-notifier-LCY3CRNY.js");o({pkg:T,updateCheckInterval:864e5,shouldNotifyInNpmScript:!0}).notify()}function An(){let{handler:o,errorReporter:t,registerToProcessErrors:e}=Ot({dsn:mt,release:T.version,debugOutputPath:L(be),userFeedbackCachePath:pt(be)});return e(),{errorHandler:o,errorReporter:t}}var{errorHandler:bn,errorReporter:M}=An();try{let o=await vt();o&&M.setUser({id:o.userId});let{biLogger:t}=await xt(M,o?.userId);await vn(),await $t(M);let e=await Oe(M,t);Ae(e,{errorReporter:M}),await e.parseAsync()}catch(o){bn({error:o})}
Learn more at ${se}${$}`;return`${[e,s,c,u].join($.repeat(2))}${$}`}};m();var le=S(B(),1);m();function H(){return wt(Et)}function ue(){let o=H();return o.t.bind(o)}var me=o=>{let t=H();return g("login").description(t.t("login_command.description")).option("--api-key <token>",t.t("login_command.option.api_key")).action(async(e,n)=>{let{apiKey:i}=e,{getUserInfo:r}=await import("./src-7ZO4JB2L.js"),{LoginCommand:a}=await import("./LoginCommand-NLI4JML5.js"),{renderCommand:l}=await import("./render-command-GMJJM3EK.js"),s=await r();await l(n,o,le.default.createElement(a,{apiKeyToken:i,userInfo:s}))})};m();var he=S(B(),1);var pe=o=>{let t=H();return g("whoami").description(t.t("whoami_command.description")).action(async(e,n)=>{let{getUserInfo:i}=await import("./src-7ZO4JB2L.js"),{WhoamiCommand:r}=await import("./WhoamiCommand-W7GLY3WG.js"),{renderCommand:a}=await import("./render-command-GMJJM3EK.js"),l=await i();await a(n,o,he.default.createElement(r,{userInfo:l}))})};m();var de=S(B(),1);var fe=o=>{let t=H();return g("logout").description(t.t("logout_command.description")).action(async(e,n)=>{let{getUserInfo:i}=await import("./src-7ZO4JB2L.js"),{LogoutCommand:r}=await import("./LogoutCommand-C57ZNKT5.js"),{renderCommand:a}=await import("./render-command-GMJJM3EK.js"),l=await i();await a(n,o,de.default.createElement(r,{userInfo:l}))})};m();var ge=()=>{let o=ue();return g("telemetry").description(o("telemetry_command.description")).addArgument(new Ut("<state>","").choices(["on","off"])).action(async t=>{let{updateUserConfig:e}=await import("./src-YMGQ6GZL.js"),{CliError:n,CliErrorCode:i}=await import("./src-CZRQVWWJ.js"),{createLogger:r}=await import("./src-ZUXRDORN.js"),a=r();try{await e({telemetry:t==="on"}),a.log(o("telemetry_command.state_updated",{state:t}))}catch(l){throw new n({code:i.FailedToUpdateTelemetryConfig(),cause:l})}})};m();var _e=S(xe(),1);import{cwd as fn}from"node:process";import{createRequire as gn}from"node:module";import{join as _n}from"node:path";import{pathToFileURL as Cn}from"node:url";var Ce=gn(_n(fn(),"dummy.js"));async function we(){try{let o=Ce.resolve("@wix/cli-app");return wn(),await import(Cn(o).href)}catch(o){if(o instanceof Error&&"code"in o&&o.code==="MODULE_NOT_FOUND")return null;throw o}}function wn(){let o=Ce("@wix/cli-app/package.json").version;if((0,_e.default)(o)===null&&y!==o)throw new D({code:j.CliAppVersionMismatch({cliVersion:y,cliAppVersion:o})})}async function Oe(o,t){let e=new Nt;e.name("wix"),e.version(y,"-v, --version","Output the version number"),e.enablePositionalOptions(!0),e.helpOption("-h, --help","Display help for command"),e.addHelpCommand(!1),e.configureHelp(ce);let n=await we();return n&&e.addCommand(await n.getRootCommand({biLogger:t,errorReporter:o},y)),(await ct({biLogger:t,errorReporter:o},y)).commands.forEach(r=>{e.addCommand(r)}),e.addCommand(me({errorReporter:o,biLogger:t})).addCommand(pe({errorReporter:o,biLogger:t})).addCommand(fe({errorReporter:o,biLogger:t})).addCommand(ge()),e}m();var ve=o=>o.parent?`${ve(o.parent)} ${o.name()}`.trim():o.name();function Ae(o,{errorReporter:t}){o.hook("preAction",(e,n)=>{let i=ve(n);t.setContext("command info",{command:i,opts:n.opts(),args:n.args})})}ft();var be=On();async function vn(){let{default:o}=await import("./update-notifier-LCY3CRNY.js");o({pkg:T,updateCheckInterval:864e5,shouldNotifyInNpmScript:!0}).notify()}function An(){let{handler:o,errorReporter:t,registerToProcessErrors:e}=Ot({dsn:mt,release:T.version,debugOutputPath:L(be),userFeedbackCachePath:pt(be)});return e(),{errorHandler:o,errorReporter:t}}var{errorHandler:bn,errorReporter:M}=An();try{let o=await vt();o&&M.setUser({id:o.userId});let{biLogger:t}=await xt(M,o?.userId);await vn(),await $t(M);let e=await Oe(M,t);Ae(e,{errorReporter:M}),await e.parseAsync()}catch(o){bn({error:o})}
//# sourceMappingURL=index.js.map
{
"name": "@wix/cli",
"description": "CLI tool for building Wix sites and applications",
"version": "1.1.47",
"version": "1.1.48",
"bin": {

@@ -88,3 +88,3 @@ "wix": "bin/wix.cjs"

},
"falconPackageHash": "51cd24cfa05e97a1f65c50dae972a650fea755bc225187565568bfc8"
"falconPackageHash": "1586a2328be4a1d48356413697a120d8b198ba03ed72da7840be7aea"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc