🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@socketsecurity/cli

Package Overview
Dependencies
Maintainers
5
Versions
296
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socketsecurity/cli - npm Package Compare versions

Comparing version

to
0.9.3

lib/commands/raw-npm/index.js

11

cli.js

@@ -18,4 +18,13 @@ #!/usr/bin/env node

try {
const formattedCliCommands = Object.fromEntries(Object.entries(cliCommands).map((entry) => {
if (entry[0] === 'rawNpm') {
entry[0] = 'raw-npm'
} else if (entry[0] === 'rawNpx') {
entry[0] = 'raw-npx'
}
return entry
}))
await meowWithSubcommands(
cliCommands,
formattedCliCommands,
{

@@ -22,0 +31,0 @@ aliases: {

@@ -7,1 +7,4 @@ export * from './info/index.js'

export * from './logout/index.js'
export * from './wrapper/index.js'
export * from './raw-npm/index.js'
export * from './raw-npx/index.js'
export { outputFlags } from './output.js'
export { validationFlags } from './validation.js'
export { commandFlags } from './command.js'

2

lib/utils/path-resolve.js

@@ -104,3 +104,3 @@ import { stat } from 'node:fs/promises'

const goSupported = supportedFiles['go'] || {}
const goSupported = supportedFiles['golang'] || {}
const goSupplementalPatterns = Object.values(goSupported)

@@ -107,0 +107,0 @@ // .filter(key => key !== 'gomod')

{
"name": "@socketsecurity/cli",
"version": "0.9.0",
"version": "0.9.3",
"description": "CLI tool for Socket.dev",

@@ -43,3 +43,4 @@ "homepage": "http://github.com/SocketDev/socket-cli-js",

"test-ci": "run-s test:*",
"test": "run-s check test:*"
"test": "run-s check test:*",
"//postinstall": "node ./cli.js wrapper --postinstall"
},

@@ -46,0 +47,0 @@ "devDependencies": {

@@ -21,2 +21,3 @@ # Socket CLI

socket report view QXU8PmK7LfH608RAwfIKdbcHgwEd_ZeWJ9QEGv05FJUQ
socket wrapper --enable
```

@@ -39,2 +40,6 @@

* `socket wrapper --enable` and `socket wrapper --disable` - Enables and disables the Socket 'safe-npm' wrapper.
* `socket raw-npm` and `socket raw-npx` - Temporarily disables the Socket 'safe-npm' wrapper.
## Aliases

@@ -41,0 +46,0 @@