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

@cplace/cli

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cplace/cli - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

6

dist/src/commands/release-notes/ReleaseNotesMessagesFile.js

@@ -208,6 +208,6 @@ "use strict";

const match = ReleaseNotesMessagesFile.CHANGELOG_DEFAULT_MESSAGE_PATTERN.exec(message);
if (match === null || match.length < 2) {
if (match === null || match.length < 3) {
return null;
}
const m = util_1.makeSingleLine(match[1]).trim();
const m = util_1.makeSingleLine(match[2]).trim();
Global_1.Global.isVerbose() && console.log('found default commit message for', logEntry.hash, ':', m);

@@ -243,3 +243,3 @@ return m;

ReleaseNotesMessagesFile.MESSAGES_FILE_NAME_PATTERN = new RegExp(/^messages_.*\.db$/);
ReleaseNotesMessagesFile.CHANGELOG_DEFAULT_MESSAGE_PATTERN = new RegExp(/#changelog:\s?((.|\n(?!\n))+)/);
ReleaseNotesMessagesFile.CHANGELOG_DEFAULT_MESSAGE_PATTERN = new RegExp(/(^|\n)changelog:[^\S\n]*(([^\n]|\n(?!\n))*)/);
ReleaseNotesMessagesFile.RELEVANCE_PATTERNS = [

@@ -246,0 +246,0 @@ 'merge pull request #\\d+',

{
"name": "@cplace/cli",
"version": "0.3.0",
"version": "0.3.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/src/index.js",

@@ -21,3 +21,3 @@ /**

private static MESSAGES_FILE_NAME_PATTERN: RegExp = new RegExp(/^messages_.*\.db$/);
private static CHANGELOG_DEFAULT_MESSAGE_PATTERN: RegExp = new RegExp(/#changelog:\s?((.|\n(?!\n))+)/);
private static CHANGELOG_DEFAULT_MESSAGE_PATTERN: RegExp = new RegExp(/(^|\n)changelog:[^\S\n]*(([^\n]|\n(?!\n))*)/);
private static readonly RELEVANCE_PATTERNS: string[] = [

@@ -254,7 +254,7 @@ 'merge pull request #\\d+', // GitHub Pull Request

const match = ReleaseNotesMessagesFile.CHANGELOG_DEFAULT_MESSAGE_PATTERN.exec(message);
if (match === null || match.length < 2) {
if (match === null || match.length < 3) {
return null;
}
const m = makeSingleLine(match[1]).trim();
const m = makeSingleLine(match[2]).trim();
Global.isVerbose() && console.log('found default commit message for', logEntry.hash, ':', m);

@@ -261,0 +261,0 @@ return m;

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