Skip to content

Commit d9d25d2

Browse files
authored
fix(ngxs): upgrade to NGXS 18.1.6 (#1530)
1 parent 6b2ab6a commit d9d25d2

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

libs/ngxs/internals/services/ngxs-data-factory.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class NgxsDataFactory {
107107

108108
private static ensureMeta(stateMeta: any): MappedStore | null | undefined {
109109
const meta: MappedState = isNotNil(stateMeta.name)
110-
? NgxsDataInjector.factory!.states?.find(
110+
? NgxsDataInjector.factory!._states?.find(
111111
(state: MappedStore): boolean => state.name === stateMeta.name,
112112
)
113113
: null;

libs/ngxs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@angular-ru/ngxs",
3-
"version": "18.9.0",
3+
"version": "18.10.0",
44
"description": "Angular-RU package",
55
"homepage": "https://github.com/Angular-RU/angular-ru-sdk/tree/master/libs/cdk#readme",
66
"bugs": "https://github.com/Angular-RU/angular-ru-sdk/issues",
77
"repository": "https://github.com/Angular-RU/angular-ru-sdk",
88
"license": "MIT",
99
"author": "[email protected]",
1010
"peerDependencies": {
11-
"@ngxs/store": ">=18.1.5"
11+
"@ngxs/store": ">=18.1.6"
1212
},
1313
"publishConfig": {
1414
"access": "public"

libs/ngxs/typings/common/state-factory.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import type {MappedStore} from './mapped-store';
22

33
export interface StateFactory {
44
hydrateActionMetasMap(mappedStore: MappedStore): void;
5-
states: MappedStore[];
5+
_states: MappedStore[];
66
}

package-lock.json

+13-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"@ng-web-apis/universal": "4.1.2",
109109
"@ngx-translate/core": "15.0.0",
110110
"@ngx-translate/http-loader": "8.0.0",
111-
"@ngxs/logger-plugin": "18.1.5",
111+
"@ngxs/logger-plugin": "18.1.6",
112112
"@nx/workspace": "19.4.1",
113113
"@release-it-plugins/workspaces": "4.2.0",
114114
"@release-it/conventional-changelog": "8.0.1",

0 commit comments

Comments
 (0)