chore(deps): bump @socketsecurity/lib from 5.5.3 to 5.6.0
Open
Number: #1083
Type: Pull Request
State: Open
Type: Pull Request
State: Open
Author:
dependabot[bot]
Association: Unknown
Comments: 3
Association: Unknown
Comments: 3
Created:
February 16, 2026 at 05:53 AM UTC
(4 months ago)
(4 months ago)
Updated:
February 17, 2026 at 06:00 PM UTC
(3 months ago)
(3 months ago)
Labels:
dependencies javascript
dependencies javascript
Description:
Bumps @socketsecurity/lib from 5.5.3 to 5.6.0.
Changelog
Sourced from @socketsecurity/lib's changelog.
5.6.0 - 2026-02-08
Added
- http-request: Added automatic default headers for JSON and text requests
httpJson()now automatically setsAccept: application/jsonheaderhttpJson()automatically setsContent-Type: application/jsonwhen body is presenthttpText()now automatically setsAccept: text/plainheaderhttpText()automatically setsContent-Type: text/plainwhen body is present- User-provided headers always override defaults
- Simplifies API usage - no need to manually set common headers
Changed
- http-request: Renamed HTTP helper functions to support all HTTP methods (BREAKING CHANGE)
httpGetJson()→httpJson()- Now supports GET, POST, PUT, DELETE, PATCH, etc.httpGetText()→httpText()- Now supports all HTTP methods viamethodoption- Functions now accept
methodparameter in options (defaults to 'GET')- More flexible API that matches modern fetch-style conventions
- Migration: Replace
httpGetJson()calls withhttpJson()andhttpGetText()withhttpText()Fixed
- http-request: Fixed Content-Type header incorrectly sent with empty string body
- Empty string body (
"") no longer triggers Content-Type header- Changed condition from
if (body !== undefined)toif (body)for semantic correctness- Empty string represents "no content" and should not declare a Content-Type
- Affects
httpJson()andhttpText()functions- Fixes potential API compatibility issues with servers expecting no Content-Type for empty bodies
- Added comprehensive test coverage for empty string edge case
Commits
6580b33chore: bump version to 5.6.061bd1e1chore(deps): update dependencies540d187fix(http-request): prevent Content-Type header for empty string bodydc46e82refactor(http-request): sort functions alphabetically89e796dfeat(http-request): rename helpers and add default headersc2e623dfeat(quality-scan): add documentation accuracy scanbbf489afeat(quality-scan): add quality-scan skill and zizmor security scannerb408eccfix(deps): always update Socket packages in update script (#85)88a21f3fix(scripts): update script messaging and add @socketbin/* scope- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 13853740 |
| UUID: | 3946029508 |
| Node ID: | PR_kwDOIREOSc7EAmTK |
| Host: | GitHub |
| Repository: | SocketDev/socket-cli |