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

@octokit/endpoint

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/endpoint - npm Package Compare versions

Comparing version 5.1.2 to 5.1.3

46

dist-node/index.js

@@ -12,40 +12,2 @@ 'use strict';

function _slicedToArray(arr, i) {
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
}
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
function _iterableToArrayLimit(arr, i) {
var _arr = [];
var _n = true;
var _d = false;
var _e = undefined;
try {
for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
_arr.push(_s.value);
if (i && _arr.length === i) break;
}
} catch (err) {
_d = true;
_e = err;
} finally {
try {
if (!_n && _i["return"] != null) _i["return"]();
} finally {
if (_d) throw _e;
}
}
return _arr;
}
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance");
}
function lowercaseKeys(object) {

@@ -64,7 +26,3 @@ if (!object) {

if (typeof route === "string") {
let _route$split = route.split(" "),
_route$split2 = _slicedToArray(_route$split, 2),
method = _route$split2[0],
url = _route$split2[1];
let [method, url] = route.split(" ");
options = Object.assign(url ? {

@@ -223,3 +181,3 @@ method,

const VERSION = "5.1.2";
const VERSION = "5.1.3";

@@ -226,0 +184,0 @@ const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`;

2

dist-src/version.js

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

export const VERSION = "5.1.2";
export const VERSION = "5.1.3";

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

export declare const VERSION = "5.1.2";
export declare const VERSION = "5.1.3";

@@ -564,3 +564,3 @@ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};

const VERSION = "5.1.2";
const VERSION = "5.1.3";

@@ -567,0 +567,0 @@ const userAgent = "octokit-endpoint.js/".concat(VERSION, " ").concat(browser());

@@ -215,3 +215,3 @@ import deepmerge from 'deepmerge';

const VERSION = "5.1.2";
const VERSION = "5.1.3";

@@ -218,0 +218,0 @@ const userAgent = "octokit-endpoint.js/".concat(VERSION, " ").concat(getUserAgent());

{
"name": "@octokit/endpoint",
"description": "Turns REST API endpoints into generic request options",
"version": "5.1.2",
"version": "5.1.3",
"license": "MIT",

@@ -38,8 +38,8 @@ "files": [

"devDependencies": {
"@octokit/routes": "20.2.3",
"@octokit/routes": "20.3.0",
"@pika/pack": "^0.3.7",
"@pika/plugin-build-node": "^0.3.16",
"@pika/plugin-build-web": "^0.3.16",
"@pika/plugin-bundle-web": "file:./patches/@pika/plugin-bundle-web",
"@pika/plugin-ts-standard-pkg": "^0.3.16",
"@pika/plugin-build-node": "^0.4.0",
"@pika/plugin-build-web": "^0.4.0",
"@pika/plugin-bundle-web": "^0.4.0",
"@pika/plugin-ts-standard-pkg": "^0.4.0",
"@types/jest": "^24.0.11",

@@ -46,0 +46,0 @@ "@types/url-template": "^2.0.28",

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