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.6 to 0.0.7

24

index.js

@@ -72,3 +72,3 @@ var requireCssFiles,

requirejs.optimize( config, function() {
callback( null, files[ "dist/output.css" ], files );
callback( null, files[ "dist/output.css" ] || "", files );
done();

@@ -88,12 +88,16 @@ }, function( error ) {

// Clone files + make sure all CSSes are String utf-8.
Object.keys( files ).forEach(function( path ) {
if ( /\.css$/i.test( path ) ) {
clonedFiles[ path ] = files[ path ].toString( "utf-8" );
} else {
clonedFiles[ path ] = files[ path ];
}
});
try {
// Clone files + make sure all CSSes are String utf-8.
Object.keys( files ).forEach(function( path ) {
if ( /\.css$/i.test( path ) ) {
clonedFiles[ path ] = files[ path ].toString( "utf-8" );
} else {
clonedFiles[ path ] = files[ path ];
}
});
buildCss( clonedFiles, config, callback );
buildCss( clonedFiles, config, callback );
} catch( error ) {
callback( error );
}
};
{
"name": "builder-amd-css",
"version": "0.0.6",
"version": "0.0.7",
"main": "index.js",

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

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