tc39 / proposal-import-attributes

Proposal for syntax to import ES modules with assertions
https://tc39.es/proposal-import-attributes/
Apache License 2.0
599 stars 26 forks source link

Create HostGetSupportedAssertions() and only give hosts supported assertions. #103

Closed dandclark closed 4 years ago

dandclark commented 4 years ago

Add a new host operation for hosts to specify the assertion keys that they support. Only supported assertions are returned to the host. This ensures that unsupported assertions will be handled in the same way (ignored) across all hosts.

Resolves #102.

xtuc commented 4 years ago

This change has reached consensus in the last TC39 meeting (November 2020)