-
Notifications
You must be signed in to change notification settings - Fork 5
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
♻️ Migrate from CommonJS to ESM #227
Merged
Merged
Commits on Apr 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bd59546 - Browse repository at this point
Copy the full SHA bd59546View commit details -
♻️ Rewrite source code from CommonJS to ESM
+ Add file extensions to the filepath in the import statement + Read the `package.json` file using the `readJSONFile()` function instead of the `require()` function + Use top-level await + Modified `readJSONFile()` and `relativePath()` functions to allow `URL` objects to be specified as arguments
Configuration menu - View commit details
-
Copy full SHA for e463a9c - Browse repository at this point
Copy the full SHA e463a9cView commit details -
✅ Rewrite test code from CommonJS to ESM
+ Add file extensions to the filepath in the import statement + Use `import.meta.url` instead of `__dirname` variable + Fix type declarations in `is-promise` package
Configuration menu - View commit details
-
Copy full SHA for b44285c - Browse repository at this point
Copy the full SHA b44285cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6758e67 - Browse repository at this point
Copy the full SHA 6758e67View commit details -
✅ Fix problem with Vitest not importing TypeScript with ".js" path ex…
…tension on older Node.js
Configuration menu - View commit details
-
Copy full SHA for ebfa9c4 - Browse repository at this point
Copy the full SHA ebfa9c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8f0e60 - Browse repository at this point
Copy the full SHA c8f0e60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cb013d - Browse repository at this point
Copy the full SHA 6cb013dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b43d52 - Browse repository at this point
Copy the full SHA 5b43d52View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5133c65 - Browse repository at this point
Copy the full SHA 5133c65View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.