New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

http-permission-injection

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-permission-injection - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

index.js

@@ -110,3 +110,3 @@ // Request module, used to perform remote api requests.

now.setTime(now.getTime() + (event.cookie_expiry_minutes * 60 * 1000));
event.response.writeHead(303, {
event.response.writeHead(302, {
'Set-Cookie': [event.cookie_prefix + "permissions=" + event.permission_cookie + ";expires="+now.toUTCString()+";path=" + event.cookie_path],

@@ -113,0 +113,0 @@ 'Content-Type': 'text/plain',

{
"name": "http-permission-injection",
"version": "1.1.0",
"version": "1.1.1",
"description": "Inject and verify a users permissions coming form an http request, using local or remote resources for verification.",

@@ -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