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

refactor!: update code and remove underscore dependency #41

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

Conversation

dhensby
Copy link
Contributor

@dhensby dhensby commented Mar 19, 2024

This change updates the code in the following ways:

  1. Remove var usage and replace with let/const where appropriate
  2. Removes the dependency on underscore and replaces the helper methods with native code
  3. package.json is slightly refactored to set the entry point as src/server.js instead of index.js - as this isn't really needed

I'd consider this potentially to be a breaking change, though I was surprised to see it still maintains Node 8+ support.

dhensby added 2 commits March 19, 2024 11:48
Modernise the code to use native methods where possible and remove the
dependency on underscore.
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.

1 participant