Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@open-wc/testing-helpers

Package Overview
Dependencies
Maintainers
2
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-wc/testing-helpers - npm Package Compare versions

Comparing version 0.7.16 to 0.7.17

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.7.17](https://github.com/open-wc/open-wc/compare/@open-wc/testing-helpers@0.7.16...@open-wc/testing-helpers@0.7.17) (2019-02-24)
### Bug Fixes
* **testing-helpers:** add time before triggering focus/blur (only IE) ([f77cfa2](https://github.com/open-wc/open-wc/commit/f77cfa2))
## [0.7.16](https://github.com/open-wc/open-wc/compare/@open-wc/testing-helpers@0.7.15...@open-wc/testing-helpers@0.7.16) (2019-02-16)

@@ -8,0 +19,0 @@

@@ -61,2 +61,6 @@ let defineCECounter = 0;

export async function triggerBlurFor(element) {
if (isIE()) {
await nextFrame();
await nextFrame();
}
element.blur();

@@ -71,2 +75,4 @@ if (isIE()) {

* Resolves after focus.
* Adding an event and immediately trigger it in fails in IE.
* Also before checking the effects of a trigger IE needs some time.
*

@@ -77,2 +83,6 @@ * @param {HTMLElement} element

export async function triggerFocusFor(element) {
if (isIE()) {
await nextFrame();
await nextFrame();
}
element.focus();

@@ -79,0 +89,0 @@ if (isIE()) {

4

package.json
{
"name": "@open-wc/testing-helpers",
"version": "0.7.16",
"version": "0.7.17",
"description": "Testing Helpers following open-wc recommendations",

@@ -36,3 +36,3 @@ "author": "open-wc",

},
"gitHead": "f49a4468ebd9211228607fcfbe7a3a604275d2f2"
"gitHead": "81b91e504e8518add7f89d85a47f2fb6f5c6f1a4"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc