Socket
Socket
Sign inDemoInstall

@octokit/plugin-rest-endpoint-methods

Package Overview
Dependencies
Maintainers
2
Versions
199
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 4.1.3 to 4.1.4

92

dist-node/index.js

@@ -89,7 +89,3 @@ 'use strict';

apps: {
addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}", {
mediaType: {
previews: ["machine-man"]
}
}],
addRepoToInstallation: ["PUT /user/installations/{installation_id}/repositories/{repository_id}"],
checkToken: ["POST /applications/{client_id}/token"],

@@ -102,77 +98,25 @@ createContentAttachment: ["POST /content_references/{content_reference_id}/attachments", {

createFromManifest: ["POST /app-manifests/{code}/conversions"],
createInstallationAccessToken: ["POST /app/installations/{installation_id}/access_tokens", {
mediaType: {
previews: ["machine-man"]
}
}],
createInstallationAccessToken: ["POST /app/installations/{installation_id}/access_tokens"],
deleteAuthorization: ["DELETE /applications/{client_id}/grant"],
deleteInstallation: ["DELETE /app/installations/{installation_id}", {
mediaType: {
previews: ["machine-man"]
}
}],
deleteInstallation: ["DELETE /app/installations/{installation_id}"],
deleteToken: ["DELETE /applications/{client_id}/token"],
getAuthenticated: ["GET /app", {
mediaType: {
previews: ["machine-man"]
}
}],
getBySlug: ["GET /apps/{app_slug}", {
mediaType: {
previews: ["machine-man"]
}
}],
getInstallation: ["GET /app/installations/{installation_id}", {
mediaType: {
previews: ["machine-man"]
}
}],
getOrgInstallation: ["GET /orgs/{org}/installation", {
mediaType: {
previews: ["machine-man"]
}
}],
getRepoInstallation: ["GET /repos/{owner}/{repo}/installation", {
mediaType: {
previews: ["machine-man"]
}
}],
getAuthenticated: ["GET /app"],
getBySlug: ["GET /apps/{app_slug}"],
getInstallation: ["GET /app/installations/{installation_id}"],
getOrgInstallation: ["GET /orgs/{org}/installation"],
getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"],
getSubscriptionPlanForAccount: ["GET /marketplace_listing/accounts/{account_id}"],
getSubscriptionPlanForAccountStubbed: ["GET /marketplace_listing/stubbed/accounts/{account_id}"],
getUserInstallation: ["GET /users/{username}/installation", {
mediaType: {
previews: ["machine-man"]
}
}],
getUserInstallation: ["GET /users/{username}/installation"],
listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"],
listAccountsForPlanStubbed: ["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],
listInstallationReposForAuthenticatedUser: ["GET /user/installations/{installation_id}/repositories", {
mediaType: {
previews: ["machine-man"]
}
}],
listInstallations: ["GET /app/installations", {
mediaType: {
previews: ["machine-man"]
}
}],
listInstallationsForAuthenticatedUser: ["GET /user/installations", {
mediaType: {
previews: ["machine-man"]
}
}],
listInstallationReposForAuthenticatedUser: ["GET /user/installations/{installation_id}/repositories"],
listInstallations: ["GET /app/installations"],
listInstallationsForAuthenticatedUser: ["GET /user/installations"],
listPlans: ["GET /marketplace_listing/plans"],
listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"],
listReposAccessibleToInstallation: ["GET /installation/repositories", {
mediaType: {
previews: ["machine-man"]
}
}],
listReposAccessibleToInstallation: ["GET /installation/repositories"],
listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"],
listSubscriptionsForAuthenticatedUserStubbed: ["GET /user/marketplace_purchases/stubbed"],
removeRepoFromInstallation: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}", {
mediaType: {
previews: ["machine-man"]
}
}],
removeRepoFromInstallation: ["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],
resetToken: ["PATCH /applications/{client_id}/token"],

@@ -492,7 +436,3 @@ revokeInstallationAccessToken: ["DELETE /installation/token"],

list: ["GET /organizations"],
listAppInstallations: ["GET /orgs/{org}/installations", {
mediaType: {
previews: ["machine-man"]
}
}],
listAppInstallations: ["GET /orgs/{org}/installations"],
listBlockedUsers: ["GET /orgs/{org}/blocks"],

@@ -1110,3 +1050,3 @@ listForAuthenticatedUser: ["GET /user/orgs"],

const VERSION = "4.1.3";
const VERSION = "4.1.4";

@@ -1113,0 +1053,0 @@ function endpointsToMethods(octokit, endpointsMap) {

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

"PUT /user/installations/{installation_id}/repositories/{repository_id}",
{ mediaType: { previews: ["machine-man"] } },
],

@@ -160,30 +159,11 @@ checkToken: ["POST /applications/{client_id}/token"],

"POST /app/installations/{installation_id}/access_tokens",
{ mediaType: { previews: ["machine-man"] } },
],
deleteAuthorization: ["DELETE /applications/{client_id}/grant"],
deleteInstallation: [
"DELETE /app/installations/{installation_id}",
{ mediaType: { previews: ["machine-man"] } },
],
deleteInstallation: ["DELETE /app/installations/{installation_id}"],
deleteToken: ["DELETE /applications/{client_id}/token"],
getAuthenticated: [
"GET /app",
{ mediaType: { previews: ["machine-man"] } },
],
getBySlug: [
"GET /apps/{app_slug}",
{ mediaType: { previews: ["machine-man"] } },
],
getInstallation: [
"GET /app/installations/{installation_id}",
{ mediaType: { previews: ["machine-man"] } },
],
getOrgInstallation: [
"GET /orgs/{org}/installation",
{ mediaType: { previews: ["machine-man"] } },
],
getRepoInstallation: [
"GET /repos/{owner}/{repo}/installation",
{ mediaType: { previews: ["machine-man"] } },
],
getAuthenticated: ["GET /app"],
getBySlug: ["GET /apps/{app_slug}"],
getInstallation: ["GET /app/installations/{installation_id}"],
getOrgInstallation: ["GET /orgs/{org}/installation"],
getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"],
getSubscriptionPlanForAccount: [

@@ -195,6 +175,3 @@ "GET /marketplace_listing/accounts/{account_id}",

],
getUserInstallation: [
"GET /users/{username}/installation",
{ mediaType: { previews: ["machine-man"] } },
],
getUserInstallation: ["GET /users/{username}/installation"],
listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"],

