@sinclair/typebox 0.25.19 → 0.25.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinclair/typebox",
3
- "version": "0.25.19",
3
+ "version": "0.25.20",
4
4
  "description": "JSONSchema Type Builder with Static Type Resolution for TypeScript",
5
5
  "keywords": [
6
6
  "typescript",
@@ -11,7 +11,7 @@ export declare namespace TypeSystem {
11
11
  /** Sets whether numeric checks should consider NaN a valid number type. The default is `false` */
12
12
  let AllowNaN: boolean;
13
13
  /** Creates a custom type */
14
- function CreateType<Type, Options = object>(kind: string, callback: (options: Options, value: unknown) => boolean): (options?: Partial<Options>) => import("@sinclair/typebox").TUnsafe<Type>;
14
+ function CreateType<Type, Options = object>(kind: string, callback: (options: Options, value: unknown) => boolean): (options?: Partial<Options>) => import("../typebox").TUnsafe<Type>;
15
15
  /** Creates a custom string format */
16
16
  function CreateFormat(format: string, callback: (value: string) => boolean): (value: string) => boolean;
17
17
  }
package/system/system.js CHANGED
@@ -28,7 +28,7 @@ THE SOFTWARE.
28
28
  ---------------------------------------------------------------------------*/
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  exports.TypeSystem = exports.TypeSystemDuplicateFormat = exports.TypeSystemDuplicateTypeKind = void 0;
31
- const typebox_1 = require("@sinclair/typebox");
31
+ const typebox_1 = require("../typebox");
32
32
  const index_1 = require("../custom/index");
33
33
  const index_2 = require("../format/index");
34
34
  class TypeSystemDuplicateTypeKind extends Error {