-
Notifications
You must be signed in to change notification settings - Fork 0
feat: major SDK improvements with modern API #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
| }> { | ||
| // Simple email validation | ||
| const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; | ||
| const isValid = emailRegex.test(email); |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
| if ( | ||
| ipv4Regex.test(trimmed) || | ||
| ipv6Regex.test(trimmed) || | ||
| emailRegex.test(trimmed) || |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
This
regular expression
library input
This
regular expression
library input
This
regular expression
library input
This
regular expression
library input
| if (ipv4Regex.test(address) || ipv6Regex.test(address)) { | ||
| return "ip"; | ||
| } | ||
| if (emailRegex.test(address)) { |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
regular expression
library input
This
regular expression
library input
This
regular expression
library input
This
regular expression
library input
This
regular expression
library input
This
Summary
This PR introduces significant improvements to the ProxyCheck SDK with a modernized API, enhanced error handling, and better developer experience.
Key Changes
New Features
ProxyCheckclass with improved API designImprovements
Fixes
.gitignorefor development filesBreaking Changes
This release includes breaking changes. Users will need to migrate to the new API:
Migration Required
ProxyCheckClienttoProxyCheckMigration Guide
Please refer to the updated examples and documentation for detailed migration instructions.
Test Results
Documentation