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

@aszu/lazy-network

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aszu/lazy-network - npm Package Compare versions

Comparing version 0.4.2-7 to 0.4.2-8

2

dist/utils/StatusResponseInterceptor.js

@@ -83,3 +83,3 @@ "use strict";

try {
var status = error.response.status;
var status = error.response ? error.response.status : 0;
var functionalHandlersToExecute = (this.handlers[FUNCTIONAL_KEY] || EMPTY).filter(function (handler) {

@@ -86,0 +86,0 @@ return handler.check(status);

{
"name": "@aszu/lazy-network",
"version": "0.4.2-7",
"version": "0.4.2-8",
"description": "The network layer wrapper, by lazy people for lazy people.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,3 +28,3 @@ import ResponseListener from './ResponseListener'

try {
const status = error.response.status
const status = error.response ? error.response.status : 0

@@ -31,0 +31,0 @@ const functionalHandlersToExecute = (this.handlers[FUNCTIONAL_KEY] || EMPTY).filter(

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