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

nookies

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nookies - npm Package Compare versions

Comparing version 2.3.1 to 2.3.2

8

package.json
{
"name": "nookies",
"description": "A set of cookie helpers for Next.js",
"version": "2.3.1",
"version": "2.3.2",
"main": "dist/index.js",

@@ -32,3 +32,3 @@ "types": "dist/index.d.ts",

"@types/next": "9.0.0",
"@types/node": "13.13.9",
"@types/node": "13.13.12",
"@types/set-cookie-parser": "0.0.6",

@@ -41,3 +41,3 @@ "husky": "4.2.5",

"semantic-release": "17.0.8",
"terser": "4.7.0",
"terser": "4.8.0",
"ts-loader": "6.2.2",

@@ -48,3 +48,3 @@ "ts-node": "8.10.2",

"tslint-config-standard": "9.0.0",
"typescript": "3.9.3"
"typescript": "3.9.5"
},

@@ -51,0 +51,0 @@ "keywords": [

@@ -52,3 +52,3 @@ # nookies :cookie: :cookie: :cookie:

// Parse
parseCookies(ctx)
const cookies = parseCookies(ctx)

@@ -64,4 +64,4 @@ // Set

return { cookies };
};
return { cookies }
}
```

@@ -74,3 +74,3 @@

export default function Me () {
export default function Me() {
return <div>My profile</div>

@@ -81,3 +81,3 @@ }

// Parse
nookies.get(ctx)
const cookies = nookies.get(ctx)

@@ -93,3 +93,3 @@ // Set

return { cookies };
return { cookies }
}

@@ -119,3 +119,3 @@ ```

export default function Me () {
export default function Me() {
return <button onClick={handleClick}>Set Cookie</button>

@@ -122,0 +122,0 @@ }

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