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

@tunaiku.npm/embedded-session-management

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tunaiku.npm/embedded-session-management - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "@tunaiku.npm/embedded-session-management",
"version": "0.0.3",
"version": "0.0.4",
"description": "Session management",

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

@@ -8,3 +8,6 @@ function isAuthenticated() {

//is json request or accept header is json
if (req.xhr || req.headers.accept.indexOf("json") > -1) {
const headers = req.headers || {};
const accept = headers.accept || "";
if (req.xhr || accept.indexOf("json") > -1) {
return res.status(401).json({

@@ -11,0 +14,0 @@ message:

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