Packages

before-after-hook

4.0.0 · 12 May 2025Apache-2.049.1M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.0

major9 Jul 2019Where it was published

2.2.3 is the newest release of 2.x.

In short

2 breaking1 deprecated

  • Breaking

    hook(/* options, */ method) is now hook(method /*, options */)

  • Breaking

    Dropped official support for Node 6. It will still work, but we no longer test with it as Node 6 is no longer maintained

  • Deprecated

    Deprecated hook.remove.{before, error, after, wrap}() methods removed. Use hook.remove() instead.

Release note

Breaking changes

  • Breaking

    hook(/* options, */ method) is now hook(method /*, options */)

  • Deprecated

    Deprecated hook.remove.{before, error, after, wrap}() methods removed. Use hook.remove() instead.

  • Breaking

    Dropped official support for Node 6. It will still work, but we no longer test with it as Node 6 is no longer maintained

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.