@tldraw/validate 5.2.0-canary.5e2eb65a491a → 5.2.0-canary.6287d367a226

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/README.md CHANGED
@@ -36,7 +36,7 @@ A `DOCS.md` file is included alongside this README in the published package, wit
36
36
 
37
37
  ## Contribution
38
38
 
39
- Please see our [contributing guide](https://github.com/tldraw/tldraw/blob/main/CONTRIBUTING.md). Found a bug? Please [submit an issue](https://github.com/tldraw/tldraw/issues/new).
39
+ Found a bug? Please [submit an issue](https://github.com/tldraw/tldraw/issues/new).
40
40
 
41
41
  ## License
42
42
 
package/dist-cjs/index.js CHANGED
@@ -41,7 +41,7 @@ var T = __toESM(require("./lib/validation"), 1);
41
41
  var import_validation = require("./lib/validation");
42
42
  (0, import_utils.registerTldrawLibraryVersion)(
43
43
  "@tldraw/validate",
44
- "5.2.0-canary.5e2eb65a491a",
44
+ "5.2.0-canary.6287d367a226",
45
45
  "cjs"
46
46
  );
47
47
  //# sourceMappingURL=index.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./lib/validation.mjs";
10
10
  registerTldrawLibraryVersion(
11
11
  "@tldraw/validate",
12
- "5.2.0-canary.5e2eb65a491a",
12
+ "5.2.0-canary.6287d367a226",
13
13
  "esm"
14
14
  );
15
15
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tldraw/validate",
3
3
  "description": "A runtime validation library by tldraw.",
4
- "version": "5.2.0-canary.5e2eb65a491a",
4
+ "version": "5.2.0-canary.6287d367a226",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -44,7 +44,7 @@
44
44
  "lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
45
45
  },
46
46
  "dependencies": {
47
- "@tldraw/utils": "5.2.0-canary.5e2eb65a491a"
47
+ "@tldraw/utils": "5.2.0-canary.6287d367a226"
48
48
  },
49
49
  "devDependencies": {
50
50
  "lazyrepo": "0.0.0-alpha.27"
@@ -149,7 +149,7 @@ describe('validations', () => {
149
149
  )
150
150
 
151
151
  // Should reject NaN
152
- expect(() => numberUnionSchema.validate({ version: NaN, data: 'test' })).toThrowError(
152
+ expect(() => numberUnionSchema.validate({ version: NaN, data: 'test' })).toThrow(
153
153
  /Expected a number for key "version"/
154
154
  )
155
155
  })