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

@evidence-dev/component-utilities

Package Overview
Dependencies
Maintainers
5
Versions
381
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evidence-dev/component-utilities - npm Package Compare versions

Comparing version 3.0.5-features-b.0 to 3.1.0

8

CHANGELOG.md
# @evidence-dev/component-utilities
## 3.0.5-features-b.0
## 3.1.0
### Patch Changes
### Minor Changes
- acba0f3a6: Toasts that are created with the same id now UPDATE the existing toast, rather than appearing twice with the same id
- Updated dependencies [dc8f01be2]
- @evidence-dev/sdk@1.2.3-features-b.0
- 737642a0: Created input slider component and docs

@@ -11,0 +9,0 @@ ## 3.0.4

{
"name": "@evidence-dev/component-utilities",
"version": "3.0.5-features-b.0",
"version": "3.1.0",
"description": "",

@@ -28,3 +28,3 @@ "main": "index.js",

"svelte": "4.2.12",
"@evidence-dev/sdk": "1.2.3-features-b.0"
"@evidence-dev/sdk": "1.2.2"
},

@@ -31,0 +31,0 @@ "scripts": {

@@ -56,3 +56,3 @@ import ssf from 'ssf';

* @param {string} formatString string containing an Excel-style format code, or a format name matching a built-in or custom format
* @param {string} valueType optional - a string representing the data type within the column that will be formatted ('number', 'date', 'boolean', or 'string)
* @param {'number' | 'date' | 'boolean' | 'string'} [valueType] optional - a string representing the data type within the column that will be formatted ('number', 'date', 'boolean', or 'string)
* @returns a format object based on the formatString matching a built-in or custom format name, or a new custom format object containing an Excel-style format code

@@ -59,0 +59,0 @@ */

@@ -27,15 +27,3 @@ import { dev } from '$app/environment';

toast.id = toast.id ?? Math.random().toString();
update(($toasts) => {
const existing = $toasts.find((t) => t.id === toast.id);
if (existing) {
Object.assign(existing, toast);
if (timeoutMap.has(toast.id)) {
clearTimeout(timeoutMap.get(toast.id));
timeoutMap.delete(toast.id);
}
} else {
$toasts.push(toast);
}
return $toasts;
});
update(($toasts) => ($toasts.push(toast), $toasts));
if (timeout) {

@@ -42,0 +30,0 @@ const timeoutId = setTimeout(() => {

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