这是indexloc提供的服务,不要输入任何密码
Skip to content

Releases: poppinss/macroable

Update underlying dependencies

31 Aug 05:21

Choose a tag to compare

  • chore: update dependencies and remove ts-node in favor of require-ts 0274ae9
  • chore(package): update dependencies 955f313

v5.0.1...v5.0.2

Updating underlying dependencies

18 Jul 09:34

Choose a tag to compare

  • docs(README): add audit report badge and update examples 8b4a35f
  • chore: update/format meta files 7df99ae
  • chore: update dependencies 987cdca

v5.0.0...v5.0.1

Improvements to singleton getter cache property

05 Jul 04:48

Choose a tag to compare

  • improvement: do not leak getters to class instance 5dcc650
  • feat: add prettier 31ba74e
  • chore: update dependencies 7948e8a

v4.0.4...v5.0.0

Updating underlying dependencies

12 Apr 19:16

Choose a tag to compare

Updating underlying dependencies

09 Apr 04:07

Choose a tag to compare

Updating underlying dependencies

07 Feb 03:20

Choose a tag to compare

Allow any level of the prototype chain to initiate macros and getters objects

30 Dec 09:46

Choose a tag to compare

  • refactor: do not raise exception when any level in the prototype chain defines macros and getters 13b5a8b

v4.0.0...v4.0.1

Add a guard to ensure that macros and getters object are always initiated

19 Dec 12:41

Choose a tag to compare

Breaking Change

Renamed internal properties _macros and _getters to macros and getters and also Macroable will complain when these properties are not defined on the parent class. For example:

class Foo extends Macroable {}

new Foo() // throws error
class Foo extends Macroable {}
Foo.macros = {}
Foo.getters = {}

new Foo() // works fine

Commits

  • docs(README): update badges url eb60941
  • ci: remove travis,appveyor in favor of circleci 59c5d3f
  • docs(REAMDE): update usage docs 1997389
  • chore(package): remove unwanted dependencies 7c5eb1d
  • refactor: raise exception when macros and getters are not initiated on class 66c046e
  • chore: update dependencies a4c40b8

v3.0.0...v4.0.0

Allow generics for the macro and getter callbacks

22 Nov 09:08

Choose a tag to compare

  • chore: use np for release 93da334
  • feat: allow passing this to macroable fn 78b3d81
  • chore: update dependencies a357ddd

2.0.2...v3.0.0