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

fix: remove deep imports to cucumber #11

Merged
merged 3 commits into from
Feb 17, 2022

Conversation

davidjgoss
Copy link
Contributor

🤔 What's changed?

Remove deep imports into @cucumber/cucumber/lib/.... All the required things are obtainable by unpacking things already on the main entry point - it's mostly the formatter helpers.

⚡️ What's your motivation?

As the world moved to ESM, deep imports like this will no longer work. This fixes compatibility with the latest cucumber-js.

What kind of change is this?

  • 🐛 Bug fix (non-breaking change which fixes a defect)

📋 Checklist:

  • I have read the CONTRIBUTING document.
  • My change needed additional tests
    • I have added tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

@davidjgoss davidjgoss merged commit bbb886e into cucumber:master Feb 17, 2022
@davidjgoss davidjgoss deleted the remove-deep-imports branch February 17, 2022 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant