@semantic-release/release-notes-generator
Advanced tools
Comparing version 7.3.5 to 8.0.0
@@ -1,2 +0,2 @@ | ||
const {URL, format} = require('url'); | ||
const {format} = require('url'); | ||
const {find, merge} = require('lodash'); | ||
@@ -34,3 +34,3 @@ const getStream = require('get-stream'); | ||
const [match, auth, host, path] = /^(?!.+:\/\/)(?:(.*)@)?(.*?):(.*)$/.exec(repositoryUrl) || []; | ||
const [match, auth, host, path] = /^(?!.+:\/\/)(?:(?<auth>.*)@)?(?<host>.*?):(?<path>.*)$/.exec(repositoryUrl) || []; | ||
let {hostname, port, pathname, protocol} = new URL( | ||
@@ -41,3 +41,3 @@ match ? `ssh://${auth ? `${auth}@` : ''}${host}/${path}` : repositoryUrl | ||
protocol = protocol && /http[^s]/.test(protocol) ? 'http' : 'https'; | ||
const [, owner, repository] = /^\/([^/]+)?\/?(.+)?$/.exec(pathname); | ||
const [, owner, repository] = /^\/(?<owner>[^/]+)?\/?(?<repository>.+)?$/.exec(pathname); | ||
@@ -44,0 +44,0 @@ const {issue, commit, referenceActions, issuePrefixes} = |
{ | ||
"name": "@semantic-release/release-notes-generator", | ||
"description": "semantic-release plugin to generate changelog content with conventional-changelog", | ||
"version": "7.3.5", | ||
"version": "8.0.0", | ||
"author": "Pierre Vanduynslager (https://twitter.com/@pvdlg_)", | ||
@@ -36,6 +36,6 @@ "bugs": { | ||
"fs-extra": "^8.0.1", | ||
"nyc": "^14.0.0", | ||
"nyc": "^15.0.0", | ||
"proxyquire": "^2.1.0", | ||
"semantic-release": "^15.0.0", | ||
"sinon": "^7.3.2", | ||
"semantic-release": "^16.0.0", | ||
"sinon": "^8.0.0", | ||
"tempy": "^0.3.0", | ||
@@ -45,3 +45,3 @@ "xo": "^0.25.0" | ||
"engines": { | ||
"node": ">=8.16" | ||
"node": ">=10.13" | ||
}, | ||
@@ -78,3 +78,3 @@ "files": [ | ||
"peerDependencies": { | ||
"semantic-release": ">=15.8.0 <16.0.0 || >=16.0.0-beta <17.0.0" | ||
"semantic-release": ">=15.8.0 <17.0.0" | ||
}, | ||
@@ -81,0 +81,0 @@ "prettier": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33360