Skip to content

Update to use ESM throughout #29

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

gavinaiken
Copy link

  • all files changed from CJS / require to ESM / import
  • update dev dependencies to latest versions, except for AVA (latest version of that removes callback support)
  • update tests to be compatible with AVA changes
  • switch to sinon instead of mockery as mockery was not working with ESM imports
  • switch to c8 instead of nyc - drop in replacement which handles ESM correctly

Resolves #28

- all files changed from CJS / require to ESM / import
- update dev dependencies to latest versions, except for AVA (latest version of that removes callback support)
- update tests to be compatible with AVA changes
- switch to sinon instead of mockery as mockery was not working with ESM imports
- switch to c8 instead of nyc - drop in replacement which handles ESM correctly
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.

pidtree upsets the ESM parser in node 22
1 participant