radashi 12.9.7 → 12.9.8
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/radashi.cjs +3 -0
- package/dist/radashi.js +3 -0
- package/package.json +1 -1
package/dist/radashi.cjs
CHANGED
|
@@ -974,6 +974,9 @@ function assign(initial, override) {
|
|
|
974
974
|
const proto = Object.getPrototypeOf(initial);
|
|
975
975
|
const merged = proto ? { ...initial } : Object.assign(Object.create(proto), initial);
|
|
976
976
|
for (const key of Object.keys(override)) {
|
|
977
|
+
if (isDangerousKey(key, merged)) {
|
|
978
|
+
continue;
|
|
979
|
+
}
|
|
977
980
|
merged[key] = isPlainObject(initial[key]) && isPlainObject(override[key]) ? assign(initial[key], override[key]) : override[key];
|
|
978
981
|
}
|
|
979
982
|
return merged;
|
package/dist/radashi.js
CHANGED
|
@@ -972,6 +972,9 @@ function assign(initial, override) {
|
|
|
972
972
|
const proto = Object.getPrototypeOf(initial);
|
|
973
973
|
const merged = proto ? { ...initial } : Object.assign(Object.create(proto), initial);
|
|
974
974
|
for (const key of Object.keys(override)) {
|
|
975
|
+
if (isDangerousKey(key, merged)) {
|
|
976
|
+
continue;
|
|
977
|
+
}
|
|
975
978
|
merged[key] = isPlainObject(initial[key]) && isPlainObject(override[key]) ? assign(initial[key], override[key]) : override[key];
|
|
976
979
|
}
|
|
977
980
|
return merged;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "radashi",
|
|
3
|
-
"version": "12.9.
|
|
3
|
+
"version": "12.9.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The modern, community-first TypeScript toolkit with all of the fast, readable, and minimal utility functions you need. Type-safe, dependency-free, tree-shakeable, fully tested.",
|
|
6
6
|
"repository": {
|