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

asset-smasher

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

asset-smasher - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

CHANGELOG.md
# Asset Smasher Changelog
## 0.2.1 (September 17, 2012)
- Allow the `asset_src` helper to work with assets whose names have been transformed.
## 0.2.0 (August 15, 2012)

@@ -4,0 +8,0 @@

@@ -105,2 +105,3 @@ var async = require('async');

phases.discovery.push(manifestWalker.asOperation());
phases.discovery.push(transformer.asGlobalDryRunOperation());
phases.discovery.push(depResolver.asOperation());

@@ -107,0 +108,0 @@

@@ -61,2 +61,5 @@ /**

},
asGlobalDryRunOperation:function () {
return this.executeGlobalDry.bind(this);
},
execute:function (asset, cb) {

@@ -103,2 +106,10 @@ var transforms = this.transforms;

},
executeGlobalDry:function (assetBundle, cb) {
var self = this;
async.forEach(assetBundle.getAllAssets(), function(asset, eachCb) {
self.executeDry(asset, eachCb);
}, function (e) {
cb(e, assetBundle);
});
},
executeDry:function (asset, cb) {

@@ -105,0 +116,0 @@ var transforms = this.transforms;

2

lib/compilation/transforms/stylus_transform.js
/**
*
* This transform takes Styles .styl files and compiles them to CSS.
* This transform takes Stylus .styl files and compiles them to CSS.
*

@@ -5,0 +5,0 @@ * It takes a "compress" option which indicates whether minified CSS should

{
"name": "asset-smasher",
"description": "Asset pre-processor, merger, and compressor.",
"version": "0.2.0",
"version": "0.2.1",
"author": "Jim Riecken <jriecken@gmail.com>",

@@ -6,0 +6,0 @@ "keywords": [

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