Skip to content

Tags: gr2m/before-after-hook

Tags

v3.0.2

Toggle v3.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(types): export `Hook` as type interface (#118)

v3.0.1

Toggle v3.0.1's commit message
fix(README): Node usage

v3.0.0

Toggle v3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
refactor: modernize code (#117)

BREAKING CHANGE: `before-after-hook` is now a native ES Module

BREAKING CHANGE: `before-after-hook` now has a single default export of `{ Collection, Singular }`

v2.2.3

Toggle v2.2.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(typescript): permit catching errors by returning a value in error…

… hook (#116)

v2.2.2

Toggle v2.2.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(README): name the right things when explaining the usage examples (

…#97)

v2.2.1

Toggle v2.2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(typescript): async hooks are supported (#90)

v2.2.0

Toggle v2.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: TypeScript support for Collection (#81)

Co-authored-by: Gregor Martynus <[email protected]>

v2.1.1

Toggle v2.1.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: add `"main"` to `package.json` (#87) thanks @drwpow

v2.1.0

Toggle v2.1.0's commit message
feat(typescript): improved definitions (#60)

* add generic fallback: new Singular
* remove redundant types
* rename arguments & remove redundant types
* complete HookSingular
* fix wrong return types
* complete HookCollection
* add types validation
* scripts: add validate:ts to posttest
* export interfaces
* add generic for error type

v2.0.1

Toggle v2.0.1's commit message
fix(typescript): adapt definitions for v2