New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.3 to 1.8.4

12

lib/request.js

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

_context.t0 = _context['catch'](0);
throw _context.t0;
throw new Error(_context.t0);

@@ -128,9 +128,5 @@ case 10:

_context2.t1 = _context2['catch'](0);
console.log('*** getJSON Error:', _context2.t1.message);
// throw err
// return err
throw new Error(_context2.t1);
case 29:
case 28:
case 'end':

@@ -221,3 +217,3 @@ return _context2.stop();

_context3.t1 = _context3['catch'](0);
throw _context3.t1;
throw new Error(_context3.t1);

@@ -311,3 +307,3 @@ case 28:

_context4.t1 = _context4['catch'](0);
throw _context4.t1;
throw new Error(_context4.t1);

@@ -314,0 +310,0 @@ case 28:

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

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

@@ -23,3 +23,3 @@ /* global fetch */

} catch (err) {
throw err
throw new Error(err)
}

@@ -55,5 +55,2 @@ }

} catch (err) {
console.log('*** getJSON Error:', err.message)
// throw err
// return err
throw new Error(err)

@@ -101,3 +98,3 @@ }

} catch (err) {
throw err
throw new Error(err)
}

@@ -144,3 +141,3 @@ }

} catch (err) {
throw err
throw new Error(err)
}

@@ -147,0 +144,0 @@ }

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