@octokit/request
Advanced tools
Comparing version 6.2.3 to 6.2.4
@@ -13,3 +13,3 @@ 'use strict'; | ||
const VERSION = "6.2.3"; | ||
const VERSION = "6.2.4"; | ||
@@ -33,3 +33,8 @@ function getBufferResponse(response) { | ||
headers: requestOptions.headers, | ||
redirect: requestOptions.redirect | ||
redirect: requestOptions.redirect, | ||
// duplex must be set if request.body is ReadableStream or Async Iterables. | ||
// See https://fetch.spec.whatwg.org/#dom-requestinit-duplex. | ||
...(requestOptions.body && { | ||
duplex: "half" | ||
}) | ||
}, | ||
@@ -36,0 +41,0 @@ // `requestOptions.request.agent` type is incompatible |
{ | ||
"name": "@octokit/request", | ||
"description": "Send parameterized requests to GitHub's APIs with sensible defaults in browsers and Node", | ||
"version": "6.2.3", | ||
"version": "6.2.4", | ||
"license": "MIT", | ||
@@ -46,7 +46,7 @@ "files": [ | ||
"lolex": "^6.0.0", | ||
"prettier": "2.8.3", | ||
"prettier": "2.8.8", | ||
"semantic-release-plugin-update-version-in-files": "^1.0.0", | ||
"string-to-arraybuffer": "^1.0.2", | ||
"ts-jest": "^29.0.0", | ||
"typescript": "^4.0.2" | ||
"typescript": "^5.0.0" | ||
}, | ||
@@ -53,0 +53,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
24188
4
152