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

masto

Package Overview
Dependencies
Maintainers
1
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

masto - npm Package Compare versions

Comparing version 6.7.3 to 6.7.4

11

dist/index.js

@@ -802,3 +802,2 @@ import { CustomError } from 'ts-custom-error';

const DEFAULT_TIMEOUT_MS = 1000 * 300;
class HttpConfigImpl {

@@ -830,6 +829,2 @@ constructor(props, serializer) {

}
createTimeout() {
var _a;
return AbortSignal.timeout((_a = this.props.timeout) !== null && _a !== void 0 ? _a : DEFAULT_TIMEOUT_MS);
}
mergeHeadersWithDefaults(override = {}) {

@@ -849,4 +844,6 @@ var _a, _b;

var _a;
const timeout = this.createTimeout();
const signals = [timeout];
const signals = [];
if (this.props.timeout != undefined) {
signals.push(AbortSignal.timeout(this.props.timeout));
}
if ((_a = this.props.requestInit) === null || _a === void 0 ? void 0 : _a.signal) {

@@ -853,0 +850,0 @@ signals.push(this.props.requestInit.signal);

@@ -5,3 +5,3 @@ {

"private": false,
"version": "6.7.3",
"version": "6.7.4",
"author": "Ryo Igarashi <n33t5hin@gmail.com>",

@@ -8,0 +8,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

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