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

@appliedblockchain/changelog

Package Overview
Dependencies
Maintainers
33
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.0.2 to 1.1.0

Changelog.md

5

bin/changelog.js

@@ -5,6 +5,7 @@ #! /usr/bin/env node

const isSemver = _1 => /^v?\d+\.\d+\.\d+$/.test(_1)
const puts = console.log
const sh = cmd => execSync(cmd, { encoding: 'utf8' }).trim()
const linesOf = cmd => sh(cmd).split('\n').map(_1 => _1.trim()).filter(Boolean)
const tagsOf = () => linesOf('git tag --sort=-creatordate')
const tagsOf = () => linesOf('git tag --sort=-creatordate').filter(isSemver)
const dateOf = tag => sh(`git log -1 --format=%ai ${tag} | awk '{ print $1 }'`)

@@ -20,3 +21,3 @@ const logsOf = (tag1, tag2) => linesOf(`git log ${tag1}...${tag2} --pretty=format:'%s'`).filter(Boolean)

}
if (/^\d+\.\d+\.\d+$/.test(log)) {
if (isSemver(log)) {
return false

@@ -23,0 +24,0 @@ }

9

package.json
{
"name": "@appliedblockchain/changelog",
"version": "1.0.2",
"version": "1.1.0",
"description": "npx @appliedblockchain/changelog > Changelog.md",
"main": "changelog",
"bin": {
"changelog": "bin/changelog.js"
"bin": "bin/changelog.js",
"scripts": {
"changelog": "npx @appliedblockchain/changelog > Changelog.md"
},
"scripts": {},
"keywords": [],
"author": "",
"repository": "appliedblockchain/changelog",
"license": "UNLICENSED"
}
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