Socket
Socket
Sign inDemoInstall

@octokit/plugin-rest-endpoint-methods

Package Overview
Dependencies
Maintainers
3
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.0.0 to 4.1.0

31

dist-node/index.js

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

createRemoveTokenForRepo: ["POST /repos/{owner}/{repo}/actions/runners/remove-token"],
createWorkflowDispatch: ["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],
deleteArtifact: ["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],

@@ -21,2 +22,3 @@ deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"],

deleteSelfHostedRunnerFromRepo: ["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],
deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],
deleteWorkflowRunLogs: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],

@@ -181,2 +183,10 @@ downloadArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],

},
billing: {
getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"],
getGithubActionsBillingUser: ["GET /users/{username}/settings/billing/actions"],
getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"],
getGithubPackagesBillingUser: ["GET /users/{username}/settings/billing/packages"],
getSharedStorageBillingOrg: ["GET /orgs/{org}/settings/billing/shared-storage"],
getSharedStorageBillingUser: ["GET /users/{username}/settings/billing/shared-storage"]
},
checks: {

@@ -734,2 +744,9 @@ create: ["POST /repos/{owner}/{repo}/check-runs", {

}],
deleteLegacy: ["DELETE /reactions/{reaction_id}", {
mediaType: {
previews: ["squirrel-girl"]
}
}, {
deprecated: "octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy"
}],
listForCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", {

@@ -884,3 +901,7 @@ mediaType: {

}],
getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"],
getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile", {
mediaType: {
previews: ["black-panther"]
}
}],
getContent: ["GET /repos/{owner}/{repo}/contents/{path}"],

@@ -1004,3 +1025,7 @@ getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"],

repos: ["GET /search/repositories"],
topics: ["GET /search/topics"],
topics: ["GET /search/topics", {
mediaType: {
previews: ["mercy"]
}
}],
users: ["GET /search/users"]

@@ -1088,3 +1113,3 @@ },

const VERSION = "4.0.0";
const VERSION = "4.1.0";

@@ -1091,0 +1116,0 @@ function endpointsToMethods(octokit, endpointsMap) {

@@ -23,2 +23,5 @@ const Endpoints = {

],
createWorkflowDispatch: [
"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches",
],
deleteArtifact: [

@@ -37,2 +40,3 @@ "DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}",

],
deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],
deleteWorkflowRunLogs: [

@@ -232,2 +236,18 @@ "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs",

},
billing: {
getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"],
getGithubActionsBillingUser: [
"GET /users/{username}/settings/billing/actions",
],
getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"],
getGithubPackagesBillingUser: [
"GET /users/{username}/settings/billing/packages",
],
getSharedStorageBillingOrg: [
"GET /orgs/{org}/settings/billing/shared-storage",
],
getSharedStorageBillingUser: [
"GET /users/{username}/settings/billing/shared-storage",
],
},
checks: {

@@ -764,2 +784,9 @@ create: [

],
deleteLegacy: [
"DELETE /reactions/{reaction_id}",
{ mediaType: { previews: ["squirrel-girl"] } },
{
deprecated: "octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy",
},
],
listForCommitComment: [

@@ -934,3 +961,6 @@ "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions",

],
getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"],
getCommunityProfileMetrics: [
"GET /repos/{owner}/{repo}/community/profile",
{ mediaType: { previews: ["black-panther"] } },
],
getContent: ["GET /repos/{owner}/{repo}/contents/{path}"],

@@ -1098,3 +1128,3 @@ getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"],

repos: ["GET /search/repositories"],
topics: ["GET /search/topics"],
topics: ["GET /search/topics", { mediaType: { previews: ["mercy"] } }],
users: ["GET /search/users"],

@@ -1101,0 +1131,0 @@ },

2

dist-src/version.js

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

export const VERSION = "4.0.0";
export const VERSION = "4.1.0";

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

export declare const VERSION = "4.0.0";
export declare const VERSION = "4.1.0";

@@ -23,2 +23,5 @@ const Endpoints = {

],
createWorkflowDispatch: [
"POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches",
],
deleteArtifact: [

@@ -37,2 +40,3 @@ "DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}",

],
deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],
deleteWorkflowRunLogs: [

@@ -232,2 +236,18 @@ "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs",

},
billing: {
getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"],
getGithubActionsBillingUser: [
"GET /users/{username}/settings/billing/actions",
],
getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"],
getGithubPackagesBillingUser: [
"GET /users/{username}/settings/billing/packages",
],
getSharedStorageBillingOrg: [
"GET /orgs/{org}/settings/billing/shared-storage",
],
getSharedStorageBillingUser: [
"GET /users/{username}/settings/billing/shared-storage",
],
},
checks: {

@@ -764,2 +784,9 @@ create: [

],
deleteLegacy: [
"DELETE /reactions/{reaction_id}",
{ mediaType: { previews: ["squirrel-girl"] } },
{
deprecated: "octokit.reactions.deleteLegacy() is deprecated, see https://developer.github.com/v3/reactions/#delete-a-reaction-legacy",
},
],
listForCommitComment: [

@@ -934,3 +961,6 @@ "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions",

],
getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"],
getCommunityProfileMetrics: [
"GET /repos/{owner}/{repo}/community/profile",
{ mediaType: { previews: ["black-panther"] } },
],
getContent: ["GET /repos/{owner}/{repo}/contents/{path}"],

@@ -1098,3 +1128,3 @@ getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"],

repos: ["GET /search/repositories"],
topics: ["GET /search/topics"],
topics: ["GET /search/topics", { mediaType: { previews: ["mercy"] } }],
users: ["GET /search/users"],

@@ -1211,3 +1241,3 @@ },

const VERSION = "4.0.0";
const VERSION = "4.1.0";

@@ -1214,0 +1244,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.0.0",
"version": "4.1.0",
"license": "MIT",

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

"dependencies": {
"@octokit/types": "^5.0.0",
"@octokit/types": "^5.1.0",
"deprecation": "^2.3.1"

@@ -26,3 +26,3 @@ },

"@gimenete/type-writer": "^0.1.5",
"@octokit/core": "^2.1.2",
"@octokit/core": "^3.0.0",
"@octokit/graphql": "^4.3.1",

@@ -29,0 +29,0 @@ "@pika/pack": "^0.5.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

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