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.3.2 to 0.3.3

dist/chunk-27EXK2DH.mjs

3

dist/array.js

@@ -88,7 +88,6 @@ "use strict";

return v.reduce((rows, value, index) => {
var _a;
if (index % size === 0)
rows.push([value]);
else
(_a = last(rows)) == null ? void 0 : _a.push(value);
last(rows)?.push(value);
return rows;

@@ -95,0 +94,0 @@ }, res);

@@ -32,3 +32,3 @@ "use strict";

const res = typeof v === "function" ? v(...a) : v;
return res != null ? res : void 0;
return res ?? void 0;
};

@@ -40,3 +40,3 @@ var cast = (v) => v;

fns.forEach(function(fn) {
fn == null ? void 0 : fn(...a);
fn?.(...a);
});

@@ -43,0 +43,0 @@ };

@@ -107,7 +107,6 @@ "use strict";

return v.reduce((rows, value, index) => {
var _a;
if (index % size === 0)
rows.push([value]);
else
(_a = last(rows)) == null ? void 0 : _a.push(value);
last(rows)?.push(value);
return rows;

@@ -120,3 +119,3 @@ }, res);

const res = typeof v === "function" ? v(...a) : v;
return res != null ? res : void 0;
return res ?? void 0;
};

@@ -128,3 +127,3 @@ var cast = (v) => v;

fns.forEach(function(fn) {
fn == null ? void 0 : fn(...a);
fn?.(...a);
});

@@ -131,0 +130,0 @@ };

{
"name": "@zag-js/utils",
"version": "0.3.2",
"version": "0.3.3",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [

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