Gathering detailed insights and metrics for webpack-subresource-integrity
Gathering detailed insights and metrics for webpack-subresource-integrity
Gathering detailed insights and metrics for webpack-subresource-integrity
Gathering detailed insights and metrics for webpack-subresource-integrity
ssri
Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.
@sowtame/webpack-subresource-integrity
Webpack plugin for enabling Subresource Integrity
@hint/hint-sri
Require scripts and styles to use Subresource Integrity
cacache
Fast, fault-tolerant, cross-platform, disk-based, data-agnostic, content-addressable cache.
Webpack plugin for enabling Subresource Integrity.
npm install webpack-subresource-integrity
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
360 Stars
467 Commits
47 Forks
15 Watching
11 Branches
22 Contributors
Updated on 27 Nov 2024
TypeScript (89.37%)
JavaScript (10.5%)
Emacs Lisp (0.13%)
Cumulative downloads
Total Downloads
Last day
-3.8%
665,763
Compared to previous day
Last week
2%
3,428,587
Compared to previous week
Last month
8.2%
14,392,558
Compared to previous month
Last year
11.9%
155,535,443
Compared to previous year
If you're looking for installation and usage instructions, visit the main package.
Or you might be looking for the 1.x version with support for Webpack 1-4 and older versions of html-webpack-plugin? Visit the 1.x branch.
Upgrading from version 1.x? Read the migration guide.
If you want to hack on the package, read on — you're in the right place.
To install from source, clone this repository, cd into it and run
yarn
Note: this repository uses yarn workspaces; you have to use a recent version of Yarn, npm won't work. (This limitation does not apply to the built package; you can install that with npm, yarn, or any other package manager.)
The following will run all unit tests, integration tests, examples, and lint. It will also build the package and run a smoke test on the resulting tarball:
yarn check
The easiest way to add a new test is to create an example, which is an
integration test. An example is a self-contained package in directory
example
. It should follow these simple rules:
yarn webpack
is invoked inside the package, it returns a zero
exit code for a test pass, and a non-zero exit code for a test
failure.nyc
installed for coverage reporting to
work.*
as the version for
webpack-subresource-integrity
so that it picks up the version from
inside the workspace (instead of using a published version.)expect
for testing expectations.nyc
,
expect
, webpack
etc. match those used in other examples, unless
there's a good reason to use a different version.The latest stable version of the package.
Stable Version
1
3.7/10
Summary
Unprotected dynamically loaded chunks
Affected Versions
< 1.5.1
Patched Versions
1.5.1
Reason
all changesets reviewed
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
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
Reason
23 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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