assets-expander
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -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 @@ ================== |
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
25973
695
0