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.5.2 to 2.5.3

2

bin/release.js

@@ -14,3 +14,3 @@ #!/usr/bin/env node

if(!isDebug) {
console.error(error);
console.error(err);
} else {

@@ -17,0 +17,0 @@ throw new Error(err);

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

function initGithubClient() {
function initGithubClient(repo) {
if(!_githubClient) {

@@ -156,3 +156,4 @@ _githubClient = new GitHubApi({

protocol: 'https',
host: 'api.github.com',
host: repo.host === 'github.com' ? '' : repo.host,
pathPrefix: repo.host === 'github.com' ? '' : '/api/v3',
timeout: 10000,

@@ -212,3 +213,3 @@ headers: {

var githubClient = initGithubClient(),
var githubClient = initGithubClient(repo),
success = false,

@@ -215,0 +216,0 @@ attempts = 3;

{
"name": "release-it",
"version": "2.5.2",
"version": "2.5.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.3",
"github": "6.0.4",
"github": "7.2.0",
"glob": "7.1.1",

@@ -39,0 +39,0 @@ "graceful-fs": "4.1.10",

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