Skip to content

refactor: modernize hooks system with async/await and native fetch#529

Open
Krishprajapati15 wants to merge 3 commits intoCodeboxIDE:masterfrom
Krishprajapati15:master
Open

refactor: modernize hooks system with async/await and native fetch#529
Krishprajapati15 wants to merge 3 commits intoCodeboxIDE:masterfrom
Krishprajapati15:master

Conversation

@Krishprajapati15
Copy link

  • Replaced deprecated Q promises with async/await
  • Replaced request module with native fetch (Node.js v18+)
  • Added timeout using AbortController (5s)
  • Improved error handling and validation
  • Ensured secure header and hook post-processing
  • Cleaned up logging with consistent error messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant