This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove "generator" output mode (#12)
Drops Node v6 support
- Loading branch information
1 parent
b9bc71e
commit 7ad1041
Showing
11 changed files
with
94 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
function* foo() { | ||
return (yield a('bar')) || (yield b()); | ||
async function foo() { | ||
return await a('bar') || await b(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
function* foo() { | ||
return yield baz(); | ||
async function foo() { | ||
return await baz(); | ||
} | ||
function* bar() { | ||
return yield foo(baz); | ||
async function bar() { | ||
return await foo(baz); | ||
} | ||
function* baz() { | ||
return yield bar(); | ||
async function baz() { | ||
return await bar(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
function* foo() { | ||
return yield baz(); | ||
async function foo() { | ||
return await baz(); | ||
} | ||
function* bar() { | ||
return yield foo(baz); | ||
async function bar() { | ||
return await foo(baz); | ||
} | ||
function* baz() { | ||
return yield bar(); | ||
async function baz() { | ||
return await bar(); | ||
} | ||
function shouldntChange() { | ||
return 42; | ||
} | ||
} |
Oops, something went wrong.