@depup/sinclair__typebox 0.34.48-depup.0 → 0.34.49-depup.0
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 +2 -2
- package/changes.json +1 -1
- package/package.json +10 -8
- package/readme.md +7 -7
package/README.md
CHANGED
|
@@ -13,8 +13,8 @@ npm install @depup/sinclair__typebox
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [@sinclair/typebox](https://www.npmjs.com/package/@sinclair/typebox) @ 0.34.
|
|
17
|
-
| Processed | 2026-03-
|
|
16
|
+
| Original | [@sinclair/typebox](https://www.npmjs.com/package/@sinclair/typebox) @ 0.34.49 |
|
|
17
|
+
| Processed | 2026-03-28 |
|
|
18
18
|
| Smoke test | passed |
|
|
19
19
|
| Deps updated | 0 |
|
|
20
20
|
|
package/changes.json
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/sinclair__typebox",
|
|
3
|
-
"version": "0.34.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.34.49-depup.0",
|
|
4
|
+
"description": "Json Schema Type Builder with Static Type Resolution for TypeScript (with updated dependencies)",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"depup",
|
|
7
|
-
"dependency-bumped",
|
|
8
|
-
"updated-deps",
|
|
9
6
|
"@sinclair/typebox",
|
|
7
|
+
"depup",
|
|
8
|
+
"updated-dependencies",
|
|
9
|
+
"security",
|
|
10
|
+
"latest",
|
|
11
|
+
"patched",
|
|
10
12
|
"typescript",
|
|
11
13
|
"json-schema",
|
|
12
14
|
"validate",
|
|
@@ -16,7 +18,7 @@
|
|
|
16
18
|
"license": "MIT",
|
|
17
19
|
"repository": {
|
|
18
20
|
"type": "git",
|
|
19
|
-
"url": "https://github.com/sinclairzx81/typebox
|
|
21
|
+
"url": "https://github.com/sinclairzx81/sinclair-typebox"
|
|
20
22
|
},
|
|
21
23
|
"scripts": {
|
|
22
24
|
"test": "echo test"
|
|
@@ -121,8 +123,8 @@
|
|
|
121
123
|
"changes": {},
|
|
122
124
|
"depsUpdated": 0,
|
|
123
125
|
"originalPackage": "@sinclair/typebox",
|
|
124
|
-
"originalVersion": "0.34.
|
|
125
|
-
"processedAt": "2026-03-
|
|
126
|
+
"originalVersion": "0.34.49",
|
|
127
|
+
"processedAt": "2026-03-28T04:42:07.595Z",
|
|
126
128
|
"smokeTest": "passed"
|
|
127
129
|
}
|
|
128
130
|
}
|
package/readme.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<div align='center'>
|
|
2
2
|
|
|
3
|
-
<h1>TypeBox
|
|
3
|
+
<h1>Sinclair TypeBox</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
|
|
7
|
+
<img src="https://raw.githubusercontent.com/sinclairzx81/sinclair-typebox/refs/heads/main/typebox.png" />
|
|
8
8
|
|
|
9
9
|
<br />
|
|
10
10
|
<br />
|
|
@@ -16,14 +16,17 @@
|
|
|
16
16
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
|
+
|
|
19
20
|
<a name="Install"></a>
|
|
20
21
|
|
|
21
22
|
## Install
|
|
22
23
|
|
|
24
|
+
For the latest version use [TypeBox 1.x](https://github.com/sinclairzx81/typebox)
|
|
25
|
+
|
|
23
26
|
```bash
|
|
24
|
-
$ npm install @sinclair/typebox # TypeBox
|
|
27
|
+
$ npm install @sinclair/typebox # TypeBox 0.x - Long Term Support
|
|
25
28
|
|
|
26
|
-
$ npm install typebox # TypeBox
|
|
29
|
+
$ npm install typebox # TypeBox 1.x - Latest
|
|
27
30
|
```
|
|
28
31
|
|
|
29
32
|
## Example
|
|
@@ -48,13 +51,10 @@ type T = Static<typeof T> // type T = {
|
|
|
48
51
|
// }
|
|
49
52
|
```
|
|
50
53
|
|
|
51
|
-
|
|
52
54
|
<a name="Overview"></a>
|
|
53
55
|
|
|
54
56
|
## Overview
|
|
55
57
|
|
|
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
|
|
57
|
-
|
|
58
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.
|
|
59
59
|
|
|
60
60
|
This library is designed to allow Json Schema to compose similar to how types compose within TypeScript's type system. It can be used as a simple tool to build up complex schematics or integrated into REST and RPC services to help validate data received over the wire.
|