Socket
Socket
Sign inDemoInstall

@ngrx/component-store

Package Overview
Dependencies
5
Maintainers
4
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous123456

10.1.2

Diff

brandonroberts
published 10.1.1 •

brandonroberts
published 10.1.0 •

brandonroberts
published 10.0.1 •

Changelog

Source

10.0.1 (2020-10-07)

Bug Fixes

  • component: add entry point for schematic (#2688) (d937275), closes #2683
  • component-store: add entry point for schematic (#2687) (f8928e3), closes #2682
  • schematics: prevent ng-add from rewriting other workspace cli options (#2731) (37354aa)
  • store: prevent unexpected behavior of {} as a props type (#2728) (63510a8)

<a name="10.0.0"></a>

brandonroberts
published 10.0.0 •

Changelog

Source

10.0.0 (2020-08-10)

<a name="10.0.0-rc.0"></a>

brandonroberts
published 10.0.0-rc.0 •

Changelog

Source

10.0.0-rc.0 (2020-08-06)

Bug Fixes

  • router-store: add safety check to schematic (#2632) (255e9e8)

Code Refactoring

Features

BREAKING CHANGES

  • component-store: EffectReturnFn has been removed and the effect type is stricter and more predictable.

BEFORE:

If effect was const e = effect((o: Observable<string>) => ....) it was still possible to call e() without passing any strings

AFTER:

If effect was const e = effect((o: Observable<string>) => ....) its not allowed to call e() without passing any strings

<a name="10.0.0-beta.1"></a>

brandonroberts
published 10.0.0-beta.1 •

Changelog

Source

10.0.0-beta.1 (2020-07-20)

Bug Fixes

  • example-app: update snapshot (f2af688)
  • schematics: fix unit tests for JSON with comments (155ec1c)

Features

  • component: add ng-add and ng-update schematics (#2611) (3f2bea4)
  • component-store: add config for debounce selectors (#2606) (ddf0271)
  • component-store: add imperative reads (#2614) (2146774)
  • component-store: add ng-add and ng-update schematics (#2598) (af7b2cc), closes #2569

schematics

BREAKING CHANGES

  • The skipTest option has been renamed to skipTests

BEFORE:

ng generate container UsersPage --skipTest

AFTER:

ng generate container UsersPage --skipTests

<a name="10.0.0-beta.0"></a>

brandonroberts
published 10.0.0-beta.0 •

Changelog

Source

10.0.0-beta.0 (2020-06-25)

Bug Fixes

  • component: detect zone.js using instanceof comparison (#2547) (7128667)
  • component: removed ivy checks as obsolete (#2579) (e239950)
  • component-store: export EffectReturnFn interface (#2555) (f2a2212)
  • data: mergeQuerySet uses mergeStrategy (#2430) (e1720b4), closes #2368
  • entity: remove incorrect ComparerStr type (#2584) (4796c97)
  • schematics: add comma before devtools for empty imports (#2542) (f2d4ebc)

Chores

  • update Angular dependencies to latest v10 RC (#2573) (ed28449)

Features

  • component-store: add support for selectors (#2539) (47e7ba3)
  • component-store: add support for side effects (#2544) (f892cc8)
  • component-store: make library compatible with ViewEngine (#2580) (ba0818e)
  • router-store: add route fragment selector (#2543) (aba7368)

Performance Improvements

  • component-store: push updates to queueScheduler and single selectors to asapSchedulers (#2586) (58073ab)

BREAKING CHANGES

  • entity: The compare function is used in two places, neither of which expect it to be able to return a string: The first caller is the Array prototype sort function, and there it "should return a negative, zero, or positive value, depending on the arguments". The second caller does a numerical comparison with the result.

Even though an id can be a string, the result of a comparison shouldn't be.

BEFORE:

The sortComparer types allow for a string to be returned

AFTER:

The sortComparer types only allow a number to be returned

  • BEFORE:

Angular v9 are minimum dependencies

AFTER:

Angular v10 are minimum dependencies

<a name="9.2.0"></a>

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc