@applitools/utils
Advanced tools
Comparing version 1.6.3 to 1.7.0
# Changelog | ||
## [1.7.0](https://github.com/applitools/eyes.sdk.javascript1/compare/js/utils@1.6.3...js/utils@1.7.0) (2023-12-05) | ||
### Features | ||
* add Eyes.getResults method ([#2046](https://github.com/applitools/eyes.sdk.javascript1/issues/2046)) ([#2069](https://github.com/applitools/eyes.sdk.javascript1/issues/2069)) ([4d263e1](https://github.com/applitools/eyes.sdk.javascript1/commit/4d263e19cb5e5708790a1a7ef90ff8f3eee50d91)) | ||
## [1.6.3](https://github.com/applitools/eyes.sdk.javascript1/compare/js/utils@1.6.2...js/utils@1.6.3) (2023-11-21) | ||
@@ -4,0 +11,0 @@ |
@@ -160,3 +160,13 @@ "use strict"; | ||
return Object.defineProperties(result, { | ||
...Object.getOwnPropertyDescriptors(target), | ||
...Object.fromEntries(Object.entries(Object.getOwnPropertyDescriptors(target)).map(([key, descriptor]) => [ | ||
key, | ||
types.isFunction(descriptor.value) || types.isObject(descriptor.value) | ||
? descriptor | ||
: { | ||
configurable: descriptor.configurable, | ||
enumerable: descriptor.enumerable, | ||
get: () => target[key], | ||
set: value => (target[key] = value), | ||
}, | ||
])), | ||
...Object.getOwnPropertyDescriptors(types.isFunction(extension) ? extension(result) : extension), | ||
@@ -163,0 +173,0 @@ }); |
{ | ||
"name": "@applitools/utils", | ||
"version": "1.6.3", | ||
"version": "1.7.0", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "applitools", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81024
1473