From 35cecec6eb2164c878a8bf6edbf81b8660c6c4ec Mon Sep 17 00:00:00 2001 From: Matthew W Date: Thu, 10 Dec 2015 11:15:05 +0000 Subject: [PATCH] Correctly asynchronize ES6 `for...in` loops. Update the plugin code to remove 'async' and 'await' from the super-strict keyword tests introduced in acorn v2.6.x that generate parse errors before the plugin gets a chance to manage them. Also compatible with acorn v2.5.2 as used by previous versions of nodent. --- README.md | 6 ++++++ package.json | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9584736..58fec51 100644 --- a/README.md +++ b/README.md @@ -735,6 +735,12 @@ The test is a simple set of nested loops calling async functions that don't do m Changelog ========== + +10-Dec-15 v2.3.6 + +- Correctly asynchronize ES6 `for...in` loops. +- Update the plugin code to remove 'async' and 'await' from the super-strict keyword tests introduced in acorn v2.6.x that generate parse errors before the plugin gets a chance to manage them. Also compatible with acorn v2.5.2 as used by previous versions of nodent. + 09-Dec-15 v2.3.5 - Correctly asynchronize ES6 `for...of` loops. diff --git a/package.json b/package.json index 0e1832c..fa1d9fe 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "start": "./nodent.js" }, "dependencies": { - "acorn": "2.5.2", - "acorn-es7-plugin": "^1.0.9", + "acorn": "2.6.4", + "acorn-es7-plugin": "^1.0.10", "source-map": "0.5.3" }, "repository": {