next-ssr-middleware 0.6.2 → 0.7.0

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.
Files changed (2) hide show
  1. package/ReadMe.md +8 -0
  2. package/package.json +8 -8
package/ReadMe.md CHANGED
@@ -7,6 +7,13 @@
7
7
 
8
8
  [![NPM](https://nodei.co/npm/next-ssr-middleware.png?downloads=true&downloadRank=true&stars=true)][5]
9
9
 
10
+ ## Versions
11
+
12
+ | SemVer | status | MobX | [MobX i18n][6] |
13
+ | :-----: | :----------: | :---------: | :------------: |
14
+ | `>=0.7` | ✅developing | `>=6.11` | `>=0.5` |
15
+ | `<0.7` | ❌deprecated | `>=4 <6.11` | `<0.5` |
16
+
10
17
  ## Usage
11
18
 
12
19
  ### `pages/user/[id].tsx`
@@ -66,3 +73,4 @@ export default function UserDetailPage({
66
73
  [3]: https://libraries.io/npm/next-ssr-middleware
67
74
  [4]: https://github.com/idea2app/Next-SSR-middleware/actions/workflows/main.yml
68
75
  [5]: https://nodei.co/npm/next-ssr-middleware/
76
+ [6]: https://github.com/idea2app/MobX-i18n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-ssr-middleware",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "license": "LGPL-3.0-or-later",
5
5
  "author": "shiy2008@gmail.com",
6
6
  "description": "Koa-like middlewares for Next.js Server Side Rendering",
@@ -23,7 +23,7 @@
23
23
  "main": "dist/index.js",
24
24
  "dependencies": {
25
25
  "jsonwebtoken": "^9.0.2",
26
- "mobx-i18n": "^0.4.2",
26
+ "mobx-i18n": "^0.5.0",
27
27
  "tslib": "^2.6.2",
28
28
  "web-utility": "^4.1.3"
29
29
  },
@@ -32,14 +32,14 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/jsonwebtoken": "^9.0.5",
35
- "@types/node": "^18.19.3",
36
- "husky": "^8.0.3",
35
+ "@types/node": "^18.19.10",
36
+ "husky": "^9.0.7",
37
37
  "koajax": "^0.9.6",
38
38
  "lint-staged": "^15.2.0",
39
- "next": "^14.0.4",
39
+ "next": "^14.1.0",
40
40
  "open-cli": "^8.0.0",
41
- "prettier": "^3.1.1",
42
- "typedoc": "^0.25.4",
41
+ "prettier": "^3.2.4",
42
+ "typedoc": "^0.25.7",
43
43
  "typescript": "~5.3.3"
44
44
  },
45
45
  "prettier": {
@@ -52,7 +52,7 @@
52
52
  "*.{md,json,yml,ts}": "prettier --write"
53
53
  },
54
54
  "scripts": {
55
- "prepare": "husky install",
55
+ "prepare": "husky",
56
56
  "test": "lint-staged",
57
57
  "build": "rm -rf dist/ docs/ && typedoc source/ && tsc",
58
58
  "start": "typedoc && open-cli docs/index.html",