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

grizzly

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grizzly - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

44

lib/grizzly.js

@@ -23,8 +23,7 @@ 'use strict';

readjson(name, function(error, json) {
if (error) {
callback(error);
} else {
token = json.token;
fn();
}
if (error)
return callback(error);
token = json.token;
fn();
});

@@ -37,21 +36,20 @@ });

if (!token) {
callback(Error(ERROR_TOKEN));
} else {
github.authenticate({
type: 'oauth',
token: token
});
if (!token)
return callback(Error(ERROR_TOKEN));
github.repos.createRelease({
owner : options.user,
repo : options.repo,
tag_name : options.tag,
target_commitish : options.target_commitish,
name : options.name,
body : options.body,
prerelease : options.prerelease
}, callback);
}
github.authenticate({
type: 'oauth',
token: token
});
github.repos.createRelease({
owner : options.user,
repo : options.repo,
tag_name : options.tag,
target_commitish : options.target_commitish,
name : options.name,
body : options.body,
prerelease : options.prerelease
}, callback);
}
{
"name": "grizzly",
"version": "2.1.2",
"version": "2.1.3",
"description": "create release on github",

@@ -32,3 +32,3 @@ "main": "lib/grizzly.js",

"execon": "^1.2.0",
"github": "^8.0.0",
"github": "^9.0.0",
"minimist": "^1.2.0",

@@ -35,0 +35,0 @@ "os-homedir": "^1.0.0",

Sorry, the diff of this file is not supported yet

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