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

cookie-encrypter

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cookie-encrypter - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

index.js

@@ -76,4 +76,2 @@ var crypto = require('crypto');

console.log(key + ' decrypted value: ' + val);
if (val) {

@@ -80,0 +78,0 @@ obj[key] = JSONCookie(val);

2

package.json
{
"name": "cookie-encrypter",
"version": "0.0.3",
"version": "0.0.4",
"description": "cookie encryption",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -68,3 +68,3 @@ # cookie-encrypter

app.get('/getcookies', function(req, res) {
console.log("Decrypted cookies: ", req.cookies)
console.log('Decrypted cookies: ', req.signedCookies)
});

@@ -71,0 +71,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