@digest/express 4.8.2 → 4.9.0-next.1

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/dist/app.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- declare const app: import("express-serve-static-core").Express;
1
+ import { type Express } from 'express';
2
+ declare const app: Express;
2
3
  export default app;
@@ -1,2 +1,3 @@
1
- declare const history: (baseHref?: string) => import("express-serve-static-core").Router;
1
+ import { type Router } from 'express';
2
+ declare const history: (baseHref?: string) => Router;
2
3
  export default history;
@@ -1,2 +1,3 @@
1
- declare const routers: import("express-serve-static-core").Router;
1
+ import { type Router } from 'express';
2
+ declare const routers: Router;
2
3
  export default routers;
@@ -1,3 +1,4 @@
1
+ import { type Router } from 'express';
1
2
  import { type ServeStaticOptions } from 'serve-static';
2
- declare const statics: (baseHref: string, staticPath: string, production?: boolean, serveStaticOptions?: ServeStaticOptions) => import("express-serve-static-core").Router;
3
+ declare const statics: (baseHref: string, staticPath: string, production?: boolean, serveStaticOptions?: ServeStaticOptions) => Router;
3
4
  export default statics;
@@ -1,2 +1,3 @@
1
- declare const stats: () => import("express-serve-static-core").Router;
1
+ import { type Router } from 'express';
2
+ declare const stats: () => Router;
2
3
  export default stats;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@digest/express",
3
3
  "title": "Express Digest",
4
4
  "license": "LGPL-3.0-or-later",
5
- "version": "4.8.2",
5
+ "version": "4.9.0-next.1",
6
6
  "description": "Digested Express configurations",
7
7
  "author": "wallzero @wallzeroblog (http://wallzero.com)",
8
8
  "contributors": [
@@ -48,20 +48,20 @@
48
48
  "@digest/scripts": "^4.0.0",
49
49
  "connect-history-api-fallback": "^2.0.0",
50
50
  "connect-slashes": "^1.4.0",
51
- "express": "^4.19.2",
52
- "express-static-gzip": "^2.1.7",
53
- "helmet": "^7.1.0",
54
- "serve-static": "^1.15.0"
51
+ "express": "^4.21.1",
52
+ "express-static-gzip": "^2.1.8",
53
+ "helmet": "^8.0.0",
54
+ "serve-static": "^1.16.2"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/connect-history-api-fallback": "^1.5.4",
58
58
  "@types/connect-slashes": "^0.0.36",
59
- "@types/express": "^4.17.21",
59
+ "@types/express": "^5.0.0",
60
60
  "@types/serve-static": "^1.15.7"
61
61
  },
62
62
  "keywords": [
63
63
  "digest",
64
64
  "express"
65
65
  ],
66
- "gitHead": "617ecd6370c4c47aa1ef6e3fc1b7bf78bea257ca"
66
+ "gitHead": "b688a4c51cca87f2d45d389717dd3e879fcde057"
67
67
  }