Socket
Socket
Sign inDemoInstall

@celo/base

Package Overview
Dependencies
Maintainers
16
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@celo/base - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

lib/result.d.ts

2

lib/async.js

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

error_3 = _a.sent();
if (dontRetry.includes(error_3.message)) {
if (dontRetry.some(function (msg) { return error_3.message.includes(msg); })) {
throw error_3;

@@ -145,0 +145,0 @@ }

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

mockFunction.mockImplementation(function () {
throw new Error('test');
throw new Error('test error 400');
});

@@ -96,3 +96,3 @@ didThrowError = false;

_b.trys.push([1, 3, , 4]);
return [4 /*yield*/, async_1.selectiveRetryAsyncWithBackOff(mockFunction, 3, ['test'], [])];
return [4 /*yield*/, async_1.selectiveRetryAsyncWithBackOff(mockFunction, 3, ['test error'], [])];
case 2:

@@ -99,0 +99,0 @@ _b.sent();

{
"name": "@celo/base",
"version": "0.0.1",
"version": "0.0.2",
"description": "Celo base common utils, no dependencies",

@@ -20,3 +20,4 @@ "author": "Celo",

],
"dependencies": {},
"dependencies": {
},
"devDependencies": {

@@ -23,0 +24,0 @@ "@celo/flake-tracker": "0.0.1-dev",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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