Skip to content

Commit f8c8f30

Browse files
authored
Version 1.0.57 (#1467)
* Maintenance: TS 5.9.3 | TS 6.0 Nightly Fix * ChangeLog * Version
1 parent 3e15729 commit f8c8f30

7 files changed

Lines changed: 93 additions & 77 deletions

File tree

changelog/1.0.0.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
---
44

55
### Version Updates
6+
- [Revision 1.0.57](https://github.com/sinclairzx81/typebox/pull/1467)
7+
- Update TypeScript 5.9.3 | Fix TS 6.0 Nighty Build
68
- [Revision 1.0.56](https://github.com/sinclairzx81/typebox/pull/1464)
79
- Optimize Validator Inference
810
- [Revision 1.0.55](https://github.com/sinclairzx81/typebox/pull/1456)

deno.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// --------------------------------------------------------------
2121
// Build
2222
// --------------------------------------------------------------
23-
"tasksmith": "https://raw.githubusercontent.com/sinclairzx81/tasksmith/0.9.6/src/index.ts",
23+
"tasksmith": "https://raw.githubusercontent.com/sinclairzx81/tasksmith/0.9.7/src/index.ts",
2424
"parsebox": "https://raw.githubusercontent.com/sinclairzx81/parsebox/0.11.0/src/index.ts",
2525
// --------------------------------------------------------------
2626
// Test

deno.lock

Lines changed: 79 additions & 65 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tasks.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ import { Range } from './task/range/index.ts'
88
import { Metrics } from './task/metrics/index.ts'
99
import { Task } from 'tasksmith'
1010

11-
const Version = '1.0.56'
11+
const Version = '1.0.57'
1212

1313
// ------------------------------------------------------------------
1414
// Build
1515
// ------------------------------------------------------------------
1616
const BuildPackage = (target: string = `target/build`) => Task.build.esm('src', {
1717
outdir: target,
18-
compiler: '5.9.2',
18+
compiler: '5.9.3',
1919
additional: ['license', 'readme.md'],
2020
packageJson: {
2121
name: 'typebox',
@@ -100,5 +100,5 @@ Task.run('metrics', () => Metrics())
100100
Task.run('range', () => Range([
101101
'5.0.4', '5.1.3', '5.1.6', '5.2.2', '5.3.2', '5.3.3',
102102
'5.4.3', '5.4.5', '5.5.2', '5.5.3', '5.5.4', '5.6.2',
103-
'5.6.3', '5.7.2', '5.7.3', 'next', 'latest'
103+
'5.6.3', '5.7.2', '5.7.3', '5.9.2', 'next', 'latest'
104104
]))

test/typebox/runtime/type/engine/action/keyof.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Test('Should KeyOf 2', () => {
2222
y: Type.Number(),
2323
z: Type.Number()
2424
})
25-
// DENO_CACHE_ERROR
25+
// DENO_CACHE_ERROR | EDIT FILE AND RE-RUN TEST
2626
const T: Type.TUnion<[
2727
Type.TLiteral<'x'>,
2828
Type.TLiteral<'y'>,
@@ -60,7 +60,7 @@ Test('Should KeyOf 5', () => {
6060
Type.Object({ y: Type.Number() }),
6161
Type.Object({ z: Type.Number() })
6262
])
63-
// DENO_CACHE_ERROR
63+
// DENO_CACHE_ERROR | EDIT FILE AND RE-RUN TEST
6464
const T: Type.TUnion<[
6565
Type.TLiteral<'x'>,
6666
Type.TLiteral<'y'>,
@@ -102,7 +102,7 @@ Test('Should KeyOf 8', () => {
102102
Type.Object({ z: Type.Number() })
103103
])
104104
])
105-
// DENO_CACHE_ERROR
105+
// DENO_CACHE_ERROR | EDIT FILE AND RE-RUN TEST
106106
const T: Type.TUnion<[Type.TLiteral<'x'>, Type.TLiteral<'b'>]> = Type.KeyOf(A)
107107
Assert.IsTrue(Type.IsUnion(T))
108108
Assert.IsEqual(T.anyOf[0].const, 'x')
@@ -117,7 +117,7 @@ Test('Should KeyOf 9', () => {
117117
Type.Object({ z: Type.Number() })
118118
])
119119
]))
120-
// DENO_CACHE_ERROR
120+
// DENO_CACHE_ERROR | EDIT FILE AND RE-RUN TEST
121121
const T: Type.TUnion<[Type.TLiteral<'x'>, Type.TLiteral<'b'>]> = Type.KeyOf(A)
122122
Assert.IsTrue(Type.IsUnion(T))
123123
Assert.IsEqual(T.anyOf[0].const, 'x')
@@ -177,7 +177,7 @@ Test('Should KeyOf 12', () => {
177177
Type.Object({ x: Type.Number(), y: Type.String() }),
178178
Type.Object({ x: Type.Number(), y: Type.String() })
179179
]))
180-
// DENO_CACHE_ERROR
180+
// DENO_CACHE_ERROR | EDIT FILE AND RE-RUN TEST
181181
const T: Type.TUnion<[Type.TLiteral<'x'>, Type.TLiteral<'y'>]> = Type.KeyOf(A)
182182
Assert.IsTrue(Type.IsUnion(T))
183183
Assert.IsEqual(T.anyOf[0].const, 'x')
@@ -217,7 +217,7 @@ Test('Should KeyOf 17', () => {
217217
Type.Object({ w: Type.Number() })
218218
])
219219
])
220-
// DENO_CACHE_ERROR
220+
// DENO_CACHE_ERROR | EDIT FILE AND RE-RUN TEST
221221
const T: Type.TUnion<[
222222
Type.TLiteral<'x'>,
223223
Type.TLiteral<'y'>,

test/typebox/runtime/type/script/indexed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Test('Should Indexed 8', () => {
4646
x: Type.TNumber
4747
y: Type.TString
4848
}> = Type.Script('{ x: number, y: string }')
49-
// DENO_CACHE_ERROR
49+
// DENO_CACHE_ERROR | EDIT FILE AND RE-RUN TEST
5050
const T: Type.TUnion<[Type.TNumber, Type.TString]> = Type.Script({ A }, 'A[keyof A]')
5151
Assert.IsTrue(Type.IsUnion(T))
5252
Assert.IsTrue(Type.IsNumber(T.anyOf[0]))

test/typebox/runtime/type/script/~action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Test('Should Action 12', () => {
6868
Assert.IsTrue(Type.IsNull(T))
6969
})
7070
Test('Should Action 13', () => {
71-
// DENO_CACHE_ERROR
71+
// DENO_CACHE_ERROR | EDIT FILE AND RE-RUN TEST
7272
const T: Type.TUnion<[Type.TLiteral<'x'>, Type.TLiteral<'y'>]> = Type.Script('KeyOf<{ x: 1, y: 2 }>')
7373
Assert.IsTrue(Type.IsUnion(T))
7474
Assert.IsEqual(T.anyOf[0].const, 'x')

0 commit comments

Comments
 (0)