Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Nov 2, 2024
1 parent 447adef commit f30cf4f
Showing 1 changed file with 20 additions and 9 deletions.
29 changes: 20 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,29 @@

- Updated path mapping from "./Source/Example/Input" to "./Example/Input" in
Configuration files
- Improved recursive depth handling in transformer visits with max depth
limits
- Added safety checks for maximum node visits and iteration counts
- Enhanced handling of circular references and self-referential initializers
- Implemented size limits for Usage and Initializer maps
- Simplified project structure with updated .npmignore and tsconfig.json
- Simplified project structure by removing Example directory exclusions
- Enhanced code organization with streamlined import statements
- Renamed internal variables for better code clarity (e.g., `child` to
`NodeChild`, `parentNode` to `NodeParent`)
- Updated documentation and configuration file references in README.md

### Added

- Added debug warnings for maximum depth, node visits, and iteration limits
- Implemented node tracking to prevent infinite loops
- Added safety checks for map sizes and usage counts
- Implemented depth tracking and limits with `MAX_RECURSIVE_DEPTH` (100
levels)
- Added node visit tracking with `MAX_NODE_VISITS` (100 visits)
- Introduced iteration limits with `MAX_ITERATIONS` (100 iterations)
- Added safety checks for map sizes with `MAX_USAGE_COUNT` and
`MAX_INITIALIZER_SIZE` (1000 entries)
- Implemented circular reference detection using unique node IDs
- Added self-referential initializer detection and handling
- Enhanced logging with detailed warning and info messages

### Security

- Added protection against infinite loops and recursive calls
- Implemented safeguards against memory exhaustion with map size limits
- Added detection and handling of circular dependencies

## 0.0.1

Expand Down

0 comments on commit f30cf4f

Please sign in to comment.