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

broccoli-eyeglass

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-eyeglass - npm Package Compare versions

Comparing version 2.4.3 to 3.0.0

16

lib/broccoli_sass_compiler.js

@@ -17,2 +17,4 @@ var path = require("path");

var walkSync = require("walk-sync");
var os = require("os");
var queue = require("async-promise-queue");

@@ -277,8 +279,12 @@ require("string.prototype.startswith");

var self = this;
var numConcurrentCalls = Number(process.env.JOBS) || os.cpus().length;
return files.reduce(function(promise, sassFile) {
return promise.then(function() {
return RSVP.all(self.compileSassFile(srcPath, sassFile, destDir));
});
}, RSVP.Promise.resolve());
var worker = queue.async.asyncify(function(file) {
return RSVP.all(self.compileSassFile(srcPath, file, destDir));
});
return RSVP.resolve(queue(worker, files, numConcurrentCalls)
.catch(function(reason) {
throw reason;
}
));
};

@@ -285,0 +291,0 @@

{
"name": "broccoli-eyeglass",
"description": "Sass compiler for Broccoli with Eyeglass Integration",
"version": "2.4.3",
"version": "3.0.0",
"author": "Chris Eppstein <chris@eppsteins.net>",

@@ -24,2 +24,3 @@ "main": "lib/index.js",

"async-disk-cache": "^1.0.8",
"async-promise-queue": "^1.0.1",
"broccoli-merge-trees": "^1.1.4",

@@ -26,0 +27,0 @@ "broccoli-plugin": "^1.2.2",

Sorry, the diff of this file is not supported yet

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