@solid-primitives/utils
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -114,2 +114,6 @@ import { Accessor, Setter, onCleanup } from 'solid-js'; | ||
/** | ||
* Check shallow array equality | ||
*/ | ||
declare const arrayEquals: (a: readonly unknown[], b: readonly unknown[]) => boolean; | ||
/** | ||
* Returns a function that will call all functions in the order they were chained with the same arguments. | ||
@@ -272,2 +276,2 @@ */ | ||
export { AccessReturnTypes, AnyClass, AnyFunction, AnyObject, AnyStatic, DeepPartialAny, Definite, Directive, ExtractIfPossible, Falsy, FalsyValue, ItemsOf, ItemsOfMany, Many, MaybeAccessor, MaybeAccessorValue, Modify, ModifyDeep, Mutable, NonIterable, Noop, OnAccessEffectFunction, Position, PrimitiveValue, RequiredKeys, SetterValue, Simplify, StaticStoreSetter, Tail, Trigger, TriggerCache, Truthy, UnboxLazy, UnionToIntersection, Values, access, accessArray, accessWith, asAccessor, asArray, chain, clamp, compare, createCallbackStack, createMicrotask, createProxy, createStaticStore, createTrigger, createTriggerCache, entries, forEachEntry, handleDiffArray, isClient, isDev, isObject, isProd, isServer, keys, noop, ofClass, onRootCleanup, promiseTimeout, raceTimeout, warn, withAccess }; | ||
export { AccessReturnTypes, AnyClass, AnyFunction, AnyObject, AnyStatic, DeepPartialAny, Definite, Directive, ExtractIfPossible, Falsy, FalsyValue, ItemsOf, ItemsOfMany, Many, MaybeAccessor, MaybeAccessorValue, Modify, ModifyDeep, Mutable, NonIterable, Noop, OnAccessEffectFunction, Position, PrimitiveValue, RequiredKeys, SetterValue, Simplify, StaticStoreSetter, Tail, Trigger, TriggerCache, Truthy, UnboxLazy, UnionToIntersection, Values, access, accessArray, accessWith, arrayEquals, asAccessor, asArray, chain, clamp, compare, createCallbackStack, createMicrotask, createProxy, createStaticStore, createTrigger, createTriggerCache, entries, forEachEntry, handleDiffArray, isClient, isDev, isObject, isProd, isServer, keys, noop, ofClass, onRootCleanup, promiseTimeout, raceTimeout, warn, withAccess }; |
@@ -32,2 +32,3 @@ var __defProp = Object.defineProperty; | ||
var compare = (a, b) => a < b ? -1 : a > b ? 1 : 0; | ||
var arrayEquals = (a, b) => a === b || a.length === b.length && a.every((e, i) => e === b[i]); | ||
function chain(callbacks) { | ||
@@ -196,2 +197,3 @@ return (...args) => { | ||
accessWith, | ||
arrayEquals, | ||
asAccessor, | ||
@@ -198,0 +200,0 @@ asArray, |
{ | ||
"name": "@solid-primitives/utils", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "A bunch of reactive utility types and functions, for building primitives with Solid.js", | ||
@@ -5,0 +5,0 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29887
771