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

expressjs / compression
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: remove-history-from-package
DEFAULT BRANCH: master
Repo Added 30 May 2014 12:12AM UTC
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 1.x
branch: 1.x
CHANGE BRANCH
x
Reset
  • 1.x
  • 1.0.1
  • 1.0.10
  • 1.0.11
  • 1.0.3
  • 1.0.4
  • 1.0.5
  • 1.0.6
  • 1.0.7
  • 1.0.8
  • 1.0.9
  • 1.1.0
  • 1.1.1
  • 1.1.2
  • 1.2.0
  • 1.2.1
  • 1.2.2
  • 1.3.0
  • 1.3.1
  • 1.4.0
  • 1.4.1
  • 1.4.2
  • 1.4.3
  • 1.4.4
  • 1.5.0
  • 1.5.1
  • 1.5.2
  • 1.6.0
  • 1.6.1
  • 1.6.2
  • 1.7.0
  • 1.7.1
  • 1.7.2
  • 1.7.3
  • 1.7.4
  • 1.8.0
  • 1.8.1
  • add-dependabot
  • be/use-negotiator
  • bijoythomas/master
  • bjohansebas-patch-1
  • bjohansebas-patch-2
  • bsebas/improve-ci
  • bugfix/use_writeHead_instead_of_implicitHeader
  • chore/GHA-171514-stepsecurity-remediation
  • ci-workflows
  • codeql
  • dependabot/github_actions/actions/checkout-4.2.2
  • dependabot/github_actions/actions/checkout-5.0.0
  • dependabot/github_actions/actions/checkout-6.0.0
  • dependabot/github_actions/actions/download-artifact-5.0.0
  • dependabot/github_actions/actions/download-artifact-6.0.0
  • dependabot/github_actions/actions/download-artifact-7.0.0
  • dependabot/github_actions/actions/setup-node-5.0.0
  • dependabot/github_actions/actions/setup-node-6.0.0
  • dependabot/github_actions/actions/setup-node-6.1.0
  • dependabot/github_actions/actions/upload-artifact-4.6.2
  • dependabot/github_actions/actions/upload-artifact-5.0.0
  • dependabot/github_actions/actions/upload-artifact-6.0.0
  • dependabot/github_actions/coverallsapp/github-action-2.3.7
  • dependabot/github_actions/github/codeql-action-3.28.15
  • dependabot/github_actions/github/codeql-action-3.28.18
  • dependabot/github_actions/github/codeql-action-3.29.11
  • dependabot/github_actions/github/codeql-action-3.29.2
  • dependabot/github_actions/github/codeql-action-3.29.5
  • dependabot/github_actions/github/codeql-action-3.30.5
  • dependabot/github_actions/github/codeql-action-4.31.2
  • dependabot/github_actions/github/codeql-action-4.31.5
  • dependabot/github_actions/github/codeql-action-4.31.9
  • dependabot/github_actions/ossf/scorecard-action-2.4.1
  • dependabot/github_actions/ossf/scorecard-action-2.4.2
  • dependabot/github_actions/ossf/scorecard-action-2.4.3
  • dependabot/npm_and_yarn/eslint-plugin-import-2.31.0
  • dependabot/npm_and_yarn/eslint-plugin-import-2.32.0
  • dependabot/npm_and_yarn/supertest-6.3.4
  • dependencies-caret
  • deps-update
  • develop
  • drain
  • ensure-res-end-gets-called
  • fix/listeners
  • master
  • metadata-package
  • new-options-format
  • opt-out
  • refactor
  • refs/tags/1.7.5
  • release/1.8.1
  • remove-close-patch
  • remove-history-from-package
  • remove-node-old
  • remove-safe-buffer
  • revert-197-be/use-negotiator
  • test-expres-4.12
  • v1.8.0
  • v1.8.1
  • v2
  • v2-remove-support-checks
  • x-no-compression
  • zb/152

02 Nov 2024 12:15AM UTC coverage: 100.0%. Remained the same
11654281679

push

github

web-flow
Refactor toBuffer function to simplify buffer check logic (#201)

The function now directly returns the existing buffer if the input is already a buffer,
eliminating the need for a negated condition. This improves code readability and
maintains functionality by ensuring that non-buffer inputs are converted to a buffer
using the specified encoding.

64 of 64 branches covered (100.0%)

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

101 of 101 relevant lines covered (100.0%)

425.73 hits per line

Relevant lines Covered
Build:
Build:
101 RELEVANT LINES 101 COVERED LINES
425.73 HITS PER LINE
Source Files on 1.x
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
11654281679 1.x Refactor toBuffer function to simplify buffer check logic (#201) The function now directly returns the existing buffer if the input is already a buffer, eliminating the need for a negated condition. This improves code readability and maintains ... push 03 Nov 2024 08:04PM UTC web-flow github
100.0
See All Builds (846)
  • 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