Skip to content

Commit 6220ed9

Browse files
committed
docs
1 parent 9be4f1e commit 6220ed9

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ socket report view QXU8PmK7LfH608RAwfIKdbcHgwEd_ZeWJ9QEGv05FJUQ
2626

2727
* `socket report create <path(s)-to-folder-or-file>` - creates a report on [socket.dev](https://socket.dev/)
2828

29-
Uploads the specified `package.json` and lock files and, if any folder is specified, the ones found in there. Also includes the complementary `package.json` and lock file to any specified. Currently `package-lock.json` and `yarn.lock` are supported.
29+
Uploads the specified `package.json` and lock files for JavaScript and Python dependency manifests.
30+
If any folder is specified, the ones found in there recursively are uploaded.
3031

31-
Supports globbing such as `**/package.json`.
32+
Supports globbing such as `**/package.json`, `**/requirements.txt`, and `**/pyproject.toml`.
3233

3334
Ignores any file specified in your project's `.gitignore`, the `projectIgnorePaths` in your project's [`socket.yml`](https://docs.socket.dev/docs/socket-yml) and on top of that has a sensible set of [default ignores](https://www.npmjs.com/package/ignore-by-default)
3435

lib/commands/report/create.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,10 @@ async function setupCommand (name, description, argv, importMeta) {
107107
Usage
108108
$ ${name} <paths-to-package-folders-and-files>
109109
110-
Uploads the specified "package.json" and lock files and, if any folder is
111-
specified, the ones found in there. Also includes the complementary
112-
"package.json" and lock file to any specified. Currently "package-lock.json"
113-
and "yarn.lock" are supported.
110+
Uploads the specified "package.json" and lock files for JavaScript and Python dependency manifests.
111+
If any folder is specified, the ones found in there recursively are uploaded.
114112
115-
Supports globbing such as "**/package.json".
113+
Supports globbing such as "**/package.json", "**/requirements.txt", and "**/pyproject.toml".
116114
117115
Ignores any file specified in your project's ".gitignore", your project's
118116
"socket.yml" file's "projectIgnorePaths" and also has a sensible set of

0 commit comments

Comments
 (0)