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

@marcopeg/utils

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@marcopeg/utils - npm Package Compare versions

Comparing version 1.8.8 to 1.8.9

18

lib/request.js

@@ -91,3 +91,3 @@ 'use strict';

if (!(res.status !== 200)) {
_context2.next = 20;
_context2.next = 22;
break;

@@ -118,15 +118,19 @@ }

case 20:
_context2.next = 22;
case 22:
_context2.next = 24;
return res.json();
case 22:
case 24:
return _context2.abrupt('return', _context2.sent);
case 25:
_context2.prev = 25;
_context2.next = 30;
break;
case 27:
_context2.prev = 27;
_context2.t1 = _context2['catch'](0);
throw _context2.t1;
case 28:
case 30:
case 'end':

@@ -136,3 +140,3 @@ return _context2.stop();

}
}, _callee2, undefined, [[0, 25], [8, 14]]);
}, _callee2, undefined, [[0, 27], [8, 14]]);
}));

@@ -139,0 +143,0 @@

{
"name": "@marcopeg/utils",
"version": "1.8.8",
"version": "1.8.9",
"description": "Javascript utils for server and client projects",

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

@@ -50,5 +50,6 @@ /* global fetch */

throw error
} else {
return await res.json()
}
return await res.json()
} catch (err) {

@@ -55,0 +56,0 @@ throw err

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