@domql/utils 2.29.40 → 2.29.41
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/cjs/object.js +1 -0
- package/dist/esm/object.js +1 -0
- package/object.js +2 -0
- package/package.json +2 -2
package/dist/cjs/object.js
CHANGED
package/dist/esm/object.js
CHANGED
|
@@ -143,6 +143,7 @@ const deepClone = (obj, options = {}) => {
|
|
|
143
143
|
continue;
|
|
144
144
|
}
|
|
145
145
|
if (isObjectLike(value)) {
|
|
146
|
+
if (!Object.prototype.hasOwnProperty.call(obj, key)) continue;
|
|
146
147
|
clone2[key] = deepClone(value, __spreadProps(__spreadValues({}, options), {
|
|
147
148
|
visited
|
|
148
149
|
}));
|
package/object.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@domql/utils",
|
|
3
|
-
"version": "2.29.
|
|
3
|
+
"version": "2.29.41",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"build": "npx rimraf -I dist; npm run build:cjs; npm run build:esm",
|
|
25
25
|
"prepublish": "npm run build; npm run copy:package:cjs"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "4a29e8f6c49b6765624ad45c11f24d9558033592",
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/core": "^7.27.1"
|
|
30
30
|
}
|