-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
JS: got
package modeling
#19091
JS: got
package modeling
#19091
Conversation
…handling of `got` instances and options retrieval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR models the behavior of the got package by defining its Options type, paginate(), and extend() functions.
- Added test cases demonstrating various usages of Options, paginate(), and extend() in the test file.
- Updated the change notes to reflect the improved support for the got package.
Reviewed Changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
javascript/ql/test/library-tests/frameworks/ClientRequests/tst.js | Added tests for got's Options type and method chaining with extend() and paginate() |
javascript/ql/lib/change-notes/2025-03-24-got-package.md | Updated change notes to document the new support for the got package |
Files not reviewed (2)
- javascript/ql/lib/semmle/javascript/frameworks/ClientRequests.qll: Language not supported
- javascript/ql/test/library-tests/frameworks/ClientRequests/ClientRequests.expected: Language not supported
Tip: Leave feedback on Copilot's review comments with the 👎 and 👍 buttons to help improve review quality. Learn more
This PR models got's
Options
type,paginate()
, andextend()
functions, modeling their behavior.