@auto/bump
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -39,2 +39,6 @@ "use strict"; | ||
if (_semver.default.satisfies(newVersion, range)) { | ||
if (!options.shouldAlwaysBumpDependents) { | ||
return range; | ||
} | ||
return `${symb}${newVersion}`; | ||
@@ -41,0 +45,0 @@ } |
@@ -45,2 +45,7 @@ "use strict"; | ||
bumpedRange = (0, _bumpRange.bumpRange)(dependent.range, version, type, bumpOptions); | ||
if (bumpedRange === dependent.range) { | ||
continue; | ||
} | ||
bumpedVersion = (0, _bumpVersion.bumpVersion)(dependentPackage.json.version, type, bumpOptions); | ||
@@ -47,0 +52,0 @@ } |
import { TBumpType } from '@auto/utils'; | ||
export declare type TBumpOptions = { | ||
zeroBreakingChangeType: TBumpType; | ||
shouldAlwaysBumpDependents: boolean; | ||
}; |
{ | ||
"name": "@auto/bump", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10819
251
0