New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@octokit/request

Package Overview
Dependencies
Maintainers
4
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@octokit/request - npm Package Compare versions

Comparing version 9.1.4 to 9.2.0

5

dist-bundle/index.js

@@ -136,3 +136,3 @@ // pkg/dist-src/index.js

const mimetype = safeParse(contentType);
if (mimetype.type === "application/json") {
if (isJSONResponse(mimetype)) {
let text = "";

@@ -151,2 +151,5 @@ try {

}
function isJSONResponse(mimetype) {
return mimetype.type === "application/json" || mimetype.type === "application/scim+json";
}
function toErrorMessage(data) {

@@ -153,0 +156,0 @@ if (typeof data === "string") {

@@ -108,3 +108,3 @@ import { safeParse } from "fast-content-type-parse";

const mimetype = safeParse(contentType);
if (mimetype.type === "application/json") {
if (isJSONResponse(mimetype)) {
let text = "";

@@ -123,2 +123,5 @@ try {

}
function isJSONResponse(mimetype) {
return mimetype.type === "application/json" || mimetype.type === "application/scim+json";
}
function toErrorMessage(data) {

@@ -125,0 +128,0 @@ if (typeof data === "string") {

2

dist-src/version.js

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

const VERSION = "9.1.4";
const VERSION = "9.2.0";
export {
VERSION
};

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

export declare const VERSION = "9.1.4";
export declare const VERSION = "9.2.0";
{
"name": "@octokit/request",
"version": "9.1.4",
"version": "9.2.0",
"type": "module",

@@ -5,0 +5,0 @@ "publishConfig": {

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