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

helper-fns

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

helper-fns - npm Package Compare versions

Comparing version 2.6.20 to 2.6.21

15

dist/index.d.ts

@@ -96,3 +96,6 @@ import * as timers_promises from 'timers/promises';

declare const pluck: <T, K extends keyof T>(array: T[], key: K) => T[K][];
declare const orderBy: <T extends object, K extends keyof T>(array: T[], properties: K[], orders: "asc" | "desc") => void;
declare const orderBy: <T extends Record<string, any>>(array: T[], options: {
property: string;
order?: "asc" | "desc";
}[]) => T[];
declare const removeNull: (object: Record<string, any>) => Record<string, any>;

@@ -128,6 +131,6 @@ declare const removeUndefined: <T extends Record<string, any>>(object: T) => T;

declare function isFunction<T extends FunctionType>(value: any): value is T;
declare function isNonPrimitive(x?: unknown): x is object;
declare const isNumber: (value: any) => value is number;
declare function isNonPrimitive(value?: unknown): value is object;
declare const isNumber: (value: unknown) => value is number;
declare const isNull: (value: unknown) => value is null;
declare function isObject(value: any): value is object;
declare function isObject(value: unknown): value is object;
declare function isPrimitive(value?: unknown): value is Primitive;

@@ -137,3 +140,3 @@ declare function isString(value: unknown): value is string;

declare const isUndefined: (value: unknown) => value is undefined;
declare function isRegExp(value: any): value is RegExp;
declare function isRegExp(value: unknown): value is RegExp;
declare const is: {

@@ -144,3 +147,3 @@ isArray: typeof isArray;

isNull: (value: unknown) => value is null;
isNumber: (value: any) => value is number;
isNumber: (value: unknown) => value is number;
isUndefined: (value: unknown) => value is undefined;

@@ -147,0 +150,0 @@ isObject: typeof isObject;

2

package.json
{
"name": "helper-fns",
"type": "module",
"version": "2.6.20",
"version": "2.6.21",
"packageManager": "pnpm@8.7.1",

@@ -6,0 +6,0 @@ "description": "Some common utilities functions for everyday backend usage with zero dependencies",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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