@percy/dom
Advanced tools
Comparing version 1.28.3 to 1.28.4-alpha.0
@@ -58,2 +58,3 @@ (function() { | ||
function setBaseURI(dom) { | ||
var _dom$querySelector; | ||
/* istanbul ignore if: sanity check */ | ||
@@ -63,3 +64,3 @@ if (!new URL(dom.baseURI).hostname) return; | ||
$base.href = dom.baseURI; | ||
dom.querySelector('head').prepend($base); | ||
(_dom$querySelector = dom.querySelector('head')) === null || _dom$querySelector === void 0 ? void 0 : _dom$querySelector.prepend($base); | ||
} | ||
@@ -540,3 +541,3 @@ | ||
// run polyfill as first thing post dom content is loaded | ||
clone.head.prepend(scriptEl); | ||
(clone.head ?? clone).prepend(); | ||
} | ||
@@ -543,0 +544,0 @@ |
{ | ||
"name": "@percy/dom", | ||
"version": "1.28.3", | ||
"version": "1.28.4-alpha.0", | ||
"license": "MIT", | ||
@@ -12,3 +12,3 @@ "repository": { | ||
"access": "public", | ||
"tag": "latest" | ||
"tag": "alpha" | ||
}, | ||
@@ -39,3 +39,3 @@ "main": "dist/bundle.js", | ||
}, | ||
"gitHead": "5d41045921c7ac06329c4b72caaf291d34e3f699" | ||
"gitHead": "596b98dc0cefdb51602facfc1843a9751be8ed2b" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
33747
644
2