Comparing version 2.29.0 to 2.30.0
@@ -7,3 +7,9 @@ var semver = require('semver') | ||
var increment = runtime === 'electron' ? 'minor' : 'major' | ||
return semver.inc(latest.target, increment) | ||
var next = semver.inc(latest.target, increment) | ||
// Electron releases appear in the registry in their beta form, sometimes there is | ||
// no active beta line. During this time we need to double bump | ||
if (runtime === 'electron' && semver.parse(latest.target).prerelease.length) { | ||
next = semver.inc(next, 'major') | ||
} | ||
return next | ||
} | ||
@@ -10,0 +16,0 @@ |
{ | ||
"name": "node-abi", | ||
"version": "2.29.0", | ||
"version": "2.30.0", | ||
"description": "Get the Node ABI for a given target and runtime, and vice versa.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
28092
529