@solid-primitives/range
Advanced tools
Comparing version 0.1.9 to 0.1.10
@@ -1,3 +0,3 @@ | ||
import { onCleanup, createMemo, untrack, createRoot, createSignal } from 'solid-js'; | ||
import { isDev } from 'solid-js/web'; | ||
import { onCleanup, createMemo, untrack, DEV, createRoot, createSignal } from 'solid-js'; | ||
import { isServer } from 'solid-js/web'; | ||
@@ -130,3 +130,3 @@ // src/common.ts | ||
if (_step === 0) { | ||
if (isDev) | ||
if (!isServer && DEV) | ||
console.warn("Range cannot have a step of 0"); | ||
@@ -218,3 +218,3 @@ return items; | ||
if (_step === 0) { | ||
if (isDev) | ||
if (!isServer && DEV) | ||
console.warn("Range cannot have a step of 0"); | ||
@@ -221,0 +221,0 @@ return items; |
{ | ||
"name": "@solid-primitives/range", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "Control Flow Primitives for displaying given number or a number range of elements.", | ||
@@ -57,3 +57,3 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>", | ||
"dependencies": { | ||
"@solid-primitives/utils": "^5.5.1" | ||
"@solid-primitives/utils": "^5.5.2" | ||
}, | ||
@@ -60,0 +60,0 @@ "peerDependencies": { |
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
32506