Socket
Socket
Sign inDemoInstall

semver

Package Overview
Dependencies
2
Maintainers
5
Versions
105
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
35
11Next

6.1.3

Diff

Changelog

Source

6.1.3

  • Handle X-ranges properly in includePrerelease mode
isaacs
published 6.1.2 •

Changelog

Source

6.1.2

  • Do not throw when testing invalid version strings
isaacs
published 6.1.1 •

Changelog

Source

6.1.1

  • Add options support for semver.coerce()
  • Handle undefined version passed to Range.test
isaacs
published 6.1.0 •

Changelog

Source

6.1.0

  • Add semver.compareBuild function
  • Support * in semver.intersects

6.0

  • Fix intersects logic.

    This is technically a bug fix, but since it is also a change to behavior that may require users updating their code, it is marked as a major version increment.

5.7

  • Add minVersion method

5.6

  • Move boolean loose param to an options object, with backwards-compatibility protection.
  • Add ability to opt out of special prerelease version handling with the includePrerelease option flag.

5.5

  • Add version coercion capabilities

5.4

  • Add intersection checking

5.3

  • Add minSatisfying method

5.2

  • Add prerelease(v) that returns prerelease components

5.1

  • Add Backus-Naur for ranges
  • Remove excessively cute inspection methods

5.0

  • Remove AMD/Browserified build artifacts
  • Fix ltr and gtr when using the * range
  • Fix for range * with a prerelease identifier
isaacs
published 6.0.0 •

isaacs
published 5.7.0 •

isaacs
published 5.6.0 •

isaacs
published 5.5.1 •

isaacs
published 5.5.0 •

isaacs
published 5.4.1 •

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