keywordblocker
keywordblocker copied to clipboard
Update dependency ts-debounce to v4
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
ts-debounce | 2.3.0 -> 4.0.0 |
Release Notes
chodorowicz/ts-debounce
v4.0.0
Breaking
- improve type inference thanks @juanmendes for the idea
- since we're improving types in some scenarios (instead of
any
you can get more precise types) this can break your type checks
- since we're improving types in some scenarios (instead of
const inputs = document.querySelectorAll("input");
inputs[0].addEventListener(
"input",
debounce((event) => {
// here Event has `Event` type, before it was just `any`
expectType<EventTarget | null>(event.target);
}, 0)
);
other
- 🧪 introduce tsd type testing
- 📝 add past contributors
- 💅 Add Prettier, format files
v3.0.0
- ✨ [new] support for promises (thanks @sanduluca)
- ✨ [new] support for callback (thanks @sanduluca)
- 📝 [new] Update docs in relation to this release
- 💥 [breaking]
ts-debounce
assumes that Promise is available
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by WhiteSource Renovate. View repository job log here.