hookable
hookable copied to clipboard
🪝 Awaitable Hooks
related: https://github.com/unjs/hookable/issues/37
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more.[View this repository on the Mend.io Web Portal](https://developer.mend.io/github/unjs/hookable). ## Open These updates have all been...
Allow inspecting hook calls for (debug) inspection and nonblocking purposes. We can also measure execution time with a flag and provide to event. API could be like this: ```js hookable.on(hookNamem,...
In framework usages, when a hook is registered (`.hook()`) after being called `.callHook` with no handlers, callers will lose the opportunity to catch it: ```js // A: It will be...
Would be nice to have examples in the README for using types with Hookable e.g. ```typescript import { createHooks } from 'hookable'; export type HookTypes = { hello: (value: string)...
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [unbuild](https://togithub.com/unjs/unbuild) | [`^0.9.1` -> `^0.9.4`](https://renovatebot.com/diffs/npm/unbuild/0.9.1/0.9.4) | [](https://docs.renovatebot.com/merge-confidence/)...
Context: https://github.com/unjs/hookable/pull/55 Implementation with has some issues still for tracking parallel hook calls with certain timing cases: (#id indicates assigned event._id we use to pad and add hidden diff and...
like `emitter.all.clear()` in [mitt](https://www.npmjs.com/package/mitt#user-content-usage)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vite](https://vite.dev) ([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite)) | [`^4.3.3` -> `^5.4.10`](https://renovatebot.com/diffs/npm/vite/4.3.3/5.4.10) | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`^18.16.1` -> `^20.17.0`](https://renovatebot.com/diffs/npm/@types%2fnode/18.16.1/20.17.0) | [](https://docs.renovatebot.com/merge-confidence/) |...