Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@solid-primitives/utils

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/utils - npm Package Compare versions

Comparing version 1.5.2 to 2.0.0

4

dist/index.d.ts

@@ -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

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