Socket
Socket
Sign inDemoInstall

@zag-js/utils

Package Overview
Dependencies
Maintainers
0
Versions
773
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.70.0 to 0.71.0

162

dist/index.js

@@ -1,70 +0,3 @@

"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
'use strict';
// src/index.ts
var src_exports = {};
__export(src_exports, {
add: () => add,
addOrRemove: () => addOrRemove,
callAll: () => callAll,
cast: () => cast,
chunk: () => chunk,
clear: () => clear,
compact: () => compact,
createSplitProps: () => createSplitProps,
first: () => first,
fromLength: () => fromLength,
has: () => has,
hasProp: () => hasProp,
invariant: () => invariant,
isArray: () => isArray,
isBoolean: () => isBoolean,
isDev: () => isDev,
isEmpty: () => isEmpty,
isEqual: () => isEqual,
isFunction: () => isFunction,
isNull: () => isNull,
isNumber: () => isNumber,
isObject: () => isObject,
isObjectLike: () => isObjectLike,
isPlainObject: () => isPlainObject,
isString: () => isString,
json: () => json,
last: () => last,
match: () => match,
next: () => next,
nextIndex: () => nextIndex,
noop: () => noop,
omit: () => omit,
pick: () => pick,
prev: () => prev,
prevIndex: () => prevIndex,
remove: () => remove,
removeAt: () => removeAt,
runIfFn: () => runIfFn,
splitProps: () => splitProps,
toArray: () => toArray,
tryCatch: () => tryCatch,
uniq: () => uniq,
uuid: () => uuid,
warn: () => warn
});
module.exports = __toCommonJS(src_exports);
// src/array.ts

@@ -288,49 +221,46 @@ function toArray(v) {

}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
add,
addOrRemove,
callAll,
cast,
chunk,
clear,
compact,
createSplitProps,
first,
fromLength,
has,
hasProp,
invariant,
isArray,
isBoolean,
isDev,
isEmpty,
isEqual,
isFunction,
isNull,
isNumber,
isObject,
isObjectLike,
isPlainObject,
isString,
json,
last,
match,
next,
nextIndex,
noop,
omit,
pick,
prev,
prevIndex,
remove,
removeAt,
runIfFn,
splitProps,
toArray,
tryCatch,
uniq,
uuid,
warn
});
//# sourceMappingURL=index.js.map
exports.add = add;
exports.addOrRemove = addOrRemove;
exports.callAll = callAll;
exports.cast = cast;
exports.chunk = chunk;
exports.clear = clear;
exports.compact = compact;
exports.createSplitProps = createSplitProps;
exports.first = first;
exports.fromLength = fromLength;
exports.has = has;
exports.hasProp = hasProp;
exports.invariant = invariant;
exports.isArray = isArray;
exports.isBoolean = isBoolean;
exports.isDev = isDev;
exports.isEmpty = isEmpty;
exports.isEqual = isEqual;
exports.isFunction = isFunction;
exports.isNull = isNull;
exports.isNumber = isNumber;
exports.isObject = isObject;
exports.isObjectLike = isObjectLike;
exports.isPlainObject = isPlainObject;
exports.isString = isString;
exports.json = json;
exports.last = last;
exports.match = match;
exports.next = next;
exports.nextIndex = nextIndex;
exports.noop = noop;
exports.omit = omit;
exports.pick = pick;
exports.prev = prev;
exports.prevIndex = prevIndex;
exports.remove = remove;
exports.removeAt = removeAt;
exports.runIfFn = runIfFn;
exports.splitProps = splitProps;
exports.toArray = toArray;
exports.tryCatch = tryCatch;
exports.uniq = uniq;
exports.uuid = uuid;
exports.warn = warn;
{
"name": "@zag-js/utils",
"version": "0.70.0",
"version": "0.71.0",
"description": "",

@@ -16,4 +16,3 @@ "keywords": [

"files": [
"dist",
"src"
"dist"
],

@@ -20,0 +19,0 @@ "publishConfig": {

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