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

builder-amd-css

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

builder-amd-css - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

index.js

@@ -28,4 +28,4 @@ var mutex, queue, requireCssFiles,

args[ 2 ] = function() {
callback.apply( {}, arguments );
queue.shift();
callback.apply( {}, arguments );
dequeueBuildCss();

@@ -32,0 +32,0 @@ };

{
"name": "builder-amd-css",
"version": "0.0.3",
"version": "0.0.4",
"main": "index.js",

@@ -5,0 +5,0 @@ "repository": {

@@ -92,2 +92,30 @@ var files,

describe( "Serial runs", function() {
var barCss, fooCss;
before(function( done ) {
async.series([
function( callback ) {
AmdCssBuilder( files, { include: [ "bar" ] }, callback );
},
function( callback ) {
AmdCssBuilder( files, { include: [ "foo" ] }, callback );
}
], function( error, result ) {
if ( error ) {
return done( error );
}
barCss = result[ 0 ][ 0 ];
fooCss = result[ 1 ][ 0 ];
done();
});
});
it( "should work just fine", function() {
expect( barCss ).to.equal( ".bar {}\n" );
expect( fooCss ).to.equal( ".foo {}\n.bar {}\n" );
});
});
describe( "Concurrent runs", function() {

@@ -94,0 +122,0 @@ var barCss, fooCss;

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