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

@semantic-release/release-notes-generator

Package Overview
Dependencies
Maintainers
4
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-release/release-notes-generator - npm Package Compare versions

Comparing version 6.0.2 to 6.0.3

16

index.js

@@ -28,8 +28,13 @@ const url = require('url');

const {parserOpts, writerOpts} = await loadChangelogConfig(pluginConfig);
commits = commits.map(rawCommit =>
Object.assign(rawCommit, conventionalCommitsParser(rawCommit.message, parserOpts))
);
const {resource: hostname, port, name: repository, owner, protocols} = gitUrlParse(repositoryUrl);
const protocol = protocols.includes('https') ? 'https' : protocols.includes('http') ? 'http' : 'https';
const {issue, commit, referenceActions, issuePrefixes} =
find(HOSTS_CONFIG, conf => conf.hostname === hostname) || HOSTS_CONFIG.default;
const parsedCommits = commits.map(rawCommit => ({
...rawCommit,
...conventionalCommitsParser(rawCommit.message, {...parserOpts, referenceActions, issuePrefixes}),
}));
const previousTag = lastRelease.gitTag || lastRelease.gitHead;

@@ -45,3 +50,4 @@ const currentTag = nextRelease.gitTag || nextRelease.gitHead;

linkCompare: currentTag && previousTag,
...(find(HOSTS_CONFIG, conf => conf.hostname === hostname) || HOSTS_CONFIG.default),
issue,
commit,
};

@@ -56,5 +62,5 @@

return getStream(intoStream.obj(commits).pipe(conventionalChangelogWriter(context, writerOpts)));
return getStream(intoStream.obj(parsedCommits).pipe(conventionalChangelogWriter(context, writerOpts)));
}
module.exports = releaseNotesGenerator;

@@ -6,2 +6,4 @@ module.exports = {

commit: 'commit',
referenceActions: ['close', 'closes', 'closed', 'fix', 'fixes', 'fixed', 'resolve', 'resolves', 'resolved'],
issuePrefixes: ['#', 'gh-'],
},

@@ -12,2 +14,17 @@ bitbucket: {

commit: 'commits',
referenceActions: [
'close',
'closes',
'closed',
'closing',
'fix',
'fixes',
'fixed',
'fixing',
'resolve',
'resolves',
'resolved',
'resolving',
],
issuePrefixes: ['#'],
},

@@ -18,2 +35,4 @@ gitlab: {

commit: 'commit',
referenceActions: ['close', 'closes', 'closed', 'closing', 'fix', 'fixes', 'fixed', 'fixing'],
issuePrefixes: ['#'],
},

@@ -23,3 +42,18 @@ default: {

commit: 'commit',
referenceActions: [
'close',
'closes',
'closed',
'closing',
'fix',
'fixes',
'fixed',
'fixing',
'resolve',
'resolves',
'resolved',
'resolving',
],
issuePrefixes: ['#', 'gh-'],
},
};

@@ -1,1 +0,1 @@

{"name":"@semantic-release/release-notes-generator","description":"Customizable release-notes-generator plugin for semantic-release","version":"6.0.2","author":"Pierre Vanduynslager (https://twitter.com/@pvdlg_)","bugs":{"url":"https://github.com/semantic-release/release-notes-generator/issues"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"contributors":["Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)","Gregor Martynus (https://twitter.com/gr2m)"],"dependencies":{"conventional-changelog-angular":"^1.4.0","conventional-changelog-writer":"^2.0.1","conventional-commits-parser":"^2.0.0","debug":"^3.1.0","get-stream":"^3.0.0","git-url-parse":"^7.0.1","import-from":"^2.1.0","into-stream":"^3.1.0","lodash":"^4.17.4"},"devDependencies":{"ava":"^0.24.0","codecov":"^3.0.0","commitizen":"^2.9.6","conventional-changelog-atom":"^0.1.1","conventional-changelog-ember":"^0.2.6","conventional-changelog-eslint":"^0.2.0","conventional-changelog-express":"^0.2.0","conventional-changelog-jshint":"^0.2.0","cz-conventional-changelog":"^2.0.0","eslint-config-prettier":"^2.3.0","eslint-plugin-prettier":"^2.3.0","nyc":"^11.1.0","prettier":"~1.9.0","semantic-release":"^10.0.0","xo":"^0.18.2"},"engines":{"node":">=4"},"files":["lib","index.js"],"homepage":"https://github.com/semantic-release/release-notes-generator#readme","keywords":["changelog","conventional-changelog","conventional-commits","github","publish","release","release-note-generator","semantic-release"],"license":"MIT","main":"index.js","nyc":{"include":["lib/**/*.js","index.js"],"reporter":["json","text","html"],"all":true},"prettier":{"printWidth":120,"singleQuote":true,"bracketSpacing":false,"trailingComma":"es5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/semantic-release/release-notes-generator.git"},"scripts":{"cm":"git-cz","codecov":"codecov -f coverage/coverage-final.json","lint":"xo","pretest":"npm run lint","semantic-release":"semantic-release","test":"nyc ava -v"},"xo":{"extends":["prettier"],"plugins":["prettier"],"rules":{"prettier/prettier":2}}}
{"name":"@semantic-release/release-notes-generator","description":"Customizable release-notes-generator plugin for semantic-release","version":"6.0.3","author":"Pierre Vanduynslager (https://twitter.com/@pvdlg_)","bugs":{"url":"https://github.com/semantic-release/release-notes-generator/issues"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"contributors":["Stephan Bönnemann <stephan@boennemann.me> (http://boennemann.me)","Gregor Martynus (https://twitter.com/gr2m)"],"dependencies":{"conventional-changelog-angular":"^1.4.0","conventional-changelog-writer":"^2.0.1","conventional-commits-parser":"^2.0.0","debug":"^3.1.0","get-stream":"^3.0.0","git-url-parse":"^7.0.1","import-from":"^2.1.0","into-stream":"^3.1.0","lodash":"^4.17.4"},"devDependencies":{"ava":"^0.24.0","codecov":"^3.0.0","commitizen":"^2.9.6","conventional-changelog-atom":"^0.1.1","conventional-changelog-ember":"^0.2.6","conventional-changelog-eslint":"^0.2.0","conventional-changelog-express":"^0.2.0","conventional-changelog-jshint":"^0.2.0","cz-conventional-changelog":"^2.0.0","escape-string-regexp":"^1.0.5","eslint-config-prettier":"^2.3.0","eslint-plugin-prettier":"^2.3.0","nyc":"^11.1.0","prettier":"~1.9.0","semantic-release":"^10.0.0","xo":"^0.18.2"},"engines":{"node":">=4"},"files":["lib","index.js"],"homepage":"https://github.com/semantic-release/release-notes-generator#readme","keywords":["changelog","conventional-changelog","conventional-commits","github","publish","release","release-note-generator","semantic-release"],"license":"MIT","main":"index.js","nyc":{"include":["lib/**/*.js","index.js"],"reporter":["json","text","html"],"all":true},"prettier":{"printWidth":120,"singleQuote":true,"bracketSpacing":false,"trailingComma":"es5"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"https://github.com/semantic-release/release-notes-generator.git"},"scripts":{"cm":"git-cz","codecov":"codecov -f coverage/coverage-final.json","lint":"xo","pretest":"npm run lint","semantic-release":"semantic-release","test":"nyc ava -v"},"xo":{"extends":["prettier"],"plugins":["prettier"],"rules":{"prettier/prettier":2}}}
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