/socket-registry-js

Socket.dev optimized 📦 overrides✨

Primary LanguageJavaScriptMIT LicenseMIT

@socketregistry

CI - SocketDev/socket-registry-js Follow @SocketSecurity

A collection of Socket.dev optimize package overrides for use with @socketsecurity/cli.

npx @socketsecurity/cli optimize demo

About

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 icon, indicating that this package has built-in type declarations TypeScript definitions
  • Support current and LTS Node versions

Contribute

Adding a new override is simple.

  • Initialize the repository with your favorite package manager, e.g. npm install.
  • Run
npm run make:npm-package [<package-name>]
  • Follow the prompts to create the scaffolding for your shiny new override.
  • Fill in all TODO: commented sections.
  • Commit and send a pull request!