Socket
Socket
Sign inDemoInstall

commit-stream

Package Overview
Dependencies
12
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

commit-stream.js

@@ -34,3 +34,3 @@ const through2 = require('through2')

commit.reviewers.push({ name: m[1], email: m[2] })
} else if (m = line.match(/^\s+PR(?:[- ]?URL)?:?\s*(.+)\s*$/i)) {
} else if (m = line.match(/^\s+PR(?:[- ]?URL)?:?\s*(.+)\s*$/)) {
commit.prUrl = m[1]

@@ -37,0 +37,0 @@ if (ghUser && ghProject && (m = commit.prUrl.match(/^\s*#?(\d+)\s*$/))) {

{
"name": "commit-stream",
"version": "1.0.1",
"version": "1.0.2",
"description": "Turn a `git log` into a stream of commit objects",

@@ -5,0 +5,0 @@ "main": "commit-stream.js",

@@ -21,2 +21,16 @@ const through2 = require('through2')

t.deepEqual(list[list.length - 9], {
author : { email: 'ralphtheninja@riseup.net', name: 'Lars-Magnus Skog' }
, description : [
'Fixes: https://github.com/rvagg/changelog-maker/issues/35'
]
, ghIssue : 1
, ghProject : 'commit-stream'
, ghUser : 'rvagg'
, prUrl : 'https://github.com/rvagg/commit-stream/pull/1'
, sha : '1bcfd072fd74399808fbcd5cf31ce5342dd6d70c'
, summary : 'process: this should not match PR-URL'
, reviewers : [ { email: 'rod@vagg.org', name: 'Rod Vagg' } ]
}, 'got correct ninth commit')
t.deepEqual(list[list.length - 4], {

@@ -23,0 +37,0 @@ author: { email: 'rod@vagg.org', name: 'Rod Vagg' }

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