@solid-primitives/utils
Advanced tools
Comparing version 1.5.2 to 2.0.0
@@ -113,3 +113,5 @@ import { Accessor, Setter, onCleanup } from 'solid-js'; | ||
*/ | ||
declare function chain<Args extends [] | any[]>(...callbacks: ((...args: Args) => any)[]): (...args: Args) => void; | ||
declare function chain<Args extends [] | any[]>(callbacks: { | ||
[Symbol.iterator](): IterableIterator<(...args: Args) => any>; | ||
}): (...args: Args) => void; | ||
declare const clamp: (n: number, min: number, max: number) => number; | ||
@@ -116,0 +118,0 @@ /** |
@@ -31,3 +31,3 @@ var __defProp = Object.defineProperty; | ||
var compare = (a, b) => a < b ? -1 : a > b ? 1 : 0; | ||
function chain(...callbacks) { | ||
function chain(callbacks) { | ||
return (...args) => { | ||
@@ -34,0 +34,0 @@ for (const callback of callbacks) |
{ | ||
"name": "@solid-primitives/utils", | ||
"version": "1.5.2", | ||
"version": "2.0.0", | ||
"description": "A bunch of reactive utility types and functions, for building primitives with Solid.js", | ||
@@ -38,3 +38,3 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>", | ||
"prettier": "^2.5.1", | ||
"solid-register": "^0.1.5", | ||
"solid-register": "^0.2.5", | ||
"tslib": "^2.3.1", | ||
@@ -46,4 +46,4 @@ "tsup": "^5.11.0", | ||
"peerDependencies": { | ||
"solid-js": "^1.3.1" | ||
"solid-js": "^1.4.1" | ||
} | ||
} |
@@ -0,0 +0,0 @@ <p> |
Sorry, the diff of this file is not supported yet
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
27259
678