Skip to content
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

Merged
merged 8 commits into from
Mar 25, 2025
Merged

JS: got package modeling #19091

merged 8 commits into from
Mar 25, 2025

Conversation

Napalys
Copy link
Contributor

@Napalys Napalys commented Mar 21, 2025

This PR models got's Options type, paginate(), and extend() functions, modeling their behavior.

@github-actions github-actions bot added the JS label Mar 21, 2025
@Napalys Napalys requested a review from asgerf March 21, 2025 14:04
@Napalys Napalys marked this pull request as ready for review March 24, 2025 12:54
@Copilot Copilot bot review requested due to automatic review settings March 24, 2025 12:54
@Napalys Napalys requested a review from a team as a code owner March 24, 2025 12:54
Copy link
Contributor

@Copilot Copilot AI left a 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

@Napalys Napalys merged commit f7026c2 into github:main Mar 25, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants