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.2.1 to 0.3.0

dist/string.d.ts

2

dist/index.d.ts

@@ -5,2 +5,4 @@ export * from './misc.js';

export * from './random.js';
export * from './string.js';
export * from './struct.js';
export * from './types.js';

@@ -5,2 +5,4 @@ export * from './misc.js';

export * from './random.js';
export * from './string.js';
export * from './struct.js';
export * from './types.js';

2

dist/objects.d.ts

@@ -1,2 +0,2 @@

/// <reference types="node" />
/// <reference types="node" resolution-mode="require"/>
import type * as FS from 'fs';

@@ -3,0 +3,0 @@ export declare function filterObject<O extends object, R extends object>(object: O, predicate: (key: keyof O, value: O[keyof O]) => boolean): R;

@@ -173,2 +173,7 @@ /**

export type OptionalTuple<T extends unknown[]> = T extends [infer Head, ...infer Tail] ? [Head?, ...OptionalTuple<Tail>] : T;
/**
* Keys of a Map
*/
export type MapKeys<T> = T extends Map<infer K, any> ? K : never;
export type ClassLike<Instance = unknown> = abstract new (...args: unknown[]) => Instance;
export {};
{
"name": "utilium",
"version": "0.2.1",
"version": "0.3.0",
"description": "Typescript utilies",

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

@@ -5,2 +5,4 @@ export * from './misc.js';

export * from './random.js';
export * from './string.js';
export * from './struct.js';
export * from './types.js';

@@ -198,1 +198,8 @@ /**

export type OptionalTuple<T extends unknown[]> = T extends [infer Head, ...infer Tail] ? [Head?, ...OptionalTuple<Tail>] : T;
/**
* Keys of a Map
*/
export type MapKeys<T> = T extends Map<infer K, any> ? K : never;
export type ClassLike<Instance = unknown> = abstract new (...args: unknown[]) => Instance;
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