Sha256: 8f06f98786fda840cf270895fc9ca5427d3f39ce5663201e6ba37a3f3af150c9
Contents?: true
Size: 434 Bytes
Versions: 7
Compression:
Stored size: 434 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.hasMinVersion = hasMinVersion; var _semver = require("semver"); function hasMinVersion(minVersion, runtimeVersion) { if (!runtimeVersion) return true; if (_semver.valid(runtimeVersion)) runtimeVersion = `^${runtimeVersion}`; return !_semver.intersects(`<${minVersion}`, runtimeVersion) && !_semver.intersects(`>=8.0.0`, runtimeVersion); }
Version data entries
7 entries across 7 versions & 1 rubygems