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

Default export is brocken (ES Modules) #306

Closed
flovogt opened this issue Feb 6, 2023 · 0 comments
Closed

Default export is brocken (ES Modules) #306

flovogt opened this issue Feb 6, 2023 · 0 comments

Comments

@flovogt
Copy link

flovogt commented Feb 6, 2023

When using version 10.0.1 it was possible to use

import $RefParser from "@apidevtools/json-schema-ref-parser";

When upgrading to 10.1.0 the default export doesn't work anymore. I have to use the named export.

import {$RefParser} from "@apidevtools/json-schema-ref-parser";

Is this desired? If so, it would be a breaking change.

See SAP/ui5-tooling#761

@flovogt flovogt changed the title Default import is brocken (ES Modules) Default export is brocken (ES Modules) Feb 6, 2023
@jonluca jonluca closed this as completed Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants