@prairielearn/flash 2.0.22 → 2.0.24

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @prairielearn/flash
2
2
 
3
+ ## 2.0.24
4
+
5
+ ### Patch Changes
6
+
7
+ - c0b1c74: Enable `declarationMap`
8
+ - Updated dependencies [c0b1c74]
9
+ - @prairielearn/html@4.0.21
10
+
11
+ ## 2.0.23
12
+
13
+ ### Patch Changes
14
+
15
+ - c72a4b8: Upgrade dependencies
16
+ - Updated dependencies [c72a4b8]
17
+ - @prairielearn/html@4.0.20
18
+
3
19
  ## 2.0.22
4
20
 
5
21
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -8,3 +8,4 @@ export interface FlashMessage {
8
8
  export declare function flashMiddleware(): (req: Request, _res: Response, next: NextFunction) => void;
9
9
  export declare function flash(type?: FlashMessageType | FlashMessageType[]): FlashMessage[];
10
10
  export declare function flash(type: FlashMessageType, message: string | HtmlSafeString): void;
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAE/D,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,oBAAoB,CAAC;AAI/D,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAE1E,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,gBAAgB,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,eAAe,KACrB,KAAK,OAAO,EAAE,MAAM,QAAQ,EAAE,MAAM,YAAY,UAIzD;AAED,wBAAgB,KAAK,CAAC,IAAI,CAAC,EAAE,gBAAgB,GAAG,gBAAgB,EAAE,GAAG,YAAY,EAAE,CAAC;AACpF,wBAAgB,KAAK,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,GAAG,cAAc,GAAG,IAAI,CAAC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../src/index.test.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prairielearn/flash",
3
- "version": "2.0.22",
3
+ "version": "2.0.24",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,15 +14,15 @@
14
14
  "test": "vitest run --coverage"
15
15
  },
16
16
  "dependencies": {
17
- "@prairielearn/html": "^4.0.19",
17
+ "@prairielearn/html": "^4.0.21",
18
18
  "@types/express": "^4.17.23"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@prairielearn/tsconfig": "^0.0.0",
22
- "@types/node": "^22.18.0",
22
+ "@types/node": "^22.18.8",
23
23
  "@vitest/coverage-v8": "^3.2.4",
24
- "tsx": "^4.20.5",
25
- "typescript": "^5.9.2",
24
+ "tsx": "^4.20.6",
25
+ "typescript": "^5.9.3",
26
26
  "vitest": "^3.2.4"
27
27
  }
28
28
  }