@sinclair/typebox 0.34.43 → 0.34.45

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/package.json +1 -1
  2. package/readme.md +6 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinclair/typebox",
3
- "version": "0.34.43",
3
+ "version": "0.34.45",
4
4
  "description": "Json Schema Type Builder with Static Type Resolution for TypeScript",
5
5
  "keywords": [
6
6
  "typescript",
package/readme.md CHANGED
@@ -1,10 +1,10 @@
1
1
  <div align='center'>
2
2
 
3
- <h1>TypeBox Legacy</h1>
3
+ <h1>TypeBox 0.34.x</h1>
4
4
 
5
5
  <p>Json Schema Type Builder with Static Type Resolution for TypeScript</p>
6
6
 
7
- <img src="https://raw.githubusercontent.com/sinclairzx81/typebox/refs/heads/master/typebox.png" />
7
+ <img src="https://raw.githubusercontent.com/sinclairzx81/typebox-legacy/refs/heads/main/typebox.png" />
8
8
 
9
9
  <br />
10
10
  <br />
@@ -21,7 +21,9 @@
21
21
  ## Install
22
22
 
23
23
  ```bash
24
- $ npm install @sinclair/typebox --save
24
+ $ npm install @sinclair/typebox # TypeBox-Legacy | 0.34.x
25
+
26
+ $ npm install typebox # TypeBox | 1.0.x
25
27
  ```
26
28
 
27
29
  ## Example
@@ -51,7 +53,7 @@ type T = Static<typeof T> // type T = {
51
53
 
52
54
  ## Overview
53
55
 
54
- > ⚠️ TypeBox versions (pre-1.0) continue active maintenance through 2026 and beyond. This repository services as the OIDC publishing environment for the `@sinclair/typebox` package scope on NPM. For TypeBox versions 1.0 and above, refer to https://github.com/sinclairzx81/typebox
56
+ > ⚠️ TypeBox versions (pre-1.0) will continue active maintenance through 2026 and beyond. This repository services as the OIDC publishing environment for the `@sinclair/typebox` package scope on NPM. For TypeBox versions 1.0 and above, refer to https://github.com/sinclairzx81/typebox
55
57
 
56
58
  TypeBox is a runtime type builder that creates in-memory Json Schema objects that infer as TypeScript types. The schematics produced by this library are designed to match the static type checking rules of the TypeScript compiler. TypeBox offers a unified type that can be statically checked by TypeScript and runtime asserted using standard Json Schema validation.
57
59