koa-helmet 8.0.0 → 8.0.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/koa-helmet.d.ts +2 -2
- package/package.json +4 -3
package/koa-helmet.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for koa-helmet
|
|
1
|
+
// Type definitions for koa-helmet 8.0
|
|
2
2
|
// Project: https://github.com/venables/koa-helmet#readme
|
|
3
3
|
// Definitions by: Nick Simmons <https://github.com/nsimmons>
|
|
4
4
|
// Jan Dolezel <https://github.com/dolezel>
|
|
@@ -16,5 +16,5 @@ type KoaHelmet = {
|
|
|
16
16
|
) => Middleware;
|
|
17
17
|
} & ((options?: HelmetOptions) => Middleware);
|
|
18
18
|
|
|
19
|
-
const koaHelmet: KoaHelmet;
|
|
19
|
+
declare const koaHelmet: KoaHelmet;
|
|
20
20
|
export default koaHelmet;
|
package/package.json
CHANGED
|
@@ -3,15 +3,16 @@
|
|
|
3
3
|
"author": "Matt Venables <matt@venabl.es>",
|
|
4
4
|
"description": "Security header middleware collection for koa",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "8.0.
|
|
6
|
+
"version": "8.0.1",
|
|
7
7
|
"main": "lib/koa-helmet.js",
|
|
8
8
|
"typings": "./koa-helmet.d.ts",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"check": "npm run format:check && npm run lint && npm run test",
|
|
10
|
+
"check": "npm run format:check && npm run lint && npm run test && npm run typecheck",
|
|
11
11
|
"format": "prettier --write .",
|
|
12
12
|
"format:check": "prettier --check .",
|
|
13
13
|
"lint": "eslint .",
|
|
14
|
-
"test": "vitest"
|
|
14
|
+
"test": "vitest",
|
|
15
|
+
"typecheck": "tsc --noEmit --pretty"
|
|
15
16
|
},
|
|
16
17
|
"keywords": [
|
|
17
18
|
"security",
|