You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: delete camelToKebab + dead types file; fix doc drift
Org-scan R4 #1: camelToKebab was a subset of toKebabCase (snake_case
support + more comprehensive acronym handling). Zero internal + zero
sibling-repo callers confirmed via grep. Deleted the function and its
tests (~130 LOC across src + test); updated toKebabCase JSDoc to drop
the now-defunct cross-reference.
Org-scan R4 #4: src/types/external-modules.d.ts was an ambient module
declaration for cacache/pacote/make-fetch-happen that shadowed the actual
typings already provided via tsconfig paths mapping to src/external/*.d.ts.
Deleted the file + empty src/types/ dir. One caller (provenance.ts) was
using the old ambient's shape for make-fetch-happen — switched its _fetcher
type annotation to ReturnType<typeof makeFetchHappen.defaults>.
Docs scan R4:
- README.md: setupIPC() doesn't exist; replaced with real exports
(processLock.lock/unlock, writeIpcStub/getIpcStubPath)
- docs/process-utilities.md: rewrote ProcessLock class-style docs to
match the actual processLock singleton API (acquire/release/withLock);
replaced fictional setupIPC() section with docs for the two real IPC
surfaces (ipc stub, ipc-cli env vars)
- docs/http-utilities.md: User-Agent default is SOCKET_LIB_USER_AGENT
(socketsecurity-lib/<version>), not socket-registry/1.0;
httpDownload options type is HttpDownloadOptions not HttpDownloadResult
- docs/visual-effects.md: Spinner({ spinner: 'dots' }) was wrong
(SpinnerStyle is an object) — replaced with a getSpinner('dots') hint
For passing data between parent and child processes when the payload may exceed environment-variable size limits or needs restricted-perm (0o600) storage.
0 commit comments