Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add REPL top level await support #1383

Merged
merged 83 commits into from Aug 8, 2021

Commits on Jul 10, 2021

  1. Copy the full SHA
    e8dc156 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    cb0b9f0 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    95b3385 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    3e2e9ab View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    0335a36 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    907a25b View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    b8fe6aa View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    e3063c4 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    ec5611d View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    d1c667b View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    d2b2ee0 View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    40060c3 View commit details
    Browse the repository at this point in the history
  13. Copy the full SHA
    ce11fec View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    f8a89a0 View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    4032134 View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    621bd63 View commit details
    Browse the repository at this point in the history
  17. chore: remove unused require

    ejose19 committed Jul 10, 2021
    Copy the full SHA
    9cba099 View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    22f9b4f View commit details
    Browse the repository at this point in the history
  19. Copy the full SHA
    1e1f793 View commit details
    Browse the repository at this point in the history
  20. fix: typo in node-repl-await

    ejose19 committed Jul 10, 2021
    Copy the full SHA
    ff39161 View commit details
    Browse the repository at this point in the history
  21. Copy the full SHA
    b8d44ea View commit details
    Browse the repository at this point in the history
  22. Copy the full SHA
    a431018 View commit details
    Browse the repository at this point in the history
  23. Copy the full SHA
    7f0e177 View commit details
    Browse the repository at this point in the history
  24. Copy the full SHA
    4bca34c View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2021

  1. test: fix tla test

    ejose19 committed Jul 11, 2021
    Copy the full SHA
    5ad56a2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    40d78e1 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    784c46e View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    d24fe23 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    69f2977 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    af297a4 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    bdfbb91 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    fd49cca View commit details
    Browse the repository at this point in the history
  9. test: adjust TLA tests

    ejose19 committed Jul 11, 2021
    Copy the full SHA
    d50b991 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    19d1589 View commit details
    Browse the repository at this point in the history
  11. test: adjust tla test

    ejose19 committed Jul 11, 2021
    Copy the full SHA
    cf81617 View commit details
    Browse the repository at this point in the history
  12. test: adjust tla tests

    ejose19 committed Jul 11, 2021
    Copy the full SHA
    4e505e2 View commit details
    Browse the repository at this point in the history
  13. test: adjust tla tests

    ejose19 committed Jul 11, 2021
    Copy the full SHA
    6d49e8a View commit details
    Browse the repository at this point in the history
  14. Copy the full SHA
    072064e View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    3c11fc9 View commit details
    Browse the repository at this point in the history
  16. Copy the full SHA
    a3c488e View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    9abb693 View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    f81a5ef View commit details
    Browse the repository at this point in the history
  19. Copy the full SHA
    261e82f View commit details
    Browse the repository at this point in the history
  20. Copy the full SHA
    e45d2ed View commit details
    Browse the repository at this point in the history
  21. fix: typo in config

    ejose19 committed Jul 11, 2021
    Copy the full SHA
    3a5ed72 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2021

  1. test: adjust tla tests

    ejose19 committed Jul 12, 2021
    Copy the full SHA
    22efd1b View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    64f04d9 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    ce3487e View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    e6c6433 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    507fcd3 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    ef26938 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    5b0fc39 View commit details
    Browse the repository at this point in the history
  8. test: add tla test

    ejose19 committed Jul 12, 2021
    Copy the full SHA
    81e5e71 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    b68ed6f View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    48778ad View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    31424ad View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2021

  1. Copy the full SHA
    3ac743b View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2021

  1. refactor: adjust tla tests

    ejose19 committed Jul 14, 2021
    Copy the full SHA
    e35f1d6 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    2c09d2d View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2021

  1. Copy the full SHA
    2c1e8bf View commit details
    Browse the repository at this point in the history
  2. Rename flag to --no-experimental-repl-await to match node; enable by …

    …default when target is high enough; avoid `process.exit()` in `create()`; change `await` detection heuristic to match node's
    cspotcode committed Jul 18, 2021
    Copy the full SHA
    1418bd3 View commit details
    Browse the repository at this point in the history
  3. Minimize changes to bin, since the only async possibility is in REPL,…

    … so bin.ts does not need to handle its errors
    cspotcode committed Jul 18, 2021
    Copy the full SHA
    629a4cc View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Copy the full SHA
    6a102a7 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    c39640e View commit details
    Browse the repository at this point in the history
  3. fix test

    cspotcode committed Jul 22, 2021
    Copy the full SHA
    05cb7b8 View commit details
    Browse the repository at this point in the history
  4. fix tests

    cspotcode committed Jul 22, 2021
    Copy the full SHA
    051f9e1 View commit details
    Browse the repository at this point in the history
  5. fix

    cspotcode committed Jul 22, 2021
    Copy the full SHA
    4788cb3 View commit details
    Browse the repository at this point in the history
  6. fix

    cspotcode committed Jul 22, 2021
    Copy the full SHA
    4aaac4c View commit details
    Browse the repository at this point in the history
  7. fix tests

    cspotcode committed Jul 22, 2021
    Copy the full SHA
    8c84ef7 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    35bee32 View commit details
    Browse the repository at this point in the history
  9. fix

    cspotcode committed Jul 22, 2021
    Copy the full SHA
    f535423 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    3489501 View commit details
    Browse the repository at this point in the history
  11. force repl's virtual file to be a module, which is safe as long as no…

    …de's runtime effectively does the same thing
    cspotcode committed Jul 22, 2021
    Copy the full SHA
    1fa5bdd View commit details
    Browse the repository at this point in the history
  12. Copy the full SHA
    8a772ab View commit details
    Browse the repository at this point in the history
  13. remove some todos

    cspotcode committed Jul 22, 2021
    Copy the full SHA
    c44a3d6 View commit details
    Browse the repository at this point in the history
  14. Update src/repl.ts

    Co-authored-by: ejose19 <8742215+ejose19@users.noreply.github.com>
    cspotcode and ejose19 committed Jul 22, 2021
    Copy the full SHA
    781a886 View commit details
    Browse the repository at this point in the history
  15. Copy the full SHA
    d50a80e View commit details
    Browse the repository at this point in the history
  16. test: adjust tests

    ejose19 committed Jul 22, 2021
    Copy the full SHA
    aa31ffc View commit details
    Browse the repository at this point in the history
  17. Copy the full SHA
    3a6562d View commit details
    Browse the repository at this point in the history
  18. Copy the full SHA
    2e276b9 View commit details
    Browse the repository at this point in the history
  19. test: small adjustments

    ejose19 committed Jul 22, 2021
    Copy the full SHA
    6d0b486 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2021

  1. Final cleanup

    cspotcode committed Aug 8, 2021
    Copy the full SHA
    e985fd0 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    fae10d4 View commit details
    Browse the repository at this point in the history