You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

svelte-cartesian

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-cartesian - npm Package Compare versions

Comparing version

to
1.1.1

10

lib/cartesian.js

@@ -48,2 +48,3 @@ /**

) {
const shortValues = ['string', 'number', 'boolean']
const label = []

@@ -54,7 +55,7 @@ const shortVerbosity = verbosity === 'short' || verbosity === true

for (const [key, value] of Object.entries(innerProps)) {
const isShortValue = shortValues.includes(typeof value)
if (
shortVerbosity
&& typeof value !== 'string'
&& typeof value !== 'number'
&& typeof value !== 'boolean'
&& !isShortValue
) {

@@ -70,4 +71,3 @@ // Skip symbols and objects for 'short' labels

verbosity === 'long'
&& typeof value !== 'string'
&& typeof value !== 'number'
&& !isShortValue
) {

@@ -74,0 +74,0 @@ refinedValue = typeof value

{
"name": "svelte-cartesian",
"version": "1.1.0",
"version": "1.1.1",
"description": "A single component that helps render prop combinations (the \"Cartesian Product\") for visual regression testing.",

@@ -15,3 +15,4 @@ "type": "module",

"check": "svelte-check",
"test": "vitest"
"test": "vitest",
"start-4": "cd e2e/svelte-4 && npm i && npm run dev"
},

@@ -18,0 +19,0 @@ "author": "Enrico Sacchetti <enrico@theetrain.ca>",