New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

beachball

Package Overview
Dependencies
Maintainers
3
Versions
246
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beachball - npm Package Compare versions

Comparing version 2.42.0 to 2.43.0

7

lib/bump/bumpPackageInfoVersion.js

@@ -25,4 +25,9 @@ "use strict";

else {
// Ensure we can bump the correct versions
let bumpAsPrerelease = false;
if (options.prereleasePrefix && !["premajor", "preminor", "prepatch"].includes(changeType)) {
bumpAsPrerelease = true;
}
// Version should be updated
info.version = semver_1.default.inc(info.version, options.prereleasePrefix ? 'prerelease' : changeType, options.prereleasePrefix || undefined, options.identifierBase);
info.version = semver_1.default.inc(info.version, bumpAsPrerelease ? 'prerelease' : changeType, options.prereleasePrefix || undefined, options.identifierBase);
modifiedPackages.add(pkgName);

@@ -29,0 +34,0 @@ }

2

lib/bump/performBump.js

@@ -27,3 +27,3 @@ "use strict";

}
for (const depKind of ['dependencies', 'devDependencies', 'peerDependencies']) {
for (const depKind of ['dependencies', 'devDependencies', 'peerDependencies', 'optionalDependencies']) {
// updatedDeps contains all of the dependencies in the bump info since the beginning of a build job

@@ -30,0 +30,0 @@ const updatedDepsVersions = info[depKind];

@@ -16,3 +16,3 @@ "use strict";

}
for (const deps of [info.dependencies, info.devDependencies, info.peerDependencies]) {
for (const deps of [info.dependencies, info.devDependencies, info.peerDependencies, info.optionalDependencies]) {
for (const dep of Object.keys(deps || {})) {

@@ -19,0 +19,0 @@ if (packageInfos[dep]) {

@@ -11,3 +11,3 @@ "use strict";

}
for (const deps of [info.dependencies, info.devDependencies, info.peerDependencies]) {
for (const deps of [info.dependencies, info.devDependencies, info.peerDependencies, info.optionalDependencies]) {
if (!deps) {

@@ -14,0 +14,0 @@ continue;

@@ -18,2 +18,3 @@ "use strict";

peerDependencies: packageJson.peerDependencies,
optionalDependencies: packageJson.optionalDependencies,
private: packageJson.private !== undefined ? packageJson.private : false,

@@ -20,0 +21,0 @@ combinedOptions: (0, getPackageOptions_1.getCombinedPackageOptions)(packageOptions),

@@ -69,4 +69,4 @@ "use strict";

function performWorkspaceVersionOverrides(packageJson, packageInfos) {
const { dependencies, devDependencies, peerDependencies } = packageJson;
for (const deps of [dependencies, devDependencies, peerDependencies]) {
const { dependencies, devDependencies, peerDependencies, optionalDependencies } = packageJson;
for (const deps of [dependencies, devDependencies, peerDependencies, optionalDependencies]) {
if (!deps)

@@ -73,0 +73,0 @@ continue;

@@ -22,3 +22,3 @@ "use strict";

}
const allDeps = new Set([info.dependencies, info.devDependencies, info.peerDependencies]
const allDeps = new Set([info.dependencies, info.devDependencies, info.peerDependencies, info.optionalDependencies]
.flatMap(deps => Object.keys(deps || {}))

@@ -25,0 +25,0 @@ .filter(pkg => packageSet.has(pkg)));

@@ -26,2 +26,3 @@ import { PackageOptions, BeachballOptions } from './BeachballOptions';

peerDependencies?: PackageDeps;
optionalDependencies?: PackageDeps;
private?: boolean;

@@ -40,2 +41,3 @@ scripts?: Record<string, string>;

peerDependencies?: PackageDeps;
optionalDependencies?: PackageDeps;
private: boolean;

@@ -42,0 +44,0 @@ /** options that are combined from the root configuration */

{
"name": "beachball",
"version": "2.42.0",
"version": "2.43.0",
"description": "The Sunniest Semantic Version Bumper",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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