Socket
Socket
Sign inDemoInstall

@actions/github

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@actions/github - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

1

lib/utils.d.ts

@@ -5,2 +5,3 @@ import * as Context from './context';

export declare const context: Context.Context;
export declare const defaults: OctokitOptions;
export declare const GitHub: typeof Octokit & import("@octokit/core/dist-types/types").Constructor<import("@octokit/plugin-rest-endpoint-methods/dist-types/types").Api & {

@@ -7,0 +8,0 @@ paginate: import("@octokit/plugin-paginate-rest").PaginateInterface;

6

lib/utils.js

@@ -22,3 +22,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getOctokitOptions = exports.GitHub = exports.context = void 0;
exports.getOctokitOptions = exports.GitHub = exports.defaults = exports.context = void 0;
const Context = __importStar(require("./context"));

@@ -32,3 +32,3 @@ const Utils = __importStar(require("./internal/utils"));

const baseUrl = Utils.getApiBaseUrl();
const defaults = {
exports.defaults = {
baseUrl,

@@ -39,3 +39,3 @@ request: {

};
exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(defaults);
exports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(exports.defaults);
/**

@@ -42,0 +42,0 @@ * Convience function to correctly format Octokit Options to pass into the constructor.

{
"name": "@actions/github",
"version": "5.1.0",
"version": "5.1.1",
"description": "Actions github lib",

@@ -5,0 +5,0 @@ "keywords": [

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