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.1 to 1.0.2

11

lib/session.js

@@ -334,2 +334,13 @@ module.exports = function (browser) {

// must delete values before re set
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()]
details.responseHeaders["Access-Control-Allow-Credentials".toLowerCase()] = "true"
details.responseHeaders["Access-Control-Allow-Methods".toLowerCase()] = "POST,GET,DELETE,PUT,OPTIONS,VIEW,HEAD,CONNECT,TRACE"
details.responseHeaders["Access-Control-Allow-Headers".toLowerCase()] = "Origin, X-Requested-With, Content-Type, Accept"
details.responseHeaders["Access-Control-Allow-Origin".toLowerCase()] = "*"
callback({

@@ -336,0 +347,0 @@ cancel: false,

4

package.json
{
"name": "ibrowser",
"version": "1.0.1",
"description": "",
"version": "1.0.2",
"description": "Integration For Social-browser.com",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

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