@prairielearn/zod 1.4.1 → 1.4.3

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/zod
2
2
 
3
+ ## 1.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 0425922: Upgrade all JavaScript dependencies
8
+
9
+ ## 1.4.2
10
+
11
+ ### Patch Changes
12
+
13
+ - c0b1c74: Enable `declarationMap`
14
+
3
15
  ## 1.4.1
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -106,3 +106,4 @@ export declare const ArrayFromStringOrArraySchema: z.ZodEffects<z.ZodUnion<[z.Zo
106
106
  */
107
107
  export declare const ArrayFromCheckboxSchema: z.ZodEffects<z.ZodUnion<[z.ZodUndefined, z.ZodString, z.ZodArray<z.ZodString, "many">]>, string[], string | string[] | undefined>;
108
108
  export {};
109
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASzC;;GAEG;AACH,KAAK,UAAU,CAAC,CAAC,SAAS,UAAU,IAAI,CAAC,GAAG;IAC1C,QAAQ,EAAE,KAAK,CAAC;CACjB,CAAC;AAUF;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB,mFAKrC,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ,2CAEiE,CAAC;AAevF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBvB,CAAC;AAEL;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,qHAWE,CAAC;AAEjC;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,4EAG1C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,4BAA4B,uGAUrC,CAAC;AAEL;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,mIAUhC,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/zod",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,10 +19,10 @@
19
19
  },
20
20
  "devDependencies": {
21
21
  "@prairielearn/tsconfig": "^0.0.0",
22
- "@types/node": "^22.18.8",
23
- "@vitest/coverage-v8": "^3.2.4",
22
+ "@types/node": "^22.18.13",
23
+ "@vitest/coverage-v8": "^4.0.6",
24
24
  "tsx": "^4.20.6",
25
25
  "typescript": "^5.9.3",
26
- "vitest": "^3.2.4"
26
+ "vitest": "^4.0.6"
27
27
  }
28
28
  }
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
  });