Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

resp-modifier

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resp-modifier - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

5

lib/utils.js

@@ -95,6 +95,9 @@ var minimatch = require("minimatch");

// Check the path only
var split = url.split('?')[0];
// second, check that the URL does not contain a
// file extension that should be ignored by default
if (opts.ignore.some(function (pattern) {
return new RegExp(pattern).test(url);
return new RegExp(pattern).test(split);
})) {

@@ -101,0 +104,0 @@ return true;

2

package.json
{
"name": "resp-modifier",
"description": "Middleware for modifying a HTML response",
"version": "6.0.0",
"version": "6.0.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Shane Osbourne",

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