@tldraw/validate 5.3.2 → 5.4.0-canary.02cd0bd3b597
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/dist-cjs/index.d.ts +2 -2
- package/dist-cjs/index.js +1 -1
- package/dist-esm/index.d.mts +2 -2
- package/dist-esm/index.mjs +1 -1
- package/package.json +2 -2
package/dist-cjs/index.d.ts
CHANGED
|
@@ -886,7 +886,7 @@ declare class ValidationError extends Error {
|
|
|
886
886
|
*/
|
|
887
887
|
export declare class Validator<T> implements Validatable<T> {
|
|
888
888
|
readonly validationFn: ValidatorFn<T>;
|
|
889
|
-
readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T
|
|
889
|
+
readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>;
|
|
890
890
|
/* Excluded from this release type: skipSameValueCheck */
|
|
891
891
|
/**
|
|
892
892
|
* Creates a new Validator instance.
|
|
@@ -895,7 +895,7 @@ export declare class Validator<T> implements Validatable<T> {
|
|
|
895
895
|
* validateUsingKnownGoodVersionFn - Optional performance-optimized validation function
|
|
896
896
|
* skipSameValueCheck - Internal flag to skip dev check for validators that transform values
|
|
897
897
|
*/
|
|
898
|
-
constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T
|
|
898
|
+
constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>,
|
|
899
899
|
/** @internal */
|
|
900
900
|
skipSameValueCheck?: boolean);
|
|
901
901
|
/**
|
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.
|
|
44
|
+
"5.4.0-canary.02cd0bd3b597",
|
|
45
45
|
"cjs"
|
|
46
46
|
);
|
|
47
47
|
//# sourceMappingURL=index.js.map
|
package/dist-esm/index.d.mts
CHANGED
|
@@ -886,7 +886,7 @@ declare class ValidationError extends Error {
|
|
|
886
886
|
*/
|
|
887
887
|
export declare class Validator<T> implements Validatable<T> {
|
|
888
888
|
readonly validationFn: ValidatorFn<T>;
|
|
889
|
-
readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T
|
|
889
|
+
readonly validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>;
|
|
890
890
|
/* Excluded from this release type: skipSameValueCheck */
|
|
891
891
|
/**
|
|
892
892
|
* Creates a new Validator instance.
|
|
@@ -895,7 +895,7 @@ export declare class Validator<T> implements Validatable<T> {
|
|
|
895
895
|
* validateUsingKnownGoodVersionFn - Optional performance-optimized validation function
|
|
896
896
|
* skipSameValueCheck - Internal flag to skip dev check for validators that transform values
|
|
897
897
|
*/
|
|
898
|
-
constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T
|
|
898
|
+
constructor(validationFn: ValidatorFn<T>, validateUsingKnownGoodVersionFn?: undefined | ValidatorUsingKnownGoodVersionFn<T>,
|
|
899
899
|
/** @internal */
|
|
900
900
|
skipSameValueCheck?: boolean);
|
|
901
901
|
/**
|
package/dist-esm/index.mjs
CHANGED
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.
|
|
4
|
+
"version": "5.4.0-canary.02cd0bd3b597",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@tldraw/utils": "5.
|
|
53
|
+
"@tldraw/utils": "5.4.0-canary.02cd0bd3b597"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"lazyrepo": "0.0.0-alpha.27"
|