chore: align with upstream changes from Node qs v6.15.2#52
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
🟢 Coverage 100.00% diff coverage · +0.00% coverage variation
Metric Results Coverage variation ✅ +0.00% coverage variation (-1.00%) Diff coverage ✅ 100.00% diff coverage Coverage variation details
Coverable lines Covered lines Coverage Common ancestor commit (e96fb40) 1904 1904 100.00% Head commit (d390fb8) 1904 (+0) 1904 (+0) 100.00% (+0.00%) Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch:
<coverage of head commit> - <coverage of common ancestor commit>Diff coverage details
Coverable lines Covered lines Diff coverage Pull request (#52) 4 4 100.00% Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified:
<covered lines added or modified>/<coverable lines added or modified> * 100%
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #52 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 22 22
Lines 1904 1904
=========================================
Hits 1904 1904 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This pull request updates the Python
qs_codecpackage to align itsencodeanddecodebehavior with Nodeqsversion 6.15.2, ensuring improved compatibility and correctness. The changes include bug fixes to key normalization and delimiter handling, dependency updates for comparison tests, and new or updated tests to verify the new behavior.Compatibility and Bug Fixes:
decodefunction now normalizes dotted keys before preserving them whendepth=0andallow_dots=True, matching Nodeqs6.15.2 behavior. [1] [2] [3] [4]encodefunction now uses the configured delimiter after thecharset_sentineltoken, aligning with the latest Nodeqsbehavior. [1] [2]Dependency and Test Infrastructure Updates:
qs@6.15.2and switched fromnpmtopnpmfor dependency installation, ensuring tests run against the correct Node.js version. [1] [2] [3] [4] [5]Testing Improvements:
depth=0, delimiter configuration withcharset_sentinel, and filtering/encoding ofNoneandUndefinedvalues in both top-level and list contexts. [1] [2] [3] [4]Documentation:
CHANGELOG.mdto document the bug fixes and compatibility improvements in version 1.5.1-dev.