@bedrock-ui/utils
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -6,3 +6,3 @@ "use strict"; | ||
const array = []; | ||
for (let i = start; i < end; i = i + step) { | ||
for (let i = start; step > 0 ? i < end : i > end; i = i + step) { | ||
array.push(i); | ||
@@ -9,0 +9,0 @@ } |
export function range(start, end, step = 1) { | ||
const array = []; | ||
for (let i = start; i < end; i = i + step) { | ||
for (let i = start; step > 0 ? i < end : i > end; i = i + step) { | ||
array.push(i); | ||
@@ -5,0 +5,0 @@ } |
{ | ||
"name": "@bedrock-ui/utils", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "Bedrock UI Utils", | ||
@@ -5,0 +5,0 @@ "author": "Matthew Wolfe", |
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
16519