New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

release-please

Package Overview
Dependencies
Maintainers
2
Versions
386
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

release-please - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

13

build/src/conventional-commits.js

@@ -32,2 +32,14 @@ "use strict";

const presetFactory = require('conventional-changelog-conventionalcommits');
// Perform some post processing on the commits parsed by conventional commits:
// 1. don't allow BREAKING CHANGES to have two newlines:
const stream_2 = require("stream");
class PostProcessCommits extends stream_2.Transform {
_transform(chunk, _encoding, done) {
chunk.notes.forEach(note => {
note.text = note.text.split(/\r?\n/)[0];
});
this.push(JSON.stringify(chunk, null, 4) + '\n');
done();
}
}
class ConventionalCommits {

@@ -86,2 +98,3 @@ constructor(options) {

.pipe(conventionalCommitsParser(preset.parserOpts))
.pipe(new PostProcessCommits({ objectMode: true }))
.pipe(conventionalChangelogWriter(context, preset.writerOpts));

@@ -88,0 +101,0 @@ stream.on('error', (err) => {

@@ -7,2 +7,9 @@ # Changelog

### [4.1.1](https://www.github.com/googleapis/release-please/compare/v4.1.0...v4.1.1) (2020-04-10)
### Bug Fixes
* stop parsing BREAKING CHANGE message after two newlines ([#404](https://www.github.com/googleapis/release-please/issues/404)) ([32d07cb](https://www.github.com/googleapis/release-please/commit/32d07cb00f455f50e877cc4050521be934d59718))
## [4.1.0](https://www.github.com/googleapis/release-please/compare/v4.0.3...v4.1.0) (2020-04-08)

@@ -9,0 +16,0 @@

2

package.json
{
"name": "release-please",
"version": "4.1.0",
"version": "4.1.1",
"description": "generate release PRs based on the conventionalcommits.org spec",

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

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