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

Add support for the updated import attributes proposal #15536

Merged

Commits on May 10, 2023

  1. Copy tests

    nicolo-ribaudo committed May 10, 2023
    Configuration menu
    Copy the full SHA
    3b0ed3e View commit details
    Browse the repository at this point in the history
  2. Add parser support for import attributes:

    - the old `"importAssertions"` plugin now also supports the new syntax, to make it easier to migrate
    - the new `"importAttributes"` plugin supports only the new syntax by default, but it can be used with the depreated (but still included in the proposal) `assert` keyword by enabling its `"deprecatedAssertSyntax"` option
    
    The new plugin and the old  plugin cannot both be enabled at the same time
    nicolo-ribaudo committed May 10, 2023
    Configuration menu
    Copy the full SHA
    da03382 View commit details
    Browse the repository at this point in the history
  3. Parser tests

    nicolo-ribaudo committed May 10, 2023
    Configuration menu
    Copy the full SHA
    e4bc1e1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f5f295 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    913ffe1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f37bcc5 View commit details
    Browse the repository at this point in the history
  7. new-version-checklist

    nicolo-ribaudo committed May 10, 2023
    Configuration menu
    Copy the full SHA
    004dcb0 View commit details
    Browse the repository at this point in the history
  8. Update packages/babel-parser/src/parser/statement.ts

    Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
    nicolo-ribaudo and JLHwung committed May 10, 2023
    Configuration menu
    Copy the full SHA
    72cc993 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    91d6af7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0514dc5 View commit details
    Browse the repository at this point in the history
  11. Update packages/babel-parser/src/parser/statement.ts

    Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com>
    nicolo-ribaudo and JLHwung committed May 10, 2023
    Configuration menu
    Copy the full SHA
    8b7cb89 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d48d3cd View commit details
    Browse the repository at this point in the history
  13. More fixes

    nicolo-ribaudo committed May 10, 2023
    Configuration menu
    Copy the full SHA
    3f2aac7 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    94b9ba7 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    5f89c24 View commit details
    Browse the repository at this point in the history
  16. Review feedback

    nicolo-ribaudo committed May 10, 2023
    Configuration menu
    Copy the full SHA
    71bbfa6 View commit details
    Browse the repository at this point in the history
  17. Update packages/babel-generator/src/printer.ts

    Co-authored-by: liuxingbaoyu <30521560+liuxingbaoyu@users.noreply.github.com>
    nicolo-ribaudo and liuxingbaoyu committed May 10, 2023
    Configuration menu
    Copy the full SHA
    de403cf View commit details
    Browse the repository at this point in the history