Socket
Socket
Sign inDemoInstall

CommonJS depending on ESModule

Severity

Low

Description

Package is CommonJS, but has a dependency which is type: "module". The two are likely incompatible.

Suggestion

The package needs to switch to dynamic import on the esmodule dependency, or convert to esm itself. Consumers may experience errors resulting from this incompatibility.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc