@solid-primitives/range
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -122,3 +122,3 @@ import { onCleanup, createMemo, untrack, createRoot, createSignal } from 'solid-js'; | ||
} | ||
oldDisposers.forEach((f) => f == null ? void 0 : f()); | ||
oldDisposers.forEach((f) => f?.()); | ||
disposers = newDisposers; | ||
@@ -125,0 +125,0 @@ return items = newItems; |
import { MaybeAccessor } from '@solid-primitives/utils'; | ||
import { Accessor } from 'solid-js'; | ||
declare type RangeProps = { | ||
type RangeProps = { | ||
start?: number; | ||
@@ -6,0 +6,0 @@ to: number; |
@@ -122,3 +122,3 @@ import { onCleanup, createMemo, untrack, createRoot, createSignal } from 'solid-js'; | ||
} | ||
oldDisposers.forEach((f) => f == null ? void 0 : f()); | ||
oldDisposers.forEach((f) => f?.()); | ||
disposers = newDisposers; | ||
@@ -125,0 +125,0 @@ return items = newItems; |
{ | ||
"name": "@solid-primitives/range", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Control Flow Primitives for displaying given number or a number range of elements.", | ||
@@ -47,23 +47,20 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>", | ||
"exports": { | ||
"browser": { | ||
"development": { | ||
"import": "./dist/dev.js", | ||
"require": "./dist/dev.cjs" | ||
"development": { | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/dev.js" | ||
}, | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, | ||
"development": { | ||
"import": "./dist/dev.js", | ||
"require": "./dist/dev.cjs" | ||
}, | ||
"import": "./dist/index.js", | ||
"import": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
}, | ||
"require": "./dist/index.cjs" | ||
}, | ||
"devDependencies": { | ||
"solid-js": "^1.6.0", | ||
"solid-transition-group": "^0.0.8" | ||
}, | ||
"dependencies": { | ||
"@solid-primitives/utils": "^4.0.0" | ||
"@solid-primitives/utils": "^4.0.1" | ||
}, | ||
@@ -73,4 +70,6 @@ "peerDependencies": { | ||
}, | ||
"typesVersions": {}, | ||
"scripts": { | ||
"dev": "vite serve dev", | ||
"page": "vite build dev", | ||
"build": "jiti ../../scripts/build.ts --dev", | ||
@@ -77,0 +76,0 @@ "test": "vitest -c ../../configs/vitest.config.ts", |
Sorry, the diff of this file is not supported yet
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
1
46913
1092