express-compiless
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18070