@eui/tools 6.21.34 → 6.21.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 6.21.34
1
+ 6.21.35
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 6.21.35 (2025-01-13)
2
+
3
+ ##### Chores
4
+
5
+ * **other:**
6
+ * v19 mapping adaptations MWP-11339 [MWP-11339](https://webgate.ec.europa.eu/CITnet/jira/browse/MWP-11339) ([b7b2f74f](https://webgate.ec.europa.eu/CITnet/stash/scm/csdr/eui-tools.git/commits/b7b2f74fcbd2309938a125825a67aad115f04141))
7
+
8
+ * * *
9
+ * * *
1
10
  ## 6.21.34 (2025-01-13)
2
11
 
3
12
  ##### Chores
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/tools",
3
- "version": "6.21.34",
3
+ "version": "6.21.35",
4
4
  "tag": "latest",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI common tools and scripts",
@@ -1,7 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
2
  import { ActionReducer, ActionReducerMap, MetaReducer } from '@ngrx/store';
3
3
  import * as fromRouter from '@ngrx/router-store';
4
- import { storeFreeze } from 'ngrx-store-freeze';
5
4
  import { CoreState, reducers as coreReducers } from '@eui/core';
6
5
 
7
6
  import { environment } from '../../environments/environment';
@@ -39,4 +38,4 @@ export function logger(reducer: ActionReducer<AppState>): ActionReducer<AppState
39
38
  };
40
39
  }
41
40
 
42
- export const metaReducers: MetaReducer<AppState>[] = !environment.production ? [logger, storeFreeze] : [];
41
+ export const metaReducers: MetaReducer<AppState>[] = !environment.production ? [logger] : [];
@@ -1,9 +1,8 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { ActionReducer, ActionReducerMap, MetaReducer, INIT, RuntimeChecks } from '@ngrx/store';
2
+ import { ActionReducer, ActionReducerMap, INIT, MetaReducer } from '@ngrx/store';
3
3
  import * as fromRouter from '@ngrx/router-store';
4
- import { storeFreeze } from 'ngrx-store-freeze';
5
4
 
6
- import { reducers as coreReducers, CoreState } from '@eui/core';
5
+ import { CoreState, reducers as coreReducers } from '@eui/core';
7
6
  import { ElementStorageService } from '@csdr/core';
8
7
 
9
8
  import { environment } from '../../environments/environment';
@@ -60,16 +59,7 @@ export function hydrationFactory(config: any, elementStorage: ElementStorageServ
60
59
 
61
60
  export function metaReducers(config: any, elementStorage: ElementStorageService): MetaReducer<AppState>[] {
62
61
  if (!environment.production) {
63
- return [logger, storeFreeze, hydrationFactory(config, elementStorage)];
62
+ return [logger, hydrationFactory(config, elementStorage)];
64
63
  }
65
64
  return [hydrationFactory(config, elementStorage)];
66
65
  }
67
-
68
- export const runtimeChecks: RuntimeChecks = {
69
- strictStateSerializability: false,
70
- strictActionSerializability: false,
71
- strictStateImmutability: false,
72
- strictActionImmutability: false,
73
- strictActionWithinNgZone: false,
74
- strictActionTypeUniqueness: false,
75
- };
@@ -261,7 +261,7 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemotesConfigFlag = tru
261
261
 
262
262
  // if no options found, we inject default modules defs
263
263
  if (!remote.skeletonConfig.options) {
264
- definitionsContent.push('StoreModule.forRoot(TOKEN, { metaReducers, runtimeChecks })');
264
+ definitionsContent.push('StoreModule.forRoot(TOKEN, { metaReducers })');
265
265
 
266
266
  // if options, all options are checked and default modules defs are injected following certain conditions
267
267
  } else {
@@ -276,10 +276,10 @@ module.exports.generateVirtualRemote = (remoteName, cloneRemotesConfigFlag = tru
276
276
  // user-reducers specific sources
277
277
  if (remote.skeletonConfig.options.userReducers) {
278
278
  tools.copy(optionUserReducersPath, remoteSrcPath);
279
- definitionsContent.push('StoreModule.forRoot(TOKEN, { runtimeChecks })');
279
+ definitionsContent.push('StoreModule.forRoot(TOKEN)');
280
280
  pushContent(optionUserReducersDef);
281
281
  } else {
282
- definitionsContent.push('StoreModule.forRoot(TOKEN, { metaReducers, runtimeChecks })');
282
+ definitionsContent.push('StoreModule.forRoot(TOKEN, { metaReducers })');
283
283
  }
284
284
 
285
285
  // all-locales specific sources