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 3.1.1 to 3.1.3

6

dist/captureDom.js

@@ -34,9 +34,9 @@ var _captureDom = (function (exports) {

try {
const response = await fetch(url);
const response = await fetch(url, {cache: 'no-cache'});
if (response.ok) {
return await response.text();
}
return '';
return '/failed to fetch (status ' + response.status + ') css from: ' + url + '/';
} catch (err) {
return '';
return '/failed to fetch (error ' + err.toString() + ') css from: ' + url + '/';
}

@@ -43,0 +43,0 @@ }

{
"name": "@applitools/dom-capture",
"version": "3.1.1",
"version": "3.1.3",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -29,9 +29,9 @@ /* global document, CSSImportRule, fetch*/

try {
const response = await fetch(url);
const response = await fetch(url, {cache: 'no-cache'});
if (response.ok) {
return await response.text();
}
return '';
return '/failed to fetch (status ' + response.status + ') css from: ' + url + '/';
} catch (err) {
return '';
return '/failed to fetch (error ' + err.toString() + ') css from: ' + url + '/';
}

@@ -38,0 +38,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