@solid-primitives/range
Advanced tools
Comparing version 0.0.102 to 0.1.0
// src/common.ts | ||
import { isFunction } from "@solid-primitives/utils"; | ||
var { abs, sign, min, ceil, floor } = Math; | ||
@@ -7,3 +6,3 @@ var accessor = (a) => typeof a() === "function" ? a() : a.bind(void 0); | ||
const v = a(); | ||
return isFunction(v) ? v(...args) : v; | ||
return typeof v === "function" ? v(...args) : v; | ||
}; | ||
@@ -10,0 +9,0 @@ |
{ | ||
"name": "@solid-primitives/range", | ||
"version": "0.0.102", | ||
"version": "0.1.0", | ||
"description": "Control Flow Primitives for displaying given number or a number range of elements.", | ||
@@ -55,10 +55,10 @@ "author": "Damian Tarnawski @thetarnav <gthetarnav@gmail.com>", | ||
"prettier": "^2.5.1", | ||
"solid-transition-group": "^0.0.8", | ||
"tslib": "^2.3.1", | ||
"tsup": "^5.12.1", | ||
"typescript": "^4.6.2", | ||
"tsup": "^5.12.1", | ||
"unocss": "0.28.1", | ||
"vite": "2.8.6", | ||
"vite-plugin-solid": "2.2.6", | ||
"vitest": "^0.7.12", | ||
"solid-transition-group": "^0.0.8" | ||
"vitest": "^0.7.12" | ||
}, | ||
@@ -69,4 +69,4 @@ "peerDependencies": { | ||
"dependencies": { | ||
"@solid-primitives/utils": "^0.5.3" | ||
"@solid-primitives/utils": "^1.0.0" | ||
} | ||
} |
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
34822
701
+ Added@solid-primitives/utils@1.5.2(transitive)
- Removed@solid-primitives/utils@0.5.3(transitive)