@testing-library/dom
Advanced tools
Comparing version 10.0.0 to 10.1.0
@@ -693,2 +693,16 @@ "use strict"; | ||
} | ||
}, | ||
pageHide: { | ||
EventType: 'PageTransitionEvent', | ||
defaultInit: { | ||
bubbles: true, | ||
cancelable: true | ||
} | ||
}, | ||
pageShow: { | ||
EventType: 'PageTransitionEvent', | ||
defaultInit: { | ||
bubbles: true, | ||
cancelable: true | ||
} | ||
} | ||
@@ -695,0 +709,0 @@ }; |
@@ -63,3 +63,3 @@ "use strict"; | ||
// All currently released ARIA versions support `aria-current` on all roles. | ||
// Leaving this for symetry and forward compatibility | ||
// Leaving this for symmetry and forward compatibility | ||
if (_ariaQuery.roles.get(role)?.props['aria-current'] === undefined) { | ||
@@ -66,0 +66,0 @@ throw new Error(`"aria-current" is not supported on role "${role}".`); |
@@ -15,3 +15,3 @@ "use strict"; | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
// WARNING: `lz-string` only has a default export but statically we assume named exports are allowd | ||
// WARNING: `lz-string` only has a default export but statically we assume named exports are allowed | ||
// TODO: Statically verify we don't rely on NodeJS implicit named imports. | ||
@@ -18,0 +18,0 @@ |
{ | ||
"name": "@testing-library/dom", | ||
"version": "10.0.0", | ||
"version": "10.1.0", | ||
"description": "Simple and complete DOM testing utilities that encourage good testing practices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -91,2 +91,4 @@ export type EventType = | ||
| 'online' | ||
| 'pageHide' | ||
| 'pageShow' | ||
@@ -93,0 +95,0 @@ export type FireFunction = ( |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
2424713
22431