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

@coveo/semantic-monorepo-tools

Package Overview
Dependencies
Maintainers
0
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coveo/semantic-monorepo-tools - npm Package Compare versions

Comparing version 2.4.60 to 2.4.61

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 2.4.61 (2024-10-21)
## 2.4.60 (2024-10-21)

@@ -2,0 +6,0 @@

5

dist/git/getLastGitTag.d.ts

@@ -6,2 +6,5 @@ /**

*/
export default function (prefix?: string): Promise<string>;
export default function ({ prefix, onBranch, }?: {
prefix?: string;
onBranch?: string;
}): Promise<string>;

@@ -8,3 +8,3 @@ import spawn from "../utils/spawn.js";

*/
export default async function (prefix) {
export default async function ({ prefix, onBranch, } = {}) {
const gitParams = ["describe", "--tags", "--abbrev=0"];

@@ -14,4 +14,7 @@ if (prefix) {

}
if (onBranch) {
gitParams.push(`${onBranch}`);
}
const gitPs = await spawn("git", gitParams, gitLogger);
return gitPs.stdout.trim();
}
{
"name": "@coveo/semantic-monorepo-tools",
"version": "2.4.60",
"version": "2.4.61",
"description": "A library of helper functions to do SemVer2 compliant releases from Conventional Commits in monorepos",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/coveo/semantic-monorepo-tools#readme",

@@ -9,3 +9,6 @@ import spawn from "../utils/spawn.js";

*/
export default async function (prefix?: string): Promise<string> {
export default async function ({
prefix,
onBranch,
}: { prefix?: string; onBranch?: string } = {}): Promise<string> {
const gitParams = ["describe", "--tags", "--abbrev=0"];

@@ -15,2 +18,5 @@ if (prefix) {

}
if (onBranch) {
gitParams.push(`${onBranch}`);
}
const gitPs = await spawn("git", gitParams, gitLogger);

@@ -17,0 +23,0 @@

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