Socket
Socket
Sign inDemoInstall

changelog.md

Package Overview
Dependencies
251
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

26

CHANGELOG.md

@@ -0,1 +1,23 @@

## [Version 1.1.0](https://github.com/egoist/changelog.md/releases/tag/v1.1.0) (2017-2-14)
### New features
- tweak section title: [`55240a9`](https://github.com/egoist/changelog.md/commit/55240a9)
- add credits: [`9d86e04`](https://github.com/egoist/changelog.md/commit/9d86e04)
### Bug fixes
- only generate changelog for new project: [`5fca5bf`](https://github.com/egoist/changelog.md/commit/5fca5bf)
[...full changes](https://github.com/egoist/changelog.md/compare/v1.0.0...v1.1.0)
## [Version 1.1.0](https://github.com/egoist/changelog.md/releases/tag/v1.1.0) (2017-2-14)
### New features
- tweak section title: [`55240a9`](https://github.com/egoist/changelog.md/commit/55240a9)
- add credits: [`9d86e04`](https://github.com/egoist/changelog.md/commit/9d86e04)
[...full changes](https://github.com/egoist/changelog.md/compare/v1.0.0...v1.1.0)
## [Version 1.0.0](https://github.com/egoist/changelog.md/releases/tag/v1.0.0) (2017-1-8)

@@ -75,1 +97,5 @@

- init: [`ec23f36`](https://github.com/egoist/changelog.md/commit/ec23f36)
---
Generated by [changelog.md](https://github.com/egoist/changelog.md)

6

lib/render.js

@@ -16,11 +16,11 @@ 'use strict'

if (commits.major) {
result += addSection('Major Changes', commits.major)
result += addSection('Breaking changes', commits.major)
}
if (commits.minor) {
result += addSection('Minor Changes', commits.minor)
result += addSection('New features', commits.minor)
}
if (commits.patch) {
result += addSection('Patches', commits.patch)
result += addSection('Bug fixes', commits.patch)
}

@@ -27,0 +27,0 @@

@@ -18,2 +18,3 @@ 'use strict'

const oldContent = yield fs.readFile(file, 'utf8')
yield fs.writeFile(file, content + oldContent, 'utf8')

@@ -23,4 +24,10 @@ return true

yield fs.writeFile(file, content, 'utf8')
const credit = `
---
Generated by [changelog.md](https://github.com/egoist/changelog.md)
`
yield fs.writeFile(file, content + credit, 'utf8')
return false
})
{
"name": "changelog.md",
"version": "1.0.0",
"version": "1.1.0",
"description": "Manage CHANGELOG.md so easy it hurts.",

@@ -5,0 +5,0 @@ "repository": {

@@ -8,3 +8,3 @@ <h1 align="center">

<p align="center">
<img src="./media/preview.png" alt="preview" width="700">
<img src="https://raw.githubusercontent.com/egoist/changelog.md/master/media/preview.png" alt="preview" width="700">
</p>

@@ -11,0 +11,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc