Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 Compare versions

Comparing version 4.1.1 to 4.1.2

2

package.json
{
"name": "compare-versions",
"version": "4.1.1",
"version": "4.1.2",
"description": "Compare semver version strings to find greater, equal or lesser.",

@@ -5,0 +5,0 @@ "repository": {

@@ -28,3 +28,3 @@ # compare-versions

```javascript
```js
import compareVersions from 'compare-versions';

@@ -39,3 +39,3 @@

```javascript
```js
const versions = [

@@ -92,3 +92,3 @@ '1.5.19',

```javascript
```js
import { validate } from 'compare-versions';

@@ -106,3 +106,3 @@

```html
<script src="compare-versions/index.js"></script>
<script src=https://unpkg.com/compare-versions></script>
<script>

@@ -112,3 +112,4 @@ window.compareVersions('11.0.0', '10.0.0');

window.compareVersions.validate('11.0.0');
window.compareVersions.satisfies('1.2.0', '^1.0.0');
</script>
```

Sorry, the diff of this file is not supported yet

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