Socket
Socket
Sign inDemoInstall

@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 2.0.0 to 2.0.1

2

dist/index.d.ts

@@ -114,3 +114,3 @@ import { Accessor, Setter, onCleanup } from 'solid-js';

declare function chain<Args extends [] | any[]>(callbacks: {
[Symbol.iterator](): IterableIterator<(...args: Args) => any>;
[Symbol.iterator](): IterableIterator<((...args: Args) => any) | undefined>;
}): (...args: Args) => void;

@@ -117,0 +117,0 @@ declare const clamp: (n: number, min: number, max: number) => number;

@@ -33,4 +33,6 @@ var __defProp = Object.defineProperty;

return (...args) => {
for (const callback of callbacks)
callback(...args);
for (const callback of callbacks) {
if (typeof callback === "function")
callback(...args);
}
};

@@ -37,0 +39,0 @@ }

{
"name": "@solid-primitives/utils",
"version": "2.0.0",
"version": "2.0.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

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