File tree Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Expand file tree Collapse file tree 4 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ use of the `projectIgnorePaths` to excludes files when creating a report.
61
61
62
62
## Environment variables
63
63
64
- - ` SOCKET_CLI_ACCEPT_RISKS ` - Accept risks of a safe-npm or safe-npx run
65
64
- ` SOCKET_CLI_API_TOKEN ` - Set the Socket API token
66
65
- ` SOCKET_CLI_CONFIG ` - A JSON stringified Socket configuration object
67
66
- ` SOCKET_CLI_GIT_USER_EMAIL ` - The git config ` user.email ` used by Socket CLI<br >
@@ -72,8 +71,9 @@ use of the `projectIgnorePaths` to excludes files when creating a report.
72
71
* Aliases:* ` GITHUB_TOKEN ` <br >
73
72
- ` SOCKET_CLI_NO_API_TOKEN ` - Make the default API token ` undefined `
74
73
- ` SOCKET_CLI_NPM_PATH ` - The absolute location of the npm directory
75
- - ` SOCKET_CLI_ORG_SLUG ` - Specify the Socket organization slug
76
- - ` SOCKET_CLI_VIEW_ALL_RISKS ` - View all risks of a safe-npm or safe-npx run
74
+ - ` SOCKET_CLI_ORG_SLUG ` - Specify the Socket organization slug<br ><br >
75
+ - ` SOCKET_CLI_ACCEPT_RISKS ` - Accept risks of a Socket wrapped npm/npx run
76
+ - ` SOCKET_CLI_VIEW_ALL_RISKS ` - View all risks of a Socket wrapped npm/npx run
77
77
78
78
## Contributing
79
79
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ describe('socket root command', async () => {
62
62
--version Print the app version
63
63
64
64
Environment variables
65
- SOCKET_CLI_ACCEPT_RISKS Accept risks of a safe-npm or safe-npx run
66
65
SOCKET_CLI_API_TOKEN Set the Socket API token
67
66
SOCKET_CLI_CONFIG A JSON stringified Socket configuration object
68
67
SOCKET_CLI_GIT_USER_EMAIL The git config \`user.email\` used by Socket CLI
@@ -74,7 +73,9 @@ describe('socket root command', async () => {
74
73
SOCKET_CLI_NO_API_TOKEN Make the default API token \`undefined\`
75
74
SOCKET_CLI_NPM_PATH The absolute location of the npm directory
76
75
SOCKET_CLI_ORG_SLUG Specify the Socket organization slug
77
- SOCKET_CLI_VIEW_ALL_RISKS View all risks of a safe-npm or safe-npx run
76
+
77
+ SOCKET_CLI_ACCEPT_RISKS Accept risks of a Socket wrapped npm/npx run
78
+ SOCKET_CLI_VIEW_ALL_RISKS View all risks of a Socket wrapped npm/npx run
78
79
79
80
Environment variables for development
80
81
SOCKET_CLI_API_BASE_URL Change the base URL for all API-calls
Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ const LAZY_ENV = () => {
340
340
// programs are located. When a command is run, the system searches these
341
341
// directories to find the executable.
342
342
PATH : envAsString ( env [ 'PATH' ] ) ,
343
- // Accept risks of a safe-npm and safe- npx run.
343
+ // Accept risks of a Socket wrapped npm/ npx run.
344
344
SOCKET_CLI_ACCEPT_RISKS : envAsBoolean ( env [ SOCKET_CLI_ACCEPT_RISKS ] ) ,
345
345
// Change the base URL for all API-calls.
346
346
// https://github.com/SocketDev/socket-cli?tab=readme-ov-file#environment-variables-for-development
@@ -395,7 +395,7 @@ const LAZY_ENV = () => {
395
395
envAsString ( env [ 'SOCKET_CLI_ORG_SLUG' ] ) ||
396
396
// Coana CLI accepts the SOCKET_ORG_SLUG environment variable.
397
397
envAsString ( env [ 'SOCKET_ORG_SLUG' ] ) ,
398
- // View all risks of a safe-npm and safe- npx run.
398
+ // View all risks of a Socket wrapped npm/ npx run.
399
399
SOCKET_CLI_VIEW_ALL_RISKS : envAsBoolean ( env [ SOCKET_CLI_VIEW_ALL_RISKS ] ) ,
400
400
// Specifies the type of terminal or terminal emulator being used by the process.
401
401
TERM : envAsString ( env [ 'TERM' ] ) ,
Original file line number Diff line number Diff line change @@ -399,7 +399,6 @@ export async function meowWithSubcommands(
399
399
lines . push (
400
400
'' ,
401
401
'Environment variables' ,
402
- ' SOCKET_CLI_ACCEPT_RISKS Accept risks of a safe-npm or safe-npx run' ,
403
402
' SOCKET_CLI_API_TOKEN Set the Socket API token' ,
404
403
' SOCKET_CLI_CONFIG A JSON stringified Socket configuration object' ,
405
404
' SOCKET_CLI_GIT_USER_EMAIL The git config `user.email` used by Socket CLI' ,
@@ -411,7 +410,9 @@ export async function meowWithSubcommands(
411
410
' SOCKET_CLI_NO_API_TOKEN Make the default API token `undefined`' ,
412
411
' SOCKET_CLI_NPM_PATH The absolute location of the npm directory' ,
413
412
' SOCKET_CLI_ORG_SLUG Specify the Socket organization slug' ,
414
- ' SOCKET_CLI_VIEW_ALL_RISKS View all risks of a safe-npm or safe-npx run' ,
413
+ '' ,
414
+ ' SOCKET_CLI_ACCEPT_RISKS Accept risks of a Socket wrapped npm/npx run' ,
415
+ ' SOCKET_CLI_VIEW_ALL_RISKS View all risks of a Socket wrapped npm/npx run' ,
415
416
'' ,
416
417
'Environment variables for development' ,
417
418
' SOCKET_CLI_API_BASE_URL Change the base URL for all API-calls' ,
You can’t perform that action at this time.
0 commit comments