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

silvermine / lambda-express / 17 / 2
93%
master: 98%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.4.0
DEFAULT BRANCH: master
Ran 13 Feb 2019 03:23AM UTC
Files 10
Run time 3s
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

13 Feb 2019 03:19AM UTC coverage: 93.077% (+0.4%) from 92.663%
17.2

Pull #4

travis-ci-com

web-flow
Add mime-type lookup to Response.type(...)

The documentation said it was supposed to do mime type lookup for you
(e.g. `type('.html') => 'text/html'`), but that was unimplemented.

Rather than add a dependency on the `mime` package, we have pulled in
the "lite" database used by that package. We did this to reduce the
package size. The `mime` package, even though it doesn't have any
dependencies, is fairly large because of the additional more
full-featured database that it includes.  Since it's those additional
(rarely-used) types are unlikely to be needed, and we're trying to keep
our `@silvermine/lambda-express` package size small, we just imported
the "lite" database and wrote our own wrapper for it. The MIT licensing
made this acceptable to do.
Pull Request #4: Add mime-type lookup to Response.type(...)

133 of 137 branches covered (97.08%)

Branch coverage included in aggregate %.

230 of 253 relevant lines covered (90.91%)

219.38 hits per line

Source Files on job 17.2
  • Tree
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 11
  • Travis Job 17.2
  • c9cda0d2 on github
  • Prev Job for on response-mime-types (#13.3)
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

© 2025 Coveralls, Inc