Socket
Socket
Sign inDemoInstall

@octokit/action

Package Overview
Dependencies
Maintainers
2
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 3.7.1 to 3.7.2

2

dist-node/index.js

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

const VERSION = "3.7.1";
const VERSION = "3.7.2";

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

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

export const VERSION = "3.7.1";
export const VERSION = "3.7.2";
import { Octokit as Core } from "@octokit/core";
export { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods";
export declare const Octokit: (new (...args: any[]) => {
[x: string]: any;
}) & {
new (...args: any[]): {
[x: string]: any;
};
plugins: any[];
} & typeof Core & import("@octokit/core/dist-types/types").Constructor<{
export declare const Octokit: typeof Core & import("@octokit/core/dist-types/types").Constructor<{
paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;
} & import("@octokit/plugin-rest-endpoint-methods/dist-types/generated/method-types").RestEndpointMethods & import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api>;

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

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

@@ -6,0 +6,0 @@ "files": [

@@ -50,6 +50,7 @@ # action.js

version: 12
- run: npm install @octokit/action
# Node.js script can be anywhere. A good convention is to put local GitHub Actions
# into the `.github/actions` folder
- run: node .github/actions/my-script.js
with:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@@ -62,2 +63,4 @@ ```

// .github/actions/my-script.js
const { Octokit } = require("@octokit/action");
const octokit = new Octokit();

@@ -71,2 +74,4 @@

```js
const { Octokit } = require("@octokit/action");
const octokit = new Octokit();

@@ -89,2 +94,4 @@ const [owner, repo] = process.env.GITHUB_REPOSITORY.split("/");

```js
const { Octokit } = require("@octokit/action");
const octokit = new Octokit();

@@ -91,0 +98,0 @@ const eventPayload = require(process.env.GITHUB_EVENT_PATH);

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