@socketsecurity/lib 3.3.10 → 3.3.11

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,13 @@ 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
+ ## [3.3.11](https://github.com/SocketDev/socket-lib/releases/tag/v3.3.11) - 2025-11-14
9
+
10
+ ### Fixed
11
+
12
+ - **prompts**: Fix "inquirerPrompt is not a function" error in interactive prompts
13
+ - Properly handle inquirer modules with multiple exports (select, search)
14
+
8
15
  ## [3.3.10](https://github.com/SocketDev/socket-lib/releases/tag/v3.3.10) - 2025-11-14
9
16
 
10
17
  ### Fixed
@@ -103,6 +103,7 @@ declare const checkboxRaw: any;
103
103
  declare const confirmRaw: any;
104
104
  declare const inputRaw: any;
105
105
  declare const passwordRaw: any;
106
+ // Search and select export additional named exports, so we access .default.
106
107
  declare const searchRaw: any;
107
108
  declare const selectRaw: any;
108
109
  declare const ActualSeparator: any;
@@ -145,9 +145,10 @@ const checkboxRaw = require("../external/@inquirer/checkbox");
145
145
  const confirmRaw = require("../external/@inquirer/confirm");
146
146
  const inputRaw = require("../external/@inquirer/input");
147
147
  const passwordRaw = require("../external/@inquirer/password");
148
- const searchRaw = require("../external/@inquirer/search");
149
- const selectRaw = require("../external/@inquirer/select");
150
- const ActualSeparator = selectRaw.Separator;
148
+ const searchRaw = require("../external/@inquirer/search").default;
149
+ const selectModule = require("../external/@inquirer/select");
150
+ const selectRaw = selectModule.default;
151
+ const ActualSeparator = selectModule.Separator;
151
152
  const checkbox = /* @__PURE__ */ wrapPrompt(checkboxRaw);
152
153
  const confirm = /* @__PURE__ */ wrapPrompt(confirmRaw);
153
154
  const input = /* @__PURE__ */ wrapPrompt(inputRaw);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socketsecurity/lib",
3
- "version": "3.3.10",
3
+ "version": "3.3.11",
4
4
  "packageManager": "pnpm@10.22.0",
5
5
  "license": "MIT",
6
6
  "description": "Core utilities and infrastructure for Socket.dev security tools",
@@ -672,6 +672,7 @@
672
672
  "@babel/traverse": "7.28.4",
673
673
  "@babel/types": "7.28.4",
674
674
  "@biomejs/biome": "2.2.4",
675
+ "@dotenvx/dotenvx": "1.49.0",
675
676
  "@eslint/compat": "1.4.0",
676
677
  "@eslint/js": "9.38.0",
677
678
  "@inquirer/checkbox": "4.3.1",