Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/dom-shared

Package Overview
Dependencies
Maintainers
51
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/dom-shared - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

7

CHANGELOG.md

@@ -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 @@

2

package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc