Gathering detailed insights and metrics for hapi-vary-accept
Gathering detailed insights and metrics for hapi-vary-accept
npm install hapi-vary-accept
Typescript
Module System
Node Version
NPM Version
62.1
Supply Chain
96.2
Quality
75.6
Maintenance
100
Vulnerability
100
License
JavaScript (93.84%)
Shell (6.16%)
Total Downloads
19,894
Last Day
1
Last Week
6
Last Month
52
Last Year
2,326
1 Stars
1,426 Commits
3 Watching
3 Branches
4 Contributors
Minified
Minified + Gzipped
Latest Version
3.0.3
Package Id
hapi-vary-accept@3.0.3
Unpacked Size
12.02 kB
Size
5.25 kB
File Count
14
NPM Version
9.6.7
Node Version
18.17.1
Publised On
23 Sept 2023
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
-80%
6
Compared to previous week
Last month
-7.1%
52
Compared to previous month
Last year
-1.6%
2,326
Compared to previous year
hapi pre-response handler to include Accept
in the Vary
header
Google Chrome caches only the last response for any endpoint, regardless of
content-type
, which results in rendering json data instead of the rendered
page based on the html representation. These values are cached even with the
Cache-Control
header set to no-cache
in order to optimize operations like
navigating back or duplicating a tab.
While normally unnecessary because of configuring the headers to prevent
caching,including Accept
in the Vary
header does technically further inform
a client that a single endpoint responds with different responses based on the
Accept
header of the request.
:warning: This plugin does not yet support hapi v17
1$ npm install hapi-vary-accept --save
1$ npm test
No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
all dependencies are pinned
Details
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
Reason
Found 0/18 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-06
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More