Socket
Socket
Sign inDemoInstall

release-it

Package Overview
Dependencies
Maintainers
1
Versions
401
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

release-it - npm Package Compare versions

Comparing version 2.4.2 to 2.4.3

11

lib/git.js

@@ -156,3 +156,3 @@ var util = require('./util'),

host: 'api.github.com',
timeout: 5000,
timeout: 10000,
headers: {

@@ -213,4 +213,4 @@ 'user-agent': 'webpro/release-it'

return when.promise(function(resolve) {
githubClient.releases.createRelease({
owner: repo.owner,
githubClient.repos.createRelease({
user: repo.owner,
repo: repo.project,

@@ -222,5 +222,4 @@ tag_name: util.format(options.tagName, options.version),

if(err) {
var errObj = JSON.parse(err.message);
log[attempt + 1 < attempts ? 'warn' : 'error'](errObj.message + ' (Attempt ' + (attempt + 1) + ' of ' + attempts + ')');
log[attempt + 1 < attempts ? 'warn' : 'error'](errObj.errors[0].message);
log[attempt + 1 < attempts ? 'warn' : 'error'](err.defaultMessage + ' (Attempt ' + (attempt + 1) + ' of ' + attempts + ')');
log[attempt + 1 < attempts ? 'warn' : 'error'](err.message);
} else {

@@ -227,0 +226,0 @@ log.execution('node-github', response.meta.location, response.tag_name, response.name);

{
"name": "release-it",
"version": "2.4.2",
"version": "2.4.3",
"description": "Interactive release tool for Git repositories. Increment version, commit, tag, push, build, publish to npm. Supports to build and release to a distribution/component repository.",

@@ -36,3 +36,3 @@ "keywords": [

"chalk": "^1.1.1",
"github": "^0.2.4",
"github": "^2.4.0",
"glob": "^7.0.3",

@@ -39,0 +39,0 @@ "graceful-fs": "^4.1.3",

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