Skip to content

Node 24.4.1 made import attributes immutable #28

Description

@blikest

Import type attribute of json imports has been supported without static "with" syntax declaration through extension detection in interface/load hook for backwards compatibility, although for browser compatibly it was already preferred to use "interface/resolve" that prompts a dynamic import specifying it.
If no solution can be found, json imports will have lost backwards compatibility, and meta/sanitize needs to adopt their attribution.

https://github.com/jsinterface/interface/blob/390daa9b1e55f4701ebe5f0dc747615a1e8c35b8/Blik_2023_interface.js#L389

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions