A collection of Socket.dev optimize package overrides for use with Socket Optimize.
Inspired by e18e, these overrides focus on:
- Cleanup ✨ — Reduce dependencies and replace polyfills with built-in equivalents.
- Levelup 🧩 — Add new features and leverage modern platform APIs.
- Speedup ⚡ — Boost performance to run faster.
- Tuneup 🔧 — Address CVEs, especially in outdated or unmaintained packages.
Overrides:
- Maintain compatibility by passing original package tests 💯
- Work seamlessly with CommonJS
- Retain original licenses and are MIT compatible
- Include TypeScript definitions
- Support current and LTS Node versions
Making a new override is simple.
- Initialize the repository with your favorite package manager.
npm install
- Run wizard.
npm run make:npm-override [<package-name>]
- Follow the prompts to create the scaffolding of your shiny new override.
- Fill in all
TODO:
commented sections. - Commit and send a pull request!