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

@appliedblockchain/changelog

Package Overview
Dependencies
Maintainers
40
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appliedblockchain/changelog - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

License.md

5

bin/changelog.js

@@ -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 @@

4

package.json
{
"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"
}
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