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

postcat-basic-auth

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcat-basic-auth - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

4

index.js
module.exports = {
authAPI: (config) => {
const headerValue = `Basic ${Buffer.from(
`${config.username || ''}::${config.password}`
`${config.username || ''}:${config.password}`
).toString('base64')}`
return `pc.request.headers.add({
key:'Authorization1', value:'${headerValue}'
key:'Authorization', value:'${headerValue}'
})`
}
}
{
"name": "postcat-basic-auth",
"title": "Basic Authorization",
"version": "0.0.6",
"version": "0.0.7",
"description": "Basic Auth is an HTTP-based security authentication mechanism that adds the Authorization field to the request header.",

@@ -46,3 +46,4 @@ "author": {

}
}
},
"dependencies": {}
}
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