New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.1.6 to 0.1.7

2

dist/objects.d.ts

@@ -6,3 +6,3 @@ /// <reference types="node" resolution-mode="require"/>

export declare function omit<T extends object, K extends keyof T>(object: T, ...keys: readonly K[] | readonly (readonly K[])[]): Omit<T, K>;
export declare function assignWithDefaults<To extends object, From extends Partial<To>>(to: To, from: From, defaults?: Partial<To>): void;
export declare function assignWithDefaults<To extends object, From extends object>(to: To, from: From, defaults?: Partial<To>): void;
export declare function isJSON(str: string): boolean;

@@ -9,0 +9,0 @@ export declare abstract class FileMap<V> implements Map<string, V> {

{
"name": "utilium",
"version": "0.1.6",
"version": "0.1.7",
"description": "Typescript utilies",

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

@@ -16,3 +16,3 @@ import type * as FS from 'fs';

export function assignWithDefaults<To extends object, From extends Partial<To>>(to: To, from: From, defaults: Partial<To> = to): void {
export function assignWithDefaults<To extends object, From extends object>(to: To, from: From, defaults: Partial<To> = to): void {
const keys = new Set([...Object.keys(to), ...Object.keys(from)]);

@@ -19,0 +19,0 @@ for (const key of keys) {

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