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

npm / cli / #581
68%
latest: 97%

Build:
Build:
LAST BUILD BRANCH: nlf/arborist-validation
DEFAULT BRANCH: latest
Ran 28 Oct 2020 05:44PM UTC
Jobs 1
Files 129
Run time 33s
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
#581

push

isaacs
Support *all* conf keys in publishConfig

This adds a flatOptions.flatten() method, which takes an object full of
config keys, and turns it into an options object.  This method expects
an object that already inherits from npm's defaults, and is thus
expected to be internal only.

This commit also removes some config keys which were used by npm
dependencies at the start of the v7 beta process, but are no longer:

- all lockfile configs (since we don't use lockfiles any more! for
  anything! and good riddance, they're a rats' nest of race conditions)
- cacheMax/cacheMin (we only use preferOffline/offline/online now, so
  these are strictly legacy support as input and never shared with deps)

Once this lands in cli, we can remove the publishConfig handling logic
in npm-registry-fetch, as it will be redundant.

1888 of 2942 branches covered (64.17%)

Branch coverage included in aggregate %.

34 of 34 new or added lines in 2 files covered. (100.0%)

3650 of 5167 relevant lines covered (70.64%)

13.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #581.1 28 Oct 2020 05:44PM UTC 0
68.29
Source Files on build #581
Detailed source file information is not available for this build.
  • Back to Repo
  • b9397c0e on github
  • Prev Build on isaacs/publishConfig-support-all-keys
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