Comparing version 0.3.5-1 to 0.3.5-2
{ | ||
"name": "jsdc", | ||
"version": "0.3.5-1", | ||
"version": "0.3.5-2", | ||
"description": "transform ecmascript6 to ecmascript5", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
@@ -14,4 +14,4 @@ var homunculus = require('homunculus'); | ||
if(isToken) { | ||
var token = node.token(); | ||
if(!isVirtual) { | ||
var token = node.token(); | ||
if(res.word && [Token.ID, Token.NUMBER, Token.KEYWORD].indexOf(token.type()) > -1) { | ||
@@ -23,2 +23,6 @@ res.s += ' '; | ||
} | ||
else if(token.content() == ';') { | ||
res.s += ';'; | ||
res.word = false; | ||
} | ||
} | ||
@@ -25,0 +29,0 @@ else { |
@@ -15,4 +15,4 @@ define(function(require, exports, module) { | ||
if(isToken) { | ||
var token = node.token(); | ||
if(!isVirtual) { | ||
var token = node.token(); | ||
if(res.word && [Token.ID, Token.NUMBER, Token.KEYWORD].indexOf(token.type()) > -1) { | ||
@@ -24,2 +24,6 @@ res.s += ' '; | ||
} | ||
else if(token.content() == ';') { | ||
res.s += ';'; | ||
res.word = false; | ||
} | ||
} | ||
@@ -26,0 +30,0 @@ else { |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4717
0
206943