es-toolkit 1.13.1-dev.376 → 1.13.1-dev.377
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/predicate/index.js
CHANGED
|
@@ -153,7 +153,7 @@ function areObjectsEqual(a, b, stack) {
|
|
|
153
153
|
case bigInt64ArrayTag:
|
|
154
154
|
case float32ArrayTag:
|
|
155
155
|
case float64ArrayTag: {
|
|
156
|
-
if (Buffer.isBuffer(a) !== Buffer.isBuffer(b)) {
|
|
156
|
+
if (typeof Buffer !== 'undefined' && Buffer.isBuffer(a) !== Buffer.isBuffer(b)) {
|
|
157
157
|
return false;
|
|
158
158
|
}
|
|
159
159
|
if (a.length !== b.length) {
|
|
@@ -112,7 +112,7 @@ function areObjectsEqual(a, b, stack) {
|
|
|
112
112
|
case bigInt64ArrayTag:
|
|
113
113
|
case float32ArrayTag:
|
|
114
114
|
case float64ArrayTag: {
|
|
115
|
-
if (Buffer.isBuffer(a) !== Buffer.isBuffer(b)) {
|
|
115
|
+
if (typeof Buffer !== 'undefined' && Buffer.isBuffer(a) !== Buffer.isBuffer(b)) {
|
|
116
116
|
return false;
|
|
117
117
|
}
|
|
118
118
|
if (a.length !== b.length) {
|
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.13.1-dev.
|
|
4
|
+
"version": "1.13.1-dev.377+d7d3cd28",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|