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

Convert project to Node.js v20 and many more updates ✨ #19

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Ethan-Arrowood
Copy link
Owner

I'm finally able to maintain this project again so I spent some time tonight updating the project to Node.js v20 as well as updating all of the dev dependencies.

Summary of changes:

  1. Update minimum Node.js version to v20
  2. Drop pnpm in favor of npm v10
  3. Drop @vercel/style-guide
  4. Migrate from tap to node:test
  5. Update eslint to v9

If we want to follow semver, we should make this v1. However, afaik its not uncommon to ignore semver while a module is pre-v1

I'll defer to the recommendation of the Cloudflare folks who may be depending on this module.

import { isSocketAddress } from './is-socket-address';

export function connect(
import net from 'node:net'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Insert blanket preference for trailing semi-colons here.

#TeamSemicolonFTW

Copy link
Owner Author

Choose a reason for hiding this comment

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

I switched to https://github.com/neostandard/neostandard , which does have a semi option. I'll enable it in a follow up 😉

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.

2 participants