keywordblocker icon indicating copy to clipboard operation
keywordblocker copied to clipboard

Update dependency ts-debounce to v4

Open renovate[bot] opened this issue 3 years ago • 0 comments

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-debounce 2.3.0 -> 4.0.0 age adoption passing confidence

Release Notes

chodorowicz/ts-debounce

v4.0.0

Compare Source

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
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

Compare Source

  • ✨ [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.

renovate[bot] avatar Nov 14 '21 11:11 renovate[bot]