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

next-persist

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-persist - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

2

package.json
{
"name": "next-persist",
"version": "1.0.7",
"version": "1.0.8",
"description": "Bridging the gap between client-side persistence and server-side rendering",

@@ -5,0 +5,0 @@ "main": "src/next-persist.js",

@@ -24,3 +24,3 @@ /* eslint-disable prettier/prettier */

if (req) {
return cookie.parse(req.headers.cookie || '');
return cookie.parse(req ? req.ctx.req.headers.cookie || "" : global.cookie);
}

@@ -27,0 +27,0 @@ return cookie.parse(document.cookie);

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