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

git-apply-pr

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-apply-pr - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

.travis.yml

14

lib/lib.js
var util = require('util');
var os = require('os');
var assert = require('assert');

@@ -77,4 +78,15 @@ var Transform = require('stream').Transform;

exports.formatReviewedByMetaData = formatReviewedByMetaData;
function formatReviewedByMetaData(reviewer) {
return util.format('%s <%s>', reviewer.name, reviewer.email);
var formattedComponents = [];
assert(typeof (reviewer.name) === 'string', 'reviewer name must be a string');
formattedComponents.push(util.format('%s', reviewer.name));
if (reviewer.email) {
formattedComponents.push(util.format('<%s>', reviewer.email));
}
return formattedComponents.join(' ').trim();
}

@@ -81,0 +93,0 @@

2

package.json
{
"name": "git-apply-pr",
"version": "1.2.3",
"version": "1.2.4",
"description": "Apply GitHub Pull Requests",

@@ -5,0 +5,0 @@ "main": "apply-pr.js",

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