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

github

Package Overview
Dependencies
Maintainers
2
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

examples/removeAssigneesFromIssue.js

5

CHANGELOG.md
# CHANGELOG
## 5.0.1
Bugfixes:
* Fix for remove assignees from issue.
## 5.0.0

@@ -4,0 +9,0 @@

6

examples/addLabelsToIssue.js

@@ -17,7 +17,7 @@ "use strict";

owner: "kaizensoze",
repo: "node-github",
number: "101",
body: ["invalid", "bug", "duplicate"]
repo: "test2",
number: "4",
body: ["bug", "help wanted", "question"]
}, function(err, res) {
console.log(err, res);
});

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

var Util = require("./util");
var npmPackageJSON = require("../package.json");

@@ -89,5 +90,8 @@ var TestSectionTpl = fs.readFileSync(__dirname + "/../templates/test_section.js.tpl", "utf8");

var apiVersion = npmPackageJSON['version'];
var commentLines = [
"/**",
" * @api {" + method + "} " + url + " " + funcName,
" * @apiVersion " + apiVersion,
" * @apiName " + funcDisplayName,

@@ -94,0 +98,0 @@ " * @apiDescription " + block['description'],

@@ -615,3 +615,3 @@ "use strict";

var hasFileBody = block.hasFileBody;
var hasBody = !hasFileBody && ("head|get|delete".indexOf(method) === -1);
var hasBody = !hasFileBody && typeof(msg.body) !== "undefined";
var format = getRequestFormat.call(this, hasBody, block);

@@ -618,0 +618,0 @@ var obj = getQueryAndUrl(msg, block, format, self.config);

{
"name": "github",
"version": "5.0.0",
"version": "5.0.1",
"description": "NodeJS wrapper for the GitHub API",

@@ -50,6 +50,7 @@ "author": "Mike de Boer <info@mikedeboer.nl>",

"name": "node-github",
"version": "5.0.1",
"template": {
"withCompare": false
"withCompare": true
}
}
}

Sorry, the diff of this file is too big to display

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