Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sca): add types for new potential lockfile/manifest types #315

Merged
merged 2 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions semgrep_output_v1.atd
Original file line number Diff line number Diff line change
Expand Up @@ -1914,6 +1914,7 @@ type lockfile_kind
| PipRequirementsTxt
| PoetryLock
| PipfileLock
| UVLock
salolivares marked this conversation as resolved.
Show resolved Hide resolved
| NpmPackageLockJson
| YarnLock
| PnpmLock
Expand All @@ -1927,6 +1928,7 @@ type lockfile_kind
| PubspecLock
| SwiftPackageResolved (* not a real lockfile *)
| MixLock
| ConanLock
] <ocaml repr="classic">

type manifest_kind
Expand Down Expand Up @@ -1959,6 +1961,8 @@ type manifest_kind
| Pipfile (* Pipfile - https://pipenv.pypa.io/en/latest/pipfile.html *)
| PyprojectToml
(* pyproject.toml - https://packaging.python.org/en/latest/guides/writing-pyproject-toml/ *)
| ConanFileTxt (* conanfile.txt - https://docs.conan.io/2.9/reference/conanfile_txt.html#conanfile-txt *)
| ConanFilePy (* conanfile.py - https://docs.conan.io/2.9/reference/conanfile.html *)
]

type manifest
Expand Down
8 changes: 6 additions & 2 deletions semgrep_output_v1.jsonschema

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion semgrep_output_v1.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

80 changes: 78 additions & 2 deletions semgrep_output_v1.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions semgrep_output_v1.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 33 additions & 4 deletions semgrep_output_v1_j.ml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions semgrep_output_v1_j.mli

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.