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

@meteor-it/utils

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meteor-it/utils - npm Package Compare versions

Comparing version 1.3.4 to 1.3.5

44

index.d.ts
/// <reference types="node" />
import { Readable } from 'stream';
export declare function firstUppercase(str: string): string;
/**
*
* @deprecated Extremally slow on Proxy/getters
* @param x
* @param y
*/
export declare function objectEquals(x: any, y: any): boolean;
/**
* Flattens array
* @param array
* @param result
*/
export declare function flatten(array: any[], result?: any[]): any[];
/**
* @deprecated
* @param array
*/
export declare function removeDuplicates<T>(array: T[]): T[];
/**
* @deprecated
* @param array1
* @param array2
*/
export declare function mix(array1: any[] | Object, array2: any[] | Object): any;
/**
* @deprecated
* @param values
*/
export declare function createPrivateEnum(...values: string[]): {
[key: string]: Symbol;
};
/**
* @deprecated
* @param string
* @param length
* @param insertPre
* @param symbol
*/
export declare function fixLength(string: string, length: number, insertPre?: boolean, symbol?: string): string;
declare global {
declare global {
interface ObjectConstructor {

@@ -17,3 +48,13 @@ values(object: any): any;

}
/**
* @deprecated Object.entrys
* @param object
* @param cb
*/
export declare function objectMap(object: any, cb: (a: any, b: any, c: any) => any): any;
/**
* @deprecated Object.entrys
* @param keys
* @param values
*/
export declare function arrayKVObject(keys: string[], values: any[]): any;

@@ -30,2 +71,3 @@ export declare function sleep(time: number): Promise<void>;

* Convert callback function to async
* @deprecated Existst in node utils
* @param cbFunction Function to convert

@@ -32,0 +74,0 @@ */

@@ -0,0 +0,0 @@ "use strict";

4

package.json
{
"name": "@meteor-it/utils",
"version": "1.3.4",
"version": "1.3.5",
"description": "Many useful utils",

@@ -15,3 +15,3 @@ "main": "index.js",

},
"gitHead": "4c42fd3e8ab0dbba17ca3090f20bf46a1f2dd9e8"
"gitHead": "7d50e6965c1f3b4b2e681647953a0a53cf15e72b"
}
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