@chakra-ui/utils
Advanced tools
Comparing version 0.0.0-pr-20221173648 to 0.0.0-pr-20221263638
@@ -47,3 +47,3 @@ 'use strict'; | ||
return array.filter(function (eachItem) { | ||
return eachItem != item; | ||
return eachItem !== item; | ||
}); | ||
@@ -50,0 +50,0 @@ } |
@@ -47,3 +47,3 @@ 'use strict'; | ||
return array.filter(function (eachItem) { | ||
return eachItem != item; | ||
return eachItem !== item; | ||
}); | ||
@@ -50,0 +50,0 @@ } |
@@ -38,3 +38,3 @@ export * from 'css-box-model'; | ||
return array.filter(function (eachItem) { | ||
return eachItem != item; | ||
return eachItem !== item; | ||
}); | ||
@@ -41,0 +41,0 @@ } |
{ | ||
"name": "@chakra-ui/utils", | ||
"version": "0.0.0-pr-20221173648", | ||
"version": "0.0.0-pr-20221263638", | ||
"description": "Common utilties and types for Chakra UI", | ||
@@ -5,0 +5,0 @@ "author": "Segun Adebayo <sage@adebayosegun.com>", |
@@ -29,3 +29,3 @@ export function getFirstItem<T>(array: T[]): T | undefined { | ||
export function removeItem<T>(array: T[], item: T): T[] { | ||
return array.filter((eachItem) => eachItem != item) | ||
return array.filter((eachItem) => eachItem !== item) | ||
} | ||
@@ -32,0 +32,0 @@ |
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
240166