Skip to content
This repository has been archived by the owner on Apr 1, 2022. It is now read-only.

Add --depth 1000 to npm ls #240

Merged
merged 2 commits into from
May 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 7 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Unreleased
# v2.5.18

- Add --depth 1000 to npm ls #240 ([#240](https://github.com/fossas/spectrometer/pull/240)))

# v2.5.17

- Fix `fossa container analyze` `--project` and `--revision` flags ([#238](https://github.com/fossas/spectrometer/pull/238)))

# v2.5.16

- Support for manually specified dependencies through `fossa-deps.yaml` ([#236](https://github.com/fossas/spectrometer/pull/236))
Expand Down
2 changes: 1 addition & 1 deletion src/Strategy/Node/NpmList.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import Path
npmListCmd :: Command
npmListCmd = Command
{ cmdName = "npm"
, cmdArgs = ["ls", "--json", "--production"]
, cmdArgs = ["ls", "--json", "--production", "--depth", "1000"]
, cmdAllowErr = NonEmptyStdout
}

Expand Down