Skip to content

Releases: mridgway/hoist-non-react-statics

Use descriptors for properties

17 Aug 23:27
Compare
Choose a tag to compare

TypeScript Definition Fixes

24 Jul 19:39
Compare
Choose a tag to compare

TypeScript Definitions

13 Jul 22:10
Compare
Choose a tag to compare
v2.2.0

2.2.0

Bug fix for protected key access

13 Jul 22:10
Compare
Choose a tag to compare

Support for static methods

10 Jul 04:23
Compare
Choose a tag to compare

This changes the implementation back to using getOwnPropertyNames, but only hoists enumerables and non-enumerable static methods.

Enumerability Changes

23 Jun 22:12
Compare
Choose a tag to compare

There should be no breaking changes for most users. Previous specs for static class properties used non-enumerable properties. To accommodate this we also hoisted non-enumerable properties. The spec has changed and class properties are now enumerable, so we have removed the hoisting of non-enumerables since it can be problematic with native properties.

Potentially Breaking Change

  • Only hoist enumerable statics

New Features

  • Hoist statics of inherited classes