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

@applitools/dom-capture

Package Overview
Dependencies
Maintainers
12
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/dom-capture - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

dist/processPage.js

6

index.js
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 @@ );

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