es-toolkit 1.26.1-dev.839 → 1.26.1-dev.841
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/compat/index.js
CHANGED
|
@@ -2065,7 +2065,7 @@ function isEmpty(value) {
|
|
|
2065
2065
|
if (isArrayLike(value)) {
|
|
2066
2066
|
if (typeof value.splice !== 'function' &&
|
|
2067
2067
|
typeof value !== 'string' &&
|
|
2068
|
-
!Buffer.isBuffer(value) &&
|
|
2068
|
+
(typeof Buffer === 'undefined' || !Buffer.isBuffer(value)) &&
|
|
2069
2069
|
!isTypedArray(value) &&
|
|
2070
2070
|
!isArguments(value)) {
|
|
2071
2071
|
return false;
|
|
@@ -11,7 +11,7 @@ function isEmpty(value) {
|
|
|
11
11
|
if (isArrayLike(value)) {
|
|
12
12
|
if (typeof value.splice !== 'function' &&
|
|
13
13
|
typeof value !== 'string' &&
|
|
14
|
-
!Buffer.isBuffer(value) &&
|
|
14
|
+
(typeof Buffer === 'undefined' || !Buffer.isBuffer(value)) &&
|
|
15
15
|
!isTypedArray(value) &&
|
|
16
16
|
!isArguments(value)) {
|
|
17
17
|
return false;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-toolkit",
|
|
3
3
|
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.",
|
|
4
|
-
"version": "1.26.1-dev.
|
|
4
|
+
"version": "1.26.1-dev.841+e0d24242",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|