@@ -206,18 +183,8 @@ listAccountsForPlanStubbed: [

"GET /user/installations/{installation_id}/repositories",
{ mediaType: { previews: ["machine-man"] } },
],
listInstallations: [
"GET /app/installations",
{ mediaType: { previews: ["machine-man"] } },
],
listInstallationsForAuthenticatedUser: [
"GET /user/installations",
{ mediaType: { previews: ["machine-man"] } },
],
listInstallations: ["GET /app/installations"],
listInstallationsForAuthenticatedUser: ["GET /user/installations"],
listPlans: ["GET /marketplace_listing/plans"],
listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"],
listReposAccessibleToInstallation: [
"GET /installation/repositories",
{ mediaType: { previews: ["machine-man"] } },
],
listReposAccessibleToInstallation: ["GET /installation/repositories"],
listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"],

@@ -229,3 +196,2 @@ listSubscriptionsForAuthenticatedUserStubbed: [

"DELETE /user/installations/{installation_id}/repositories/{repository_id}",
{ mediaType: { previews: ["machine-man"] } },
],

@@ -540,6 +506,3 @@ resetToken: ["PATCH /applications/{client_id}/token"],

list: ["GET /organizations"],
listAppInstallations: [
"GET /orgs/{org}/installations",
{ mediaType: { previews: ["machine-man"] } },
],
listAppInstallations: ["GET /orgs/{org}/installations"],
listBlockedUsers: ["GET /orgs/{org}/blocks"],

@@ -546,0 +509,0 @@ listForAuthenticatedUser: ["GET /user/orgs"],

2

dist-src/version.js

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

export const VERSION = "4.1.3";
export const VERSION = "4.1.4";

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

