@solid-primitives/range
Advanced tools
Comparing version 0.1.8 to 0.1.9
import { onCleanup, createMemo, untrack, createRoot, createSignal } from 'solid-js'; | ||
import { isDev } from 'solid-js/web'; | ||
@@ -129,2 +130,4 @@ // src/common.ts | ||
if (_step === 0) { | ||
if (isDev) | ||
console.warn("Range cannot have a step of 0"); | ||
return items; | ||
@@ -215,2 +218,4 @@ } | ||
if (_step === 0) { | ||
if (isDev) | ||
console.warn("Range cannot have a step of 0"); | ||
return items; | ||
@@ -217,0 +222,0 @@ } |
{ | ||
"name": "@solid-primitives/range", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "Control Flow Primitives for displaying given number or a number range of elements.", | ||
@@ -47,9 +47,2 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>", | ||
"exports": { | ||
"development": { | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/dev.js" | ||
}, | ||
"require": "./dist/dev.cjs" | ||
}, | ||
"import": { | ||
@@ -65,6 +58,6 @@ "types": "./dist/index.d.ts", | ||
"dependencies": { | ||
"@solid-primitives/utils": "^5.4.0" | ||
"@solid-primitives/utils": "^5.5.1" | ||
}, | ||
"peerDependencies": { | ||
"solid-js": "^1.6.0" | ||
"solid-js": "^1.6.12" | ||
}, | ||
@@ -75,3 +68,3 @@ "typesVersions": {}, | ||
"page": "vite build dev", | ||
"build": "jiti ../../scripts/build.ts --dev", | ||
"build": "jiti ../../scripts/build.ts", | ||
"test": "vitest -c ../../configs/vitest.config.ts", | ||
@@ -78,0 +71,0 @@ "test:ssr": "pnpm run test --mode ssr" |
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
32437
6
620