@@ -21,36 +21,42 @@ socket wrapper --enable
21
21
22
22
## Commands
23
23
24
- - ` socket info <package@version> ` - Look up issues for a package.
24
+ ### Popular Commands
25
+
26
+ - ` socket npm [args...] ` and ` socket npx [args...] ` - Wraps ` npm ` and ` npx ` to
27
+ integrate Socket and preempt installation of alerted packages using the builtin
28
+ resolution of ` npm ` to precisely determine package installations.
25
29
26
30
- ` socket optimize ` - Optimize dependencies with
27
- [ ` @socketregistry ` ] ( https://github.com/SocketDev/socket-registry ) overrides
28
- _ (👀 [ our blog post] ( https://socket.dev/blog/introducing-socket-optimize ) !)_
31
+ [ ` @socketregistry ` ] ( https://github.com/SocketDev/socket-registry ) overrides!
32
+ _ (👀 [ our blog post] ( https://socket.dev/blog/introducing-socket-optimize ) )_
33
+ - ` --pin ` - Pin overrides to their latest version.
34
+ - ` --prod ` - Add overrides for only production dependencies.
29
35
30
- - ` --pin ` - Pin overrides to their latest version
31
- - ` --prod ` - Only add overrides for production dependencies
36
+ ### Other Commands
32
37
33
38
- ` socket cdxgen [command] ` - Call out to [ cdxgen] ( https://cyclonedx.github.io/cdxgen/#/?id=getting-started ) .
34
39
See [ their documentation] ( https://cyclonedx.github.io/cdxgen/#/CLI?id=getting-help ) for commands.
35
40
36
- - ` socket raw-npm ` and ` socket raw-npx ` - Temporarily disable the Socket
37
- 'safe-npm' wrapper.
41
+ - ` socket info <package@version> ` - Look up issues for a package.
42
+
43
+ - ` socket raw-npm [args...] ` and ` socket raw-npx [args...] ` - Temporarily disable
44
+ the Socket 'safe-npm' wrapper.
38
45
39
- - ` socket report create <path(s)-to-folder-or-file> ` - creates a report on
46
+ - ` socket report create <path(s)-to-folder-or-file> ` - Create a report on
40
47
[ Socket.dev] ( https://socket.dev/ )
41
48
42
49
Upload the specified ` package.json ` and lock files for JavaScript, Python, and
43
50
Go dependency manifests. If any folder is specified, the ones found in there
44
51
recursively are uploaded.
45
52
46
- Supports globbing such as ` **/package.json ` , ` **/requirements.txt ` ,
47
- ` **/pyproject.toml ` , and ` **/go.mod ` .
53
+ Glob patterns such as ` **/package.json ` , ` **/requirements.txt ` ,
54
+ ` **/pyproject.toml ` , and ` **/go.mod ` is supported .
48
55
49
- Ignores any file specified in your project's ` .gitignore ` , the
56
+ Intuitively ignores files matching your project's ` .gitignore ` , the
50
57
` projectIgnorePaths ` in your project's
51
- [ ` socket.yml ` ] ( https://docs.socket.dev/docs/socket-yml ) and on top of that has
52
- a sensible set of
53
- [ default ignores] ( https://socket.dev/npm/package/ignore-by-default )
58
+ [ ` socket.yml ` ] ( https://docs.socket.dev/docs/socket-yml ) , and a sensible set of
59
+ [ default ignore patterns] ( https://socket.dev/npm/package/ignore-by-default ) .
54
60
55
61
- ` socket report view <report-id> ` - Look up issues and scores from a report.
56
62
0 commit comments