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

assets-expander

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assets-expander - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

5

History.md

@@ -0,1 +1,6 @@

0.2.3 / 2012-06-17
==================
* Fixed error classes (missing name which affects instanceof).
0.2.2 / 2012-06-17

@@ -2,0 +7,0 @@ ==================

6

lib/assets.js

@@ -140,3 +140,3 @@ var fs = require('fs'),

this.name = this.constructor.name;
this.name = 'YamlSyntaxError';
this.message = message;

@@ -150,3 +150,3 @@ };

this.name = this.constructor.name;
this.name = 'UnknownGroupError';
this.message = message;

@@ -160,3 +160,3 @@ };

this.name = this.constructor.name;
this.name = 'UnknownTypeError';
this.message = message;

@@ -163,0 +163,0 @@ };

@@ -11,3 +11,3 @@ {

},
"version": "0.2.2",
"version": "0.2.3",
"main": "index.js",

@@ -14,0 +14,0 @@ "dependencies": {

@@ -31,3 +31,7 @@ var vows = require('vows'),

expanderFor(topic);
}, AssetsExpander.YamlSyntaxError);
}, function(err) {
if ((err instanceof AssetsExpander.YamlSyntaxError) && err.name == 'YamlSyntaxError' && /dedented/.test(err.message)) {
return true;
}
});
}

@@ -155,3 +159,7 @@ }

expanderFor('assets.yml').processGroup('unknown', 'type1', { type: 'css' });
}, AssetsExpander.UnknownTypeError);
}, function(err) {
if ((err instanceof AssetsExpander.UnknownTypeError) && err.name == 'UnknownTypeError' && /unknown/.test(err.message)) {
return true;
}
});
}

@@ -163,3 +171,7 @@ },

expanderFor('assets.yml').processGroup('stylesheets', 'type1', { type: 'css' });
}, AssetsExpander.UnknownGroupError);
}, function(err) {
if ((err instanceof AssetsExpander.UnknownGroupError) && err.name == 'UnknownGroupError' && /stylesheets/.test(err.message) && /type1/.test(err.message)) {
return true;
}
});
}

@@ -166,0 +178,0 @@ },

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