@socketsecurity/lib 1.3.1 → 1.3.2

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,12 @@ 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
+ ## [1.3.2](https://github.com/SocketDev/socket-lib/releases/tag/v1.3.2) - 2025-10-24
9
+
10
+ ### Fixed
11
+
12
+ - Continued fixing of broken external dependency bundling
13
+
8
14
  ## [1.3.1](https://github.com/SocketDev/socket-lib/releases/tag/v1.3.1) - 2025-10-24
9
15
 
10
16
  ### Fixed
@@ -51,7 +51,7 @@ const VLT = "vlt";
51
51
  const NPX = "npx";
52
52
  const NPM_BIN_PATH = /* @__PURE__ */ (() => {
53
53
  try {
54
- const which = require("which");
54
+ const which = require('../external/which');
55
55
  return which.sync("npm", { nothrow: true }) || "npm";
56
56
  } catch {
57
57
  return "npm";
@@ -61,7 +61,7 @@ const NPM_REAL_EXEC_PATH = /* @__PURE__ */ (() => {
61
61
  try {
62
62
  const { existsSync } = require("node:fs");
63
63
  const path = require("node:path");
64
- const which = require("which");
64
+ const which = require('../external/which');
65
65
  const npmBin = which.sync("npm", { nothrow: true });
66
66
  if (!npmBin) {
67
67
  return void 0;
package/dist/prompts.js CHANGED
@@ -36,11 +36,11 @@ __export(prompts_exports, {
36
36
  select: () => import_select.default
37
37
  });
38
38
  module.exports = __toCommonJS(prompts_exports);
39
- var import_confirm = __toESM(require("@inquirer/confirm"));
40
- var import_input = __toESM(require("@inquirer/input"));
41
- var import_password = __toESM(require("@inquirer/password"));
42
- var import_search = __toESM(require("@inquirer/search"));
43
- var import_select = __toESM(require("@inquirer/select"));
39
+ var import_confirm = __toESM(require('./external/@inquirer/confirm'));
40
+ var import_input = __toESM(require('./external/@inquirer/input'));
41
+ var import_password = __toESM(require('./external/@inquirer/password'));
42
+ var import_search = __toESM(require('./external/@inquirer/search'));
43
+ var import_select = __toESM(require('./external/@inquirer/select'));
44
44
  function createSeparator(text) {
45
45
  return {
46
46
  type: "separator",
package/dist/zod.js CHANGED
@@ -21,7 +21,7 @@ __export(zod_exports, {
21
21
  z: () => import_zod.z
22
22
  });
23
23
  module.exports = __toCommonJS(zod_exports);
24
- var import_zod = require("zod");
24
+ var import_zod = require('./external/zod');
25
25
  // Annotate the CommonJS export names for ESM import in node:
26
26
  0 && (module.exports = {
27
27
  z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socketsecurity/lib",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "license": "MIT",
5
5
  "description": "Core utilities and infrastructure for Socket.dev security tools",
6
6
  "keywords": [
@@ -729,7 +729,7 @@
729
729
  "cover": "node scripts/cover.mjs",
730
730
  "dev": "pnpm run build:watch",
731
731
  "fix": "node scripts/lint.mjs --fix",
732
- "fix:exports": "node scripts/generate-package-exports.mjs && node scripts/fix-commonjs-exports.mjs",
732
+ "fix:build": "node scripts/fix-build.mjs",
733
733
  "lint": "node scripts/lint.mjs",
734
734
  "lint-ci": "pnpm run lint",
735
735
  "prepare": "husky",