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

commonplace

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commonplace - npm Package Compare versions

Comparing version 0.1.7 to 0.1.9

14

lib/build.js

@@ -63,3 +63,2 @@ var fs = require('fs');

function concatCSS(src_dir, callback) {
var output = '';
var css_pattern = /href="(\/media\/css\/.+\.styl\.css)"/g;

@@ -99,15 +98,14 @@ var url_pattern = /url\(([^)]+)\)/g;

var output = [];
var remaining = files.length;
files.forEach(function(v) {
files.forEach(function(v, index) {
v = v.replace('.styl.css', '.styl');
compileStylus(v, function(err, data) {
remaining--;
if (err) {
console.warn(err);
if (!remaining) callback(output);
return;
} else {
output[index] = fix_urls(data + '\n');
}
output += fix_urls(data + '\n');
if (!remaining) callback(output);
remaining--;
if (!remaining) callback(output.join('\n'));
});

@@ -114,0 +112,0 @@ });

{
"name": "commonplace",
"version": "0.1.7",
"version": "0.1.9",
"repository": {

@@ -5,0 +5,0 @@ "url": "git://github.com/mozilla/commonplace.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