Socket
Socket
Sign inDemoInstall

webpack-subresource-integrity

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-subresource-integrity - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

11

index.js

@@ -131,7 +131,10 @@ var crypto = require('crypto');

Object.values(assets).forEach(function forEachAsset(asset) {
if (!asset.integrity) {
asset.integrity = computeIntegrity(asset.source());
for (var key in assets) {
if (assets.hasOwnProperty(key)) {
var asset = assets[key];
if (!asset.integrity) {
asset.integrity = computeIntegrity(asset.source());
}
}
});
}

@@ -138,0 +141,0 @@ callback();

{
"name": "webpack-subresource-integrity",
"version": "0.3.1",
"version": "0.3.2",
"description": "Webpack plugin for ensuring subresource integrity",

@@ -5,0 +5,0 @@ "main": "index",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc