@semantic-release/github
Advanced tools
Comparing version 4.3.0 to 4.4.0
@@ -5,3 +5,3 @@ const {isUndefined, uniqBy, template, flatten} = require('lodash'); | ||
const AggregateError = require('aggregate-error'); | ||
const issueParser = require('issue-parser')('github'); | ||
const issueParser = require('issue-parser'); | ||
const debug = require('debug')('semantic-release:github'); | ||
@@ -21,2 +21,3 @@ const resolveConfig = require('./resolve-config'); | ||
const github = getClient({githubToken, githubUrl, githubApiPathPrefix, proxy}); | ||
const parser = issueParser('github', githubUrl ? {hosts: [githubUrl]} : {}); | ||
const releaseInfos = releases.filter(release => Boolean(release.name)); | ||
@@ -42,3 +43,3 @@ const shas = commits.map(commit => commit.hash); | ||
? issues.concat( | ||
issueParser(message) | ||
parser(message) | ||
.actions.filter(action => isUndefined(action.slug) || action.slug === `${owner}/${repo}`) | ||
@@ -45,0 +46,0 @@ .map(action => ({number: parseInt(action.issue, 10)})) |
{ | ||
"name": "@semantic-release/github", | ||
"description": "Set of semantic-release plugins for publishing a GitHub release", | ||
"version": "4.3.0", | ||
"version": "4.4.0", | ||
"author": "Pierre Vanduynslager (https://twitter.com/@pvdlg_)", | ||
@@ -28,3 +28,3 @@ "bugs": { | ||
"https-proxy-agent": "^2.2.1", | ||
"issue-parser": "^2.0.0", | ||
"issue-parser": "^2.2.0", | ||
"lodash": "^4.17.4", | ||
@@ -31,0 +31,0 @@ "mime": "^2.0.3", |
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
50834
649
Updatedissue-parser@^2.2.0