Socket
Socket
Sign inDemoInstall

@zag-js/utils

Package Overview
Dependencies
Maintainers
1
Versions
778
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zag-js/utils - npm Package Compare versions

Comparing version 0.0.0-dev-20221105065843 to 0.0.0-dev-20221105113307

2

dist/index.d.ts

@@ -36,3 +36,3 @@ declare function toArray<T>(v: T | T[] | undefined | null): T[];

declare function compact<T extends Record<string, unknown>>(obj: T): T;
declare function compact<T extends Record<string, unknown> | undefined>(obj: T): T;

@@ -39,0 +39,0 @@ declare function warn(m: string): void;

@@ -148,2 +148,4 @@ "use strict";

function compact(obj) {
if (obj === void 0)
return obj;
return Object.fromEntries(

@@ -150,0 +152,0 @@ Object.entries(obj).filter(([, value]) => value !== void 0).map(([key, value]) => [key, isObject(value) ? compact(value) : value])

{
"name": "@zag-js/utils",
"version": "0.0.0-dev-20221105065843",
"version": "0.0.0-dev-20221105113307",
"description": "",

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

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