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

less-middleware

Package Overview
Dependencies
Maintainers
1
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 0.1.3 to 0.1.4

16

lib/middleware.js

@@ -157,3 +157,3 @@ /*!

var error = function(err) {
next('ENOENT' == err.code ? null : err);
return next('ENOENT' == err.code ? null : err);
};

@@ -192,3 +192,3 @@

// Only check/recompile if it has not been done at before
if (options.once && imports[lessPath]) { next(); return; }
if (options.once && imports[lessPath]) { return next(); }

@@ -206,5 +206,5 @@ // Compare mtimes

// No CSS file found in dest
compile();
return compile();
} else {
next(err);
return next(err);
}

@@ -215,3 +215,3 @@ } else if (lessStats.mtime > cssStats.mtime) {

compile();
return compile();
} else {

@@ -223,6 +223,6 @@ // Check if any of the less imports were changed

compile();
return compile();
}
next();
return next();
});

@@ -233,5 +233,5 @@ }

} else {
next();
return next();
}
};
};

@@ -5,3 +5,3 @@ {

"description": "LESS.js middleware for connect.",
"version": "0.1.3",
"version": "0.1.4",
"repository": {

@@ -8,0 +8,0 @@ "type": "git",

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