uni-types 1.10.0 → 1.11.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 CHANGED
@@ -18,7 +18,7 @@ A comprehensive collection of type helpers for TypeScript development
18
18
 
19
19
  ## Features
20
20
 
21
- - 🎯 **2000+ Type Utilities** - Comprehensive type helpers for every use case
21
+ - 🎯 **2500+ Type Utilities** - Comprehensive type helpers for every use case
22
22
  - 🔒 **Type Safe** - Full TypeScript support with strict type checking
23
23
  - 📦 **Zero Dependencies** - Lightweight and tree-shakeable
24
24
  - 🚀 **TypeScript 5.x** - Built with the latest TypeScript features
@@ -1449,6 +1449,77 @@ type Result = If<true, 'success', 'error'> // 'success'
1449
1449
  | `IsUnion<T>`, `IsIntersection<T>`, `IsOptional<T, K>`, `IsReadonly<T, K>` | Type utilities |
1450
1450
  | `Equals<T, U>`, `Extends<T, U>`, `HasKey<T, K>`, `HasKeys<T, K>` | Type comparisons |
1451
1451
 
1452
+ ### Migration Utilities *(v1.11.0)*
1453
+
1454
+ | Type | Description |
1455
+ |------|-------------|
1456
+ | `MigrationStatus`, `MigrationResult<T>`, `MigrationChange` | Migration helpers |
1457
+ | `MigrationWarning`, `MigrationError`, `MigrationMap<T>`, `MigrationRule<T>` | Migration tracking |
1458
+ | `MigrateToV2<T>`, `MigrateFromV1<T>` | Version migration |
1459
+ | `TransformType<T, Rules>`, `RenameType<T, From, To>`, `RestructureType<T, Schema>` | Type transformation |
1460
+ | `FlattenNamespace<T>` | Namespace flattening |
1461
+ | `CompatV1<T>`, `CompatV2<T>`, `Backport<T, Version>`, `ForwardPort<T, Version>` | Compatibility layer |
1462
+ | `ValidateMigration<T, U>`, `MigrationDiff<T, U>`, `BreakingChanges<T, U>` | Migration validation |
1463
+ | `MigrationReport`, `MigrationComplexity` | Migration reporting |
1464
+ | `Codemod<T>`, `CodemodResult<T>`, `CodemodRule<T>` | Codemod types |
1465
+ | `MigrationStep<T>`, `MigrationPath<T, U>`, `MigrationConfig` | Migration execution |
1466
+
1467
+ ### Deprecation Management *(v1.11.0)*
1468
+
1469
+ | Type | Description |
1470
+ |------|-------------|
1471
+ | `Deprecated<T, Message>`, `DeprecatedSince<T, Version>`, `WillBeRemoved<T, Version>` | Deprecation markers |
1472
+ | `Replacement<T, New>`, `DeprecationInfo`, `DeprecationLevel` | Replacement types |
1473
+ | `Legacy<T>`, `LegacyAlias<T, New>`, `BackwardsCompatible<T, Old>` | Legacy support |
1474
+ | `Warning<T>`, `WarningLevel`, `DeprecationWarning<T>`, `DeprecationMigrationWarning<T>` | Warning types |
1475
+ | `VersionGate<T, Min, Max>`, `RemovedIn<T, Version>`, `IntroducedIn<T, Version>` | Version gates |
1476
+ | `VersionedAPI<T, V>`, `VersionRange`, `VersionConstraint` | Version utilities |
1477
+ | `Sunset<T>`, `SunsetSchedule<T>`, `EndOfLife<T>`, `SunsetPolicy` | Sunset utilities |
1478
+ | `DeprecationTracker`, `DeprecationRegistry`, `DeprecationCheckResult` | Deprecation tracking |
1479
+
1480
+ ### Performance Optimization *(v1.11.0)*
1481
+
1482
+ | Type | Description |
1483
+ |------|-------------|
1484
+ | `Fast<T>`, `Optimized<T>`, `CachedCompute<T>`, `LazyCompute<T>` | Performance types |
1485
+ | `ReduceComplexity<T>`, `SimplifyForCompiler<T>`, `OptimizeInference<T>` | Compilation optimization |
1486
+ | `ReduceRecursion<T, Depth>`, `RecursionLimit<T, Depth>`, `TailRecursive<T>` | Recursion optimization |
1487
+ | `LightWeight<T>`, `Minimal<T>`, `CompactRepresentation<T>` | Memory optimization |
1488
+ | `Precompute<T>`, `PrecomputedValue<T, V>`, `DeferredEvaluation<T>` | Build performance |
1489
+ | `BuildHint<T>`, `BuildHintType`, `SkipCheck<T>` | Build hints |
1490
+ | `TypeComplexityMetrics<T>`, `CompilationTime<T>`, `TypeSize<T>` | Performance monitoring |
1491
+ | `PerformanceHint<T>`, `PerformanceOptimizationSuggestion` | Performance hints |
1492
+ | `TypeProfilerConfig`, `TypeProfilerResult`, `HotPath` | Type profiler |
1493
+ | `OptimizationStrategy`, `OptimizationLevel`, `OptimizationConfig` | Optimization config |
1494
+
1495
+ ### Enhanced Error Messages *(v1.11.0)*
1496
+
1497
+ | Type | Description |
1498
+ |------|-------------|
1499
+ | `DetailedError<T>`, `ErrorDetails`, `ErrorCategory` | Error enhancement |
1500
+ | `TypedError<T>`, `ErrorContext<T>`, `ErrorSuggestion<T>` | Error context |
1501
+ | `Diagnostic<T>`, `DiagnosticInfo`, `DiagnosticSeverity` | Diagnostic types |
1502
+ | `TypeMismatch<T, Expected>`, `MissingProperty<T, K>`, `InvalidType<T, Valid>` | Type errors |
1503
+ | `RecoverableError<T>`, `ErrorRecovery<T>`, `RecoveryStrategy` | Error recovery |
1504
+ | `FallbackType<T, Fallback>`, `GracefulDegradation<T>` | Fallback types |
1505
+ | `HelpMessage<T>`, `HelpInfo`, `DocumentationLink<T>`, `QuickFix<T>` | Help messages |
1506
+ | `ErrorReport`, `ReportedError`, `ReportedWarning`, `ErrorReporterConfig` | Error reporting |
1507
+ | `CommonErrorType`, `ErrorCatalogEntry`, `ErrorCatalog` | Error catalog |
1508
+
1509
+ ### Breaking Change Detection *(v1.11.0)*
1510
+
1511
+ | Type | Description |
1512
+ |------|-------------|
1513
+ | `BreakingChangeReport<T>`, `BreakingChange`, `BreakingChangeType` | Breaking change types |
1514
+ | `BreakingChangeSummary`, `MigrationEffort` | Breaking change summary |
1515
+ | `APIDiff<T, U>`, `AddedAPI<T>`, `RemovedAPI<T>`, `ChangedAPI<T, U>` | API diff |
1516
+ | `CompatibilityCheck<T, U>`, `BreakingChangeCompatibilityReport<T>` | Compatibility check |
1517
+ | `BreakingChangeMigrationPath<T, U>`, `BreakingChangeMigrationStep<T>` | Migration path |
1518
+ | `ChangeDetectionOptions`, `ChangeDetectionResult<T>`, `Change` | Change detection |
1519
+ | `VersionComparison`, `VersionChangelog`, `DeprecationChange` | Version comparison |
1520
+ | `ImpactAnalysis`, `AffectedComponent`, `RiskLevel`, `MitigationStrategy` | Impact analysis |
1521
+ | `BreakingChangeRule`, `BreakingChangeGuard`, `BreakingChangePreventionConfig` | Prevention |
1522
+
1452
1523
  ## Examples
1453
1524
 
1454
1525
  ```typescript