Socket
Socket
Sign inDemoInstall

@semantic-release/git

Package Overview
Dependencies
Maintainers
5
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-release/git - npm Package Compare versions

Comparing version 7.0.3 to 7.0.4

6

index.js

@@ -7,3 +7,3 @@ const {defaultTo, castArray} = require('lodash');

async function verifyConditions(pluginConfig, context) {
function verifyConditions(pluginConfig, context) {
const {options} = context;

@@ -18,3 +18,3 @@ // If the Git prepare plugin is used and has `assets` or `message` configured, validate them now in order to prevent any release if the configuration is wrong

}
await verifyGit(pluginConfig);
verifyGit(pluginConfig);
verified = true;

@@ -25,3 +25,3 @@ }

if (!verified) {
await verifyGit(pluginConfig);
verifyGit(pluginConfig);
verified = true;

@@ -28,0 +28,0 @@ }

@@ -62,3 +62,3 @@ const execa = require('execa');

*/
async function gitHead(execaOpts) {
function gitHead(execaOpts) {
return execa.stdout('git', ['rev-parse', 'HEAD'], execaOpts);

@@ -65,0 +65,0 @@ }

@@ -26,3 +26,3 @@ const {isString, isUndefined, isArray, isPlainObject} = require('lodash');

*/
module.exports = async pluginConfig => {
module.exports = pluginConfig => {
const options = resolveConfig(pluginConfig);

@@ -29,0 +29,0 @@

{
"name": "@semantic-release/git",
"description": "Set of semantic-release plugins to publish to a git repository",
"version": "7.0.3",
"version": "7.0.4",
"author": "Pierre Vanduynslager (https://github.com/pvdlg)",

@@ -21,3 +21,3 @@ "bugs": {

"aggregate-error": "^1.0.0",
"debug": "^3.1.0",
"debug": "^4.0.0",
"dir-glob": "^2.0.0",

@@ -44,3 +44,3 @@ "execa": "^1.0.0",

"tempy": "^0.2.1",
"xo": "^0.22.0"
"xo": "^0.23.0"
},

@@ -47,0 +47,0 @@ "engines": {

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