Skip to content

Fails to scan node packages in some cases #1355

@atomicpirate

Description

@atomicpirate

Log

The log that was generated when I take the below steps with ODC 3.2.1 is posted as a gist.

Steps to Reproduce

Create an empty directory and then add this package.json file:

{
  "name": "test",
  "dependencies": {
    "jquery": "latest"
  }
}

Then run:

npm install
dependency-check -s . -o . --project test

The expected behavior is that ODC would detect and scan the latest jquery from npm.

The actual behavior is that a report is generated indicating that zero dependencies were scanned: "Dependencies Scanned: 0 (0 unique)".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions