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

@octokit-next/core

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit-next/core - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

14

index.js

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

import { request as coreRequest } from "./request/index.js";
import { request as coreRequest } from "@octokit-next/request";

@@ -38,5 +38,13 @@ export class Octokit {

request(route, parameters) {
return coreRequest(this.options, route, parameters);
request(route, parameters = {}) {
const requestOptions = {
...this.options.request,
...parameters.request,
};
return coreRequest(route, {
...{ baseUrl: this.options.baseUrl },
...parameters,
request: requestOptions,
});
}
}

@@ -7,9 +7,6 @@ {

"type": "module",
"version": "1.3.1",
"version": "1.4.0",
"description": "Core SDK module for upcoming Octokit",
"exports": "./index.js",
"types": "./index.d.ts",
"scripts": {
"test": "tsd"
},
"repository": {

@@ -23,4 +20,5 @@ "type": "git",

"dependencies": {
"@octokit-next/types": "1.3.1"
"@octokit-next/types": "1.4.0",
"@octokit-next/request": "1.4.0"
}
}
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