🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@octokit/plugin-rest-endpoint-methods

Package Overview
Dependencies
Maintainers
2
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/plugin-rest-endpoint-methods - npm Package Compare versions

Comparing version

to
4.5.0

51

dist-node/index.js

@@ -140,2 +140,3 @@ 'use strict';

revokeInstallationAccessToken: ["DELETE /installation/token"],
scopeToken: ["POST /applications/{client_id}/token/scoped"],
suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"],

@@ -396,12 +397,4 @@ unsuspendInstallation: ["DELETE /app/installations/{installation_id}/suspended"],

orgs: {
blockUser: ["PUT /orgs/{org}/blocks/{username}", {
mediaType: {
previews: ["giant-sentry-fist"]
}
}],
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}", {
mediaType: {
previews: ["giant-sentry-fist"]
}
}],
blockUser: ["PUT /orgs/{org}/blocks/{username}"],
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"],
checkMembershipForUser: ["GET /orgs/{org}/members/{username}"],

@@ -420,7 +413,3 @@ checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"],

listAppInstallations: ["GET /orgs/{org}/installations"],
listBlockedUsers: ["GET /orgs/{org}/blocks", {
mediaType: {
previews: ["giant-sentry-fist"]
}
}],
listBlockedUsers: ["GET /orgs/{org}/blocks"],
listForAuthenticatedUser: ["GET /user/orgs"],

@@ -442,7 +431,3 @@ listForUser: ["GET /users/{username}/orgs"],

setPublicMembershipForAuthenticatedUser: ["PUT /orgs/{org}/public_members/{username}"],
unblockUser: ["DELETE /orgs/{org}/blocks/{username}", {
mediaType: {
previews: ["giant-sentry-fist"]
}
}],
unblockUser: ["DELETE /orgs/{org}/blocks/{username}"],
update: ["PATCH /orgs/{org}"],

@@ -1019,12 +1004,4 @@ updateMembershipForAuthenticatedUser: ["PATCH /user/memberships/orgs/{org}"],

addEmailForAuthenticated: ["POST /user/emails"],
block: ["PUT /user/blocks/{username}", {
mediaType: {
previews: ["giant-sentry-fist"]
}
}],
checkBlocked: ["GET /user/blocks/{username}", {
mediaType: {
previews: ["giant-sentry-fist"]
}
}],
block: ["PUT /user/blocks/{username}"],
checkBlocked: ["GET /user/blocks/{username}"],
checkFollowingForUser: ["GET /users/{username}/following/{target_user}"],

@@ -1044,7 +1021,3 @@ checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"],

list: ["GET /users"],
listBlockedByAuthenticated: ["GET /user/blocks", {
mediaType: {
previews: ["giant-sentry-fist"]
}
}],
listBlockedByAuthenticated: ["GET /user/blocks"],
listEmailsForAuthenticated: ["GET /user/emails"],

@@ -1061,7 +1034,3 @@ listFollowedByAuthenticated: ["GET /user/following"],

setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"],
unblock: ["DELETE /user/blocks/{username}", {
mediaType: {
previews: ["giant-sentry-fist"]
}
}],
unblock: ["DELETE /user/blocks/{username}"],
unfollow: ["DELETE /user/following/{username}"],

@@ -1072,3 +1041,3 @@ updateAuthenticated: ["PATCH /user"]

const VERSION = "4.4.3";
const VERSION = "4.5.0";

