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

Only add runtime files to npm package #170

Closed
wants to merge 1 commit into from

Conversation

SethDavenport
Copy link

@SethDavenport SethDavenport commented Apr 23, 2019

https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package

Fixes #169

It's generally good practice IMO to keep only the things consumers need to use your lib in npm. In this case, your specs folder references a vulnerable version of jquery, which is fine since it's not used at runtime, but it causes false positives for vulnerability scanners like retireJS.

Keeping your npm bundle slim is also good for helping fight node_modules cruft and slow installs.

https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package

Fixes mailcheck#169

It's generally good practice IMO to keep only the things consumers need to use your lib in npm. In this case, your specs folder references a vulnerable version of jquery
 which is fine since it's not used at runtime, but it causes false positives for vulnerability scanners like retireJS.

Keeping your npm bundle slim is also good for helping fight node_modules cruft and slow installs.
@ferreiro
Copy link

Hey @SethDavenport, fully agree with you, unfortunately this library is no longer maintained.

I rewrote it entirely and update it for 2022 and onward: https://github.com/ZooTools/email-spell-checker

  • 💙 Written in TypeScript and removed jQuery
  • ✅ Fixed a couple of bugs like this or this
  • 🚀 Reduced bundle size to <2KB.

  • ✨ Update TLDs (69+) and added modern startup domains (like .io, .so, .xyz or .dev)
  • 🙏 Implemented suggestions that people made in this repo that were ignored.

Link: https://github.com/ZooTools/email-spell-checker

Come check it out and give it a ⭐️ for the effort.

@SethDavenport
Copy link
Author

OK, thanks, I'll check it out.

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.

RetireJS Error on spec/lib/jquery
3 participants