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

csurf

Package Overview
Dependencies
Maintainers
6
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 1.8.1 to 1.8.2

6

HISTORY.md

@@ -0,1 +1,7 @@

1.8.2 / 2015-05-09
==================
* deps: csrf@~3.0.0
- deps: uid-safe@~2.0.0
1.8.1 / 2015-05-03

@@ -2,0 +8,0 @@ ==================

5

index.js

@@ -11,8 +11,9 @@ /*!

* Module dependencies.
* @private
*/
var Cookie = require('cookie');
var csrfTokens = require('csrf');
var createError = require('http-errors');
var sign = require('cookie-signature').sign;
var Tokens = require('csrf');

@@ -45,3 +46,3 @@ /**

// token repo
var tokens = csrfTokens(options);
var tokens = new Tokens(options);

@@ -48,0 +49,0 @@ // ignored methods

4

package.json
{
"name": "csurf",
"description": "CSRF token middleware",
"version": "1.8.1",
"version": "1.8.2",
"author": "Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)",

@@ -14,3 +14,3 @@ "contributors": [

"cookie-signature": "1.0.6",
"csrf": "~2.0.7",
"csrf": "~3.0.0",
"http-errors": "~1.3.1"

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