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

immview

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immview - npm Package Versions

1
6

2.0.1

Diff

arturkulig
published 2.0.0 •

Changelog

Source

2.0.0

  • feat: rewrite
  • feat: Immview is now written with TypeScript and exposes types declarations.
  • feat: Domain actions return promises of these being executed.
  • feat: Observable is a first class citizen of the library, not an implementation detail and mimics TC39 Observable proposal as closely as possible and in most usable way.
  • feat: Observable::subscribe callback will not be immediately called with last shared value.
  • feat: Data is achievable through normal Observable creation and pushing values. All Observables are observers (actually all observer's proxy) and can push messages even if are derivative to some other stream..
  • feat: View functionality will be achievable using Observable::map function only.
  • feat: Scan functionality will be achievable using Observable::scan function only.
  • feat: Merge is renamed to Combine.
  • feat: Observable::buffer* functions are introduced. Observables stream pressure unloading by replacing awaiting values will no longer be.
  • feat: Domain with actions can now be created through factory Domain.create.
  • feat: Adding actions while extending Domain class can be achieved through @action decorator (experimental feature).

arturkulig
published 1.7.3 •

Changelog

Source

1.7.3

  • feat: Domains may be now decorated with function (that become actions) and other fields.
arturkulig
published 1.7.2 •

Changelog

Source

1.7.2

  • fix: Proxy based immutability was getting in the way of native js functions due to shadowing of referential equality, so it has been disabled.
arturkulig
published 1.7.1 •

Changelog

Source

1.7.1

  • fix: object once immutabilized is not immutabilized again
  • fix: shouldObservableUpdate default implementation was holding back pushing further the same object, but in case it has not been immutabilized too. Now it refrains from pushing the same object if it has been immutabilized before.

1.7

  • feat: New node Merge. Merging multiple source can and should be done with Merge and this functionality in View is now deprecated.
  • feat: New node Reduce. Provide it with observable source and function that takes current state and source stream state.
  • feat: Immview no longer depends on Immutable.js and doesn't have Immutable.js oriented optimizations.
  • feat: All objects that are provided within View processor and all subscriptions are now frozen. Functionality requires Proxy, but library doesn't rely on that as in many environments it is not present. It is cheaper than cloning, yet secures immutability of data provided to processing functions too.
  • feat: Observable class got shouldObservableUpdate method responsible for decision if candidate value should replace old one and thus trigger subscriptions. Method can be overriden in subclass.
  • feat: Any Observable can pass a Promise and it will result in asynchronous subscriptions triggering with Promise result. Promise rejection is not being handled. This, ofcourse, will work with async/await or Promise-returning processing functions in View.
arturkulig
published 1.7.0 •

arturkulig
published 1.6.2 •

Changelog

Source

1.6.2

  • fix: Simpler and faster solution for eliminating unnecessary rerenders of merging views
arturkulig
published 1.6.1 •

Changelog

Source

1.6.1

  • fix: Data ignores write instructions raised after the node being destroyed

1.6

  • feat: Scan and *.scan added
  • feat: Actions mounted on domain have additional property originalLength to indicate arguments amount of original action function
  • On the road to have Immutable.js as option:
    • fix: Data no longer magically transforms initial data provided in constructor to Immutable.js data structure
    • fix: View is merging different streams using plain objects instead of Immutable.js map
arturkulig
published 1.6.0 •

arturkulig
published 1.5.2 •

Changelog

Source

1.5.2

  • fix: writing during single tick, to the same Data twice or more, causing to reject all but last change
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