lirantal / lockfile-lint

Lint an npm or yarn lockfile to analyze and detect security issues
Apache License 2.0
785 stars 35 forks source link

feat(emptyhostname): allow empty hostnames in api #27

Closed lirantal closed 4 years ago

lirantal commented 4 years ago

Description

BREAKING CHANGE: lockfile-lint-api internal method API has changed its function signature to allow receiving a value, and then an options object in a second argument.

Types of changes

Related Issue

Relevant issues:

Motivation and Context

How Has This Been Tested?

Checklist:

codecov-io commented 4 years ago

Codecov Report

Merging #27 into master will increase coverage by 0.04%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   97.22%   97.26%   +0.04%     
==========================================
  Files          11       11              
  Lines         180      183       +3     
  Branches       25       26       +1     
==========================================
+ Hits          175      178       +3     
  Misses          5        5
Impacted Files Coverage Δ
...s/lockfile-lint-api/src/validators/ValidateHost.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update aa0474c...1e81165. Read the comment docs.