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

@applitools/dom-snapshot

Package Overview
Dependencies
Maintainers
15
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/dom-snapshot - npm Package Compare versions

Comparing version 1.1.9 to 1.1.10

10

dist/processPage.js

@@ -1,2 +0,2 @@

// @applitools/dom-snapshot@1.1.9
// @applitools/dom-snapshot@1.1.10
function __processPage() {

@@ -93,4 +93,10 @@ var processPage = (function () {

value = value.replace(/^blob:/, '');
} else if (
elementNode.nodeName === 'IFRAME' &&
name === 'src' &&
!elementNode.contentDocument &&
!value.match(/^\s*data:/)
) {
value = '';
}
return {

@@ -97,0 +103,0 @@ name,

@@ -1,2 +0,2 @@

// @applitools/dom-snapshot@1.1.9
// @applitools/dom-snapshot@1.1.10
function __processPageAndPoll() {

@@ -145,4 +145,10 @@ var processPageAndPoll = (function () {

value = value.replace(/^blob:/, '');
} else if (
elementNode.nodeName === 'IFRAME' &&
name === 'src' &&
!elementNode.contentDocument &&
!value.match(/^\s*data:/)
) {
value = '';
}
return {

@@ -149,0 +155,0 @@ name,

@@ -1,2 +0,2 @@

// @applitools/dom-snapshot@1.1.9
// @applitools/dom-snapshot@1.1.10
function __processPageAndSerialize() {

@@ -145,4 +145,10 @@ var processPageAndSerialize = (function () {

value = value.replace(/^blob:/, '');
} else if (
elementNode.nodeName === 'IFRAME' &&
name === 'src' &&
!elementNode.contentDocument &&
!value.match(/^\s*data:/)
) {
value = '';
}
return {

@@ -149,0 +155,0 @@ name,

4

package.json
{
"name": "@applitools/dom-snapshot",
"version": "1.1.9",
"version": "1.1.10",
"main": "index.js",

@@ -11,3 +11,3 @@ "license": "MIT",

"eslint": "npm run eslint:node && npm run eslint:browser",
"test": "npm run test:mocha && npm run eslint",
"test": "npm run build && npm run test:mocha && npm run eslint",
"build": "rollup -c rollup.config.js",

@@ -14,0 +14,0 @@ "build:watch": "rollup -c rollup.config.js --watch",

@@ -62,4 +62,10 @@ /* eslint-disable no-use-before-define */

value = value.replace(/^blob:/, '');
} else if (
elementNode.nodeName === 'IFRAME' &&
name === 'src' &&
!elementNode.contentDocument &&
!value.match(/^\s*data:/)
) {
value = '';
}
return {

@@ -66,0 +72,0 @@ name,

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