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.7 to 0.0.8

2

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

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

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

var Hapi = require('hapi');
var Crumb = process.env.TEST_COV ? require('../lib-cov') : require('../lib');
var Crumb = require('../lib');

@@ -21,13 +21,2 @@

// Wrapper is required for coverage
var plugin = {
name: 'crumb',
version: Hapi.utils.loadPackage().version,
hapi: {
plugin: '1.x.x'
},
register: Crumb.register
};
it('returns view with crumb', function (done) {

@@ -68,3 +57,2 @@

var pluginOptions = {

@@ -81,3 +69,3 @@ permissions: {

server.plugin().register(plugin, pluginOptions, function (err) {
server.plugin().require('../', pluginOptions, function (err) {

@@ -84,0 +72,0 @@ expect(err).to.not.exist;

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