@applitools/dom-snapshot
Advanced tools
Comparing version 1.1.9 to 1.1.10
@@ -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, |
{ | ||
"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, |
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
77341
1964