Comparing version 0.0.11 to 0.0.12
@@ -40,10 +40,10 @@ var type = require('./type'); | ||
if(mmb.name() == JsNode.MMBEXPR) { | ||
var leaves = mmb.leaves(); | ||
if(leaves[0].name() == JsNode.PRMREXPR | ||
&& leaves[0].leaves()[0].name() == JsNode.TOKEN | ||
&& leaves[0].leaves()[0].token().content() == 'define') { | ||
end = leaves[0]; | ||
while(end.next()) { | ||
end = end.next(); | ||
} | ||
var token = mmb; | ||
while(token.name() == JsNode.MMBEXPR) { | ||
token = token.leaf(0); | ||
} | ||
if(token.name() == JsNode.PRMREXPR | ||
&& token.leaf(0).name() == JsNode.TOKEN | ||
&& token.leaf(0).token().content() == 'define') { | ||
end = mmb.leaf(mmb.size() - 1); | ||
end = end.token(); | ||
@@ -50,0 +50,0 @@ res.end = end.sIndex() + end.content().length; |
{ | ||
"name": "ranma", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "A converter between CommonJS/AMD/CMD/other", | ||
@@ -37,5 +37,8 @@ "maintainers": [ | ||
"dependencies": { | ||
"homunculus": "0.1.11" | ||
"homunculus": "0.1.14" | ||
}, | ||
"main": "./index", | ||
"spm": { | ||
"main": "./index" | ||
}, | ||
"engines": { | ||
@@ -42,0 +45,0 @@ "node": ">= 0.10.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
2110067
+ Addedhomunculus@0.1.14(transitive)
- Removedhomunculus@0.1.11(transitive)
Updatedhomunculus@0.1.14