Compare commits

...

5 Commits

Author SHA1 Message Date
Sebastian McKenzie
750ec7783f v2.12.5 2015-01-16 08:08:52 +11:00
Sebastian McKenzie
14ae438735 remove declarators push in let scoping 2015-01-16 08:06:38 +11:00
Sebastian McKenzie
2f8bdd7e27 add 2.12.5 changelog 2015-01-16 07:59:40 +11:00
Sebastian McKenzie
87da9fcfc5 fix let scoping for loop - closes #509 2015-01-16 07:58:14 +11:00
Sebastian McKenzie
51f6cfddca remove instanbul inclusion 2015-01-16 02:47:20 +11:00
4 changed files with 8 additions and 4 deletions

View File

@@ -11,6 +11,11 @@
_Note: Gaps between patch versions are faulty/broken releases._
## 2.12.5
* **Internal**
* Fix incorrect `for...in` loop still causing `ember-script` issues.
## 2.12.4
* **Polish**

View File

@@ -233,9 +233,8 @@ LetScoping.prototype.getInfo = function () {
var declar;
for (var i in opts.declarators) {
for (var i = 0; i < opts.declarators.length; i++) {
declar = opts.declarators[i];
opts.declarators.push(declar);
var keys = t.getIds(declar, true);
_.each(keys, duplicates);

View File

@@ -1,7 +1,7 @@
{
"name": "6to5",
"description": "Turn ES6 code into readable vanilla ES5 with source maps",
"version": "2.12.4",
"version": "2.12.5",
"author": "Sebastian McKenzie <sebmck@gmail.com>",
"homepage": "https://6to5.org/",
"repository": "6to5/6to5",

View File

@@ -1,4 +1,4 @@
if (process.env.SIMPLE_6TO5_TESTS || process.env.running_under_istanbul) return;
if (process.env.SIMPLE_6TO5_TESTS) return;
var transform = require("../lib/6to5/transformation/transform");
var readdir = require("fs-readdir-recursive");