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

bjohansebas / compression
100%

Build:
DEFAULT BRANCH: master
Repo Added 18 Sep 2024 12:57AM UTC
Token U3wXdW6tupbL4btlvFImBSlGoKbKZu1V7 regen
Build 59 Last
Files 1
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 master
branch: master
CHANGE BRANCH
x
Reset
Sync Branches
  • master
  • 1.8.0
  • add-default-encoding
  • add-dependabot
  • dependencies-caret
  • feature/brotli
  • metadata-package
  • refactor
  • remove-bail-option
  • update-bytes
  • update-ci
  • update-history
  • update-readme
  • x-no-compression

08 Jan 2025 07:46PM UTC coverage: 100.0% (+0.6%) from 99.444%
12679254898

push

github

web-flow
feat: support for brotli (#194)

* Added support for brotli ('br') content-encoding

* Update README.md

* Update README.md

* Update README.md

* Apply default value also when params is specified

* Increase coverage for specifying params

* Updated brotli detection method

* Prefer br over gzip and deflate

* feat: use "koa-compress" logic to determine the preferred encoding

* test: adding one more test case br/gzip with quality params

* chore: fix linting errors

* fix: hand write encodings lib to be compatible with node 0.8

* Fix: fixing lint errors in new lib

* Fix: fixing lint errors in new lib

* implemented required encoding negotiator without 3rd party dependency

* fix

* use negotiator

* improve negotiateEnconding

* fix support

* update history

* add new test

* add new test

* Update test/compression.js

Co-authored-by: Wes Todd <wes@wesleytodd.com>

* improve parse options

* don't directly manipulate the object.

* remove .npmrc

* use object assign in params

* test: add test for enforceEnconding

* deps: remove  object-assign

---------

Co-authored-by: Daniel Cohen Gindi <danielgindi@gmail.com>
Co-authored-by: Nick Randall <nicksrandall@gmail.com>
Co-authored-by: Ulises Gascón <ulisesgascongonzalez@gmail.com>
Co-authored-by: Wes Todd <wes@wesleytodd.com>

115 of 115 relevant lines covered (100.0%)

605.8 hits per line

Relevant lines Covered
Build:
Build:
115 RELEVANT LINES 115 COVERED LINES
605.8 HITS PER LINE
Source Files on master
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
12679254898 master feat: support for brotli (#194) * Added support for brotli ('br') content-encoding * Update README.md * Update README.md * Update README.md * Apply default value also when params is specified * Increase coverage for specifying para... push 08 Jan 2025 09:23PM UTC web-flow github
100.0
12182931137 master feat: add default option (#191) * add test for default encoding * add functionality * support * * add docs * fix logic * change defaultEncoding to enforceEnconding * sort conditional push 05 Dec 2024 03:31PM UTC web-flow github
99.44
11758264279 master Use headersSent instead of _header (#129) * fix: change usage of _header to headersSernt * improve logic * update history --------- Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com> push 09 Nov 2024 05:51PM UTC web-flow github
99.4
See All Builds (54)

Badge your Repo: compression

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • 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

© 2026 Coveralls, Inc