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

utilium

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utilium - npm Package Compare versions

Comparing version 0.7.8 to 0.7.9

8

dist/objects.d.ts

@@ -11,7 +11,13 @@ import type { UnionToTuple } from './types.js';

*/
export type Entries<T extends object> = UnionToTuple<{
export type EntriesTuple<T extends object> = UnionToTuple<{
[K in keyof T]: [K, T[K]];
}[keyof T]> & [unknown, unknown][];
/**
* Entries of T
*/
export type Entries<T extends object> = {
[K in keyof T]: [K, T[K]];
}[keyof T][];
export declare function isJSON(str: string): boolean;
export declare function resolveConstructors(object: object): string[];
export declare function map<const T extends Partial<Record<any, any>>>(items: T): Map<keyof T, T[keyof T]>;

2

package.json
{
"name": "utilium",
"version": "0.7.8",
"version": "0.7.9",
"description": "Typescript utilies",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -38,4 +38,9 @@ import type { UnionToTuple } from './types.js';

*/
export type Entries<T extends object> = UnionToTuple<{ [K in keyof T]: [K, T[K]] }[keyof T]> & [unknown, unknown][];
export type EntriesTuple<T extends object> = UnionToTuple<{ [K in keyof T]: [K, T[K]] }[keyof T]> & [unknown, unknown][];
/**
* Entries of T
*/
export type Entries<T extends object> = { [K in keyof T]: [K, T[K]] }[keyof T][];
export function isJSON(str: string) {

@@ -42,0 +47,0 @@ try {

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