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

@auto/git

Package Overview
Dependencies
Maintainers
5
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@auto/git - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

9

node/get-bumps.js

@@ -43,3 +43,4 @@ "use strict";

type: parsed.type,
value: parsed.message
value: parsed.message,
description: parsed.description
}]

@@ -55,3 +56,4 @@ };

type: parsed.type,
value: parsed.message
value: parsed.message,
description: parsed.description
});

@@ -68,3 +70,4 @@

type: parsed.type,
value: parsed.message
value: parsed.message,
description: parsed.description
}]

@@ -71,0 +74,0 @@ };

@@ -10,6 +10,8 @@ "use strict";

const PARSE_REGEXP = /^([\s\S]+?)[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]([\s\S]+?):[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]([\0-\t\x0B-\uFFFF]*)(?:\n\n)?([\s\S]*)$/;
const parseCommitMessage = (commitText, packageNames, prefixes, {
autoNamePrefix
}) => {
const matchResult = commitText.match(/^(.+?)\s(.+?):\s*([\s\S]*)$/);
const matchResult = commitText.match(PARSE_REGEXP);

@@ -88,2 +90,13 @@ if (matchResult === null) {

const message = matchResult[3].trim();
const description = matchResult[4].trim();
if (description.length > 0) {
return {
type,
names,
message,
description
};
}
return {

@@ -90,0 +103,0 @@ type,

@@ -8,4 +8,5 @@ import { TBumpType } from '@auto/utils/node/';

type: TParsedMessageType;
names: string[];
message: string;
names: string[];
description?: string;
};
{
"name": "@auto/git",
"version": "0.2.2",
"version": "0.3.0",
"description": "",

@@ -13,3 +13,3 @@ "keywords": [],

"dependencies": {
"@auto/utils": "^0.2.0",
"@auto/utils": "^0.3.0",
"execa": "^3.0.0",

@@ -16,0 +16,0 @@ "prompts": "^2.0.0"

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