@maroonedsoftware/koa 1.13.5 → 1.14.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.
@@ -1,3 +1,10 @@
1
1
  import { ServerKitMiddleware } from '../../serverkit.middleware.js';
2
+ /**
3
+ * Development-only middleware that injects a hardcoded Authorization header when none is present.
4
+ *
5
+ * @param fakeSecurityToken - The token value to set as the Authorization header.
6
+ *
7
+ * @remarks Remove before deploying to production.
8
+ */
2
9
  export declare const fakeSecurityMiddleware: (fakeSecurityToken: string) => ServerKitMiddleware;
3
10
  //# sourceMappingURL=fake.security.middleware.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fake.security.middleware.d.ts","sourceRoot":"","sources":["../../../src/middleware/server/fake.security.middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE,eAAO,MAAM,sBAAsB,GAAI,mBAAmB,MAAM,KAAG,mBAUlE,CAAC"}
1
+ {"version":3,"file":"fake.security.middleware.d.ts","sourceRoot":"","sources":["../../../src/middleware/server/fake.security.middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEpE;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,GAAI,mBAAmB,MAAM,KAAG,mBAUlE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maroonedsoftware/koa",
3
- "version": "1.13.5",
3
+ "version": "1.14.0",
4
4
  "description": "Koa middleware, body parsing, and utilities for ServerKit",
5
5
  "author": {
6
6
  "name": "Marooned Software",
@@ -37,12 +37,12 @@
37
37
  "qs": "^6.15.1",
38
38
  "rate-limiter-flexible": "^11.0.1",
39
39
  "raw-body": "^3.0.2",
40
- "@maroonedsoftware/authentication": "0.7.0",
40
+ "@maroonedsoftware/authentication": "0.8.0",
41
41
  "@maroonedsoftware/appconfig": "1.4.0",
42
42
  "@maroonedsoftware/logger": "1.1.0",
43
- "@maroonedsoftware/multipart": "1.1.0",
44
- "@maroonedsoftware/utilities": "1.5.0",
45
- "@maroonedsoftware/errors": "1.4.0"
43
+ "@maroonedsoftware/errors": "1.4.0",
44
+ "@maroonedsoftware/utilities": "1.6.0",
45
+ "@maroonedsoftware/multipart": "1.1.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@koa/cors": "^5.0.0",
@@ -58,8 +58,8 @@
58
58
  "@types/koa__cors": "^5.0.1",
59
59
  "@types/qs": "^6.15.0",
60
60
  "koa": "^3.2.0",
61
- "@repo/config-eslint": "0.2.0",
62
- "@repo/config-typescript": "0.1.0"
61
+ "@repo/config-typescript": "0.1.0",
62
+ "@repo/config-eslint": "0.2.0"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsup src/index.ts --format esm --sourcemap --dts && tsc --emitDeclarationOnly --declaration",