Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

knockout-decorators

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knockout-decorators - npm Package Versions

23

2.0.0

Diff

Changelog

Source

[2.0.0] 2019-08-05

Changed

  • Type definitions now taken from knockout package insted of @types/knockout #17 #18
gnaeus
published 1.2.3 •

Changelog

Source

[1.2.3] 2019-01-15

Fixed

  • ESM-module compiled to es5 compatible code #15
gnaeus
published 1.2.2 •

Changelog

Source

[1.2.2] 2018-09-28

Fixed

  • "knockout" package moved to "peerDependencies" in package.json #4
gnaeus
published 1.2.1 •

Changelog

Source

[1.2.1] 2018-08-31

Fixed

  • subscribe() now works with @extend({ notify: "always" }) #7
gnaeus
published 1.2.0 •

Changelog

Source

[1.2.0] 2018-08-30

Added

  • @observable({ expose: true }) option
  • @observableArray({ expose: true }) option

With { expose: true } flag hidden ko.observable can be accessed through non-enumerable property with same name prefixed by _. Thanks to @FlorianBruckner.

gnaeus
published 1.1.1 •

Changelog

Source

[1.1.1] - 2018-04-20

Fixed

  • Type Definitions
  • Some TSLint issues
gnaeus
published 1.1.0 •

Changelog

Source

[1.1.0] - 2018-04-19

Added

  • ES6-module build
gnaeus
published 1.0.0 •

Changelog

Source

[1.0.0] - 2017-04-03

Added

  • @observable({ deep: true }) option
  • @observableArray({ deep: true }) option
  • @computed({ pure: false }) option

Removed

  • @reactive decorator

In v1.0.0 @reactive decorator was replaced by @observable({ deep: true }) option

gnaeus
published 0.10.0 •

Changelog

Source

[0.10.0] - 2017-03-29

Added

  • Disposable() mixin

Disposable() mixin injects to class:

  • .subscribe() method, an alias for subscribe() utility function
  • .dispose() method. It disposes all subscription created by .subscribe() method
  • .unwrap() method, an alias for unwrap() utility function
gnaeus
published 0.9.1 •

Changelog

Source

[0.9.1] - 2017-02-01

Added

  • @reactive (deep observable) decorator. It can be used for recursively  observing nested object's properties (see #3)
  • @event decorator. It creates hidden ko.subscribable for class property
  • ObservableArray.set(index, value) method
  • ObservableArray.mutate(() => {...}) method

Changed

  • subscribe() function can be used with @event decorator
  • subscribe() function can subscribe to "arrayChange" Knockout event
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