Comparing version 1.4.2 to 2.0.0-rc.1
@@ -1649,2 +1649,10 @@ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
doc | ||
.querySelectorAll('[data-happo-focus]') | ||
.forEach(e => e.removeAttribute('data-happo-focus')); | ||
if (doc.activeElement && doc.activeElement !== doc.body) { | ||
doc.activeElement.setAttribute('data-happo-focus', 'true'); | ||
} | ||
const html = element.outerHTML; | ||
@@ -1651,0 +1659,0 @@ const assetUrls = getElementAssetUrls(element, { |
{ | ||
"name": "happo-e2e", | ||
"version": "1.4.2", | ||
"version": "2.0.0-rc.1", | ||
"description": "Helpers for e2e integrations with Happo", | ||
@@ -20,3 +20,4 @@ "main": "index.js", | ||
"eslint": "^8.2.0", | ||
"happo.io": "^6.8.0" | ||
"happo.io": "^6.8.0", | ||
"jsdom": "^20.0.1" | ||
}, | ||
@@ -23,0 +24,0 @@ "dependencies": { |
@@ -211,2 +211,10 @@ const md5 = require('crypto-js/md5'); | ||
doc | ||
.querySelectorAll('[data-happo-focus]') | ||
.forEach(e => e.removeAttribute('data-happo-focus')); | ||
if (doc.activeElement && doc.activeElement !== doc.body) { | ||
doc.activeElement.setAttribute('data-happo-focus', 'true'); | ||
} | ||
const html = element.outerHTML; | ||
@@ -213,0 +221,0 @@ const assetUrls = getElementAssetUrls(element, { |
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
93478
2877
4
2