@applitools/dom-capture
Advanced tools
Comparing version 4.1.1 to 4.1.2
const makeGetScript = require('./src/getScript'); | ||
const getCaptureDomScript = makeGetScript('captureDom'); | ||
const getProcessDocumentScript = makeGetScript('processDocument'); | ||
const getProcessPageScript = makeGetScript('processPage'); | ||
const getProcessPageAndSerializeScript = makeGetScript('processPageAndSerialize'); | ||
module.exports = { | ||
getCaptureDomScript, | ||
getProcessDocumentScript, | ||
getProcessPageScript, | ||
getProcessPageAndSerializeScript, | ||
}; |
{ | ||
"name": "@applitools/dom-capture", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"main": "index.js", | ||
@@ -34,3 +34,3 @@ "license": "MIT", | ||
"prettier": "^1.15.2", | ||
"puppeteer": "^1.9.0", | ||
"puppeteer": "1.9.0", | ||
"rollup": "^0.66.6", | ||
@@ -37,0 +37,0 @@ "rollup-plugin-commonjs": "^9.2.0", |
@@ -6,3 +6,2 @@ /* globals document */ | ||
const fetchLocalResources = require('./fetchLocalResources'); | ||
const uniq = require('./uniq'); | ||
@@ -23,5 +22,2 @@ function processPage(doc = document) { | ||
frames: framesResults, | ||
allBlobs: framesResults.reduce((blobAgg, frame) => { | ||
return uniq([...blobAgg, ...frame.allBlobs]); | ||
}, blobs), | ||
}), | ||
@@ -28,0 +24,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
50082
27
1467
7