@mapbox/github-release-tools
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "@mapbox/github-release-tools", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=8" |
// `name` maps to github PR label name fields | ||
const PR_LABELS = { | ||
breaking: { name: 'breaking change :warning:' }, | ||
bug: { name: 'bug :beetle:' }, | ||
feature: { name: 'feature :green_apple:' }, | ||
docs: { name: 'docs :scroll:' }, | ||
performance: { name: 'performance :zap:' }, | ||
workflow: { name: 'workflow :nail_care:' }, | ||
testing: { name: 'testing :100:' }, | ||
skip: { name: 'skip changelog' }, | ||
breaking: { name: 'breaking change :warning:', canonical_name: 'breaking change' }, | ||
bug: { name: 'bug :beetle:', canonical_name: 'bug' }, | ||
feature: { name: 'feature :green_apple:', canonical_name: 'feature' }, | ||
docs: { name: 'docs :scroll:', canonical_name: 'docs' }, | ||
performance: { name: 'performance :zap:', canonical_name: 'performance' }, | ||
workflow: { name: 'workflow :nail_care:', canonical_name: 'build' }, | ||
testing: { name: 'testing :100:', canonical_name: 'testing' }, | ||
skip: { name: 'skip changelog', canonical_name: 'skip changelog' }, | ||
}; | ||
@@ -24,3 +24,3 @@ | ||
for (const label of Object.values(PR_LABELS)) { | ||
if (labelNames.includes(label.name)) { | ||
if (labelNames.includes(label.name) || labelNames.includes(label.canonical_name)) { | ||
foundLabel = label; | ||
@@ -27,0 +27,0 @@ } |
@@ -15,3 +15,3 @@ const test = require('tap').test; | ||
t.equal(latest, "v1.5.0", "Latest release version"); | ||
t.equal(latest, "v1.12.0", "Latest release version"); | ||
}); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
30880