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

less-middleware

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

less-middleware - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

yarn.lock

8

lib/middleware.js

@@ -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>

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