@@ -1075,0 +1044,0 @@ function endpointsToMethods(octokit, endpointsMap) {

41

dist-src/generated/endpoints.js

@@ -243,2 +243,3 @@ const Endpoints = {

revokeInstallationAccessToken: ["DELETE /installation/token"],
scopeToken: ["POST /applications/{client_id}/token/scoped"],
suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"],

@@ -538,10 +539,4 @@ unsuspendInstallation: [

orgs: {
blockUser: [
"PUT /orgs/{org}/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
checkBlockedUser: [
"GET /orgs/{org}/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
blockUser: ["PUT /orgs/{org}/blocks/{username}"],
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"],
checkMembershipForUser: ["GET /orgs/{org}/members/{username}"],

@@ -562,6 +557,3 @@ checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"],

listAppInstallations: ["GET /orgs/{org}/installations"],
listBlockedUsers: [
"GET /orgs/{org}/blocks",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
listBlockedUsers: ["GET /orgs/{org}/blocks"],
listForAuthenticatedUser: ["GET /user/orgs"],

@@ -589,6 +581,3 @@ listForUser: ["GET /users/{username}/orgs"],

],
unblockUser: [
"DELETE /orgs/{org}/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
unblockUser: ["DELETE /orgs/{org}/blocks/{username}"],
update: ["PATCH /orgs/{org}"],

@@ -1256,10 +1245,4 @@ updateMembershipForAuthenticatedUser: [

addEmailForAuthenticated: ["POST /user/emails"],
block: [
"PUT /user/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
checkBlocked: [
"GET /user/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
block: ["PUT /user/blocks/{username}"],
checkBlocked: ["GET /user/blocks/{username}"],
checkFollowingForUser: ["GET /users/{username}/following/{target_user}"],

@@ -1279,6 +1262,3 @@ checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"],

list: ["GET /users"],
listBlockedByAuthenticated: [
"GET /user/blocks",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
listBlockedByAuthenticated: ["GET /user/blocks"],
listEmailsForAuthenticated: ["GET /user/emails"],

@@ -1295,6 +1275,3 @@ listFollowedByAuthenticated: ["GET /user/following"],

setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"],
unblock: [
"DELETE /user/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
unblock: ["DELETE /user/blocks/{username}"],
unfollow: ["DELETE /user/following/{username}"],

@@ -1301,0 +1278,0 @@ updateAuthenticated: ["PATCH /user"],

@@ -1,1 +0,1 @@

export const VERSION = "4.4.3";
export const VERSION = "4.5.0";

@@ -1,1 +0,1 @@

export declare const VERSION = "4.4.3";
export declare const VERSION = "4.5.0";

@@ -243,2 +243,3 @@ const Endpoints = {

revokeInstallationAccessToken: ["DELETE /installation/token"],
scopeToken: ["POST /applications/{client_id}/token/scoped"],
suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"],

@@ -538,10 +539,4 @@ unsuspendInstallation: [

orgs: {
blockUser: [
"PUT /orgs/{org}/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
checkBlockedUser: [
"GET /orgs/{org}/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
blockUser: ["PUT /orgs/{org}/blocks/{username}"],
checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"],
checkMembershipForUser: ["GET /orgs/{org}/members/{username}"],

@@ -562,6 +557,3 @@ checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"],

listAppInstallations: ["GET /orgs/{org}/installations"],
listBlockedUsers: [
"GET /orgs/{org}/blocks",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
listBlockedUsers: ["GET /orgs/{org}/blocks"],
listForAuthenticatedUser: ["GET /user/orgs"],

@@ -589,6 +581,3 @@ listForUser: ["GET /users/{username}/orgs"],

],
unblockUser: [
"DELETE /orgs/{org}/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
unblockUser: ["DELETE /orgs/{org}/blocks/{username}"],
update: ["PATCH /orgs/{org}"],

@@ -1256,10 +1245,4 @@ updateMembershipForAuthenticatedUser: [

addEmailForAuthenticated: ["POST /user/emails"],
block: [
"PUT /user/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
checkBlocked: [
"GET /user/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
block: ["PUT /user/blocks/{username}"],
checkBlocked: ["GET /user/blocks/{username}"],
checkFollowingForUser: ["GET /users/{username}/following/{target_user}"],

@@ -1279,6 +1262,3 @@ checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"],

list: ["GET /users"],
listBlockedByAuthenticated: [
"GET /user/blocks",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
listBlockedByAuthenticated: ["GET /user/blocks"],
listEmailsForAuthenticated: ["GET /user/emails"],

@@ -1295,6 +1275,3 @@ listFollowedByAuthenticated: ["GET /user/following"],

setPrimaryEmailVisibilityForAuthenticated: ["PATCH /user/email/visibility"],
unblock: [
"DELETE /user/blocks/{username}",
{ mediaType: { previews: ["giant-sentry-fist"] } },
],
unblock: ["DELETE /user/blocks/{username}"],
unfollow: ["DELETE /user/following/{username}"],

@@ -1305,3 +1282,3 @@ updateAuthenticated: ["PATCH /user"],

const VERSION = "4.4.3";
const VERSION = "4.5.0";

@@ -1308,0 +1285,0 @@ function endpointsToMethods(octokit, endpointsMap) {

{
"name": "@octokit/plugin-rest-endpoint-methods",
"description": "Octokit plugin adding one method for all of api.github.com REST API endpoints",
"version": "4.4.3",
"version": "4.5.0",
"license": "MIT",

@@ -20,3 +20,3 @@ "files": [

"dependencies": {
"@octokit/types": "^6.1.0",
"@octokit/types": "^6.3.1",
"deprecation": "^2.3.1"

@@ -23,0 +23,0 @@ },

Sorry, the diff of this file is not supported yet

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