Socket
Socket
Sign inDemoInstall

atma-utils

Package Overview
Dependencies
Maintainers
1
Versions
55
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.37 to 0.1.38

2

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

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

@@ -29,9 +29,9 @@ declare module "atma-utils" {

export class class_EventEmitter {
on (event: string, cb: Function): this
once (event: string, cb: Function): this
off (event: string, cb?: Function): this
emit (event: string, ...args: any[]): this
trigger (event: string, ...args: any[]): this
pipe (eventName: string): (...args) => void
export class class_EventEmitter<TEvents extends Record<keyof TEvents, (...args: any) => any> = any> {
on<TKey extends keyof TEvents> (event: TKey, cb: TEvents[TKey]): this
once<TKey extends keyof TEvents> (event: TKey, cb: TEvents[TKey]): this
off<TKey extends keyof TEvents> (event: TKey, cb?: Function): this
emit<TKey extends keyof TEvents> (event: TKey, ...args: Parameters<TEvents[TKey]>): this
trigger<TKey extends keyof TEvents> (event: TKey, ...args: Parameters<TEvents[TKey]>): this
pipe<TKey extends keyof TEvents> (eventName: TKey): (...args) => void
}

@@ -42,3 +42,3 @@

type DeferredLike = class_Dfr | PromiseLike<any>;
type DeferredLike = class_Dfr | PromiseLike<any>;
export class class_Dfr {

@@ -67,3 +67,3 @@ then(onOk: (...args: any[]) => void | any | DeferredLike, onFail?: (...args: any[]) => void | any | DeferredLike)

protocol: string
protocol: string
value: string

@@ -73,3 +73,3 @@ path: string

extension: string
cdUp (): this

@@ -85,3 +85,3 @@ combine (path: string): class_Uri

toRelativeString (uri: class_Uri): string
isRelative (): boolean

@@ -122,4 +122,4 @@ getName (): string

(T4 extends Constructor ? InstanceType<T4> : T4) &
(T5 extends Constructor ? InstanceType<T5> : T5))
(T5 extends Constructor ? InstanceType<T5> : T5))
;
}
}

@@ -23,14 +23,14 @@ export function is_Function(mix: any): boolean

export class class_EventEmitter {
on (event: string, cb: Function): this
once (event: string, cb: Function): this
off (event: string, cb?: Function): this
emit (event: string, ...args: any[]): this
trigger (event: string, ...args: any[]): this
pipe (eventName: string): (...args) => void
export class class_EventEmitter<TEvents extends Record<keyof TEvents, (...args: any) => any> = any> {
on<TKey extends keyof TEvents> (event: TKey, cb: TEvents[TKey]): this
once<TKey extends keyof TEvents> (event: TKey, cb: TEvents[TKey]): this
off<TKey extends keyof TEvents> (event: TKey, cb?: Function): this
emit<TKey extends keyof TEvents> (event: TKey, ...args: Parameters<TEvents[TKey]>): this
trigger<TKey extends keyof TEvents> (event: TKey, ...args: Parameters<TEvents[TKey]>): this
pipe<TKey extends keyof TEvents> (eventName: TKey): (...args) => void
}
export function class_create<T1, T2, T3, T4>(
p1: T1 | (new (...args: any[]) => T1),
p2?: T2 | (new (...args: any[]) => T2),
p1: T1 | (new (...args: any[]) => T1),
p2?: T2 | (new (...args: any[]) => T2),
p3?: T3 | (new (...args: any[]) => T3),

@@ -41,3 +41,3 @@ p4?: T4 | (new (...args: any[]) => T4)

type DeferredLike = class_Dfr | PromiseLike<any>;
type DeferredLike = class_Dfr | PromiseLike<any>;
export class class_Dfr {

@@ -66,3 +66,3 @@ then(onOk: (...args: any[]) => void | any | DeferredLike, onFail?: (...args: any[]) => void | any | DeferredLike)

protocol: string
protocol: string
value: string

@@ -72,3 +72,3 @@ path: string

extension: string
cdUp (): this

@@ -84,3 +84,3 @@ combine (path: string): class_Uri

toRelativeString (uri: class_Uri): string
isRelative (): boolean

@@ -121,3 +121,3 @@ getName (): string

(T4 extends Constructor ? InstanceType<T4> : T4) &
(T5 extends Constructor ? InstanceType<T5> : T5))
;
(T5 extends Constructor ? InstanceType<T5> : T5))
;
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