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

camouflage-rewrite

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

camouflage-rewrite - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

2

index.js

@@ -98,3 +98,3 @@ 'use strict'

Object.keys(res._headers).forEach(function (field) {
res._headers[field] = res._headers[field].toString().split(options.url).join(requestOrigin)
res.header(field, res._headers[field].toString().split(options.url).join(requestOrigin))
})

@@ -101,0 +101,0 @@ }

{
"name": "camouflage-rewrite",
"version": "1.1.1",
"version": "1.2.0",
"description": "Express middleware to rewrite a request to a different URL and optional also replace it in the response content",

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

Sorry, the diff of this file is not supported yet

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