StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/semver-diff
Angelos Chatzimparmpas e069030893 fix the frontend 3 years ago
..
node_modules fix the frontend 3 years ago
index.js fix the frontend 3 years ago
license fix the frontend 3 years ago
package.json fix the frontend 3 years ago
readme.md fix the frontend 3 years ago

readme.md

semver-diff Build Status

Get the diff type of two semver versions: 0.0.1 0.0.2patch

Install

$ npm install --save semver-diff

Usage

var semverDiff = require('semver-diff');

semverDiff('1.1.1', '1.1.2');
//=> 'patch'

semverDiff('0.0.1', '1.0.0');
//=> 'major'

semverDiff('0.0.1', '0.1.0');
//=> 'minor'

semverDiff('0.0.1-foo', '0.0.1-foo.bar');
//=> 'prerelease'

semverDiff('0.1.0', '0.1.0+foo');
//=> 'build'

semverDiff('0.0.1', '0.0.1');
//=> null

semverDiff('0.0.2', '0.0.1');
//=> null

API

semverDiff(versionA, versionB)

Returns the difference type between two semver versions, or null if they're identical or the second one is lower than the first.

Possible values: 'major', 'minor', 'patch', 'prerelease', 'build', null.

License

MIT © Sindre Sorhus