• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

npm / cli / #3257
97%
latest: 97%

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 03 Nov 2021 12:43AM UTC
Jobs 1
Files 125
Run time 15s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#3257

push

lukekarrys
fix: shrinkwrap setting incorrect lockfileVersion

Fix: #3962

When created from a hidden lockfile, shrinkwrap was always setting the
lockfileVersion to 3. The shrinkwrap command also needed to be updated
to log the correct message based on the lockfileVersion config instead
of the static lockfileVersion.

With these fixes, it was possible to log a better message whenever we
are changing the lockfileVersion, either from a config or any existing
lockfile.

Lastly, the tests for shrinkwrap were completely refactored to use the
real npm and test all conceivable scenarios, as well as removing usage
of `util.promisify` in favor of `fs.promises` now that we've dropped
support for Node 10.

3262 of 3362 branches covered (97.03%)

Branch coverage included in aggregate %.

16 of 16 new or added lines in 1 file covered. (100.0%)

5541 of 5694 relevant lines covered (97.31%)

28.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #3257.1 03 Nov 2021 12:43AM UTC 0
97.21
Source Files on build #3257
Detailed source file information is not available for this build.
  • Back to Repo
  • 3f8ca9d7 on github
  • Next Build on lk/3962-shrinkwrap
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc