Skip to content

Commit

Permalink
Correctly asynchronize ES6 for...in loops.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matAtWork committed Dec 10, 2015
1 parent 880f8fb commit 35cecec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 35cecec

Please sign in to comment.