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

refactor!: export default as 'feathersCasl' #90

Merged
merged 1 commit into from
Mar 29, 2023

Conversation

fratzinger
Copy link
Owner

@fratzinger fratzinger commented Mar 29, 2023

BREAKING CHANGE

Because of quirks between CommonJS and ESM I have to make a change to the default import. This is the change:

// old code
import casl from "feathers-casl"

Becomes this:

// new code
import { feathersCasl } from "feathers-casl";

@fratzinger fratzinger merged commit 722b5f5 into main Mar 29, 2023
@fratzinger fratzinger deleted the refactor/no-default-export branch June 27, 2023 14:09
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

Successfully merging this pull request may close these issues.

1 participant