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

atma-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

atma-utils - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

2

package.json
{
"name": "atma-utils",
"description": "Helpers",
"version": "0.1.10",
"version": "0.1.11",
"author": "Alexander Kit <alex.kit@atmajs.com>",

@@ -6,0 +6,0 @@ "repository": {

@@ -19,7 +19,10 @@ declare namespace ClassBase {

export class class_Dfr<T> extends Promise<T> {
done (done: (result: T) => void | class_Dfr<any>): this
type DfrRunner = (resolve: Function, reject?: Function) => void | class_Dfr
export class class_Dfr {
constructor (runner?: DfrRunner | any)
then(onOk: (...args: any[]) => void | class_Dfr | PromiseLike<any>, onFail?: (...args: any[]) => void | class_Dfr | PromiseLike<any>)
done (done: (...args: any[]) => void | class_Dfr): this
fail (fail: (error: any | Error) => void): this
reject(error: any | Error)
resolve(result?: T): this
reject(error: any | Error) : this
resolve(...args: any[]): this
always (always: Function): this

@@ -31,6 +34,8 @@

isBusy (): boolean
resolveDelegate (): (result: T | any) => void | any
resolveDelegate (): (result: any) => void | any
rejectDelegate (): (result: Error | any) => void | any
static run<T> (fn: (resolve: Function, reject?: Function) => void, ctx?: any): class_Dfr<T>
static run (fn: DfrRunner, ctx?: any): class_Dfr
static resove (...args: any[]): class_Dfr
static reject (...args: any[]): class_Dfr
}

@@ -37,0 +42,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