@pantheon-systems/pds-toolkit-react 1.0.0-dev.254 → 1.0.0-dev.255

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/_dist/index.js CHANGED
@@ -3743,7 +3743,7 @@ var Ot = { exports: {} };
3743
3743
  currentScript: function() {
3744
3744
  if (typeof document == "undefined")
3745
3745
  return null;
3746
- if ("currentScript" in document)
3746
+ if (document.currentScript && document.currentScript.tagName === "SCRIPT")
3747
3747
  return (
3748
3748
  /** @type {any} */
3749
3749
  document.currentScript