less-middleware
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -57,3 +57,3 @@ "use strict"; | ||
try { | ||
fs.writeFileSync(cacheFile, JSON.stringify(lessFiles), 'utf8'); | ||
fs.writeFileSync(cacheFile, JSON.stringify(lessFiles)); | ||
log('successfully cached imports to file', cacheFile); | ||
@@ -123,3 +123,3 @@ } catch (err) { | ||
fs.writeFile(pathname, css, 'utf8', next); | ||
fs.writeFile(pathname, css, next); | ||
}); | ||
@@ -134,3 +134,5 @@ }, | ||
fs.writeFile(pathname, sourcemap, 'utf8'); | ||
fs.writeFile(pathname, sourcemap, function(err) { | ||
if (err) throw err; | ||
}); | ||
}); | ||
@@ -137,0 +139,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"description": "LESS.js middleware for connect.", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"repository": { | ||
@@ -15,9 +15,9 @@ "type": "git", | ||
"mkdirp": "~0.5.1", | ||
"node.extend": "~1.1.5" | ||
"node.extend": "~2.0.0" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~2.5.3", | ||
"supertest": "~1.2", | ||
"express": "~4.14", | ||
"fs-extra": "~0.30" | ||
"express": "~4.15.3", | ||
"fs-extra": "~4.0.0", | ||
"mocha": "~3.4.2", | ||
"supertest": "~3.0.0" | ||
}, | ||
@@ -24,0 +24,0 @@ "engines": { |
This middleware was created to allow processing of [Less](http://lesscss.org) files for [Connect JS](http://www.senchalabs.org/connect/) framework and by extension the [Express JS](http://expressjs.com/) framework. | ||
[![Build Status](https://drone.io/github.com/emberfeather/less.js-middleware/status.png)](https://drone.io/github.com/emberfeather/less.js-middleware/latest) | ||
[![CircleCI](https://circleci.com/gh/emberfeather/less.js-middleware.svg?style=svg)](https://circleci.com/gh/emberfeather/less.js-middleware) | ||
[![Dependency Status](https://david-dm.org/emberfeather/less.js-middleware.svg)](https://david-dm.org/emberfeather/less.js-middleware) | ||
@@ -67,3 +68,3 @@ ## Installation | ||
<th><code>postprocess</code></th> | ||
<td>Object containing functions relevant to preprocessing data.</td> | ||
<td>Object containing functions relevant to postprocessing data.</td> | ||
<td></td> | ||
@@ -70,0 +71,0 @@ </tr> |
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
60447
35
636
175
+ Addednode.extend@2.0.3(transitive)
- Removedhas@1.0.4(transitive)
- Removednode.extend@1.1.8(transitive)
Updatednode.extend@~2.0.0