Socket
Socket
Sign inDemoInstall

bomb

Package Overview
Dependencies
10
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1 to 1.2.2

2

examples/express/index.js

@@ -8,3 +8,3 @@ var Express = require('express');

var box = new Bomb.Box({
url: '/public',
url: '/serve',
path: Path.join(__dirname, 'public'),

@@ -11,0 +11,0 @@ regex: /\.(css|js|html)/

@@ -26,2 +26,5 @@ var Fs = require('fs');

// This is called on same tick so we can sure
// we're set up before middleware handler returns
if (err) {

@@ -28,0 +31,0 @@ throw err;

{
"name": "bomb",
"version": "1.2.1",
"version": "1.2.2",
"description": "A cache busting middleware for express",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc