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

npm / npm / 9220
93%
master: %

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 25 Feb 2018 02:09AM UTC
Jobs 1
Files 177
Run time 7s
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
9220

push

travis-ci

zkat
save/shrinkwrap/version: consolidate code for stringifying package data and add tests (#19907)

This reduces code duplication for detecting indentation and new lines in
`package[-lock].json` and stringifying the data. This also improves
performance on Unix systems since it avoids replacing newlines when
it's not necessary.

Tests have been added to test that `package[-lock].json` files are
written to disk with their original line endings.

PR-URL: https://github.com/npm/npm/pull/19907
Credit: @nwoltman
Reviewed-By: @zkat

3369 of 4932 branches covered (68.31%)

6446 of 7778 relevant lines covered (82.87%)

1625.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9220.1 (DEPLOY_VERSION=testing COVERALLS_REPO_TOKEN="$COVERALLS_OPTIONAL_TOKEN") 25 Feb 2018 02:09AM UTC 0
82.87
Travis Job 9220.1
Source Files on build 9220
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9220
  • fe41a805 on github
  • Prev Build on release-next (#9205)
  • Next Build on release-next (#9232)
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