Socket
Socket
Sign inDemoInstall

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 9.0.0 to 9.1.0

5

CHANGELOG.md
# CHANGELOG
## 9.1.0
Features:
* Add User Blocking preview api.
## 9.0.0

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

4

package.json
{
"name": "github",
"version": "9.0.0",
"version": "9.1.0",
"description": "NodeJS wrapper for the GitHub API",

@@ -53,3 +53,3 @@ "author": "Mike de Boer <info@mikedeboer.nl>",

"name": "node-github",
"version": "9.0.0",
"version": "9.1.0",
"template": {

@@ -56,0 +56,0 @@ "withCompare": true

@@ -191,20 +191,21 @@ **NOTE: The `node-github` npm package is deprecated. You want the `github` npm package (see Installation).**

| Preview API | Accept header val |
| ------------------- | ----------------------------------------------- |
| Commit Search | application/vnd.github.cloak-preview+json |
| Community | application/vnd.github.black-panther-preview+json |
| Deployment | application/vnd.github.ant-man-preview+json |
| Git signing | application/vnd.github.cryptographer-preview |
| Imports | application/vnd.github.barred-rock-preview |
| Integrations | application/vnd.github.machine-man-preview |
| License | application/vnd.github.drax-preview+json |
| Migrations | application/vnd.github.wyandotte-preview+json |
| Organization Membership | application/vnd.github.korra-preview+json |
| Pages | application/vnd.github.mister-fantastic-preview |
| Pre-receive | application/vnd.github.eye-scream-preview |
| Projects | application/vnd.github.inertia-preview+json |
| Protected Branches | application/vnd.github.loki-preview+json |
| Pull Request Squash | application/vnd.github.polaris-preview |
| Reactions | application/vnd.github.squirrel-girl-preview |
| Timeline | application/vnd.github.mockingbird-preview |
| Preview API | Accept header val |
| ------------------- | ----------------------------------------------- |
| Commit Search | application/vnd.github.cloak-preview+json |
| Community | application/vnd.github.black-panther-preview+json |
| Deployment | application/vnd.github.ant-man-preview+json |
| Git signing | application/vnd.github.cryptographer-preview |
| Imports | application/vnd.github.barred-rock-preview |
| Integrations | application/vnd.github.machine-man-preview |
| License | application/vnd.github.drax-preview+json |
| Migrations | application/vnd.github.wyandotte-preview+json |
| Organization Membership | application/vnd.github.korra-preview+json |
| Pages | application/vnd.github.mister-fantastic-preview |
| Pre-receive | application/vnd.github.eye-scream-preview |
| Projects | application/vnd.github.inertia-preview+json |
| Protected Branches | application/vnd.github.loki-preview+json |
| Pull Request Squash | application/vnd.github.polaris-preview |
| Reactions | application/vnd.github.squirrel-girl-preview |
| Timeline | application/vnd.github.mockingbird-preview |
| User Blocking | application/vnd.github.giant-sentry-fist-preview+json |

@@ -211,0 +212,0 @@ ## Dev notes

@@ -54,2 +54,28 @@ /*

it("should successfully execute PUT /user/blocks/:username (blockUser)", function(next) {
client.users.blockUser(
{
username: "String"
},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute GET /user/blocks/:username (checkBlockedUser)", function(next) {
client.users.checkBlockedUser(
{
username: "String"
},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute GET /user/following/:username (checkFollowing)", function(next) {

@@ -225,2 +251,13 @@ client.users.checkFollowing(

it("should successfully execute GET /user/blocks (getBlockedUsers)", function(next) {
client.users.getBlockedUsers(
{},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute GET /user/:id (getById)", function(next) {

@@ -484,2 +521,15 @@ client.users.getById(

it("should successfully execute DELETE /user/blocks/:username (unblockUser)", function(next) {
client.users.unblockUser(
{
username: "String"
},
function(err, res) {
Assert.equal(err, null);
// other assertions go here
next();
}
);
});
it("should successfully execute DELETE /user/following/:username (unfollowUser)", function(next) {

@@ -486,0 +536,0 @@ client.users.unfollowUser(

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

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

Sorry, the diff of this file is not supported yet

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