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

Node Audit Analyzer support for package(-lock).json files that do not… #1821

Merged
merged 1 commit into from
Mar 24, 2019

Conversation

ajbanck
Copy link
Contributor

@ajbanck ajbanck commented Mar 24, 2019

Fixes Issue #1577 and #1603

Description of Change

Handle package(-lock).json files without version/name for Node Audit Analyzer support of files that do not have a version or name field and avoid throwing a NullPointerException.
Note that the name and version fields are optional according to https://docs.npmjs.com/files/package.json

Have test cases been added to cover the new functionality?

no

@jeremylong jeremylong merged commit ea28d8a into jeremylong:master Mar 24, 2019
@jeremylong jeremylong added this to the 5.0.0-M3 milestone May 6, 2019
@lock lock bot locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants