You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

semver

Package Overview
Dependencies
0
Maintainers
6
Versions
108
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous
1
11
Next

7.3.0

Diff

Changelog

Source

7.3.0

  • Add subset(r1, r2) method to determine if r1 range is entirely contained by r2 range.
isaacs
published 7.2.3 •

Changelog

Source

7.2.3

  • Fix handling of includePrelease mode where version ranges like 1.0.0 - 2.0.0 would include 3.0.0-pre and not 1.0.0-pre.
isaacs
published 7.2.2 •

Changelog

Source

7.2.2

  • Fix bug where 2.0.0-pre would be included in ^1.0.0 if includePrerelease was set to true.
isaacs
published 7.2.1 •

isaacs
published 7.2.0 •

Changelog

Source

7.2.0

  • Add simplifyRange method to attempt to generate a more human-readable range expression that is equivalent to a supplied range, for a given set of versions.
isaacs
published 7.1.3 •

isaacs
published 7.1.2 •

Changelog

Source

7.1.2

  • Remove fancy lazy-loading logic, as it was causing problems for webpack users.
isaacs
published 7.1.1 •

isaacs
published 7.1.0 •

Changelog

Source

7.1.0

  • Add require('semver/preload') to load the entire module without using lazy getter methods.
isaacs
published 7.0.0 •

Changelog

Source

7.0.0

  • Refactor module into separate files for better tree-shaking
  • Drop support for very old node versions, use const/let, => functions, and classes.
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc