Comparing version 0.3.0 to 0.3.1
@@ -34,3 +34,3 @@ var __export; | ||
if ( options.addUseStrict !== false ) { | ||
code = "'use strict';\n\n"; | ||
code = "'use" + " strict';\n\n"; | ||
} | ||
@@ -37,0 +37,0 @@ |
@@ -39,3 +39,3 @@ var acorn = require('acorn'); | ||
// in the first place | ||
while ( nextNode.type === 'EmptyStatement' ) { | ||
while ( nextNode && nextNode.type === 'EmptyStatement' ) { | ||
nextNode = body[ i++ ]; | ||
@@ -42,0 +42,0 @@ } |
{ | ||
"name": "esperanto", | ||
"description": "An easier way to convert ES6 modules to AMD and CommonJS", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"author": "Rich Harris", | ||
@@ -16,3 +16,8 @@ "dependencies": { | ||
"gobble": "~0.1.2", | ||
"gobble-requirejs": "~0.1.0" | ||
"gobble-requirejs": "~0.1.0", | ||
"gobble-amdclean": "~0.1.0", | ||
"gobble-jsbeautify": "~0.1.0", | ||
"gobble-esperanto": "~0.1.0", | ||
"promise-map-series": "~0.2.0", | ||
"colors": "~0.6.2" | ||
}, | ||
@@ -22,3 +27,8 @@ "files": [ | ||
"lib" | ||
] | ||
], | ||
"scripts": { | ||
"build": "scripts/build.sh", | ||
"test": "scripts/test.sh", | ||
"update-gh-pages": "scripts/update-gh-pages.sh" | ||
} | ||
} |
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
0
15422
11
8
254