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

@neovici/cosmoz-utils

Package Overview
Dependencies
Maintainers
0
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neovici/cosmoz-utils - npm Package Compare versions

Comparing version 6.11.0 to 6.12.0

1

dist/promise.d.ts

@@ -12,2 +12,3 @@ type Pfn<T> = (arg?: T) => void;

export declare const log$: <T extends unknown[], P>(fn: (...args: T) => PromiseLike<P>) => (...args: T) => PromiseLike<P>;
export declare const retry$: <T extends unknown[], P>(fn: (...args: T) => P | PromiseLike<P>, n: number) => (...args: T) => Promise<P>;
export {};

@@ -73,1 +73,15 @@ export class ManagedPromise extends Promise {

});
export const retry$ = (fn, n) => async (...args) => {
let r = 0;
let error;
while (r < n) {
try {
return await fn(...args);
}
catch (e) {
error = e;
r++;
}
}
throw error;
};

2

package.json
{
"name": "@neovici/cosmoz-utils",
"version": "6.11.0",
"version": "6.12.0",
"description": "Date, money and template management functions commonly needed in Cosmoz views.",

@@ -5,0 +5,0 @@ "keywords": [

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