New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@semantics/semantic-version

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantics/semantic-version - npm Package Compare versions

Comparing version
0.0.2
to
0.0.3
+1
-1
package.json
{
"name": "@semantics/semantic-version",
"version": "0.0.2",
"version": "0.0.3",
"description": "Semantic versioning utility",

@@ -5,0 +5,0 @@ "main": "dist/lib.js",

@@ -13,9 +13,15 @@ # @semantics/semantic-version

### semanticVersion(version: string | number | number[], ...otherVersions: number[]): SemanticVersion
### Import package
```javascript
import { semanticVersion } from '@semantics/semantic-version';
// or
const { semanticVersion } = require('@semantics/semantic-version');
```
### semanticVersion(version: string | number | number[], ...otherVersions: number[])
Creates semantic version object.
```javascript
import { semanticVersion } from '@semantics/version';
// string

@@ -22,0 +28,0 @@ semanticVersion('1.2.1'); // 1.2.1