New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

heir

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heir - npm Package Versions

4.0.0

Diff

Changelog

Source

v4.0.0

  • Cleaned up the project to match how JavaScript projects are usually structured these days.
  • Fixed some documentation.
  • Moved away from bower.
  • Simplified as much as possible.
  • Removed all the AMD stuff, just use webpack or whatever, module.exports and require is good enough and can be compiled out.
  • Use const over var, if you really need something to target an old browser etc use a transpiler or v3.0.0.
  • Deleted a LOT of code because YAGNI.
wolfy87
published 3.0.0 •

Changelog

Source

v3.0.0

The concept of _super now works better, but in a completely different way. Thanks to @[vejersele][] in issue #9.

wolfy87
published 2.0.0 •

Changelog

Source

v2.0.0

The inherit method used to work by cloning and merging multiple prototypes into one. This meant things like instanceof didn't work and you could get into some weird scenarios [caused by multiple inheritance][mi].

The new inherit uses the built in prototypical inheritance to provide a much cleaner outcome, as shown in [this post about prototypical inheritance][pi]. The major change is that you can't inherit from multiple classes any more.

If you still need to have multiple things shared between classes to avoid duplication, you can now use the mixin method to merge objects into your inheritance hierarchies where required.

wolfy87
published 1.0.1 •

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc