@marcopeg/utils
Advanced tools
Comparing version 1.8.7 to 1.8.8
@@ -53,3 +53,3 @@ 'use strict'; | ||
_context.t0 = _context['catch'](0); | ||
throw new Error(_context.t0); | ||
throw _context.t0; | ||
@@ -128,7 +128,5 @@ case 10: | ||
_context2.t1 = _context2['catch'](0); | ||
console.log('** getJSON error', _context2.t1.message); | ||
throw _context2.t1; | ||
case 29: | ||
case 28: | ||
case 'end': | ||
@@ -219,3 +217,3 @@ return _context2.stop(); | ||
_context3.t1 = _context3['catch'](0); | ||
throw new Error(_context3.t1); | ||
throw _context3.t1; | ||
@@ -309,3 +307,3 @@ case 28: | ||
_context4.t1 = _context4['catch'](0); | ||
throw new Error(_context4.t1); | ||
throw _context4.t1; | ||
@@ -312,0 +310,0 @@ case 28: |
{ | ||
"name": "@marcopeg/utils", | ||
"version": "1.8.7", | ||
"version": "1.8.8", | ||
"description": "Javascript utils for server and client projects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,3 +23,3 @@ /* global fetch */ | ||
} catch (err) { | ||
throw new Error(err) | ||
throw err | ||
} | ||
@@ -55,3 +55,2 @@ } | ||
} catch (err) { | ||
console.log('** getJSON error', err.message) | ||
throw err | ||
@@ -99,3 +98,3 @@ } | ||
} catch (err) { | ||
throw new Error(err) | ||
throw err | ||
} | ||
@@ -142,3 +141,3 @@ } | ||
} catch (err) { | ||
throw new Error(err) | ||
throw err | ||
} | ||
@@ -145,0 +144,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73233
591