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.2.44 to 0.2.45

2

lib/utils.d.ts

@@ -175,3 +175,3 @@ // Generated by dts-bundle v0.7.3

resolve(value?: T, ...args: any[]): this;
reject(error: Error | any): this;
reject(error: Error | any, ...args: any[]): this;
then<TResult1 = T, TResult2 = never>(filterSuccess?: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null, filterError?: ((reason: Error | any) => TResult2 | PromiseLike<TResult2>) | undefined | null): class_Dfr<TResult1 | TResult2>;

@@ -178,0 +178,0 @@ done<TResult1 = T, TResult2 = never>(callback: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null): class_Dfr<TResult1 | TResult2>;

@@ -821,2 +821,6 @@ var _Array_slice,

class_Dfr.prototype.reject = function (error) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
var fail = this._fail, always = this._always;

@@ -823,0 +827,0 @@ this._rejected = arguments;

@@ -763,2 +763,6 @@ (function(factory){

class_Dfr.prototype.reject = function (error) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
var fail = this._fail, always = this._always;

@@ -765,0 +769,0 @@ this._rejected = arguments;

{
"name": "atma-utils",
"description": "Helpers",
"version": "0.2.44",
"version": "0.2.45",
"author": "Alexander Kit <alex.kit@atmajs.com>",

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

@@ -13,3 +13,3 @@ export declare class class_Dfr<T = any> implements PromiseLike<T> {

resolve(value?: T, ...args: any[]): this;
reject(error: Error | any): this;
reject(error: Error | any, ...args: any[]): this;
then<TResult1 = T, TResult2 = never>(filterSuccess?: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null, filterError?: ((reason: Error | any) => TResult2 | PromiseLike<TResult2>) | undefined | null): class_Dfr<TResult1 | TResult2>;

@@ -16,0 +16,0 @@ done<TResult1 = T, TResult2 = never>(callback: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null): class_Dfr<TResult1 | TResult2>;

@@ -43,2 +43,6 @@ "use strict";

class_Dfr.prototype.reject = function (error) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
var fail = this._fail, always = this._always;

@@ -45,0 +49,0 @@ this._rejected = arguments;

@@ -175,3 +175,3 @@ // Generated by dts-bundle v0.7.3

resolve(value?: T, ...args: any[]): this;
reject(error: Error | any): this;
reject(error: Error | any, ...args: any[]): this;
then<TResult1 = T, TResult2 = never>(filterSuccess?: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null, filterError?: ((reason: Error | any) => TResult2 | PromiseLike<TResult2>) | undefined | null): class_Dfr<TResult1 | TResult2>;

@@ -178,0 +178,0 @@ done<TResult1 = T, TResult2 = never>(callback: ((value: T, ...args: any[]) => TResult1 | PromiseLike<TResult1>) | undefined | null): class_Dfr<TResult1 | TResult2>;

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