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

@socketsecurity/cli

Package Overview
Dependencies
Maintainers
3
Versions
66
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 0.1.1 to 0.1.2

6

package.json
{
"name": "@socketsecurity/cli",
"version": "0.1.1",
"version": "0.1.2",
"description": "CLI tool for Socket.dev",
"homepage": "http://github.com/SocketDev/socket-commando",
"homepage": "http://github.com/SocketDev/socket-cli-js",
"repository": {
"type": "git",
"url": "git://github.com/SocketDev/socket-commando.git"
"url": "git://github.com/SocketDev/socket-cli-js.git"
},

@@ -10,0 +10,0 @@ "keywords": [],

@@ -23,5 +23,22 @@ # Socket CLI

* `info <package@version>` - looks up issues for a package
* `report create` - creates a report
* `socket info <package@version>` - looks up issues for a package
* `socket report create` - uploads the specified `package.json` and/or `package-lock.json` to create a report on [socket.dev](https://socket.dev/). If only one of a `package.json`/`package-lock.json` has been specified, the other will be automatically found and uploaded if it exists
## Flags
### Action flags
* `--dry-run` - the `socket report create` supports running the command without actually uploading anything. All CLI tools that perform an action should have a dry run flag
### Output flags
* `--json` - outputs result as json which you can then pipe into [`jq`](https://stedolan.github.io/jq/) and other tools
* `--markdown` - outputs result as markdown which you can then copy into an issue, PR or even chat
### Other flags
* `--debug` - outputs additional debug output. Great for debugging, geeks and us who develop. Hopefully you will never _need_ it, but it can still be fun, right?
* `--help` - prints the help for the current command. All CLI tools should have this flag
* `--version` - prints the version of the tool. All CLI tools should have this flag
## Environment variables

@@ -31,2 +48,3 @@

## Contributing
### Environment variables for development

@@ -33,0 +51,0 @@

Sorry, the diff of this file is not supported yet

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