New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cclog-parser

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cclog-parser - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

10

changelog.md

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

<a name="1.1.0"></a>
# [1.1.0](https://github.com/jserme/cclog-parser/compare/v1.0.1...v1.1.0) (2017-12-25)
### Features
* **parser:** support Conventional Commits format ([b367d6a](https://github.com/jserme/cclog-parser/commit/b367d6a))
<a name="1.0.0"></a>

@@ -2,0 +12,0 @@ # 1.0.0 (2017-04-25)

22

index.js

@@ -13,3 +13,4 @@ const EOL = require('os').EOL

FIX: 'Bug Fixes',
FEAT: 'Features'
FEAT: 'Features',
BREAKING_CHANGES: 'BREAKING CHANGES'
}

@@ -20,3 +21,4 @@

fixes: [],
features: []
features: [],
breakingChanges: []
}

@@ -95,2 +97,6 @@ }

if (buf === TYPES.BREAKING_CHANGES) {
curType = 'breakingChanges'
}
buf = ''

@@ -103,7 +109,12 @@ state = STATES.NULL

'DES': (function (include) {
function pushBuf () {
if (curVerion && curType) {
rst.changes[curVerion][curType].push(buf)
}
}
if (include) {
return function () {
if (peek(cur) === EOL || EOF) {
rst.changes[curVerion][curType].push(buf)
pushBuf()
buf = ''

@@ -122,4 +133,3 @@ state = STATES.NULL

) {
rst.changes[curVerion][curType].push(buf)
pushBuf()
buf = ''

@@ -126,0 +136,0 @@ cur += 2

{
"name": "cclog-parser",
"version": "1.0.1",
"version": "1.1.0",
"description": "conventional-changelog parser",

@@ -10,3 +10,3 @@ "main": "index.js",

"scripts": {
"test": "standard index.js, test/*; mocha ",
"test": "standard index.js test/*; mocha ",
"commit": "git-cz",

@@ -30,7 +30,7 @@ "release": "npm publish && git tag v$npm_package_version && git push origin v$npm_package_version",

"devDependencies": {
"mocha": "^3.3.0",
"commitizen": "^2.9.5",
"conventional-changelog-cli": "^1.2.0",
"cz-conventional-changelog": "^1.2.0",
"standard": "~6.0.8"
"mocha": "^3.3.0",
"standard": "^10.0.3"
},

@@ -42,2 +42,2 @@ "config": {

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