Socket
Socket
Sign inDemoInstall

@octokit/action

Package Overview
Dependencies
Maintainers
3
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/action - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

2

dist-node/index.js

@@ -10,3 +10,3 @@ 'use strict';

const VERSION = "2.2.0";
const VERSION = "2.3.0";

@@ -13,0 +13,0 @@ const Octokit = core.Octokit.plugin(pluginPaginateRest.paginateRest, pluginRestEndpointMethods.restEndpointMethods).defaults({

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

export const VERSION = "2.2.0";
export const VERSION = "2.3.0";

@@ -11,2 +11,2 @@ import { Octokit as Core } from "@octokit/core";

paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;
} & import("@octokit/plugin-rest-endpoint-methods/dist-types/generated/types").RestEndpointMethods>;
} & import("@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types").RestEndpointMethods>;

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

export declare const VERSION = "2.2.0";
export declare const VERSION = "2.3.0";
{
"name": "@octokit/action",
"description": "GitHub API client for GitHub Actions",
"version": "2.2.0",
"version": "2.3.0",
"license": "MIT",

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

"@octokit/plugin-paginate-rest": "^2.0.1",
"@octokit/plugin-rest-endpoint-methods": "3.6.0",
"@octokit/plugin-rest-endpoint-methods": "3.7.0",
"@octokit/types": "^2.0.2"

@@ -27,0 +27,0 @@ },

@@ -112,2 +112,13 @@ # action.js

### TypeScript: Endpoint method parameters and responses
Types for endpoint method parameters and responses are exported as `RestEndpointMethodTypes`. They keys are the same as the endpoint methods. Here is an example to retrieve the parameter and response types for `octokit.checks.create()`
```ts
import { RestEndpointMethodTypes } from `@octokit/action`;
type ChecksCreateParams = RestEndpointMethodTypes["checks"]["create"]["parameters"];
type ChecksCreateResponse = RestEndpointMethodTypes["checks"]["create"]["response"];
```
## How it works

@@ -114,0 +125,0 @@

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