json-schema-ref-parser icon indicating copy to clipboard operation
json-schema-ref-parser copied to clipboard

Default export is brocken (ES Modules)

Open flovogt opened this issue 2 years ago • 0 comments

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 https://github.com/SAP/ui5-tooling/pull/761

flovogt avatar Feb 06 '23 05:02 flovogt