Socket
Socket
Sign inDemoInstall

csurf

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csurf - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

3

index.js
var crypto = require('crypto')
var uid = require('uid')

@@ -14,3 +15,3 @@ var ignoreMethods = {

var salt = crypto.randomBytes(12).toString('base64')
var salt = uid()

@@ -17,0 +18,0 @@ return this._csrf = salt + ';'

{
"name": "csurf",
"description": "CSRF middleware",
"version": "0.1.0",
"version": "0.1.1",
"author": {

@@ -11,2 +11,5 @@ "name": "Jonathan Ong",

},
"dependencies": {
"uid": "~0.0.2"
},
"license": "MIT",

@@ -13,0 +16,0 @@ "repository": {

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