@percy/core
Advanced tools
Comparing version 1.0.0-beta.6 to 1.0.0-beta.7
@@ -197,3 +197,8 @@ "use strict"; | ||
return request => { | ||
let url = request.url(); | ||
let url = request.url(); // skip any logging and handling of data-urls | ||
if (url.startsWith('data:')) { | ||
return request.continue(); | ||
} | ||
meta = { ...meta, | ||
@@ -259,5 +264,3 @@ url | ||
try { | ||
// do nothing for the root URL or URLs that start with `data:` since | ||
// Puppeteer network interception doesn't support proper request | ||
// aborting for those URLs | ||
// do nothing for the root URL or URLs that start with `data:` | ||
if (url === rootUrl || url.startsWith('data:')) return; // process and cache the response and resource | ||
@@ -264,0 +267,0 @@ |
{ | ||
"name": "@percy/core", | ||
"version": "1.0.0-beta.6", | ||
"version": "1.0.0-beta.7", | ||
"license": "MIT", | ||
@@ -27,5 +27,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@percy/client": "^1.0.0-beta.6", | ||
"@percy/dom": "^1.0.0-beta.6", | ||
"@percy/logger": "^1.0.0-beta.6", | ||
"@percy/client": "^1.0.0-beta.7", | ||
"@percy/dom": "^1.0.0-beta.7", | ||
"@percy/logger": "^1.0.0-beta.7", | ||
"body-parser": "^1.19.0", | ||
@@ -42,3 +42,3 @@ "cors": "^2.8.5", | ||
}, | ||
"gitHead": "c7cf1de4546f72c3b42749ca8faf3f3684098300" | ||
"gitHead": "5be796ec8f17958e93ada0b634899b945c9b0d60" | ||
} |
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
53453
1140
9
Updated@percy/client@^1.0.0-beta.7
Updated@percy/dom@^1.0.0-beta.7
Updated@percy/logger@^1.0.0-beta.7