Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@auto/bump

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@auto/bump - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

4

node/bump-range.js

@@ -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;
};

2

package.json
{
"name": "@auto/bump",
"version": "0.1.0",
"version": "0.2.0",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc