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

bumpp

Package Overview
Dependencies
Maintainers
0
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bumpp - npm Package Compare versions

Comparing version 9.8.1 to 9.9.0

dist/chunk-SDGX7IFY.mjs

2

dist/cli/index.d.ts

@@ -5,4 +5,4 @@ /**

declare function main(): Promise<void>;
declare function checkGitStatus(): void;
declare function checkGitStatus(): Promise<void>;
export { checkGitStatus, main };

@@ -66,4 +66,4 @@ var __create = Object.create;

var argv = p.argv || [];
var env2 = p.env || {};
var isColorSupported = !(!!env2.NO_COLOR || argv.includes("--no-color")) && (!!env2.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env2.TERM !== "dumb" || !!env2.CI);
var env = p.env || {};
var isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
var formatter = (open, close, replace = open) => (input) => {

@@ -138,525 +138,111 @@ let string = "" + input, index = string.indexOf(close, open.length);

checkGitStatus: () => checkGitStatus,
main: () => main2
main: () => main
});
module.exports = __toCommonJS(cli_exports);
var import_node_process8 = __toESM(require("process"));
var ezSpawn5 = __toESM(require("@jsdevtools/ez-spawn"));
var import_node_process7 = __toESM(require("process"));
// node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/ansi-styles/index.js
var ANSI_BACKGROUND_OFFSET = 10;
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
var styles = {
modifier: {
reset: [0, 0],
// 21 isn't widely supported and 22 does the same thing
bold: [1, 22],
dim: [2, 22],
italic: [3, 23],
underline: [4, 24],
overline: [53, 55],
inverse: [7, 27],
hidden: [8, 28],
strikethrough: [9, 29]
},
color: {
black: [30, 39],
red: [31, 39],
green: [32, 39],
yellow: [33, 39],
blue: [34, 39],
magenta: [35, 39],
cyan: [36, 39],
white: [37, 39],
// Bright color
blackBright: [90, 39],
gray: [90, 39],
// Alias of `blackBright`
grey: [90, 39],
// Alias of `blackBright`
redBright: [91, 39],
greenBright: [92, 39],
yellowBright: [93, 39],
blueBright: [94, 39],
magentaBright: [95, 39],
cyanBright: [96, 39],
whiteBright: [97, 39]
},
bgColor: {
bgBlack: [40, 49],
bgRed: [41, 49],
bgGreen: [42, 49],
bgYellow: [43, 49],
bgBlue: [44, 49],
bgMagenta: [45, 49],
bgCyan: [46, 49],
bgWhite: [47, 49],
// Bright color
bgBlackBright: [100, 49],
bgGray: [100, 49],
// Alias of `bgBlackBright`
bgGrey: [100, 49],
// Alias of `bgBlackBright`
bgRedBright: [101, 49],
bgGreenBright: [102, 49],
bgYellowBright: [103, 49],
bgBlueBright: [104, 49],
bgMagentaBright: [105, 49],
bgCyanBright: [106, 49],
bgWhiteBright: [107, 49]
}
};
var modifierNames = Object.keys(styles.modifier);
var foregroundColorNames = Object.keys(styles.color);
var backgroundColorNames = Object.keys(styles.bgColor);
var colorNames = [...foregroundColorNames, ...backgroundColorNames];
function assembleStyles() {
const codes = /* @__PURE__ */ new Map();
for (const [groupName, group] of Object.entries(styles)) {
for (const [styleName, style] of Object.entries(group)) {
styles[styleName] = {
open: `\x1B[${style[0]}m`,
close: `\x1B[${style[1]}m`
};
group[styleName] = styles[styleName];
codes.set(style[0], style[1]);
}
Object.defineProperty(styles, groupName, {
value: group,
enumerable: false
});
}
Object.defineProperty(styles, "codes", {
value: codes,
enumerable: false
});
styles.color.close = "\x1B[39m";
styles.bgColor.close = "\x1B[49m";
styles.color.ansi = wrapAnsi16();
styles.color.ansi256 = wrapAnsi256();
styles.color.ansi16m = wrapAnsi16m();
styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
Object.defineProperties(styles, {
rgbToAnsi256: {
value(red, green, blue) {
if (red === green && green === blue) {
if (red < 8) {
return 16;
}
if (red > 248) {
return 231;
}
return Math.round((red - 8) / 247 * 24) + 232;
}
return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
},
enumerable: false
},
hexToRgb: {
value(hex) {
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
if (!matches) {
return [0, 0, 0];
}
let [colorString] = matches;
if (colorString.length === 3) {
colorString = [...colorString].map((character) => character + character).join("");
}
const integer = Number.parseInt(colorString, 16);
return [
/* eslint-disable no-bitwise */
integer >> 16 & 255,
integer >> 8 & 255,
integer & 255
/* eslint-enable no-bitwise */
];
},
enumerable: false
},
hexToAnsi256: {
value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
enumerable: false
},
ansi256ToAnsi: {
value(code) {
if (code < 8) {
return 30 + code;
}
if (code < 16) {
return 90 + (code - 8);
}
let red;
let green;
let blue;
if (code >= 232) {
red = ((code - 232) * 10 + 8) / 255;
green = red;
blue = red;
} else {
code -= 16;
const remainder = code % 36;
red = Math.floor(code / 36) / 5;
green = Math.floor(remainder / 6) / 5;
blue = remainder % 6 / 5;
}
const value = Math.max(red, green, blue) * 2;
if (value === 0) {
return 30;
}
let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
if (value === 2) {
result += 60;
}
return result;
},
enumerable: false
},
rgbToAnsi: {
value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
enumerable: false
},
hexToAnsi: {
value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
enumerable: false
}
});
return styles;
}
var ansiStyles = assembleStyles();
var ansi_styles_default = ansiStyles;
// node_modules/.pnpm/log-symbols@7.0.0/node_modules/log-symbols/symbols.js
var symbols_exports = {};
__export(symbols_exports, {
error: () => error,
info: () => info,
success: () => success,
warning: () => warning
});
// node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js
var import_node_process = __toESM(require("process"), 1);
var import_node_os = __toESM(require("os"), 1);
// node_modules/.pnpm/yoctocolors@2.1.1/node_modules/yoctocolors/base.js
var import_node_tty = __toESM(require("tty"), 1);
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
const position = argv.indexOf(prefix + flag);
const terminatorPosition = argv.indexOf("--");
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
}
var { env } = import_node_process.default;
var flagForceColor;
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
flagForceColor = 0;
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
flagForceColor = 1;
}
function envForceColor() {
if ("FORCE_COLOR" in env) {
if (env.FORCE_COLOR === "true") {
return 1;
}
if (env.FORCE_COLOR === "false") {
return 0;
}
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
var _a, _b, _c, _d, _e;
var hasColors = (_e = (_d = (_c = (_b = (_a = import_node_tty.default) == null ? void 0 : _a.WriteStream) == null ? void 0 : _b.prototype) == null ? void 0 : _c.hasColors) == null ? void 0 : _d.call(_c)) != null ? _e : false;
var format = (open, close) => {
if (!hasColors) {
return (input) => input;
}
}
function translateLevel(level) {
if (level === 0) {
return false;
}
return {
level,
hasBasic: true,
has256: level >= 2,
has16m: level >= 3
};
}
function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
const noFlagForceColor = envForceColor();
if (noFlagForceColor !== void 0) {
flagForceColor = noFlagForceColor;
}
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
if (forceColor === 0) {
return 0;
}
if (sniffFlags) {
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
return 3;
const openCode = `\x1B[${open}m`;
const closeCode = `\x1B[${close}m`;
return (input) => {
const string = input + "";
let index = string.indexOf(closeCode);
if (index === -1) {
return openCode + string + closeCode;
}
if (hasFlag("color=256")) {
return 2;
let result = openCode;
let lastIndex = 0;
while (index !== -1) {
result += string.slice(lastIndex, index) + openCode;
lastIndex = index + closeCode.length;
index = string.indexOf(closeCode, lastIndex);
}
}
if ("TF_BUILD" in env && "AGENT_NAME" in env) {
return 1;
}
if (haveStream && !streamIsTTY && forceColor === void 0) {
return 0;
}
const min = forceColor || 0;
if (env.TERM === "dumb") {
return min;
}
if (import_node_process.default.platform === "win32") {
const osRelease = import_node_os.default.release().split(".");
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
return Number(osRelease[2]) >= 14931 ? 3 : 2;
}
return 1;
}
if ("CI" in env) {
if ("GITHUB_ACTIONS" in env || "GITEA_ACTIONS" in env) {
return 3;
}
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
return 1;
}
return min;
}
if ("TEAMCITY_VERSION" in env) {
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
}
if (env.COLORTERM === "truecolor") {
return 3;
}
if (env.TERM === "xterm-kitty") {
return 3;
}
if ("TERM_PROGRAM" in env) {
const version2 = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
switch (env.TERM_PROGRAM) {
case "iTerm.app": {
return version2 >= 3 ? 3 : 2;
}
case "Apple_Terminal": {
return 2;
}
}
}
if (/-256(color)?$/i.test(env.TERM)) {
return 2;
}
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
return 1;
}
if ("COLORTERM" in env) {
return 1;
}
return min;
}
function createSupportsColor(stream, options = {}) {
const level = _supportsColor(stream, __spreadValues({
streamIsTTY: stream && stream.isTTY
}, options));
return translateLevel(level);
}
var supportsColor = {
stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
};
var supports_color_default = supportsColor;
// node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/utilities.js
function stringReplaceAll(string, substring, replacer) {
let index = string.indexOf(substring);
if (index === -1) {
return string;
}
const substringLength = substring.length;
let endIndex = 0;
let returnValue = "";
do {
returnValue += string.slice(endIndex, index) + substring + replacer;
endIndex = index + substringLength;
index = string.indexOf(substring, endIndex);
} while (index !== -1);
returnValue += string.slice(endIndex);
return returnValue;
}
function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
let endIndex = 0;
let returnValue = "";
do {
const gotCR = string[index - 1] === "\r";
returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
endIndex = index + 1;
index = string.indexOf("\n", endIndex);
} while (index !== -1);
returnValue += string.slice(endIndex);
return returnValue;
}
// node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/index.js
var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
var GENERATOR = Symbol("GENERATOR");
var STYLER = Symbol("STYLER");
var IS_EMPTY = Symbol("IS_EMPTY");
var levelMapping = [
"ansi",
"ansi",
"ansi256",
"ansi16m"
];
var styles2 = /* @__PURE__ */ Object.create(null);
var applyOptions = (object, options = {}) => {
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
throw new Error("The `level` option should be an integer from 0 to 3");
}
const colorLevel = stdoutColor ? stdoutColor.level : 0;
object.level = options.level === void 0 ? colorLevel : options.level;
};
var chalkFactory = (options) => {
const chalk2 = (...strings) => strings.join(" ");
applyOptions(chalk2, options);
Object.setPrototypeOf(chalk2, createChalk.prototype);
return chalk2;
};
function createChalk(options) {
return chalkFactory(options);
}
Object.setPrototypeOf(createChalk.prototype, Function.prototype);
for (const [styleName, style] of Object.entries(ansi_styles_default)) {
styles2[styleName] = {
get() {
const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
Object.defineProperty(this, styleName, { value: builder });
return builder;
}
result += string.slice(lastIndex) + closeCode;
return result;
};
}
styles2.visible = {
get() {
const builder = createBuilder(this, this[STYLER], true);
Object.defineProperty(this, "visible", { value: builder });
return builder;
}
};
var getModelAnsi = (model, level, type, ...arguments_) => {
if (model === "rgb") {
if (level === "ansi16m") {
return ansi_styles_default[type].ansi16m(...arguments_);
}
if (level === "ansi256") {
return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));
}
return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));
}
if (model === "hex") {
return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_));
}
return ansi_styles_default[type][model](...arguments_);
};
var usedModels = ["rgb", "hex", "ansi256"];
for (const model of usedModels) {
styles2[model] = {
get() {
const { level } = this;
return function(...arguments_) {
const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
return createBuilder(this, styler, this[IS_EMPTY]);
};
}
};
const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
styles2[bgModel] = {
get() {
const { level } = this;
return function(...arguments_) {
const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
return createBuilder(this, styler, this[IS_EMPTY]);
};
}
};
}
var proto = Object.defineProperties(() => {
}, __spreadProps(__spreadValues({}, styles2), {
level: {
enumerable: true,
get() {
return this[GENERATOR].level;
},
set(level) {
this[GENERATOR].level = level;
}
}
}));
var createStyler = (open, close, parent) => {
let openAll;
let closeAll;
if (parent === void 0) {
openAll = open;
closeAll = close;
} else {
openAll = parent.openAll + open;
closeAll = close + parent.closeAll;
}
return {
open,
close,
openAll,
closeAll,
parent
};
};
var createBuilder = (self, _styler, _isEmpty) => {
const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
Object.setPrototypeOf(builder, proto);
builder[GENERATOR] = self;
builder[STYLER] = _styler;
builder[IS_EMPTY] = _isEmpty;
return builder;
};
var applyStyle = (self, string) => {
if (self.level <= 0 || !string) {
return self[IS_EMPTY] ? "" : string;
}
let styler = self[STYLER];
if (styler === void 0) {
return string;
}
const { openAll, closeAll } = styler;
if (string.includes("\x1B")) {
while (styler !== void 0) {
string = stringReplaceAll(string, styler.close, styler.open);
styler = styler.parent;
}
}
const lfIndex = string.indexOf("\n");
if (lfIndex !== -1) {
string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
}
return openAll + string + closeAll;
};
Object.defineProperties(createChalk.prototype, styles2);
var chalk = createChalk();
var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
var source_default = chalk;
var reset = format(0, 0);
var bold = format(1, 22);
var dim = format(2, 22);
var italic = format(3, 23);
var underline = format(4, 24);
var overline = format(53, 55);
var inverse = format(7, 27);
var hidden = format(8, 28);
var strikethrough = format(9, 29);
var black = format(30, 39);
var red = format(31, 39);
var green = format(32, 39);
var yellow = format(33, 39);
var blue = format(34, 39);
var magenta = format(35, 39);
var cyan = format(36, 39);
var white = format(37, 39);
var gray = format(90, 39);
var bgBlack = format(40, 49);
var bgRed = format(41, 49);
var bgGreen = format(42, 49);
var bgYellow = format(43, 49);
var bgBlue = format(44, 49);
var bgMagenta = format(45, 49);
var bgCyan = format(46, 49);
var bgWhite = format(47, 49);
var bgGray = format(100, 49);
var redBright = format(91, 39);
var greenBright = format(92, 39);
var yellowBright = format(93, 39);
var blueBright = format(94, 39);
var magentaBright = format(95, 39);
var cyanBright = format(96, 39);
var whiteBright = format(97, 39);
var bgRedBright = format(101, 49);
var bgGreenBright = format(102, 49);
var bgYellowBright = format(103, 49);
var bgBlueBright = format(104, 49);
var bgMagentaBright = format(105, 49);
var bgCyanBright = format(106, 49);
var bgWhiteBright = format(107, 49);
// node_modules/.pnpm/is-unicode-supported@1.3.0/node_modules/is-unicode-supported/index.js
var import_node_process2 = __toESM(require("process"), 1);
// node_modules/.pnpm/is-unicode-supported@2.1.0/node_modules/is-unicode-supported/index.js
var import_node_process = __toESM(require("process"), 1);
function isUnicodeSupported() {
if (import_node_process2.default.platform !== "win32") {
return import_node_process2.default.env.TERM !== "linux";
const { env } = import_node_process.default;
const { TERM, TERM_PROGRAM } = env;
if (import_node_process.default.platform !== "win32") {
return TERM !== "linux";
}
return Boolean(import_node_process2.default.env.CI) || Boolean(import_node_process2.default.env.WT_SESSION) || Boolean(import_node_process2.default.env.TERMINUS_SUBLIME) || import_node_process2.default.env.ConEmuTask === "{cmd::Cmder}" || import_node_process2.default.env.TERM_PROGRAM === "Terminus-Sublime" || import_node_process2.default.env.TERM_PROGRAM === "vscode" || import_node_process2.default.env.TERM === "xterm-256color" || import_node_process2.default.env.TERM === "alacritty" || import_node_process2.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
return Boolean(env.WT_SESSION) || Boolean(env.TERMINUS_SUBLIME) || env.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
}
// node_modules/.pnpm/log-symbols@6.0.0/node_modules/log-symbols/index.js
var main = {
info: source_default.blue("\u2139"),
success: source_default.green("\u2714"),
warning: source_default.yellow("\u26A0"),
error: source_default.red("\u2716")
};
var fallback = {
info: source_default.blue("i"),
success: source_default.green("\u221A"),
warning: source_default.yellow("\u203C"),
error: source_default.red("\xD7")
};
var logSymbols = isUnicodeSupported() ? main : fallback;
var log_symbols_default = logSymbols;
// node_modules/.pnpm/log-symbols@7.0.0/node_modules/log-symbols/symbols.js
var _isUnicodeSupported = isUnicodeSupported();
var info = blue(_isUnicodeSupported ? "\u2139" : "i");
var success = green(_isUnicodeSupported ? "\u2714" : "\u221A");
var warning = yellow(_isUnicodeSupported ? "\u26A0" : "\u203C");
var error = red(_isUnicodeSupported ? "\u2716\uFE0F" : "\xD7");
// src/cli/index.ts
var import_tinyexec5 = require("tinyexec");
// src/version-bump.ts
var import_node_process5 = __toESM(require("process"));
var ezSpawn4 = __toESM(require("@jsdevtools/ez-spawn"));
var import_node_process4 = __toESM(require("process"));
var import_picocolors3 = __toESM(require_picocolors());
var import_prompts2 = __toESM(require("prompts"));
var import_tinyexec4 = require("tinyexec");

@@ -715,4 +301,4 @@ // src/get-current-version.ts

function isPackageLockManifest(manifest) {
var _a, _b;
return typeof ((_b = (_a = manifest.packages) == null ? void 0 : _a[""]) == null ? void 0 : _b.version) === "string";
var _a2, _b2;
return typeof ((_b2 = (_a2 = manifest.packages) == null ? void 0 : _a2[""]) == null ? void 0 : _b2.version) === "string";
}

@@ -762,3 +348,3 @@ function isOptionalString(value) {

// src/get-new-version.ts
var import_node_process3 = __toESM(require("process"));
var import_node_process2 = __toESM(require("process"));
var import_picocolors2 = __toESM(require_picocolors());

@@ -769,4 +355,4 @@ var import_prompts = __toESM(require("prompts"));

// src/print-commits.ts
var ezSpawn = __toESM(require("@jsdevtools/ez-spawn"));
var import_picocolors = __toESM(require_picocolors());
var import_tinyexec = require("tinyexec");
var messageColorMap = {

@@ -790,9 +376,10 @@ chore: import_picocolors.default.gray,

const message = parts.join(" ");
const match = message.match(/^(\w+)(!)?(\([^)]+\))?:(.*)$/);
const match = message.match(/^(\w+)(!)?(\([^)]+\))?(!)?:(.*)$/);
if (match) {
let color = messageColorMap[match[1].toLowerCase()] || ((c5) => c5);
if (match[2] === "!") {
const breaking = match[2] === "!" || match[4] === "!";
if (breaking) {
color = (s) => import_picocolors.default.inverse(import_picocolors.default.red(s));
}
const tag = [match[1], match[2]].filter(Boolean).join("");
const tag = [match[1], match[2], match[4]].filter(Boolean).join("");
const scope = match[3] || "";

@@ -802,5 +389,5 @@ return {

tag,
message: match[4].trim(),
message: match[5].trim(),
scope,
breaking: match[2] === "!",
breaking,
color

@@ -840,12 +427,12 @@ };

let sha;
sha || (sha = await ezSpawn.async(
sha || (sha = await (0, import_tinyexec.x)(
"git",
["rev-list", "-n", "1", `v${operation.state.currentVersion}`],
{ stdio: "pipe" }
).then((res) => res.stdout.trim()).catch(() => void 0));
sha || (sha = await ezSpawn.async(
{ nodeOptions: { stdio: "pipe" }, throwOnError: false }
).then((res) => res.stdout.trim()));
sha || (sha = await (0, import_tinyexec.x)(
"git",
["rev-list", "-n", "1", operation.state.currentVersion],
{ stdio: "pipe" }
).then((res) => res.stdout.trim()).catch(() => void 0));
{ nodeOptions: { stdio: "pipe" }, throwOnError: false }
).then((res) => res.stdout.trim()));
if (!sha) {

@@ -857,3 +444,3 @@ console.log(

}
const { stdout } = await ezSpawn.async(
const { stdout } = await (0, import_tinyexec.x)(
"git",

@@ -866,3 +453,7 @@ [

],
{ stdio: "pipe" }
{
nodeOptions: {
stdio: "pipe"
}
}
);

@@ -936,7 +527,7 @@ const parsed = parseCommits(stdout.toString().trim());

async function promptForNewVersion(operation) {
var _a, _b;
var _a2, _b2;
const { currentVersion } = operation.state;
const release = operation.options.release;
const next = getNextVersions(currentVersion, release.preid);
const configCustomVersion = await ((_b = (_a = operation.options).customVersion) == null ? void 0 : _b.call(_a, currentVersion, import_semver2.default));
const configCustomVersion = await ((_b2 = (_a2 = operation.options).customVersion) == null ? void 0 : _b2.call(_a2, currentVersion, import_semver2.default));
if (operation.options.printCommits) {

@@ -979,3 +570,3 @@ await printRecentCommits(operation);

if (!newVersion)
import_node_process3.default.exit(1);
import_node_process2.default.exit(1);
switch (answers.release) {

@@ -993,3 +584,3 @@ case "custom":

// src/git.ts
var ezSpawn2 = __toESM(require("@jsdevtools/ez-spawn"));
var import_tinyexec2 = require("tinyexec");
async function gitCommit(operation) {

@@ -1014,3 +605,3 @@ if (!operation.options.commit)

args = args.concat(updatedFiles);
await ezSpawn2.async("git", ["commit", ...args]);
await (0, import_tinyexec2.x)("git", ["commit", ...args]);
return operation.update({ event: "git commit" /* GitCommit */, commitMessage });

@@ -1036,3 +627,3 @@ }

}
await ezSpawn2.async("git", ["tag", ...args]);
await (0, import_tinyexec2.x)("git", ["tag", ...args]);
return operation.update({ event: "git tag" /* GitTag */, tagName });

@@ -1043,5 +634,5 @@ }

return operation;
await ezSpawn2.async("git", "push");
await (0, import_tinyexec2.x)("git", ["push"]);
if (operation.options.tag) {
await ezSpawn2.async("git", ["push", "--tags"]);
await (0, import_tinyexec2.x)("git", ["push", "--tags"]);
}

@@ -1060,7 +651,7 @@ return operation.update({ event: "git push" /* GitPush */ });

var import_promises = __toESM(require("fs/promises"));
var import_node_process4 = __toESM(require("process"));
var import_node_process3 = __toESM(require("process"));
var import_js_yaml = __toESM(require("js-yaml"));
var import_tinyglobby = require("tinyglobby");
async function normalizeOptions(raw) {
var _a, _b, _d;
var _a2, _b2, _d2;
const preid = typeof raw.preid === "string" ? raw.preid : "beta";

@@ -1071,3 +662,3 @@ const sign = Boolean(raw.sign);

const noVerify = Boolean(raw.noVerify);
const cwd = raw.cwd || import_node_process4.default.cwd();
const cwd = raw.cwd || import_node_process3.default.cwd();
const ignoreScripts = Boolean(raw.ignoreScripts);

@@ -1093,3 +684,3 @@ const execute = raw.execute;

commit = { all, noVerify, message: "chore: release v" };
if (recursive && !((_a = raw.files) == null ? void 0 : _a.length)) {
if (recursive && !((_a2 = raw.files) == null ? void 0 : _a2.length)) {
raw.files = [

@@ -1109,4 +700,4 @@ "package.json",

const withoutExcludedWorkspaces = workspacesWithPackageJson.filter((workspace) => {
var _a2;
return !workspace.startsWith("!") && !((_a2 = raw.files) == null ? void 0 : _a2.includes(workspace));
var _a3;
return !workspace.startsWith("!") && !((_a3 = raw.files) == null ? void 0 : _a3.includes(workspace));
});

@@ -1116,3 +707,3 @@ raw.files = raw.files.concat(withoutExcludedWorkspaces);

} else {
raw.files = ((_b = raw.files) == null ? void 0 : _b.length) ? raw.files : ["package.json", "package-lock.json", "jsr.json", "jsr.jsonc", "deno.json", "deno.jsonc"];
raw.files = ((_b2 = raw.files) == null ? void 0 : _b2.length) ? raw.files : ["package.json", "package-lock.json", "jsr.json", "jsr.jsonc", "deno.json", "deno.jsonc"];
}

@@ -1134,9 +725,9 @@ const files = await (0, import_tinyglobby.glob)(

} else if (raw.interface === true || !raw.interface) {
ui = { input: import_node_process4.default.stdin, output: import_node_process4.default.stdout };
ui = { input: import_node_process3.default.stdin, output: import_node_process3.default.stdout };
} else {
let _c = raw.interface, { input, output } = _c, other = __objRest(_c, ["input", "output"]);
let _c2 = raw.interface, { input, output } = _c2, other = __objRest(_c2, ["input", "output"]);
if (input === true || input !== false && !input)
input = import_node_process4.default.stdin;
input = import_node_process3.default.stdin;
if (output === true || output !== false && !output)
output = import_node_process4.default.stdout;
output = import_node_process3.default.stdout;
ui = __spreadValues({ input, output }, other);

@@ -1157,3 +748,3 @@ }

execute,
printCommits: (_d = raw.printCommits) != null ? _d : true,
printCommits: (_d2 = raw.printCommits) != null ? _d2 : true,
customVersion: raw.customVersion,

@@ -1218,4 +809,4 @@ currentVersion: raw.currentVersion

*/
update(_a) {
var _b = _a, { event, script } = _b, newState = __objRest(_b, ["event", "script"]);
update(_a2) {
var _b2 = _a2, { event, script } = _b2, newState = __objRest(_b2, ["event", "script"]);
Object.assign(this.state, newState);

@@ -1230,3 +821,3 @@ if (event && this._progress) {

// src/run-npm-script.ts
var ezSpawn3 = __toESM(require("@jsdevtools/ez-spawn"));
var import_tinyexec3 = require("tinyexec");
async function runNpmScript(script, operation) {

@@ -1237,3 +828,5 @@ const { cwd, ignoreScripts } = operation.options;

if (isManifest(manifest) && hasScript(manifest, script)) {
await ezSpawn3.async("npm", ["run", script, "--silent"], { stdio: "inherit" });
await (0, import_tinyexec3.x)("npm", ["run", script, "--silent"], {
nodeOptions: { stdio: "inherit" }
});
operation.update({ event: "npm script" /* NpmScript */, script });

@@ -1341,3 +934,3 @@ }

}).then((r) => r.yes)) {
import_node_process5.default.exit(1);
import_node_process4.default.exit(1);
}

@@ -1351,5 +944,9 @@ }

} else {
console.log(log_symbols_default.info, "Executing script", operation.options.execute);
await ezSpawn4.async(operation.options.execute, { stdio: "inherit" });
console.log(log_symbols_default.success, "Script finished");
console.log(symbols_exports.info, "Executing script", operation.options.execute);
await (0, import_tinyexec4.x)(operation.options.execute, [], {
nodeOptions: {
stdio: "inherit"
}
});
console.log(symbols_exports.success, "Script finished");
}

@@ -1382,3 +979,3 @@ }

// src/cli/parse-args.ts
var import_node_process7 = __toESM(require("process"));
var import_node_process6 = __toESM(require("process"));
var import_cac = __toESM(require("cac"));

@@ -1389,7 +986,7 @@ var import_picocolors4 = __toESM(require_picocolors());

// package.json
var version = "9.8.1";
var version = "9.9.0";
// src/config.ts
var import_node_path2 = require("path");
var import_node_process6 = __toESM(require("process"));
var import_node_process5 = __toESM(require("process"));
var import_c12 = require("c12");

@@ -1410,3 +1007,3 @@ var import_sync = __toESM(require("escalade/sync"));

};
async function loadBumpConfig(overrides, cwd = import_node_process6.default.cwd()) {
async function loadBumpConfig(overrides, cwd = import_node_process5.default.cwd()) {
const name = "bump";

@@ -1441,6 +1038,6 @@ const configFile = findConfigFile(name, cwd);

});
} catch (error) {
} catch (error2) {
if (foundRepositoryRoot)
return null;
throw error;
throw error2;
}

@@ -1451,3 +1048,3 @@ }

async function parseArgs() {
var _a;
var _a2;
try {

@@ -1484,10 +1081,10 @@ const { args, resultArgs } = loadCliArgs();

}
if (parsedArgs.options.recursive && ((_a = parsedArgs.options.files) == null ? void 0 : _a.length))
if (parsedArgs.options.recursive && ((_a2 = parsedArgs.options.files) == null ? void 0 : _a2.length))
console.log(import_picocolors4.default.yellow("The --recursive option is ignored when files are specified"));
return parsedArgs;
} catch (error) {
return errorHandler(error);
} catch (error2) {
return errorHandler(error2);
}
}
function loadCliArgs(argv = import_node_process7.default.argv) {
function loadCliArgs(argv = import_node_process6.default.argv) {
const cli = (0, import_cac.default)("bumpp");

@@ -1502,3 +1099,3 @@ cli.version(version).usage("[...files]").option("--preid <preid>", "ID for prerelease").option("--all", `Include all files (default: ${bumpConfigDefaults.all})`).option("--no-git-check", `Skip git check`, { default: bumpConfigDefaults.noGitCheck }).option("-c, --commit [msg]", "Commit message", { default: true }).option("--no-commit", "Skip commit", { default: false }).option("-t, --tag [tag]", "Tag name", { default: true }).option("--no-tag", "Skip tag", { default: false }).option("--sign", "Sign commit and tag").option("-p, --push", `Push to remote (default: ${bumpConfigDefaults.push})`).option("-y, --yes", `Skip confirmation (default: ${!bumpConfigDefaults.confirm})`).option("-r, --recursive", `Bump package.json files recursively (default: ${bumpConfigDefaults.recursive})`).option("--no-verify", "Skip git verification").option("--ignore-scripts", `Ignore scripts (default: ${bumpConfigDefaults.ignoreScripts})`).option("-q, --quiet", "Quiet mode").option("--current-version <version>", "Current version").option("--print-commits", "Print recent commits").option("-x, --execute <command>", "Commands to execute after version bumps").help();

const hasTagFlag = rawArgs.some((arg) => TAG_REG.test(arg));
const _a = args, { tag, commit } = _a, rest = __objRest(_a, ["tag", "commit"]);
const _a2 = args, { tag, commit } = _a2, rest = __objRest(_a2, ["tag", "commit"]);
return {

@@ -1512,18 +1109,18 @@ args: __spreadProps(__spreadValues({}, rest), {

}
function errorHandler(error) {
console.error(error.message);
return import_node_process7.default.exit(9 /* InvalidArgument */);
function errorHandler(error2) {
console.error(error2.message);
return import_node_process6.default.exit(9 /* InvalidArgument */);
}
// src/cli/index.ts
async function main2() {
async function main() {
try {
import_node_process8.default.on("uncaughtException", errorHandler2);
import_node_process8.default.on("unhandledRejection", errorHandler2);
import_node_process7.default.on("uncaughtException", errorHandler2);
import_node_process7.default.on("unhandledRejection", errorHandler2);
const { help, version: version2, quiet, options } = await parseArgs();
if (help || version2) {
import_node_process8.default.exit(0 /* Success */);
import_node_process7.default.exit(0 /* Success */);
} else {
if (!options.all && !options.noGitCheck) {
checkGitStatus();
await checkGitStatus();
}

@@ -1534,8 +1131,8 @@ if (!quiet)

}
} catch (error) {
errorHandler2(error);
} catch (error2) {
errorHandler2(error2);
}
}
function checkGitStatus() {
const { stdout } = ezSpawn5.sync("git", ["status", "--porcelain"]);
async function checkGitStatus() {
const { stdout } = await (0, import_tinyexec5.x)("git", ["status", "--porcelain"]);
if (stdout.trim()) {

@@ -1549,27 +1146,27 @@ throw new Error(`Git working tree is not clean:

case "file updated" /* FileUpdated */:
console.log(log_symbols_default.success, `Updated ${updatedFiles.pop()} to ${newVersion}`);
console.log(symbols_exports.success, `Updated ${updatedFiles.pop()} to ${newVersion}`);
break;
case "file skipped" /* FileSkipped */:
console.log(log_symbols_default.info, `${skippedFiles.pop()} did not need to be updated`);
console.log(symbols_exports.info, `${skippedFiles.pop()} did not need to be updated`);
break;
case "git commit" /* GitCommit */:
console.log(log_symbols_default.success, "Git commit");
console.log(symbols_exports.success, "Git commit");
break;
case "git tag" /* GitTag */:
console.log(log_symbols_default.success, "Git tag");
console.log(symbols_exports.success, "Git tag");
break;
case "git push" /* GitPush */:
console.log(log_symbols_default.success, "Git push");
console.log(symbols_exports.success, "Git push");
break;
case "npm script" /* NpmScript */:
console.log(log_symbols_default.success, `Npm run ${script}`);
console.log(symbols_exports.success, `Npm run ${script}`);
break;
}
}
function errorHandler2(error) {
let message = error.message || String(error);
if (import_node_process8.default.env.DEBUG || import_node_process8.default.env.NODE_ENV === "development")
message = error.stack || message;
function errorHandler2(error2) {
let message = error2.message || String(error2);
if (import_node_process7.default.env.DEBUG || import_node_process7.default.env.NODE_ENV === "development")
message = error2.stack || message;
console.error(message);
import_node_process8.default.exit(1 /* FatalError */);
import_node_process7.default.exit(1 /* FatalError */);
}

@@ -1576,0 +1173,0 @@ // Annotate the CommonJS export names for ESM import in node:

@@ -54,3 +54,3 @@ import _semver, { ReleaseType as ReleaseType$1 } from 'semver';

ignoreScripts: boolean;
execute?: string | ((config?: Operation) => void | PromiseLike<void>);
execute?: string | ((config: Operation) => void | PromiseLike<void>);
printCommits?: boolean;

@@ -292,5 +292,5 @@ customVersion?: VersionBumpOptions['customVersion'];

/**
* Excute additional command after bumping and before commiting
* Execute additional command after bumping and before committing
*/
execute?: string | ((config?: Operation) => void | PromiseLike<void>);
execute?: string | ((config: Operation) => void | PromiseLike<void>);
/**

@@ -297,0 +297,0 @@ * Bump the files recursively for monorepo. Only works without `files` option.

@@ -66,4 +66,4 @@ var __create = Object.create;

var argv = p.argv || [];
var env2 = p.env || {};
var isColorSupported = !(!!env2.NO_COLOR || argv.includes("--no-color")) && (!!env2.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env2.TERM !== "dumb" || !!env2.CI);
var env = p.env || {};
var isColorSupported = !(!!env.NO_COLOR || argv.includes("--no-color")) && (!!env.FORCE_COLOR || argv.includes("--color") || p.platform === "win32" || (p.stdout || {}).isTTY && env.TERM !== "dumb" || !!env.CI);
var formatter = (open, close, replace = open) => (input) => {

@@ -149,516 +149,99 @@ let string = "" + input, index = string.indexOf(close, open.length);

// src/version-bump.ts
var import_node_process5 = __toESM(require("process"));
var ezSpawn4 = __toESM(require("@jsdevtools/ez-spawn"));
var import_node_process4 = __toESM(require("process"));
// node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/ansi-styles/index.js
var ANSI_BACKGROUND_OFFSET = 10;
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
var styles = {
modifier: {
reset: [0, 0],
// 21 isn't widely supported and 22 does the same thing
bold: [1, 22],
dim: [2, 22],
italic: [3, 23],
underline: [4, 24],
overline: [53, 55],
inverse: [7, 27],
hidden: [8, 28],
strikethrough: [9, 29]
},
color: {
black: [30, 39],
red: [31, 39],
green: [32, 39],
yellow: [33, 39],
blue: [34, 39],
magenta: [35, 39],
cyan: [36, 39],
white: [37, 39],
// Bright color
blackBright: [90, 39],
gray: [90, 39],
// Alias of `blackBright`
grey: [90, 39],
// Alias of `blackBright`
redBright: [91, 39],
greenBright: [92, 39],
yellowBright: [93, 39],
blueBright: [94, 39],
magentaBright: [95, 39],
cyanBright: [96, 39],
whiteBright: [97, 39]
},
bgColor: {
bgBlack: [40, 49],
bgRed: [41, 49],
bgGreen: [42, 49],
bgYellow: [43, 49],
bgBlue: [44, 49],
bgMagenta: [45, 49],
bgCyan: [46, 49],
bgWhite: [47, 49],
// Bright color
bgBlackBright: [100, 49],
bgGray: [100, 49],
// Alias of `bgBlackBright`
bgGrey: [100, 49],
// Alias of `bgBlackBright`
bgRedBright: [101, 49],
bgGreenBright: [102, 49],
bgYellowBright: [103, 49],
bgBlueBright: [104, 49],
bgMagentaBright: [105, 49],
bgCyanBright: [106, 49],
bgWhiteBright: [107, 49]
}
};
var modifierNames = Object.keys(styles.modifier);
var foregroundColorNames = Object.keys(styles.color);
var backgroundColorNames = Object.keys(styles.bgColor);
var colorNames = [...foregroundColorNames, ...backgroundColorNames];
function assembleStyles() {
const codes = /* @__PURE__ */ new Map();
for (const [groupName, group] of Object.entries(styles)) {
for (const [styleName, style] of Object.entries(group)) {
styles[styleName] = {
open: `\x1B[${style[0]}m`,
close: `\x1B[${style[1]}m`
};
group[styleName] = styles[styleName];
codes.set(style[0], style[1]);
}
Object.defineProperty(styles, groupName, {
value: group,
enumerable: false
});
}
Object.defineProperty(styles, "codes", {
value: codes,
enumerable: false
});
styles.color.close = "\x1B[39m";
styles.bgColor.close = "\x1B[49m";
styles.color.ansi = wrapAnsi16();
styles.color.ansi256 = wrapAnsi256();
styles.color.ansi16m = wrapAnsi16m();
styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
Object.defineProperties(styles, {
rgbToAnsi256: {
value(red, green, blue) {
if (red === green && green === blue) {
if (red < 8) {
return 16;
}
if (red > 248) {
return 231;
}
return Math.round((red - 8) / 247 * 24) + 232;
}
return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
},
enumerable: false
},
hexToRgb: {
value(hex) {
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
if (!matches) {
return [0, 0, 0];
}
let [colorString] = matches;
if (colorString.length === 3) {
colorString = [...colorString].map((character) => character + character).join("");
}
const integer = Number.parseInt(colorString, 16);
return [
/* eslint-disable no-bitwise */
integer >> 16 & 255,
integer >> 8 & 255,
integer & 255
/* eslint-enable no-bitwise */
];
},
enumerable: false
},
hexToAnsi256: {
value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
enumerable: false
},
ansi256ToAnsi: {
value(code) {
if (code < 8) {
return 30 + code;
}
if (code < 16) {
return 90 + (code - 8);
}
let red;
let green;
let blue;
if (code >= 232) {
red = ((code - 232) * 10 + 8) / 255;
green = red;
blue = red;
} else {
code -= 16;
const remainder = code % 36;
red = Math.floor(code / 36) / 5;
green = Math.floor(remainder / 6) / 5;
blue = remainder % 6 / 5;
}
const value = Math.max(red, green, blue) * 2;
if (value === 0) {
return 30;
}
let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
if (value === 2) {
result += 60;
}
return result;
},
enumerable: false
},
rgbToAnsi: {
value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
enumerable: false
},
hexToAnsi: {
value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
enumerable: false
}
});
return styles;
}
var ansiStyles = assembleStyles();
var ansi_styles_default = ansiStyles;
// node_modules/.pnpm/log-symbols@7.0.0/node_modules/log-symbols/symbols.js
var symbols_exports = {};
__export(symbols_exports, {
error: () => error,
info: () => info,
success: () => success,
warning: () => warning
});
// node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js
var import_node_process = __toESM(require("process"), 1);
var import_node_os = __toESM(require("os"), 1);
// node_modules/.pnpm/yoctocolors@2.1.1/node_modules/yoctocolors/base.js
var import_node_tty = __toESM(require("tty"), 1);
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
const position = argv.indexOf(prefix + flag);
const terminatorPosition = argv.indexOf("--");
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
}
var { env } = import_node_process.default;
var flagForceColor;
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
flagForceColor = 0;
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
flagForceColor = 1;
}
function envForceColor() {
if ("FORCE_COLOR" in env) {
if (env.FORCE_COLOR === "true") {
return 1;
}
if (env.FORCE_COLOR === "false") {
return 0;
}
return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
var _a, _b, _c, _d, _e;
var hasColors = (_e = (_d = (_c = (_b = (_a = import_node_tty.default) == null ? void 0 : _a.WriteStream) == null ? void 0 : _b.prototype) == null ? void 0 : _c.hasColors) == null ? void 0 : _d.call(_c)) != null ? _e : false;
var format = (open, close) => {
if (!hasColors) {
return (input) => input;
}
}
function translateLevel(level) {
if (level === 0) {
return false;
}
return {
level,
hasBasic: true,
has256: level >= 2,
has16m: level >= 3
};
}
function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
const noFlagForceColor = envForceColor();
if (noFlagForceColor !== void 0) {
flagForceColor = noFlagForceColor;
}
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
if (forceColor === 0) {
return 0;
}
if (sniffFlags) {
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
return 3;
const openCode = `\x1B[${open}m`;
const closeCode = `\x1B[${close}m`;
return (input) => {
const string = input + "";
let index = string.indexOf(closeCode);
if (index === -1) {
return openCode + string + closeCode;
}
if (hasFlag("color=256")) {
return 2;
let result = openCode;
let lastIndex = 0;
while (index !== -1) {
result += string.slice(lastIndex, index) + openCode;
lastIndex = index + closeCode.length;
index = string.indexOf(closeCode, lastIndex);
}
}
if ("TF_BUILD" in env && "AGENT_NAME" in env) {
return 1;
}
if (haveStream && !streamIsTTY && forceColor === void 0) {
return 0;
}
const min = forceColor || 0;
if (env.TERM === "dumb") {
return min;
}
if (import_node_process.default.platform === "win32") {
const osRelease = import_node_os.default.release().split(".");
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
return Number(osRelease[2]) >= 14931 ? 3 : 2;
}
return 1;
}
if ("CI" in env) {
if ("GITHUB_ACTIONS" in env || "GITEA_ACTIONS" in env) {
return 3;
}
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
return 1;
}
return min;
}
if ("TEAMCITY_VERSION" in env) {
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
}
if (env.COLORTERM === "truecolor") {
return 3;
}
if (env.TERM === "xterm-kitty") {
return 3;
}
if ("TERM_PROGRAM" in env) {
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
switch (env.TERM_PROGRAM) {
case "iTerm.app": {
return version >= 3 ? 3 : 2;
}
case "Apple_Terminal": {
return 2;
}
}
}
if (/-256(color)?$/i.test(env.TERM)) {
return 2;
}
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
return 1;
}
if ("COLORTERM" in env) {
return 1;
}
return min;
}
function createSupportsColor(stream, options = {}) {
const level = _supportsColor(stream, __spreadValues({
streamIsTTY: stream && stream.isTTY
}, options));
return translateLevel(level);
}
var supportsColor = {
stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
};
var supports_color_default = supportsColor;
// node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/utilities.js
function stringReplaceAll(string, substring, replacer) {
let index = string.indexOf(substring);
if (index === -1) {
return string;
}
const substringLength = substring.length;
let endIndex = 0;
let returnValue = "";
do {
returnValue += string.slice(endIndex, index) + substring + replacer;
endIndex = index + substringLength;
index = string.indexOf(substring, endIndex);
} while (index !== -1);
returnValue += string.slice(endIndex);
return returnValue;
}
function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
let endIndex = 0;
let returnValue = "";
do {
const gotCR = string[index - 1] === "\r";
returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
endIndex = index + 1;
index = string.indexOf("\n", endIndex);
} while (index !== -1);
returnValue += string.slice(endIndex);
return returnValue;
}
// node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/index.js
var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
var GENERATOR = Symbol("GENERATOR");
var STYLER = Symbol("STYLER");
var IS_EMPTY = Symbol("IS_EMPTY");
var levelMapping = [
"ansi",
"ansi",
"ansi256",
"ansi16m"
];
var styles2 = /* @__PURE__ */ Object.create(null);
var applyOptions = (object, options = {}) => {
if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
throw new Error("The `level` option should be an integer from 0 to 3");
}
const colorLevel = stdoutColor ? stdoutColor.level : 0;
object.level = options.level === void 0 ? colorLevel : options.level;
};
var chalkFactory = (options) => {
const chalk2 = (...strings) => strings.join(" ");
applyOptions(chalk2, options);
Object.setPrototypeOf(chalk2, createChalk.prototype);
return chalk2;
};
function createChalk(options) {
return chalkFactory(options);
}
Object.setPrototypeOf(createChalk.prototype, Function.prototype);
for (const [styleName, style] of Object.entries(ansi_styles_default)) {
styles2[styleName] = {
get() {
const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
Object.defineProperty(this, styleName, { value: builder });
return builder;
}
result += string.slice(lastIndex) + closeCode;
return result;
};
}
styles2.visible = {
get() {
const builder = createBuilder(this, this[STYLER], true);
Object.defineProperty(this, "visible", { value: builder });
return builder;
}
};
var getModelAnsi = (model, level, type, ...arguments_) => {
if (model === "rgb") {
if (level === "ansi16m") {
return ansi_styles_default[type].ansi16m(...arguments_);
}
if (level === "ansi256") {
return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));
}
return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));
}
if (model === "hex") {
return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_));
}
return ansi_styles_default[type][model](...arguments_);
};
var usedModels = ["rgb", "hex", "ansi256"];
for (const model of usedModels) {
styles2[model] = {
get() {
const { level } = this;
return function(...arguments_) {
const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
return createBuilder(this, styler, this[IS_EMPTY]);
};
}
};
const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
styles2[bgModel] = {
get() {
const { level } = this;
return function(...arguments_) {
const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
return createBuilder(this, styler, this[IS_EMPTY]);
};
}
};
}
var proto = Object.defineProperties(() => {
}, __spreadProps(__spreadValues({}, styles2), {
level: {
enumerable: true,
get() {
return this[GENERATOR].level;
},
set(level) {
this[GENERATOR].level = level;
}
}
}));
var createStyler = (open, close, parent) => {
let openAll;
let closeAll;
if (parent === void 0) {
openAll = open;
closeAll = close;
} else {
openAll = parent.openAll + open;
closeAll = close + parent.closeAll;
}
return {
open,
close,
openAll,
closeAll,
parent
};
};
var createBuilder = (self, _styler, _isEmpty) => {
const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
Object.setPrototypeOf(builder, proto);
builder[GENERATOR] = self;
builder[STYLER] = _styler;
builder[IS_EMPTY] = _isEmpty;
return builder;
};
var applyStyle = (self, string) => {
if (self.level <= 0 || !string) {
return self[IS_EMPTY] ? "" : string;
}
let styler = self[STYLER];
if (styler === void 0) {
return string;
}
const { openAll, closeAll } = styler;
if (string.includes("\x1B")) {
while (styler !== void 0) {
string = stringReplaceAll(string, styler.close, styler.open);
styler = styler.parent;
}
}
const lfIndex = string.indexOf("\n");
if (lfIndex !== -1) {
string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
}
return openAll + string + closeAll;
};
Object.defineProperties(createChalk.prototype, styles2);
var chalk = createChalk();
var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
var source_default = chalk;
var reset = format(0, 0);
var bold = format(1, 22);
var dim = format(2, 22);
var italic = format(3, 23);
var underline = format(4, 24);
var overline = format(53, 55);
var inverse = format(7, 27);
var hidden = format(8, 28);
var strikethrough = format(9, 29);
var black = format(30, 39);
var red = format(31, 39);
var green = format(32, 39);
var yellow = format(33, 39);
var blue = format(34, 39);
var magenta = format(35, 39);
var cyan = format(36, 39);
var white = format(37, 39);
var gray = format(90, 39);
var bgBlack = format(40, 49);
var bgRed = format(41, 49);
var bgGreen = format(42, 49);
var bgYellow = format(43, 49);
var bgBlue = format(44, 49);
var bgMagenta = format(45, 49);
var bgCyan = format(46, 49);
var bgWhite = format(47, 49);
var bgGray = format(100, 49);
var redBright = format(91, 39);
var greenBright = format(92, 39);
var yellowBright = format(93, 39);
var blueBright = format(94, 39);
var magentaBright = format(95, 39);
var cyanBright = format(96, 39);
var whiteBright = format(97, 39);
var bgRedBright = format(101, 49);
var bgGreenBright = format(102, 49);
var bgYellowBright = format(103, 49);
var bgBlueBright = format(104, 49);
var bgMagentaBright = format(105, 49);
var bgCyanBright = format(106, 49);
var bgWhiteBright = format(107, 49);
// node_modules/.pnpm/is-unicode-supported@1.3.0/node_modules/is-unicode-supported/index.js
var import_node_process2 = __toESM(require("process"), 1);
// node_modules/.pnpm/is-unicode-supported@2.1.0/node_modules/is-unicode-supported/index.js
var import_node_process = __toESM(require("process"), 1);
function isUnicodeSupported() {
if (import_node_process2.default.platform !== "win32") {
return import_node_process2.default.env.TERM !== "linux";
const { env } = import_node_process.default;
const { TERM, TERM_PROGRAM } = env;
if (import_node_process.default.platform !== "win32") {
return TERM !== "linux";
}
return Boolean(import_node_process2.default.env.CI) || Boolean(import_node_process2.default.env.WT_SESSION) || Boolean(import_node_process2.default.env.TERMINUS_SUBLIME) || import_node_process2.default.env.ConEmuTask === "{cmd::Cmder}" || import_node_process2.default.env.TERM_PROGRAM === "Terminus-Sublime" || import_node_process2.default.env.TERM_PROGRAM === "vscode" || import_node_process2.default.env.TERM === "xterm-256color" || import_node_process2.default.env.TERM === "alacritty" || import_node_process2.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
return Boolean(env.WT_SESSION) || Boolean(env.TERMINUS_SUBLIME) || env.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
}
// node_modules/.pnpm/log-symbols@6.0.0/node_modules/log-symbols/index.js
var main = {
info: source_default.blue("\u2139"),
success: source_default.green("\u2714"),
warning: source_default.yellow("\u26A0"),
error: source_default.red("\u2716")
};
var fallback = {
info: source_default.blue("i"),
success: source_default.green("\u221A"),
warning: source_default.yellow("\u203C"),
error: source_default.red("\xD7")
};
var logSymbols = isUnicodeSupported() ? main : fallback;
var log_symbols_default = logSymbols;
// node_modules/.pnpm/log-symbols@7.0.0/node_modules/log-symbols/symbols.js
var _isUnicodeSupported = isUnicodeSupported();
var info = blue(_isUnicodeSupported ? "\u2139" : "i");
var success = green(_isUnicodeSupported ? "\u2714" : "\u221A");
var warning = yellow(_isUnicodeSupported ? "\u26A0" : "\u203C");
var error = red(_isUnicodeSupported ? "\u2716\uFE0F" : "\xD7");

@@ -668,2 +251,3 @@ // src/version-bump.ts

var import_prompts2 = __toESM(require("prompts"));
var import_tinyexec4 = require("tinyexec");

@@ -722,4 +306,4 @@ // src/get-current-version.ts

function isPackageLockManifest(manifest) {
var _a, _b;
return typeof ((_b = (_a = manifest.packages) == null ? void 0 : _a[""]) == null ? void 0 : _b.version) === "string";
var _a2, _b2;
return typeof ((_b2 = (_a2 = manifest.packages) == null ? void 0 : _a2[""]) == null ? void 0 : _b2.version) === "string";
}

@@ -769,3 +353,3 @@ function isOptionalString(value) {

// src/get-new-version.ts
var import_node_process3 = __toESM(require("process"));
var import_node_process2 = __toESM(require("process"));
var import_picocolors2 = __toESM(require_picocolors());

@@ -776,4 +360,4 @@ var import_prompts = __toESM(require("prompts"));

// src/print-commits.ts
var ezSpawn = __toESM(require("@jsdevtools/ez-spawn"));
var import_picocolors = __toESM(require_picocolors());
var import_tinyexec = require("tinyexec");
var messageColorMap = {

@@ -797,9 +381,10 @@ chore: import_picocolors.default.gray,

const message = parts.join(" ");
const match = message.match(/^(\w+)(!)?(\([^)]+\))?:(.*)$/);
const match = message.match(/^(\w+)(!)?(\([^)]+\))?(!)?:(.*)$/);
if (match) {
let color = messageColorMap[match[1].toLowerCase()] || ((c4) => c4);
if (match[2] === "!") {
const breaking = match[2] === "!" || match[4] === "!";
if (breaking) {
color = (s) => import_picocolors.default.inverse(import_picocolors.default.red(s));
}
const tag = [match[1], match[2]].filter(Boolean).join("");
const tag = [match[1], match[2], match[4]].filter(Boolean).join("");
const scope = match[3] || "";

@@ -809,5 +394,5 @@ return {

tag,
message: match[4].trim(),
message: match[5].trim(),
scope,
breaking: match[2] === "!",
breaking,
color

@@ -847,12 +432,12 @@ };

let sha;
sha || (sha = await ezSpawn.async(
sha || (sha = await (0, import_tinyexec.x)(
"git",
["rev-list", "-n", "1", `v${operation.state.currentVersion}`],
{ stdio: "pipe" }
).then((res) => res.stdout.trim()).catch(() => void 0));
sha || (sha = await ezSpawn.async(
{ nodeOptions: { stdio: "pipe" }, throwOnError: false }
).then((res) => res.stdout.trim()));
sha || (sha = await (0, import_tinyexec.x)(
"git",
["rev-list", "-n", "1", operation.state.currentVersion],
{ stdio: "pipe" }
).then((res) => res.stdout.trim()).catch(() => void 0));
{ nodeOptions: { stdio: "pipe" }, throwOnError: false }
).then((res) => res.stdout.trim()));
if (!sha) {

@@ -864,3 +449,3 @@ console.log(

}
const { stdout } = await ezSpawn.async(
const { stdout } = await (0, import_tinyexec.x)(
"git",

@@ -873,3 +458,7 @@ [

],
{ stdio: "pipe" }
{
nodeOptions: {
stdio: "pipe"
}
}
);

@@ -943,7 +532,7 @@ const parsed = parseCommits(stdout.toString().trim());

async function promptForNewVersion(operation) {
var _a, _b;
var _a2, _b2;
const { currentVersion } = operation.state;
const release = operation.options.release;
const next = getNextVersions(currentVersion, release.preid);
const configCustomVersion = await ((_b = (_a = operation.options).customVersion) == null ? void 0 : _b.call(_a, currentVersion, import_semver2.default));
const configCustomVersion = await ((_b2 = (_a2 = operation.options).customVersion) == null ? void 0 : _b2.call(_a2, currentVersion, import_semver2.default));
if (operation.options.printCommits) {

@@ -986,3 +575,3 @@ await printRecentCommits(operation);

if (!newVersion)
import_node_process3.default.exit(1);
import_node_process2.default.exit(1);
switch (answers.release) {

@@ -1000,3 +589,3 @@ case "custom":

// src/git.ts
var ezSpawn2 = __toESM(require("@jsdevtools/ez-spawn"));
var import_tinyexec2 = require("tinyexec");

@@ -1040,3 +629,3 @@ // src/types/version-bump-progress.ts

args = args.concat(updatedFiles);
await ezSpawn2.async("git", ["commit", ...args]);
await (0, import_tinyexec2.x)("git", ["commit", ...args]);
return operation.update({ event: "git commit" /* GitCommit */, commitMessage });

@@ -1062,3 +651,3 @@ }

}
await ezSpawn2.async("git", ["tag", ...args]);
await (0, import_tinyexec2.x)("git", ["tag", ...args]);
return operation.update({ event: "git tag" /* GitTag */, tagName });

@@ -1069,5 +658,5 @@ }

return operation;
await ezSpawn2.async("git", "push");
await (0, import_tinyexec2.x)("git", ["push"]);
if (operation.options.tag) {
await ezSpawn2.async("git", ["push", "--tags"]);
await (0, import_tinyexec2.x)("git", ["push", "--tags"]);
}

@@ -1086,7 +675,7 @@ return operation.update({ event: "git push" /* GitPush */ });

var import_promises = __toESM(require("fs/promises"));
var import_node_process4 = __toESM(require("process"));
var import_node_process3 = __toESM(require("process"));
var import_js_yaml = __toESM(require("js-yaml"));
var import_tinyglobby = require("tinyglobby");
async function normalizeOptions(raw) {
var _a, _b, _d;
var _a2, _b2, _d2;
const preid = typeof raw.preid === "string" ? raw.preid : "beta";

@@ -1097,3 +686,3 @@ const sign = Boolean(raw.sign);

const noVerify = Boolean(raw.noVerify);
const cwd = raw.cwd || import_node_process4.default.cwd();
const cwd = raw.cwd || import_node_process3.default.cwd();
const ignoreScripts = Boolean(raw.ignoreScripts);

@@ -1119,3 +708,3 @@ const execute = raw.execute;

commit = { all, noVerify, message: "chore: release v" };
if (recursive && !((_a = raw.files) == null ? void 0 : _a.length)) {
if (recursive && !((_a2 = raw.files) == null ? void 0 : _a2.length)) {
raw.files = [

@@ -1135,4 +724,4 @@ "package.json",

const withoutExcludedWorkspaces = workspacesWithPackageJson.filter((workspace) => {
var _a2;
return !workspace.startsWith("!") && !((_a2 = raw.files) == null ? void 0 : _a2.includes(workspace));
var _a3;
return !workspace.startsWith("!") && !((_a3 = raw.files) == null ? void 0 : _a3.includes(workspace));
});

@@ -1142,3 +731,3 @@ raw.files = raw.files.concat(withoutExcludedWorkspaces);

} else {
raw.files = ((_b = raw.files) == null ? void 0 : _b.length) ? raw.files : ["package.json", "package-lock.json", "jsr.json", "jsr.jsonc", "deno.json", "deno.jsonc"];
raw.files = ((_b2 = raw.files) == null ? void 0 : _b2.length) ? raw.files : ["package.json", "package-lock.json", "jsr.json", "jsr.jsonc", "deno.json", "deno.jsonc"];
}

@@ -1160,9 +749,9 @@ const files = await (0, import_tinyglobby.glob)(

} else if (raw.interface === true || !raw.interface) {
ui = { input: import_node_process4.default.stdin, output: import_node_process4.default.stdout };
ui = { input: import_node_process3.default.stdin, output: import_node_process3.default.stdout };
} else {
let _c = raw.interface, { input, output } = _c, other = __objRest(_c, ["input", "output"]);
let _c2 = raw.interface, { input, output } = _c2, other = __objRest(_c2, ["input", "output"]);
if (input === true || input !== false && !input)
input = import_node_process4.default.stdin;
input = import_node_process3.default.stdin;
if (output === true || output !== false && !output)
output = import_node_process4.default.stdout;
output = import_node_process3.default.stdout;
ui = __spreadValues({ input, output }, other);

@@ -1183,3 +772,3 @@ }

execute,
printCommits: (_d = raw.printCommits) != null ? _d : true,
printCommits: (_d2 = raw.printCommits) != null ? _d2 : true,
customVersion: raw.customVersion,

@@ -1244,4 +833,4 @@ currentVersion: raw.currentVersion

*/
update(_a) {
var _b = _a, { event, script } = _b, newState = __objRest(_b, ["event", "script"]);
update(_a2) {
var _b2 = _a2, { event, script } = _b2, newState = __objRest(_b2, ["event", "script"]);
Object.assign(this.state, newState);

@@ -1256,3 +845,3 @@ if (event && this._progress) {

// src/run-npm-script.ts
var ezSpawn3 = __toESM(require("@jsdevtools/ez-spawn"));
var import_tinyexec3 = require("tinyexec");
async function runNpmScript(script, operation) {

@@ -1263,3 +852,5 @@ const { cwd, ignoreScripts } = operation.options;

if (isManifest(manifest) && hasScript(manifest, script)) {
await ezSpawn3.async("npm", ["run", script, "--silent"], { stdio: "inherit" });
await (0, import_tinyexec3.x)("npm", ["run", script, "--silent"], {
nodeOptions: { stdio: "inherit" }
});
operation.update({ event: "npm script" /* NpmScript */, script });

@@ -1367,3 +958,3 @@ }

}).then((r) => r.yes)) {
import_node_process5.default.exit(1);
import_node_process4.default.exit(1);
}

@@ -1377,5 +968,9 @@ }

} else {
console.log(log_symbols_default.info, "Executing script", operation.options.execute);
await ezSpawn4.async(operation.options.execute, { stdio: "inherit" });
console.log(log_symbols_default.success, "Script finished");
console.log(symbols_exports.info, "Executing script", operation.options.execute);
await (0, import_tinyexec4.x)(operation.options.execute, [], {
nodeOptions: {
stdio: "inherit"
}
});
console.log(symbols_exports.success, "Script finished");
}

@@ -1417,3 +1012,3 @@ }

var import_node_path2 = require("path");
var import_node_process6 = __toESM(require("process"));
var import_node_process5 = __toESM(require("process"));
var import_c12 = require("c12");

@@ -1434,3 +1029,3 @@ var import_sync = __toESM(require("escalade/sync"));

};
async function loadBumpConfig(overrides, cwd = import_node_process6.default.cwd()) {
async function loadBumpConfig(overrides, cwd = import_node_process5.default.cwd()) {
const name = "bump";

@@ -1465,6 +1060,6 @@ const configFile = findConfigFile(name, cwd);

});
} catch (error) {
} catch (error2) {
if (foundRepositoryRoot)
return null;
throw error;
throw error2;
}

@@ -1471,0 +1066,0 @@ }

{
"name": "bumpp",
"version": "9.8.1",
"packageManager": "pnpm@9.12.3",
"version": "9.9.0",
"packageManager": "pnpm@9.15.0",
"description": "Bump version, commit changes, tag, and push to Git",

@@ -63,4 +63,3 @@ "author": {

"dependencies": {
"@jsdevtools/ez-spawn": "^3.0.4",
"c12": "^1.11.2",
"c12": "^2.0.1",
"cac": "^6.7.14",

@@ -72,13 +71,14 @@ "escalade": "^3.2.0",

"semver": "^7.6.3",
"tinyexec": "^0.3.1",
"tinyglobby": "^0.2.10"
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@antfu/eslint-config": "^3.11.2",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.8.1",
"@types/node": "^22.10.1",
"@types/prompts": "^2.4.9",
"@types/semver": "^7.5.8",
"eslint": "^9.13.0",
"eslint": "^9.16.0",
"esno": "^4.8.0",
"log-symbols": "^6.0.0",
"log-symbols": "^7.0.0",
"npm-check": "^6.0.1",

@@ -88,5 +88,5 @@ "picocolors": "^1.1.1",

"tsup": "^8.3.5",
"typescript": "^5.6.3",
"vitest": "^2.1.4"
"typescript": "^5.7.2",
"vitest": "^2.1.8"
}
}

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