Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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 3.18.1 to 4.0.0

67

dist-node/index.js

@@ -13,57 +13,4 @@ 'use strict';

function ownKeys(object, enumerableOnly) {
var keys = Object.keys(object);
const VERSION = "4.0.0";
if (Object.getOwnPropertySymbols) {
var symbols = Object.getOwnPropertySymbols(object);
if (enumerableOnly) {
symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
});
}
keys.push.apply(keys, symbols);
}
return keys;
}
function _objectSpread2(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
if (i % 2) {
ownKeys(Object(source), true).forEach(function (key) {
_defineProperty(target, key, source[key]);
});
} else if (Object.getOwnPropertyDescriptors) {
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
} else {
ownKeys(Object(source)).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
});
}
}
return target;
}
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
const VERSION = "3.18.1";
const DEFAULTS = {

@@ -75,7 +22,9 @@ authStrategy: authAction.createActionAuth,

const Octokit = core.Octokit.plugin(pluginPaginateRest.paginateRest, pluginRestEndpointMethods.legacyRestEndpointMethods).defaults(function buildDefaults(options) {
return _objectSpread2(_objectSpread2(_objectSpread2({}, DEFAULTS), options), {}, {
request: _objectSpread2({
agent: new ProxyAgent()
}, options.request)
});
return { ...DEFAULTS,
...options,
request: {
agent: new ProxyAgent(),
...options.request
}
};
});

@@ -82,0 +31,0 @@

2

dist-src/version.js

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

export const VERSION = "3.18.1";
export const VERSION = "4.0.0";

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

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

@@ -33,7 +33,6 @@ "files": [

"@types/jest": "^27.0.0",
"@types/node": "^14.0.4",
"@types/node": "^16.0.0",
"fetch-mock": "^9.0.0",
"jest": "^27.0.0",
"prettier": "2.4.1",
"semantic-release": "^18.0.0",
"prettier": "2.7.1",
"semantic-release-plugin-update-version-in-files": "^1.0.0",

@@ -43,2 +42,5 @@ "ts-jest": "^27.0.0-next.12",

},
"engines": {
"node": ">= 14"
},
"publishConfig": {

@@ -45,0 +47,0 @@ "access": "public"

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