@socketsecurity/lib 5.19.0 → 5.20.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.
Files changed (39) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/cache-with-ttl.d.ts +7 -0
  3. package/dist/cache-with-ttl.js +26 -7
  4. package/dist/constants/socket.js +1 -1
  5. package/dist/dlx/lockfile.js +4 -1
  6. package/dist/dlx/manifest.d.ts +10 -4
  7. package/dist/dlx/package.d.ts +1 -1
  8. package/dist/dlx/package.js +5 -2
  9. package/dist/external/@inquirer/checkbox.js +5 -0
  10. package/dist/external/@inquirer/confirm.js +5 -0
  11. package/dist/external/@inquirer/input.js +5 -0
  12. package/dist/external/@inquirer/password.js +5 -0
  13. package/dist/external/@inquirer/search.js +5 -0
  14. package/dist/external/@inquirer/select.js +5 -0
  15. package/dist/external/@npmcli/package-json/lib/read-package.js +40 -32
  16. package/dist/external/@npmcli/package-json/lib/sort.js +104 -92
  17. package/dist/external/@sinclair/typebox/value.js +9007 -0
  18. package/dist/external/@sinclair/typebox.js +7891 -0
  19. package/dist/external/external-pack.js +2749 -28
  20. package/dist/http-request.d.ts +0 -25
  21. package/dist/http-request.js +6 -5
  22. package/dist/ipc.js +43 -10
  23. package/dist/json/edit.d.ts +1 -1
  24. package/dist/memoization.js +6 -0
  25. package/dist/paths/packages.js +6 -2
  26. package/dist/promise-queue.js +1 -1
  27. package/dist/stdio/clear.d.ts +163 -0
  28. package/dist/stdio/clear.js +96 -0
  29. package/dist/stdio/progress.d.ts +152 -0
  30. package/dist/stdio/progress.js +217 -0
  31. package/dist/stdio/prompts.d.ts +196 -0
  32. package/dist/stdio/prompts.js +177 -0
  33. package/dist/tables.js +2 -3
  34. package/dist/validation/validate-schema.d.ts +124 -0
  35. package/dist/validation/validate-schema.js +108 -0
  36. package/package.json +25 -6
  37. package/dist/external/zod.js +0 -7825
  38. package/dist/zod.d.ts +0 -5
  39. package/dist/zod.js +0 -30
package/dist/zod.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * @fileoverview Zod schema validation library wrapper for type-safe runtime validation.
3
- * Provides access to zod's schema builder through the z object.
4
- */
5
- export { z } from './external/zod';
package/dist/zod.js DELETED
@@ -1,30 +0,0 @@
1
- "use strict";
2
- /* Socket Lib - Built with esbuild */
3
- "use strict";
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
- var zod_exports = {};
22
- __export(zod_exports, {
23
- z: () => import_zod.z
24
- });
25
- module.exports = __toCommonJS(zod_exports);
26
- var import_zod = require("./external/zod");
27
- // Annotate the CommonJS export names for ESM import in node:
28
- 0 && (module.exports = {
29
- z
30
- });