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.2.45 to 0.2.47

18

lib/utils.d.ts

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

export function is_Function(x: any): x is Function;
export function is_Object(x: any): x is any;
export function is_Object<T = {
[key: string]: any;
}>(x: any): x is T;
export function is_Array<T = any>(arr: any): arr is T[];

@@ -56,3 +58,5 @@ export const is_ArrayLike: typeof is_Array;

export function is_notEmptyString(x: any): boolean;
export function is_rawObject(x: any): x is object;
export function is_rawObject(x: any): x is {
[key: string]: any;
};
export function is_Date(x: any): x is Date;

@@ -68,6 +72,6 @@ export function is_PromiseLike<T = any>(x: any): x is PromiseLike<T>;

export { obj_copyProperty };
export function obj_getProperty(obj_: any, path: string): any;
export function obj_setProperty(obj_: any, path: any, val: any): void;
export function obj_hasProperty(obj: any, path: any): boolean;
export function obj_defineProperty(obj: any, path: any, dscr: any): void;
export function obj_getProperty<T = any>(obj_: any, path: string): T;
export function obj_setProperty(obj_: any, path: string, val: any): void;
export function obj_hasProperty(obj: any, path: string): boolean;
export function obj_defineProperty(obj: any, path: string, dscr: PropertyDescriptor & ThisType<any>): void;
export function obj_extend(a: any, b: any): any;

@@ -131,3 +135,3 @@ export function obj_extendDefaults(a: any, b: any): any;

export function str_format(str_: any, a?: any, b?: any, c?: any, d?: any): any;
export function str_dedent(str: any): any;
export function str_dedent(str: string): string;
}

@@ -134,0 +138,0 @@

@@ -579,5 +579,6 @@ var _Array_slice,

str_format = function (str_, a, b, c, d) {
var str = str_, imax = arguments.length, i = 0, x;
var imax = arguments.length;
var i = 0;
while (++i < imax) {
x = arguments[i];
var x = arguments[i];
if (is_Object(x) && x.toJSON) {

@@ -584,0 +585,0 @@ x = x.toJSON();

@@ -534,5 +534,6 @@ (function(factory){

str_format = function (str_, a, b, c, d) {
var str = str_, imax = arguments.length, i = 0, x;
var imax = arguments.length;
var i = 0;
while (++i < imax) {
x = arguments[i];
var x = arguments[i];
if (is_Object(x) && x.toJSON) {

@@ -539,0 +540,0 @@ x = x.toJSON();

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

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

export declare function is_Function(x: any): x is Function;
export declare function is_Object(x: any): x is any;
export declare function is_Object<T = {
[key: string]: any;
}>(x: any): x is T;
export declare function is_Array<T = any>(arr: any): arr is T[];

@@ -7,3 +9,5 @@ export declare const is_ArrayLike: typeof is_Array;

export declare function is_notEmptyString(x: any): boolean;
export declare function is_rawObject(x: any): x is object;
export declare function is_rawObject(x: any): x is {
[key: string]: any;
};
export declare function is_Date(x: any): x is Date;

@@ -10,0 +14,0 @@ export declare function is_PromiseLike<T = any>(x: any): x is PromiseLike<T>;

declare let obj_copyProperty: (target: any, source: any, key: any) => any;
export { obj_copyProperty };
export declare function obj_getProperty(obj_: any, path: string): any;
export declare function obj_setProperty(obj_: any, path: any, val: any): void;
export declare function obj_hasProperty(obj: any, path: any): boolean;
export declare function obj_defineProperty(obj: any, path: any, dscr: any): void;
export declare function obj_getProperty<T = any>(obj_: any, path: string): T;
export declare function obj_setProperty(obj_: any, path: string, val: any): void;
export declare function obj_hasProperty(obj: any, path: string): boolean;
export declare function obj_defineProperty(obj: any, path: string, dscr: PropertyDescriptor & ThisType<any>): void;
export declare function obj_extend(a: any, b: any): any;

@@ -8,0 +8,0 @@ export declare function obj_extendDefaults(a: any, b: any): any;

export declare function str_format(str_: any, a?: any, b?: any, c?: any, d?: any): any;
export declare function str_dedent(str: any): any;
export declare function str_dedent(str: string): string;

@@ -6,5 +6,6 @@ "use strict";

function str_format(str_, a, b, c, d) {
var str = str_, imax = arguments.length, i = 0, x;
var imax = arguments.length;
var i = 0;
while (++i < imax) {
x = arguments[i];
var x = arguments[i];
if (is_1.is_Object(x) && x.toJSON) {

@@ -11,0 +12,0 @@ x = x.toJSON();

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

export function is_Function(x: any): x is Function;
export function is_Object(x: any): x is any;
export function is_Object<T = {
[key: string]: any;
}>(x: any): x is T;
export function is_Array<T = any>(arr: any): arr is T[];

@@ -56,3 +58,5 @@ export const is_ArrayLike: typeof is_Array;

export function is_notEmptyString(x: any): boolean;
export function is_rawObject(x: any): x is object;
export function is_rawObject(x: any): x is {
[key: string]: any;
};
export function is_Date(x: any): x is Date;

@@ -68,6 +72,6 @@ export function is_PromiseLike<T = any>(x: any): x is PromiseLike<T>;

export { obj_copyProperty };
export function obj_getProperty(obj_: any, path: string): any;
export function obj_setProperty(obj_: any, path: any, val: any): void;
export function obj_hasProperty(obj: any, path: any): boolean;
export function obj_defineProperty(obj: any, path: any, dscr: any): void;
export function obj_getProperty<T = any>(obj_: any, path: string): T;
export function obj_setProperty(obj_: any, path: string, val: any): void;
export function obj_hasProperty(obj: any, path: string): boolean;
export function obj_defineProperty(obj: any, path: string, dscr: PropertyDescriptor & ThisType<any>): void;
export function obj_extend(a: any, b: any): any;

@@ -131,3 +135,3 @@ export function obj_extendDefaults(a: any, b: any): any;

export function str_format(str_: any, a?: any, b?: any, c?: any, d?: any): any;
export function str_dedent(str: any): any;
export function str_dedent(str: string): string;
}

@@ -134,0 +138,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