@sinclair/typebox 0.25.19 → 0.25.21

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.
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/compiler/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/custom/custom.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/custom/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/errors/errors.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/errors/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/format/format.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/format/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/guard/guard.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/guard/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/hash/hash.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/hash/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/license CHANGED
@@ -2,7 +2,7 @@ TypeBox: JSON Schema Type Builder with Static Type Resolution for TypeScript
2
2
 
3
3
  The MIT License (MIT)
4
4
 
5
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
5
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
6
6
 
7
7
  Permission is hereby granted, free of charge, to any person obtaining a copy
8
8
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinclair/typebox",
3
- "version": "0.25.19",
3
+ "version": "0.25.21",
4
4
  "description": "JSONSchema Type Builder with Static Type Resolution for TypeScript",
5
5
  "keywords": [
6
6
  "typescript",
package/system/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
@@ -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
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
@@ -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 {
package/typebox.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/value/cast.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/value/check.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/value/clone.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/value/create.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/value/delta.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/value/equal.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/value/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/value/is.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/value/pointer.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal
package/value/value.js CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  The MIT License (MIT)
7
7
 
8
- Copyright (c) 2022 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
8
+ Copyright (c) 2017-2023 Haydn Paterson (sinclair) <haydn.developer@gmail.com>
9
9
 
10
10
  Permission is hereby granted, free of charge, to any person obtaining a copy
11
11
  of this software and associated documentation files (the "Software"), to deal