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

silvermine / lambda-express
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: MatheusBaldi/improve-fake-events-creation
DEFAULT BRANCH: master
Repo Added 08 Feb 2019 01:30AM UTC
Files 19
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

LAST BUILD ON BRANCH fix-mime-lookup
branch: fix-mime-lookup
CHANGE BRANCH
x
Reset
  • fix-mime-lookup
  • MatheusBaldi/improve-fake-events-creation
  • MatheusBaldi/prevent-badly-formed-commit-messages
  • MatheusBaldi/remove-is-error
  • badly-encoded-path-param
  • caching
  • changelog-v0.3.1
  • commit-messages-and-changelogs
  • expose-body
  • fix-build
  • fix-x-forwarded-host
  • fix_44_redirect_body
  • fix_misc_typos
  • jbrupbacher/upgrade-typescript
  • jrthomer/add-test
  • jrthomer/add-tests
  • jrthomer/fix-urls
  • jrthomer/handle-bad-queries
  • jrthomer/log-levels
  • jrthomer/shared-caches
  • js-safeguard-response-header-values
  • json-cookies-tests
  • jsonp_upgrades
  • lambda-types-upgrade
  • master
  • minor-fixes
  • npm-audit
  • npm-audit-fix
  • npm_prepare
  • older-path-to-regexp
  • promise_support
  • response-mime-types
  • router-reuse
  • routing
  • test-formatting
  • test-markdown-formatting
  • test-refactor
  • ts-eslint-upgrades
  • tslib-peer
  • v0.2.0
  • v0.3.0

pending completion
35

Pull #7

travis-ci-com

web-flow
Fix mime type lookup not having standard.json available

When building the `dist/esm` folder, the file `src/mime/standard.json`
was not getting copied into `dist/esm/mime/`. Thus, when someone
imported the module in their node project, Lambda Express could not be
initialized because it was missing a file that was being required. The
reason the file wasn't being copied into the dist was that it was being
required instead of imported.

Importing it also has the side effect of providing type inspection of
standard.json and thus making the `reduce` loop type safe.
Pull Request #7: Fix mime type lookup not having standard.json available

177 of 180 branches covered (98.33%)

Branch coverage included in aggregate %.

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

346 of 350 relevant lines covered (98.86%)

1446.79 hits per line

Relevant lines Covered
Build:
Build:
350 RELEVANT LINES 346 COVERED LINES
1446.79 HITS PER LINE
Source Files on fix-mime-lookup
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
35 fix-mime-lookup Fix mime type lookup not having standard.json available When building the `dist/esm` folder, the file `src/mime/standard.json` was not getting copied into `dist/esm/mime/`. Thus, when someone imported the module in their node project, Lambda Expr... Pull #7 14 Feb 2019 07:00PM UTC web-flow travis-ci-com pending completion  
34 fix-mime-lookup Fix mime type lookup not having standard.json available When building the `dist/esm` folder, the file `src/mime/standard.json` was not getting copied into `dist/esm/mime/`. Thus, when someone imported the module in their node project, Lambda Expr... push 14 Feb 2019 06:58PM UTC jthomerson travis-ci-com pending completion  
See All Builds (236)
  • Repo on GitHub
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