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

crumb

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crumb - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

5

lib/index.js

@@ -17,3 +17,5 @@ // Load modules

addToViewContext: true, // If response is a view, add crumb to context
options: {} // Cookie options (i.e. hapi server.state)
options: { // Cookie options (i.e. hapi server.state)
path: '/'
}
};

@@ -94,2 +96,3 @@

request.response &&
request.response instanceof Boom === false &&
request.response.varieties.view) {

@@ -96,0 +99,0 @@

2

package.json
{
"name": "crumb",
"description": "CSRF crumb generation plugin",
"version": "0.0.3",
"version": "0.0.4",
"author": "Eran Hammer <eran@hueniverse.com> (http://hueniverse.com)",

@@ -6,0 +6,0 @@ "contributors": [],

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