es6-comprehensions
Advanced tools
Comparing version 0.1.3 to 0.2.0
{ | ||
"name": "es6-comprehensions", | ||
"version": "0.1.3", | ||
"description": "Array comprehensions compiled to ES5.", | ||
"main": "index.js", | ||
"version": "0.2.0", | ||
"description": "Transforms ES6 Array Comprehensions to ES5 compliant equivalent.", | ||
"main": "src/index.js", | ||
"bin": "bin/es6-comprehensions", | ||
"scripts": { | ||
"test": "mocha --recursive --reporter spec --timeout 500 test" | ||
"test": "mocha --recursive --reporter spec test" | ||
}, | ||
"dependencies": { | ||
"esprima": "git://github.com/ariya/esprima.git#harmony", | ||
"recast": "~0.4.24", | ||
"through": "~2.3.4" | ||
"through": "~2.3.4", | ||
"recast": "~0.5.16", | ||
"yargs": "~1.2.1", | ||
"through2": "~0.4.1" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~1.14.0", | ||
"expect.js": "~0.2.0" | ||
"mocha": "~1.18.0", | ||
"expect.js": "~0.3.1" | ||
}, | ||
@@ -19,0 +21,0 @@ "keywords": [ |
@@ -15,4 +15,4 @@ # es6-comprehensions | ||
for (var i_0 = 0, arr_0 = [1,2,3,4,5], len_0 = arr_0.length, x; i_0 < len_0; i_0++) { | ||
x = arr_0[i_0]; | ||
for (var $_i0 = 0, $_arr0 = [1,2,3,4,5], $_len0 = $_arr0.length, x; $_i0 < $_len0; $_i0++) { | ||
x = $_arr0[$_i0]; | ||
@@ -44,6 +44,6 @@ if (x > 2) { | ||
## TODO | ||
## Todo | ||
* Consider replacing plain `for` loop with `forEach` method. It will result in more compact code, | ||
* Consider migration to escodegen. | ||
* ~~Consider migration to escodegen.~~ Removed in order to follow up [esnext's](https://github.com/square/esnext) dependencies. | ||
@@ -58,4 +58,10 @@ ## Development | ||
## Changelog | ||
### v0.2.0 | ||
* Changed API to be compliant with [esnext's](https://github.com/square/esnext) requirements. | ||
## License | ||
BSD |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
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
15147
296
65
5
10
8
+ Addedthrough2@~0.4.1
+ Addedyargs@~1.2.1
+ Addedamdefine@1.0.1(transitive)
+ Addedast-types@0.3.38(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedisarray@0.0.1(transitive)
+ Addedminimist@0.1.0(transitive)
+ Addedobject-keys@0.4.0(transitive)
+ Addedreadable-stream@1.0.34(transitive)
+ Addedrecast@0.5.27(transitive)
+ Addedsource-map@0.1.32(transitive)
+ Addedstring_decoder@0.10.31(transitive)
+ Addedthrough2@0.4.2(transitive)
+ Addedxtend@2.1.2(transitive)
+ Addedyargs@1.2.6(transitive)
- Removedast-types@0.16.1(transitive)
- Removedasync@3.2.6(transitive)
- Removedesprima@4.0.1(transitive)
- Removedrecast@0.4.25(transitive)
- Removedsprintf@0.1.5(transitive)
- Removedtslib@2.8.1(transitive)
- Removedunderscore@1.13.7(transitive)
- Removedwhiskey@0.6.13(transitive)
Updatedrecast@~0.5.16