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

express-compiless

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-compiless - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

lib/compiless.js

@@ -40,3 +40,3 @@ var Path = require('path'),

res.setHeader('Content-Type', 'text/css');
res.send("body:before {display: block; white-space: pre; font-family: 'Courier New', monospace; font-size: 24px; color: black; margin: 10px; padding: 10px; border: 4px dashed red; margin-bottom: 10px; content: '" + errorMessage.replace(/'/g, "\\'").replace(/\n/g, '\\00000a') + "'}\n" + (cssText || ''));
res.send("body:before {display: block; z-index: 999999; white-space: pre; font-family: 'Courier New', monospace; font-size: 24px; color: black; margin: 10px; padding: 10px; border: 4px dashed red; margin-bottom: 10px; content: '" + errorMessage.replace(/'/g, "\\'").replace(/\n/g, '\\00000a') + "'}\n" + (cssText || ''));
}

@@ -43,0 +43,0 @@

{
"name": "express-compiless",
"version": "0.1.1",
"version": "0.1.2",
"description": "Express middleware that compiles less files to css on the way out.",

@@ -25,3 +25,3 @@ "main": "lib/compiless.js",

"bufferjs": "=1.1.0",
"express-hijackresponse": "=0.1.0",
"express-hijackresponse": "=0.1.2",
"less": "=1.3.3",

@@ -28,0 +28,0 @@ "passerror": "=0.0.1",

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