146 Commits

Author SHA1 Message Date
7ef6dc4411 Fix records in modules 2024-11-15 23:23:14 +01:00
Haydn Paterson
55ae006127 Revision 0.34.0 (#1069)
* Add Module Types

* Add Syntax Types
2024-11-13 23:56:23 +09:00
Haydn Paterson
6cf8596c3a Revision 0.33.22 (#1065)
* Remove Parse from Top Level Import

* Rename Parse submodule to Syntax

* Export Parse Inference Types

* ChangeLog

* Version
2024-11-09 23:09:10 +09:00
Haydn Paterson
0144c8622c Revision 0.33.20 (#1062)
* Add Parse Infrastructure

* Version
2024-11-07 14:14:06 +09:00
Alec Larson
0f65387f55 Union ValueError Iterator (#1015)
* feat: attach to ValueError the first error of each Union.anyOf visit

* chore: small tweak

* test: add test

* chore: tweak test

* fix: flatten nested union errors

* feat: expose variant errors as ValueErrorIterator[]

* feat: use a single ValueErrorIterator instance

* update tests

* implement requested changes

* update test

* update ErrorFunctionParameter

* small fix
2024-10-11 10:11:38 +09:00
Haydn Paterson
f9134bbadf Revision 0.33.15 (#1025)
* Add Resolver for Default Date

* Version

* ChangeLog
2024-10-07 12:08:27 +09:00
Hamish Peebles
9a0309869d Fix: Converting Large Numbers to BigInt (#1019)
* Fix converting large numbers to BigInts

* Clarify numeric value

* Add test
2024-10-05 06:08:04 +09:00
Haydn Paterson
e5d5ec0515 Revision 0.33.13 (#1011)
* Correctly Deref Union Variant in Default

* Version

* ChangeLog
2024-10-02 22:00:16 +09:00
sinclairzx81
0ed2071eed Revision 0.33.12 (#1000)
* Version + Formatting

* ChangeLog
2024-09-19 02:39:40 +09:00
Hamish Peebles
928ebd91fc Revision 0.33.12 (#999)
* Avoid losing precision when converting to bigints

* Use `truncateInteger` rather than `parseInt`

* Simplify
2024-09-19 02:23:59 +09:00
sinclairzx81
ddd85e1f78 Revision 0.33.11 (#995)
* Reference Issue on Unit | Formatting

* TypeScript 5.6.2

* Version
2024-09-14 17:21:12 +09:00
Eric Haynes
a82c224ddc Revision 0.33.11 (#994)
- Avoid mutating if no union value matches (#994)
2024-09-14 17:05:52 +09:00
sinclairzx81
d387b2adb7 Revision 0.33.9 (#984)
* Generate Interior Intersect Errors

* Version

* ChangeLog
2024-09-03 07:17:46 +09:00
sinclairzx81
ed4c89a9ab Revision 0.33.8 (#983)
* Prevent Intersect Transform Encode callback from being called twice

* Make strict the Encode and Decode return type

* Support default annotation being assigned Functions for lazy value initialization on Create

*  Enable Mapping types to override user defined options from source type

* Support Constraint Copy for Pick, Omit (inline with Partial / Required) (Trialing Implementation)

* Flag Strict For Deprecation
2024-09-03 04:28:33 +09:00
sinclairzx81
8b503f613a Revision 0.33.7 (#964)
* Additional Improvements to Object Default

* Version
2024-08-15 14:28:12 +09:00
sinclairzx81
6da8b3fbc4 Revision 0.33.6 (#963)
* Traverse Instanced Object Values Inside Default

* Version
2024-08-15 05:15:01 +09:00
sinclairzx81
cc5e6c7aca Revision 0.33.5 (#959)
* Use ExactOptionalProperty Policy on Decode | Encode

* Version
2024-08-14 14:56:09 +09:00
sinclairzx81
92851ea30a Revision 0.33.4 (#953)
* Add Assert and Parse Functions

* Documentation

* Version

* Benchmarks
2024-08-10 18:16:09 +09:00
sinclairzx81
a5b03c0b83 Revision 0.33.3 (#950)
* Reimplement Object Diff

* Version
2024-08-09 22:29:53 +09:00
sinclairzx81
c4894642d2 Revision 0.33.2 (#947)
* Retain Interior Properties on Pick, Omit and Mapped Types

* Version
2024-08-09 17:59:50 +09:00
sinclairzx81
b00293ee1c Revision 0.33.1 (#945)
* Interior Mutation Fix + Tests

* Revision
2024-08-09 11:13:27 +09:00
sinclairzx81
333c2a149e Revision 0.33.0 (#941)
* Implement Immutable Types

* Update TypeScript

* Support Clone and Freeze Instancing

* Ensure Options Cloned on Mapped Key and Result

* Revision 0.33.0
2024-08-07 22:57:57 +09:00
sinclairzx81
e686997fcd Revision 0.32.35 (#932)
* Support Any and Never Record Keys

* Update Require Property Message

* Ensure Record Enumerable on Convert

* TypeScript 5.5.3

* Version
2024-07-23 03:08:57 +09:00
sinclairzx81
83e05bb43c Revision 0.32.34 (#914)
* Fix Embedded TemplateLiteral Generation

* TypeScript 5.5.2

* Version
2024-06-22 16:20:08 +09:00
sinclairzx81
7ef8e833d5 Revision 0.32.32 (#898)
* Fix Mapped Enum

* Test Case

* Version
2024-06-13 05:22:25 +09:00
sinclairzx81
95d5a3e5a8 Revision 0.32.31 (#881)
* Deref Union Variants on Cast

* Version
2024-05-24 13:56:58 +09:00
sinclairzx81
24c8639fbf Revision 0.32.30 (#868)
* Support Encode Decode for Null Prototype

* Version
2024-05-11 18:14:22 +09:00
sinclairzx81
e21b874630 Revision 0.32.28 (#861)
* Fix Encode Property Check

* Test Case for Nested Transform Encode

* Version
2024-05-03 21:40:44 +09:00
sinclairzx81
1ba927ca22 Revision 0.32.25 (#849)
* Type and Value Optimizations

* Version
2024-04-26 09:46:04 +09:00
sinclairzx81
cfc152b720 Revision 0.32.24 (#848) 2024-04-25 09:46:53 +09:00
sinclairzx81
2a2b5d9dd0 Revision 0.32.23 (#847)
* Clean: Ensure References Passed for Union Check

* Rename Inferred Function and Constructor Parameter

* Version
2024-04-24 16:40:39 +09:00
sinclairzx81
3719b3eaff Revision 0.32.22 (#840)
* Support Optional and Readonly Function Arguments

* Version
2024-04-21 01:28:28 +09:00
sinclairzx81
bcee7b5a0f Revision 0.32.21 (#836)
* Composite Never Filter Fix | Support Array Conversion

* Version
2024-04-19 17:56:06 +09:00
sinclairzx81
9e4c67dd85 Revision 0.32.19 (#805)
* Revert Union Conversion Logic

* Version
2024-03-23 08:05:19 +09:00
sinclairzx81
ec27004427 Revision 0.32.17 (#799)
* Detect Any on StaticDecode

* Revision 0.32.17
2024-03-20 18:45:53 +09:00
sinclairzx81
9fa2e2801c Revision 0.32.16 (#791)
* Update Indexed Union Evaluation

* Use Reduce Strategy for Union and Intersect Value Conversion

* Add Path to Transform Codec Errors

* Support Control Character Escape in Template Literal Syntax

* Intersect Union Convert Test Case

* Revision 0.32.16
2024-03-20 02:25:53 +09:00
sinclairzx81
3db65cd058 Revision 0.32.15 (#774)
* Add Additional Guards for Typed Arrays

* Map and Set | Additional Narrow for InstanceObject

* Version
2024-03-01 16:42:52 +09:00
sinclairzx81
52c71ed6df Revision 0.32.13 (#744)
* Add String Length Contraints to RegExp

* Version

* Guard Test
2024-01-26 06:50:39 +09:00
sinclairzx81
22ee96ad04 Revision 0.32.12 (#740)
* Branch

* Record Options | Option Asssignment Tests

* Version
2024-01-21 15:09:01 +09:00
Gabriel Halle
28164b1225 Recursive Fix: Evaluate Record and Array (#735)
* Fix some infinite recursion with static types

* Adds test for #336

* Fix import path

* Rename unused type parameter
2024-01-21 14:18:04 +09:00
sinclairzx81
cc068713a5 Revision 0.32.11 (#738)
* Optimize Extract and Exclude

* Version
2024-01-21 03:23:24 +09:00
sinclairzx81
dcf48f3232 Revision 0.32.9 (#731)
* Optimize Composite

* Set and Composite Tests

* Version
2024-01-13 00:01:44 +09:00
sinclairzx81
7ea2956763 Revision 0.32.8 (#728)
- Clone Default Annotation on Assignment
2024-01-10 21:01:39 +09:00
sinclairzx81
8e1bc047fb Revision 0.32.7 (#727)
- Clone Default Annotation on Assignment
2024-01-10 20:02:08 +09:00
sinclairzx81
4c0b764cf9 Revision 0.32.6 (#724)
* Export TTemplateLiteralSyntax Infrastructure

* Export TDecodeType, TDecodeRest and TDecodeProperties

* Normalize Mapped Types, Drop TCompositeResolve

* Export KeyOf Infrastructure

* Export Awaited, Exclude, Extract, Pick, Omit and Mapped ReturnType
2024-01-10 11:25:14 +09:00
sinclairzx81
ca4000cc9a Revision 0.32.0 (#689) 2023-12-22 14:00:46 +09:00
sinclairzx81
6fd7dac6a4 Revision 0.31.28 (#674)
* Update Intersect Transform Logic

* Tests

* Version
2023-11-20 21:53:12 +09:00
sinclairzx81
ea217ccc06 Revision 0.31.27 (#671)
* Clone Date and Uint8Array types

* Date Default is  Current Time

* Tests
2023-11-20 04:42:13 +09:00
sinclair
06bd0b8ded Formatting 2023-11-18 18:21:09 +09:00
sinclairzx81
262de46e6c Revision 0.31.26 (#669)
* Tuple Transform Check | Check Both Value and Compiler Encoding in Tests

* Iterator Update | Version

* Revert Iterator Inference
2023-11-18 18:09:15 +09:00