Skip to content

Commit b918d2d

Browse files
committed
chore(release): 5.24.0
1 parent 320c757 commit b918d2d

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [5.24.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.24.0) - 2026-04-22
9+
10+
### Removed
11+
12+
- `@socketsecurity/lib/env/socket-cli-shadow` — deleted. Unused after Socket CLI's shadow infrastructure was removed
13+
14+
### Fixed
15+
16+
- `packPackage()` / `extractPackage()` now work for non-registry specs (local dir/tarball, remote tarball URL, git). The bundled pacote fetchers (`dir.js`, `file.js`, `remote.js`, `git.js`) were over-stubbed and broke every non-registry path
17+
- `EditablePackageJson.prepare()` no longer throws `git.find is not a function`. `@npmcli/git` is reached from `normalize.gitHead`, not just `arb.audit()`, so it can't be stubbed
18+
- `packPackage(<dir>)` now runs `prepack` / `postpack` scripts instead of throwing `runScript is not a function`. `@npmcli/run-script` is reachable whenever `ignoreScripts` isn't set
19+
820
## [5.23.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.23.0) - 2026-04-22
921

1022
### Added

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socketsecurity/lib",
3-
"version": "5.23.0",
3+
"version": "5.24.0",
44
"packageManager": "pnpm@11.0.0-rc.5",
55
"license": "MIT",
66
"description": "Core utilities and infrastructure for Socket.dev security tools",
@@ -351,10 +351,6 @@
351351
"types": "./dist/env/socket-cli.d.ts",
352352
"default": "./dist/env/socket-cli.js"
353353
},
354-
"./env/socket-cli-shadow": {
355-
"types": "./dist/env/socket-cli-shadow.d.ts",
356-
"default": "./dist/env/socket-cli-shadow.js"
357-
},
358354
"./env/temp-dir": {
359355
"types": "./dist/env/temp-dir.d.ts",
360356
"default": "./dist/env/temp-dir.js"

0 commit comments

Comments
 (0)