es-toolkit 1.26.0-dev.826 → 1.26.0-dev.829
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
|
@@ -269,6 +269,9 @@ function isMatch(target, source) {
|
|
|
269
269
|
if (source[key] === undefined && target[key] !== undefined) {
|
|
270
270
|
return false;
|
|
271
271
|
}
|
|
272
|
+
if (source[key] === null && target[key] !== null) {
|
|
273
|
+
return false;
|
|
274
|
+
}
|
|
272
275
|
if (!isMatch(target[key], source[key])) {
|
|
273
276
|
return false;
|
|
274
277
|
}
|
|
@@ -35,6 +35,9 @@ function isMatch(target, source) {
|
|
|
35
35
|
if (source[key] === undefined && target[key] !== undefined) {
|
|
36
36
|
return false;
|
|
37
37
|
}
|
|
38
|
+
if (source[key] === null && target[key] !== null) {
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
38
41
|
if (!isMatch(target[key], source[key])) {
|
|
39
42
|
return false;
|
|
40
43
|
}
|
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.0-dev.
|
|
4
|
+
"version": "1.26.0-dev.829+72c7721c",
|
|
5
5
|
"homepage": "https://es-toolkit.slash.page",
|
|
6
6
|
"bugs": "https://github.com/toss/es-toolkit/issues",
|
|
7
7
|
"repository": {
|