Socket
Socket
Sign inDemoInstall

@octokit/request

Package Overview
Dependencies
5
Maintainers
4
Versions
102
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.0.0-beta.1 to 9.0.0

10

dist-bundle/index.js

@@ -52,6 +52,8 @@ // pkg/dist-src/index.js

// Header values must be `string`
headers: Object.entries(requestOptions.headers).map(([name, value]) => [
name,
String(value)
]),
headers: Object.fromEntries(
Object.entries(requestOptions.headers).map(([name, value]) => [
name,
String(value)
])
),
signal: requestOptions.request?.signal,

@@ -58,0 +60,0 @@ // duplex must be set if request.body is ReadableStream or Async Iterables.

@@ -26,6 +26,8 @@ import { isPlainObject } from "./is-plain-object.js";

// Header values must be `string`
headers: Object.entries(requestOptions.headers).map(([name, value]) => [
name,
String(value)
]),
headers: Object.fromEntries(
Object.entries(requestOptions.headers).map(([name, value]) => [
name,
String(value)
])
),
signal: requestOptions.request?.signal,

@@ -32,0 +34,0 @@ // duplex must be set if request.body is ReadableStream or Async Iterables.

2

dist-src/version.js

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

const VERSION = "9.0.0-beta.1";
const VERSION = "9.0.0";
export {
VERSION
};

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

export declare const VERSION = "9.0.0-beta.1";
export declare const VERSION = "9.0.0";
{
"name": "@octokit/request",
"version": "9.0.0-beta.1",
"version": "9.0.0",
"type": "module",

@@ -32,2 +32,4 @@ "publishConfig": {

"@types/once": "^1.4.0",
"@types/sinonjs__fake-timers": "^8.1.5",
"@sinonjs/fake-timers": "^11.2.2",
"esbuild": "^0.20.0",

@@ -37,6 +39,4 @@ "fetch-mock": "npm:@gr2m/fetch-mock@^9.11.0-pull-request-644.1",

"jest": "^29.0.0",
"lolex": "^6.0.0",
"prettier": "3.2.5",
"semantic-release-plugin-update-version-in-files": "^1.0.0",
"string-to-arraybuffer": "^1.0.2",
"ts-jest": "^29.0.0",

@@ -43,0 +43,0 @@ "typescript": "^5.0.0"

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc