@socketsecurity/lib 5.19.0 → 5.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [5.19.1](https://github.com/SocketDev/socket-lib/releases/tag/v5.19.1) - 2026-04-19
9
+
10
+ ### Fixed — stdio (restore accidentally-dropped modules)
11
+
12
+ 5.19.0 shipped a breaking change that was not called out in its changelog or version bump: a refactor commit removed `stdio/prompts`, `stdio/progress`, `stdio/clear`, and the vendored `external/@inquirer/*` shims. socket-cli and other consumers import `stdio/prompts` directly and broke on upgrade.
13
+
14
+ Restored:
15
+
16
+ - `@socketsecurity/lib/stdio/prompts` — inquirer wrappers (`password`, `confirm`, `input`, `select`, `checkbox`, `search`)
17
+ - `@socketsecurity/lib/stdio/progress` — progress-bar utility (`ProgressBar` class)
18
+ - `@socketsecurity/lib/stdio/clear` — terminal line/screen/cursor helpers
19
+ - `src/external/@inquirer/{checkbox,confirm,input,password,search,select}.js` vendor shims
20
+ - Corresponding test suites
21
+
8
22
  ## [5.19.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.19.0) - 2026-04-19
9
23
 
10
24
  ### Added — dlx/integrity (new module)
@@ -77,7 +77,7 @@ const SOCKET_FIREWALL_APP_NAME = "sfw";
77
77
  const SOCKET_REGISTRY_APP_NAME = "registry";
78
78
  const SOCKET_APP_PREFIX = "_";
79
79
  const SOCKET_LIB_NAME = "@socketsecurity/lib";
80
- const SOCKET_LIB_VERSION = "5.19.0";
80
+ const SOCKET_LIB_VERSION = "5.19.1";
81
81
  const SOCKET_LIB_URL = "https://github.com/SocketDev/socket-lib";
82
82
  const SOCKET_LIB_USER_AGENT = `socketsecurity-lib/${SOCKET_LIB_VERSION} (${SOCKET_LIB_URL})`;
83
83
  const SOCKET_IPC_HANDSHAKE = "SOCKET_IPC_HANDSHAKE";
@@ -0,0 +1,5 @@
1
+ 'use strict'
2
+
3
+ // Re-export from external-pack bundle for better deduplication.
4
+ const { checkbox } = require('../external-pack')
5
+ module.exports = checkbox
@@ -0,0 +1,5 @@
1
+ 'use strict'
2
+
3
+ // Re-export from external-pack bundle for better deduplication.
4
+ const { confirm } = require('../external-pack')
5
+ module.exports = confirm
@@ -0,0 +1,5 @@
1
+ 'use strict'
2
+
3
+ // Re-export from external-pack bundle for better deduplication.
4
+ const { input } = require('../external-pack')
5
+ module.exports = input
@@ -0,0 +1,5 @@
1
+ 'use strict'
2
+
3
+ // Re-export from external-pack bundle for better deduplication.
4
+ const { password } = require('../external-pack')
5
+ module.exports = password
@@ -0,0 +1,5 @@
1
+ 'use strict'
2
+
3
+ // Re-export from external-pack bundle for better deduplication.
4
+ const { search } = require('../external-pack')
5
+ module.exports = search
@@ -0,0 +1,5 @@
1
+ 'use strict'
2
+
3
+ // Re-export from external-pack bundle for better deduplication.
4
+ const { select } = require('../external-pack')
5
+ module.exports = select