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

@commitlint/prompt

Package Overview
Dependencies
Maintainers
4
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commitlint/prompt - npm Package Compare versions

Comparing version 19.1.0 to 19.2.0

2

lib/inquirer/InputCustomPrompt.js

@@ -6,2 +6,4 @@ /// <reference path="./inquirer.d.ts" />

export default class InputCustomPrompt extends InputPrompt {
lineSubscription;
tabCompletion;
constructor(question, readLine, answers) {

@@ -8,0 +10,0 @@ super(question, readLine, answers);

@@ -9,3 +9,10 @@ import chalk from 'chalk';

export default function format(input, debug = false) {
const defaultInput = Object.assign({ type: undefined, scope: undefined, subject: undefined, body: undefined, footer: undefined }, input);
const defaultInput = {
type: undefined,
scope: undefined,
subject: undefined,
body: undefined,
footer: undefined,
...input,
};
const results = debug

@@ -12,0 +19,0 @@ ? Object.entries(defaultInput).reduce((registry, [name, value]) => {

6

package.json
{
"name": "@commitlint/prompt",
"type": "module",
"version": "19.1.0",
"version": "19.2.0",
"description": "commitizen prompt using commitlint.config.js",

@@ -49,3 +49,3 @@ "main": "./lib/index.js",

"@commitlint/ensure": "^19.0.3",
"@commitlint/load": "^19.1.0",
"@commitlint/load": "^19.2.0",
"@commitlint/types": "^19.0.3",

@@ -55,3 +55,3 @@ "chalk": "^5.3.0",

},
"gitHead": "8d7a3d5d49ab77733e166cb5f195b1b7f277b4a7"
"gitHead": "a64b417b58b3b1e89f07ff529a29a4af223e9369"
}

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