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

broccoli

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli - npm Package Compare versions

Comparing version 0.12.1 to 0.12.2

4

CHANGELOG.md
# master
# 0.12.2
* Fix directory handling in server on Windows
# 0.12.1

@@ -4,0 +8,0 @@

5

lib/middleware.js

@@ -37,4 +37,5 @@ var path = require('path')

if (stat.isDirectory()) {
// if no trailing slash, redirect
if (filename[filename.length - 1] !== '/') {
// If no trailing slash, redirect. We use path.sep because filename
// has backslashes on Windows.
if (filename[filename.length - 1] !== path.sep) {
urlObj.pathname += '/'

@@ -41,0 +42,0 @@ response.setHeader('Location', url.format(urlObj))

{
"name": "broccoli",
"description": "Fast client-side asset builder",
"version": "0.12.1",
"version": "0.12.2",
"author": "Jo Liss <joliss42@gmail.com>",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

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