Socket
Socket
Sign inDemoInstall

@octokit/plugin-rest-endpoint-methods

Package Overview
Dependencies
Maintainers
3
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/plugin-rest-endpoint-methods - npm Package Compare versions

Comparing version 3.17.0 to 4.0.0

6

dist-src/endpoints-to-methods.js

@@ -23,2 +23,3 @@ export function endpointsToMethods(octokit, endpointsMap) {

const requestWithDefaults = octokit.request.defaults(defaults);
/* istanbul ignore next */
function withDecorations(...args) {

@@ -35,4 +36,2 @@ // @ts-ignore https://github.com/microsoft/TypeScript/issues/25488

}
// NOTE: there are currently no deprecations. But we keep the code
// below for future reference
if (decorations.renamed) {

@@ -49,5 +48,2 @@ const [newScope, newMethodName] = decorations.renamed;

for (const [name, alias] of Object.entries(decorations.renamedParameters)) {
// There is currently no deprecated parameter that is optional,
// so we never hit the else branch below at this point.
/* istanbul ignore else */
if (name in options) {

@@ -54,0 +50,0 @@ octokit.log.warn(`"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead`);

2

dist-src/version.js

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

export const VERSION = "3.17.0";
export const VERSION = "4.0.0";

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

export declare const VERSION = "3.17.0";
export declare const VERSION = "4.0.0";
{
"name": "@octokit/plugin-rest-endpoint-methods",
"description": "Octokit plugin adding one method for all of api.github.com REST API endpoints",
"version": "3.17.0",
"version": "4.0.0",
"license": "MIT",

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

"dependencies": {
"@octokit/types": "^4.1.6",
"@octokit/types": "^5.0.0",
"deprecation": "^2.3.1"

@@ -33,3 +33,3 @@ },

"@types/fetch-mock": "^7.3.1",
"@types/jest": "^25.1.0",
"@types/jest": "^26.0.0",
"@types/node": "^14.0.4",

@@ -36,0 +36,0 @@ "fetch-mock": "^9.0.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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