@vee_stack/cli 6.3.21 → 6.3.22
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/dist/index.js +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {createRequire}from'module';import Go,{config}from'dotenv';import*as rt from'path';import {dirname,join,resolve,basename}from'path';import {fileURLToPath}from'url';import*as ie from'fs';import {existsSync,readFileSync,statSync,writeFileSync}from'fs';import v from'chalk';import {Command}from'commander';import {execSync}from'child_process';import*as ge from'crypto';import ge__default from'crypto';import gi from'ora';import {glob}from'glob';import hi from'cli-progress';import*as gt from'os';import {homedir}from'os';import*as V from'fs/promises';import Cr from'prompts';import Pi from'readline';import {gzipSync}from'zlib';import Mi from'open';import Fa from'omelette';globalThis.require = createRequire(import.meta.url); globalThis.CLI_VERSION = "6.3.
|
|
2
|
+
import {createRequire}from'module';import Go,{config}from'dotenv';import*as rt from'path';import {dirname,join,resolve,basename}from'path';import {fileURLToPath}from'url';import*as ie from'fs';import {existsSync,readFileSync,statSync,writeFileSync}from'fs';import v from'chalk';import {Command}from'commander';import {execSync}from'child_process';import*as ge from'crypto';import ge__default from'crypto';import gi from'ora';import {glob}from'glob';import hi from'cli-progress';import*as gt from'os';import {homedir}from'os';import*as V from'fs/promises';import Cr from'prompts';import Pi from'readline';import {gzipSync}from'zlib';import Mi from'open';import Fa from'omelette';globalThis.require = createRequire(import.meta.url); globalThis.CLI_VERSION = "6.3.22"; globalThis.SNAPSHOT_VERSION = "6.0.0"; globalThis.ENGINE_TARGET = "6.0.0"; globalThis.AUDIT_VERSION = "6.0"; globalThis.SESSION_PAYLOAD_VERSION = "6.0.0"; globalThis.RULES_VERSION = "6.0.0"; globalThis.ANALYSIS_VERSION = "6.0.0"; globalThis.API_VERSION = "v6"; globalThis.MIN_NODE = 20;
|
|
3
3
|
var es=Object.defineProperty;var be=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,n)=>(typeof require<"u"?require:e)[n]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var ts=(t,e)=>{for(var n in e)es(t,n,{get:e[n],enumerable:true});};var ns=[/^--token[=\s]/i,/^-t[=\s]/i,/^--api-key[=\s]/i,/^--apikey[=\s]/i,/^--key[=\s]/i,/^--auth[=\s]/i,/^--bearer[=\s]/i,/token[=:]\s*[a-zA-Z0-9_-]{10,}/i,/api[_-]?key[=:]\s*[a-zA-Z0-9_-]{10,}/i],st=/vs_[a-zA-Z0-9_-]{20,}/i;function zn(){let t=process.argv.slice(2);for(let e of t){for(let n of ns)n.test(e)&&(console.error(v.red(`
|
|
4
4
|
\u274C Security Error: Token detected in command line arguments`)),console.error(v.yellow(`
|
|
5
5
|
Passing tokens via CLI arguments is not allowed.`)),console.error(v.yellow("This prevents tokens from being saved in shell history (~/.bash_history, ~/.zsh_history)")),console.error(v.gray(`
|
package/dist/version.json
CHANGED