@clipboard-health/testing-core 1.5.20 → 1.5.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -169,7 +169,7 @@ const value = schema.safeParse({ name: 1 });
169
169
  expectToBeSafeParseError(value);
170
170
 
171
171
  // Narrowed to `SafeParseError`
172
- const firstIssue = value.error.issues[0];
172
+ const [firstIssue] = value.error.issues;
173
173
  expectToBeDefined(firstIssue);
174
174
 
175
175
  // Narrowed to `ZodIssue`
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@clipboard-health/testing-core",
3
3
  "description": "TypeScript-friendly testing utilities.",
4
- "version": "1.5.20",
4
+ "version": "1.5.22",
5
5
  "bugs": "https://github.com/ClipboardHealth/core-utils/issues",
6
6
  "dependencies": {
7
- "@clipboard-health/util-ts": "4.5.20",
7
+ "@clipboard-health/util-ts": "4.5.22",
8
8
  "tslib": "2.8.1"
9
9
  },
10
10
  "devDependencies": {