export declare const VERSION = "4.1.3";
export declare const VERSION = "4.1.4";

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

"PUT /user/installations/{installation_id}/repositories/{repository_id}",
{ mediaType: { previews: ["machine-man"] } },
],

@@ -160,30 +159,11 @@ checkToken: ["POST /applications/{client_id}/token"],

"POST /app/installations/{installation_id}/access_tokens",
{ mediaType: { previews: ["machine-man"] } },
],
deleteAuthorization: ["DELETE /applications/{client_id}/grant"],
deleteInstallation: [
"DELETE /app/installations/{installation_id}",
{ mediaType: { previews: ["machine-man"] } },
],
deleteInstallation: ["DELETE /app/installations/{installation_id}"],
deleteToken: ["DELETE /applications/{client_id}/token"],
getAuthenticated: [
"GET /app",
{ mediaType: { previews: ["machine-man"] } },
],
getBySlug: [
"GET /apps/{app_slug}",
{ mediaType: { previews: ["machine-man"] } },
],
getInstallation: [
"GET /app/installations/{installation_id}",
{ mediaType: { previews: ["machine-man"] } },
],
getOrgInstallation: [
"GET /orgs/{org}/installation",
{ mediaType: { previews: ["machine-man"] } },
],
getRepoInstallation: [
"GET /repos/{owner}/{repo}/installation",
{ mediaType: { previews: ["machine-man"] } },
],
getAuthenticated: ["GET /app"],
getBySlug: ["GET /apps/{app_slug}"],
getInstallation: ["GET /app/installations/{installation_id}"],
getOrgInstallation: ["GET /orgs/{org}/installation"],
getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"],
getSubscriptionPlanForAccount: [

@@ -195,6 +175,3 @@ "GET /marketplace_listing/accounts/{account_id}",

],
getUserInstallation: [
"GET /users/{username}/installation",
{ mediaType: { previews: ["machine-man"] } },
],
getUserInstallation: ["GET /users/{username}/installation"],
listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"],

@@ -206,18 +183,8 @@ listAccountsForPlanStubbed: [

"GET /user/installations/{installation_id}/repositories",
{ mediaType: { previews: ["machine-man"] } },
],
listInstallations: [
"GET /app/installations",
{ mediaType: { previews: ["machine-man"] } },
],
listInstallationsForAuthenticatedUser: [
"GET /user/installations",
{ mediaType: { previews: ["machine-man"] } },
],
listInstallations: ["GET /app/installations"],
listInstallationsForAuthenticatedUser: ["GET /user/installations"],
listPlans: ["GET /marketplace_listing/plans"],
listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"],
listReposAccessibleToInstallation: [
"GET /installation/repositories",
{ mediaType: { previews: ["machine-man"] } },
],
listReposAccessibleToInstallation: ["GET /installation/repositories"],
listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"],

@@ -229,3 +196,2 @@ listSubscriptionsForAuthenticatedUserStubbed: [

"DELETE /user/installations/{installation_id}/repositories/{repository_id}",
{ mediaType: { previews: ["machine-man"] } },
],

@@ -540,6 +506,3 @@ resetToken: ["PATCH /applications/{client_id}/token"],

list: ["GET /organizations"],
listAppInstallations: [
"GET /orgs/{org}/installations",
{ mediaType: { previews: ["machine-man"] } },
],
listAppInstallations: ["GET /orgs/{org}/installations"],
listBlockedUsers: ["GET /orgs/{org}/blocks"],

@@ -1241,3 +1204,3 @@ listForAuthenticatedUser: ["GET /user/orgs"],

const VERSION = "4.1.3";
const VERSION = "4.1.4";

@@ -1244,0 +1207,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.1.3",
"version": "4.1.4",
"license": "MIT",

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

"dependencies": {
"@octokit/types": "^5.1.1",
"@octokit/types": "^5.4.1",
"deprecation": "^2.3.1"

@@ -49,3 +49,3 @@ },

"ts-jest": "^26.1.3",
"typescript": "^3.7.2"
"typescript": "^4.0.2"
},

@@ -52,0 +52,0 @@ "publishConfig": {

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 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