@adaptivestone/framework 5.0.0-alpha.22 → 5.0.0-alpha.24

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ### 5.0.0-alpha.24
2
+
3
+ [UPDATE] update deps
4
+ [BREAKING] i18next v24 https://www.i18next.com/misc/migration-guide#v23.x.x-to-v24.0.0
5
+
6
+ ### 5.0.0-alpha.23
7
+
8
+ [UPDATE] update deps
9
+
1
10
  ### 5.0.0-alpha.22
2
11
 
3
12
  [UPDATE] update deps
@@ -21,7 +21,7 @@ class Home extends AbstractController {
21
21
  }
22
22
 
23
23
  static get middleware() {
24
- return new Map([['{/*splat}', [GetUserByToken]]]);
24
+ return new Map([['/{*splat}', [GetUserByToken]]]);
25
25
  }
26
26
  }
27
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptivestone/framework",
3
- "version": "5.0.0-alpha.22",
3
+ "version": "5.0.0-alpha.24",
4
4
  "description": "Adaptive stone node js framework",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  "express": "^5.0.1",
35
35
  "formidable": "^3.5.1",
36
36
  "html-to-text": "^9.0.3",
37
- "i18next": "^23.2.8",
37
+ "i18next": "^24.0.0",
38
38
  "i18next-fs-backend": "^2.0.0",
39
39
  "juice": "^11.0.0",
40
40
  "minimist": "^1.2.5",
@@ -63,7 +63,7 @@ class I18n extends AbstractMiddleware {
63
63
 
64
64
  if (!this.cache[lang]) {
65
65
  this.cache[lang] = i18next.cloneInstance({
66
- initImmediate: false,
66
+ initAsync: false,
67
67
  lng: lang,
68
68
  });
69
69
  }