@appliedblockchain/changelog
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -10,3 +10,3 @@ #! /usr/bin/env node | ||
const sh = cmd => execSync(cmd, { encoding: 'utf8' }).trim() | ||
const tagsOf = () => linesOf('git tag --sort=-creatordate').filter(isSemver) | ||
const tagsOf = (branch) => linesOf(`git tag --merged ${branch} --sort=-creatordate`).filter(isSemver) | ||
const dateOf = tag => sh(`git log -1 --format=%ai ${tag} | awk '{ print $1 }'`) | ||
@@ -42,3 +42,4 @@ const withDot = $1 => $1.endsWith('.') ? $1 : `${$1}.` | ||
const tags = tagsOf() | ||
const branchName = sh('git rev-parse --symbolic-full-name --abbrev-ref HEAD') | ||
const tags = tagsOf(branchName) | ||
const dates = tags.map(dateOf) | ||
@@ -45,0 +46,0 @@ |
{ | ||
"name": "@appliedblockchain/changelog", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "npx @appliedblockchain/changelog > Changelog.md", | ||
@@ -13,3 +13,3 @@ "main": "changelog", | ||
"repository": "appliedblockchain/changelog", | ||
"license": "UNLICENSED" | ||
"license": "MIT" | ||
} |
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
4137
5
0
50
2