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

csrf-monkey

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csrf-monkey - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "csrf-monkey",
"version": "1.0.4",
"version": "1.0.5",
"description": "Automatically add CSRF headers to all clientside requests",

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

@@ -52,3 +52,3 @@ [![Travis CI](https://travis-ci.org/alanclarke/csrf-monkey.svg?branch=master)](https://travis-ci.org/alanclarke/csrf-monkey)

// and you can pass your csrf token value directly to csrf-monkey if you don't want to include it as a meta tag:
csrfMonkey('my-custom-csrf-header', 'my-csrf-token')
csrfMonkey(null, 'my-csrf-token')

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