Socket
Socket
Sign inDemoInstall

hookable

Package Overview
Dependencies
0
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
234Next

5.5.3

Diff

Changelog

Source

v5.5.3

compare changes

🩹 Fixes

  • Clone hook arrays before calling (#79)

🏡 Chore

❤️ Contributors

pi0
published 5.5.2 •

Changelog

Source

v5.5.2

compare changes

📖 Documentation

  • Add removeAllHooks and fix typos (#72)

🌊 Types

  • Work with strict config (#63)

🏡 Chore

  • lint: Run lint:fix to fix formatting (#77)
  • Update dependencies (9443040)

❤️ Contributors

pi0
published 5.5.1 •

Changelog

Source

v5.5.1

compare changes

🩹 Fixes

  • Shift name out of arg array (#71)

📖 Documentation

❤️ Contributors

pi0
published 5.5.0 •

Changelog

Source

v5.5.0

compare changes

🚀 Enhancements

  • Add function name to hook for better dx in stacktraces (#68)
  • Use console.createTask to improve traces where supported (#69)
  • Add removeAllHooks utility (#61)

🏡 Chore

  • Add latest @types/node package (#66)
  • Add .prettierrc (4b3e99b)
  • Use changelogen for releases (151d16b)
  • Simplify variable names (369a2fe)

✅ Tests

  • Fix vitest type issue (#70)

🎨 Styles

  • Format with prettier (#65)

❤️ Contributors

pi0
published 1.0.0 •

Changelog

Source

1.0.0 (2019-02-11)

Features

BREAKING CHANGES

  • api change

<a name="0.0.7"></a>

pi0
published 5.4.2 •

Changelog

Source

5.4.2 (2022-11-15)

Bug Fixes

pi0
published 5.4.1 •

Changelog

Source

5.4.1 (2022-10-15)

Bug Fixes

pi0
published 5.4.0 •

Changelog

Source

5.4.0 (2022-10-13)

Features

pi0
published 5.3.0 •

Changelog

Source

5.3.0 (2022-09-02)

Features

  • allow registering a hook without showing deprecated message (0fcd787)

Bug Fixes

  • show deprecation warning only once (526e4dc)
pi0
published 5.2.2 •

Changelog

Source

5.2.2 (2022-08-23)

Bug Fixes

  • only specify return type for callHook/callHookParallel (ed0d6a8)
234Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc