Skip to content

Commit 30bc983

Browse files
committed
Bump to v1.2.0
1 parent 5d68369 commit 30bc983

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@ 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+
## [1.2.0] - 2025-10-23
9+
10+
### Added
11+
12+
- Added `dlx-package` module for installing and executing npm packages directly
13+
- Content-addressed caching using SHA256 hash (like npm's _npx)
14+
- Each package spec gets unique directory: `~/.socket/_dlx/<hash>/`
15+
- Auto-force for version ranges (^, ~, >, <) to get latest within range
16+
- Exact versions use cache, ranges always fetch latest
17+
- Cross-platform support with comprehensive tests (30 tests)
18+
- Exported via `./dlx-package` entry point
19+
20+
### Changed
21+
22+
- Unified DLX storage under `~/.socket/_dlx/` directory
23+
- Binary downloads (dlx-binary) now use `~/.socket/_dlx/` instead of non-existent `~/.socket/cache/dlx/`
24+
- Both npm packages and binaries share same parent directory with content-addressed hashing
25+
- Clear separation: packages use package spec hash, binaries use URL hash
26+
827
## [1.1.2] - 2025-10-23
928

1029
### Fixed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socketsecurity/lib",
3-
"version": "1.1.2",
3+
"version": "1.2.0",
44
"license": "MIT",
55
"description": "Core utilities and infrastructure for Socket.dev security tools",
66
"keywords": [

0 commit comments

Comments
 (0)