@digest/koa 4.1.4 → 4.1.5
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,4 +1,4 @@
|
|
|
1
1
|
import { type Options } from 'connect-history-api-fallback';
|
|
2
2
|
import { type Middleware } from 'koa';
|
|
3
|
-
declare const history: (baseHref?: string, options?: Options) => Middleware
|
|
3
|
+
declare const history: (baseHref?: string, options?: Options) => Middleware;
|
|
4
4
|
export default history;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="koa" />
|
|
2
2
|
import { type Options } from 'koa-static';
|
|
3
|
-
declare const statics: (baseHref: string, staticPath: string, production?: boolean, serveStaticOptions?: Options) => import("koa").Middleware<{}
|
|
3
|
+
declare const statics: (baseHref: string, staticPath: string, production?: boolean, serveStaticOptions?: Options) => import("koa").Middleware<{}>;
|
|
4
4
|
export default statics;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@digest/koa",
|
|
3
3
|
"title": "Koa Digest",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
|
-
"version": "4.1.
|
|
5
|
+
"version": "4.1.5",
|
|
6
6
|
"description": "Digested Koa configurations",
|
|
7
7
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
8
8
|
"contributors": [
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"clean": "rimraf node_modules dist package-lock.json npm-debug.log"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@digest/scripts": "^4.1.
|
|
54
|
+
"@digest/scripts": "^4.1.5",
|
|
55
55
|
"@koa/router": "^12.0.0",
|
|
56
56
|
"koa": "^2.14.1",
|
|
57
|
-
"koa-helmet": "^
|
|
57
|
+
"koa-helmet": "^7.0.2",
|
|
58
58
|
"koa-history-api-fallback": "^1.0.0",
|
|
59
59
|
"koa-mount": "^4.0.0",
|
|
60
60
|
"koa-remove-trailing-slashes": "^2.0.3",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@types/connect-history-api-fallback": "^1.3.5",
|
|
66
|
-
"@types/koa": "^2.13.
|
|
66
|
+
"@types/koa": "^2.13.6",
|
|
67
67
|
"@types/koa-helmet": "^6.0.4",
|
|
68
68
|
"@types/koa-mount": "^4.0.2",
|
|
69
69
|
"@types/koa-send": "^4.1.3",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"digest",
|
|
75
75
|
"koa"
|
|
76
76
|
],
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "6f66618ba16df3c48edd837cc0a73caa379d85d1"
|
|
78
78
|
}
|