Socket
Socket
Sign inDemoInstall

compare-versions

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compare-versions - npm Package Versions

134

5.0.0

Diff

Changelog

Source

5.0.0 - 2022-08-25

  • BREAKING CHANGE: main export is now named.
  • Rewrite in TypeScript. Ensure single source of truth for all outputs.
  • Support ESM and CJS (through UMD).
  • Dropped Bower support.
omichelsen
published 4.1.4 •

Changelog

Source

4.1.4 - 2022-08-23

  • Fix satisfies() CJS export.
omichelsen
published 4.1.3 •

Changelog

Source

4.1.3 - 2022-01-11

  • Export CJS style in ESM for cross compatibility.
omichelsen
published 4.1.2 •

Changelog

Source

4.1.2 - 2021-12-09

  • Do not allow leading comparators in validate().
omichelsen
published 4.1.1 •

Changelog

Source

4.1.1 - 2021-11-12

  • Remove optional chaining operator.
omichelsen
published 4.1.0 •

Changelog

Source

4.1.0 - 2021-11-12

  • Add satisfies() function to test for range match.
omichelsen
published 4.0.2 •

Changelog

Source

4.0.2 - 2021-11-12

  • Fix wildcard comparisons.
omichelsen
published 4.0.1 •

Changelog

Source

4.0.1 - 2021-11-01

  • Remove { "type": "module" } from package.json and set { "sideEffects": false }.
omichelsen
published 4.0.0 •

Changelog

Source

4.0.0 - 2021-10-30

  • Add new ESM version in addition to the original CJS version.
  • Refactor ESM version to improve performance and reduce lines of code.
  • No breaking API changes but releasing as a major version bump to signal the new ESM code will be used by compatible bundlers like webpack and parcel.
omichelsen
published 3.6.0 •

Changelog

Source

3.6.0 - 2020-02-13

  • Add validate() function for checking whether a version number is semver-compliant.
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc