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

@augment-vir/common

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@augment-vir/common - npm Package Compare versions

Comparing version 21.3.5 to 21.3.6

15

dist/cjs/augments/error.js

@@ -57,3 +57,16 @@ "use strict";

try {
return inputs.callback();
const returnValue = inputs.callback();
if (returnValue instanceof Promise) {
return returnValue.catch((error) => {
if (inputs.catchCallback) {
return inputs.catchCallback(error);
}
else {
return inputs.fallbackValue;
}
});
}
else {
return returnValue;
}
}

@@ -60,0 +73,0 @@ catch (error) {

@@ -49,3 +49,16 @@ import { isTruthy } from './boolean';

try {
return inputs.callback();
const returnValue = inputs.callback();
if (returnValue instanceof Promise) {
return returnValue.catch((error) => {
if (inputs.catchCallback) {
return inputs.catchCallback(error);
}
else {
return inputs.fallbackValue;
}
});
}
else {
return returnValue;
}
}

@@ -52,0 +65,0 @@ catch (error) {

2

package.json
{
"name": "@augment-vir/common",
"version": "21.3.5",
"version": "21.3.6",
"homepage": "https://github.com/electrovir/augment-vir/tree/main/packages/common",

@@ -5,0 +5,0 @@ "bugs": {

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