@prairielearn/html 4.0.20 → 4.0.22

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,17 @@
1
1
  # @prairielearn/html
2
2
 
3
+ ## 4.0.22
4
+
5
+ ### Patch Changes
6
+
7
+ - 0425922: Upgrade all JavaScript dependencies
8
+
9
+ ## 4.0.21
10
+
11
+ ### Patch Changes
12
+
13
+ - c0b1c74: Enable `declarationMap`
14
+
3
15
  ## 4.0.20
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -27,3 +27,4 @@ export declare function unsafeHtml(value: string): HtmlSafeString;
27
27
  * @param separator The separator to use between values.
28
28
  */
29
29
  export declare function joinHtml(values: HtmlValue[], separator?: HtmlValue): HtmlSafeString;
30
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA+CA,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoB;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAY;gBAEvB,OAAO,EAAE,SAAS,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE;IAKzD,QAAQ,IAAI,MAAM;CAKnB;AAED,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,cAAc,GACd,SAAS,GACT,IAAI,GACJ,SAAS,EAAE,CAAC;AAEhB,wBAAgB,IAAI,CAAC,OAAO,EAAE,oBAAoB,EAAE,GAAG,MAAM,EAAE,SAAS,EAAE,GAAG,cAAc,CAE1F;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,GAAG,cAAc,CAE/D;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,cAAc,CAExD;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,MAAM,EAAE,SAAS,EAAE,EAAE,SAAS,GAAE,SAAc,GAAG,cAAc,CAEvF"}
@@ -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/html",
3
- "version": "4.0.20",
3
+ "version": "4.0.22",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,11 +15,11 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@prairielearn/tsconfig": "^0.0.0",
18
- "@types/node": "^22.18.8",
19
- "@vitest/coverage-v8": "^3.2.4",
18
+ "@types/node": "^22.18.13",
19
+ "@vitest/coverage-v8": "^4.0.6",
20
20
  "tsx": "^4.20.6",
21
21
  "typescript": "^5.9.3",
22
- "vitest": "^3.2.4"
22
+ "vitest": "^4.0.6"
23
23
  },
24
24
  "sideEffects": false
25
25
  }
package/vitest.config.ts CHANGED
@@ -2,10 +2,10 @@ import { defineConfig } from 'vitest/config';
2
2
 
3
3
  export default defineConfig({
4
4
  test: {
5
+ dir: `${import.meta.dirname}/src`,
5
6
  coverage: {
6
7
  reporter: ['html', 'text-summary', 'cobertura'],
7
- all: true,
8
- include: ['src/**'],
8
+ include: ['src/**/*.{ts,tsx}'],
9
9
  },
10
10
  },
11
11
  });