@applitools/dom-shared
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -6,2 +6,9 @@ # Changelog | ||
## [1.0.12](https://github.com/applitools/eyes.sdk.javascript1/compare/js/dom-shared@1.0.11...js/dom-shared@1.0.12) (2024-01-02) | ||
### Bug Fixes | ||
* fix error handling in process page poll ([#2127](https://github.com/applitools/eyes.sdk.javascript1/issues/2127)) ([4346026](https://github.com/applitools/eyes.sdk.javascript1/commit/4346026d567b92747df5b4f13fb1e82b849a856e)) | ||
## [1.0.11](https://github.com/applitools/eyes.sdk.javascript1/compare/js/dom-shared-v1.0.10...js/dom-shared@1.0.11) (2023-11-07) | ||
@@ -8,0 +15,0 @@ |
{ | ||
"name": "@applitools/dom-shared", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"homepage": "https://applitools.com", | ||
@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE", |
@@ -20,7 +20,11 @@ const chunkify = require('./chunkify') | ||
if (!state.chunks) { | ||
const stringified = JSON.stringify(state.value) | ||
state.chunks = chunkify(stringified, chunkByteLength) | ||
if (state.chunks.length > 0) { | ||
state.from = 0 | ||
state.value = stringified | ||
try { | ||
const stringified = JSON.stringify(state.value) | ||
state.chunks = chunkify(stringified, chunkByteLength) | ||
if (state.chunks.length > 0) { | ||
state.from = 0 | ||
state.value = stringified | ||
} | ||
} catch (e) { | ||
return {status: STATUSES.ERROR, error: e.message} | ||
} | ||
@@ -27,0 +31,0 @@ } |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
27766
309
0