@modern-js/plugin-server 0.0.0-next-20240402091308 → 0.0.0-next-20240408131751

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.
@@ -100,11 +100,6 @@ var server_default = () => ({
100
100
  storage.reset();
101
101
  loadMod();
102
102
  },
103
- // gather({ addWebMiddleware }) {
104
- // storage.middlewares.forEach(mid => {
105
- // addWebMiddleware(mid);
106
- // });
107
- // },
108
103
  afterMatch(context, next) {
109
104
  if (!storage.hooks.afterMatch) {
110
105
  return next();
@@ -84,11 +84,6 @@ function server_default() {
84
84
  storage.reset();
85
85
  loadMod();
86
86
  },
87
- // gather({ addWebMiddleware }) {
88
- // storage.middlewares.forEach(mid => {
89
- // addWebMiddleware(mid);
90
- // });
91
- // },
92
87
  afterMatch: function afterMatch(context, next) {
93
88
  if (!storage.hooks.afterMatch) {
94
89
  return next();
@@ -74,11 +74,6 @@ var server_default = () => ({
74
74
  storage.reset();
75
75
  loadMod();
76
76
  },
77
- // gather({ addWebMiddleware }) {
78
- // storage.middlewares.forEach(mid => {
79
- // addWebMiddleware(mid);
80
- // });
81
- // },
82
77
  afterMatch(context, next) {
83
78
  if (!storage.hooks.afterMatch) {
84
79
  return next();
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-20240402091308",
18
+ "version": "0.0.0-next-20240408131751",
19
19
  "types": "./dist/types/cli.d.ts",
20
20
  "jsnext:source": "./src/cli",
21
21
  "main": "./dist/cjs/cli.js",
@@ -51,20 +51,20 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@swc/helpers": "0.5.3",
54
- "@modern-js/utils": "0.0.0-next-20240402091308",
55
- "@modern-js/server-utils": "0.0.0-next-20240402091308"
54
+ "@modern-js/utils": "0.0.0-next-20240408131751",
55
+ "@modern-js/server-utils": "0.0.0-next-20240408131751"
56
56
  },
57
57
  "devDependencies": {
58
58
  "typescript": "^5",
59
59
  "@types/jest": "^29",
60
60
  "@types/node": "^14",
61
61
  "jest": "^29",
62
- "@modern-js/core": "0.0.0-next-20240402091308",
63
- "@modern-js/server-core": "0.0.0-next-20240402091308",
64
- "@modern-js/app-tools": "0.0.0-next-20240402091308",
65
- "@scripts/build": "0.0.0-next-20240402091308",
66
- "@modern-js/types": "0.0.0-next-20240402091308",
67
- "@scripts/jest-config": "0.0.0-next-20240402091308"
62
+ "@modern-js/server-core": "0.0.0-next-20240408131751",
63
+ "@modern-js/app-tools": "0.0.0-next-20240408131751",
64
+ "@modern-js/core": "0.0.0-next-20240408131751",
65
+ "@scripts/build": "0.0.0-next-20240408131751",
66
+ "@modern-js/types": "0.0.0-next-20240408131751",
67
+ "@scripts/jest-config": "0.0.0-next-20240408131751"
68
68
  },
69
69
  "sideEffects": [
70
70
  "*.css",