semver-greatest-satisfied-range

WebJar for semver-greatest-satisfied-range

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

semver-greatest-satisfied-range
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

semver-greatest-satisfied-range
WebJar for semver-greatest-satisfied-range
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/gulpjs/semver-greatest-satisfied-range

Download semver-greatest-satisfied-range

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/semver-greatest-satisfied-range/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>semver-greatest-satisfied-range</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/semver-greatest-satisfied-range/
implementation 'org.webjars.npm:semver-greatest-satisfied-range:1.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/semver-greatest-satisfied-range/
implementation ("org.webjars.npm:semver-greatest-satisfied-range:1.1.0")
'org.webjars.npm:semver-greatest-satisfied-range:jar:1.1.0'
<dependency org="org.webjars.npm" name="semver-greatest-satisfied-range" rev="1.1.0">
  <artifact name="semver-greatest-satisfied-range" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='semver-greatest-satisfied-range', version='1.1.0')
)
libraryDependencies += "org.webjars.npm" % "semver-greatest-satisfied-range" % "1.1.0"
[org.webjars.npm/semver-greatest-satisfied-range "1.1.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : sver-compat jar [1.5.0,2)

Project Modules

There are no modules declared in this project.

semver-greatest-satisfied-range

NPM version Downloads Build Status AppVeyor Build Status Coveralls Status Gitter chat

Find the greatest satisfied semver range from an array of ranges.

Usage

var findRange = require('semver-greatest-satisfied-range');

var range = findRange('1.1.0', ['^1.0.0', '^1.1.0', '^1.2.0']);
// range === '^1.1.0'

API

findRange(version, rangeArray)

Takes a version and array of ranges, returns the greatest satisfied range. Range support is defined by sver-compat.

License

MIT

org.webjars.npm

gulp

A toolkit to automate & enhance your workflow

Versions

Version
1.1.0
1.0.0