compare-versions
Advanced tools
Comparing version 4.1.1 to 4.1.2
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15651
304
111