Badgerati / Pode

Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
https://badgerati.github.io/Pode
MIT License
830 stars 92 forks source link

Remove Global requirement for the variables $TimerEvent and $WebEvent #1325

Open mdaneri opened 3 months ago

mdaneri commented 3 months ago

Description of the enhancement

This request aims to remove the requirement that the variables $TimerEvent and $WebEvent be Global to enhance security.

Background:

Global variables can lead to several issues, including namespace pollution, difficulty tracking modifications, unintended side effects, and security risks. To address these concerns, we are refactoring the code to avoid using global variables.