🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@socketsecurity/sdk

Package Overview
Dependencies
Maintainers
2
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socketsecurity/sdk - npm Package Compare versions

Comparing version
4.0.0
to
4.0.1
+12
-0
CHANGELOG.md

@@ -7,2 +7,14 @@ # Changelog

## [4.0.1](https://github.com/SocketDev/socket-sdk-js/releases/tag/v4.0.1) - 2026-04-14
### Changed — build
- Bundle `@socketsecurity/lib` and `form-data` into dist output, making the SDK a zero-runtime-dependency package
- Stub heavy `@socketsecurity/lib` internals (npm-pack.js 2.5MB, pico-pack.js 260KB) and replace `mime-db` (212KB) with a minimal 3-entry lookup
- dist/index.js: 3,897KB → 712KB (82% reduction)
### Fixed
- Strip `Authorization` header (case-insensitive) from public firewall API endpoint requests
## [4.0.0](https://github.com/SocketDev/socket-sdk-js/releases/tag/v4.0.0) - 2026-04-06

@@ -9,0 +21,0 @@

+6
-18
{
"name": "@socketsecurity/sdk",
"version": "4.0.0",
"version": "4.0.1",
"description": "SDK for the Socket API client",

@@ -50,3 +50,3 @@ "homepage": "https://github.com/SocketDev/socket-sdk-js",

"cover": "node scripts/cover.mjs",
"fix": "node scripts/lint.mjs --fix",
"fix": "node scripts/fix.mjs",
"format": "oxfmt --write .",

@@ -68,8 +68,5 @@ "format:check": "oxfmt --check .",

},
"dependencies": {
"@socketsecurity/lib": "5.15.0",
"form-data": "4.0.5"
},
"devDependencies": {
"@anthropic-ai/claude-code": "2.1.92",
"@socketsecurity/lib": "5.18.2",
"@babel/generator": "7.28.5",

@@ -92,2 +89,3 @@ "@babel/parser": "7.26.3",

"fast-glob": "3.3.3",
"form-data": "4.0.5",
"husky": "9.1.7",

@@ -117,15 +115,5 @@ "magic-string": "0.30.14",

"node": ">=18.20.8",
"pnpm": ">=10.33.0"
"pnpm": ">=11.0.0-rc.0"
},
"packageManager": "pnpm@10.33.0",
"pnpm": {
"ignoredBuiltDependencies": [
"esbuild",
"unrs-resolver"
],
"overrides": {
"defu": ">=6.1.6",
"vite": "7.3.2"
}
}
"packageManager": "pnpm@11.0.0-rc.0"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display