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

ibrowser

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ibrowser - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

11

lib/session.js

@@ -335,6 +335,13 @@ module.exports = function (browser) {

// must delete values before re set
let a_orgin = details.responseHeaders['Access-Control-Allow-Origin'] || details.responseHeaders['Access-Control-Allow-Origin'.toLowerCase()]
delete details.responseHeaders['Access-Control-Allow-Credentials']
delete details.responseHeaders['Access-Control-Allow-Methods']
delete details.responseHeaders['Access-Control-Allow-Headers']
delete details.responseHeaders['Access-Control-Allow-Origin']
delete details.responseHeaders['Access-Control-Allow-Credentials'.toLowerCase()]
delete details.responseHeaders['Access-Control-Allow-Methods'.toLowerCase()]
delete details.responseHeaders['Access-Control-Allow-Headers'.toLowerCase()]
delete details.responseHeaders['access-control-allow-origin'.toLowerCase()]
delete details.responseHeaders['Access-Control-Allow-Origin'.toLowerCase()]

@@ -344,3 +351,3 @@ details.responseHeaders["Access-Control-Allow-Credentials".toLowerCase()] = "true"

details.responseHeaders["Access-Control-Allow-Headers".toLowerCase()] = "Origin, X-Requested-With, Content-Type, Accept"
details.responseHeaders["Access-Control-Allow-Origin".toLowerCase()] = "*"
details.responseHeaders["Access-Control-Allow-Origin".toLowerCase()] = a_orgin || "*"

@@ -347,0 +354,0 @@ callback({

2

package.json
{
"name": "ibrowser",
"version": "1.0.2",
"version": "1.0.3",
"description": "Integration For Social-browser.com",

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

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