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(dev-tools): drop deprecated node option #465

Merged
merged 2 commits into from
Apr 28, 2024
Merged

Conversation

Pessimistress
Copy link
Collaborator

  • Drop deprecated node option --loader, use --import
  • Requires Node 18 LTS+

@Pessimistress Pessimistress requested a review from ibgreen April 28, 2024 00:54
@coveralls
Copy link

coveralls commented Apr 28, 2024

Pull Request Test Coverage Report for Build 8868428908

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 89.023%

Totals Coverage Status
Change from base Build 8861469552: 0.0%
Covered Lines: 1070
Relevant Lines: 1194

💛 - Coveralls

Copy link
Collaborator

@ibgreen ibgreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. More comments usually better in this type of code.

import {getValidPath, ocularRoot} from '../utils/utils.js';
export {getFormat, transformSource, load};

type ResolveHook = (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Add TSDoc on the type (and fields if possible). Specify if this is this an ocular type or are we compensating for esbuild 's lack of types, if so which version of esbuild was this written for?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is Node.js API. I'll add a comment.

@Pessimistress Pessimistress merged commit 90f2011 into master Apr 28, 2024
4 checks passed
@Pessimistress Pessimistress deleted the x/esm-register branch April 28, 2024 17:39
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.

3 participants