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

@semantic-release/github

Package Overview
Dependencies
Maintainers
4
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-release/github - npm Package Compare versions

Comparing version 4.2.9 to 4.2.10

5

lib/success.js

@@ -22,2 +22,3 @@ const {isUndefined, uniqBy, template, flatten} = require('lodash');

const shas = commits.map(commit => commit.hash);
const treeShas = commits.map(commit => commit.tree.long);

@@ -29,3 +30,5 @@ const searchQueries = getSearchQueries(`repo:${owner}/${repo}+type:pr+is:merged`, shas).map(

const prs = await pFilter(uniqBy(flatten(await Promise.all(searchQueries)), 'number'), async ({number}) =>
(await github.pullRequests.getCommits({owner, repo, number})).data.find(({sha}) => shas.includes(sha))
(await github.pullRequests.getCommits({owner, repo, number})).data.find(
({sha, commit}) => shas.includes(sha) || treeShas.includes(commit.tree.sha)
)
);

@@ -32,0 +35,0 @@

2

package.json
{
"name": "@semantic-release/github",
"description": "Set of semantic-release plugins for publishing a GitHub release",
"version": "4.2.9",
"version": "4.2.10",
"author": "Pierre Vanduynslager (https://twitter.com/@pvdlg_)",

@@ -6,0 +6,0 @@ "bugs": {

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