ReviewOS

also looking at this

stacks/wildloop

chore(deps): update dependency event-target-shim to 6.0.2

#670
Closed chris wants to merge buddy-bot/update-major-update-event-target-shim into main
2 files +2228 -1
11 days ago

This PR contains the following updates:

npm

PackageChangeAgeAdoptionPassingConfidence
event-target-shim (source)5.0.0 -> 6.0.2ageadoptionpassingconfidence

Release Notes

mysticatea/event-target-shim (event-target-shim)

5.0.0 -> 6.0.2

v6.0.2

Compare Source

🐛 Bug Fixes

This version fixed event-target-shim/es5 and event-target-shim/umd exported files for working well on IE11.

Released by mysticatea on 1/7/2021

v6.0.1

Compare Source

❌ This is an accidental broken release ❌

Released by mysticatea on 1/7/2021

v6.0.0

Compare Source

This package has been rewritten with TypeScript.

💥 Breaking Changes

API has some breaking changes. See Migration Guide for details.

✨ New Features

■ Event class is available

Previously, this package had not exported Event class as prefers using the native Event class. Since this version, this package exports it.

import { EventTarget, Event } from "event-target-shim";

const target = new EventTarget();
target.dispatchEvent(new Event("foo"));

■ signal option on EventTarget.prototype.addEventListener is available

It's a new feature that was added to the standard recently: whatwg/dom#919

import { EventTarget, Event } from "event-target-shim";
import { AbortController } from "abort-controller";

const target = new EventTarget();
const ac = new AbortController();

target.addEventListener("foo", listener, { signal: ac.signal });

// Remov...

*[View full release notes]*

*Released by [mysticatea](https://github.com/mysticatea) on 1/7/2021*

</details>

---

### �� Package Statistics

- **event-target-shim**: npm package with weekly downloads tracked on npmjs.com

---

### Configuration

�� **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

�� **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

�� **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Buddy](https://github.com/stacksjs/buddy-bot) 🤖

2 changed files on the files tab, with 0 review threads.

Sign in to comment on this pull request.