@socketsecurity/lib 5.3.0 → 5.4.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 +22 -0
- package/dist/cover/code.js +12 -4
- package/dist/dlx/cache.js +10 -2
- package/dist/dlx/manifest.js +45 -41
- package/dist/env/rewire.js +10 -2
- package/dist/external/@inquirer/checkbox.js +4 -2528
- package/dist/external/@inquirer/confirm.js +4 -2371
- package/dist/external/@inquirer/input.js +4 -2395
- package/dist/external/@inquirer/password.js +4 -2503
- package/dist/external/@inquirer/search.js +4 -2500
- package/dist/external/@inquirer/select.js +4 -2617
- package/dist/external/@npmcli/package-json.js +11 -7
- package/dist/external/debug.js +670 -15
- package/dist/external/del.js +4 -7139
- package/dist/external/external-pack.js +4795 -0
- package/dist/external/fast-glob.js +4 -5776
- package/dist/external/has-flag.js +6 -0
- package/dist/external/libnpmexec.js +2 -2
- package/dist/external/normalize-package-data.js +2 -2
- package/dist/external/npm-pack.js +1698 -3337
- package/dist/external/npm-package-arg.js +2 -2
- package/dist/external/pico-pack.js +7162 -0
- package/dist/external/picomatch.js +4 -1523
- package/dist/external/semver.js +2 -2
- package/dist/external/signal-exit.js +5 -0
- package/dist/external/spdx-correct.js +4 -1384
- package/dist/external/spdx-expression-parse.js +4 -1047
- package/dist/external/spdx-pack.js +1640 -0
- package/dist/external/supports-color.js +8 -0
- package/dist/external/validate-npm-package-name.js +4 -104
- package/dist/external/yoctocolors-cjs.js +5 -92
- package/dist/http-request.js +10 -2
- package/dist/ipc.js +53 -29
- package/dist/packages/isolation.js +45 -23
- package/dist/packages/licenses.js +10 -2
- package/dist/paths/socket.d.ts +2 -2
- package/dist/paths/socket.js +27 -21
- package/dist/process-lock.js +23 -14
- package/dist/releases/github.d.ts +67 -41
- package/dist/releases/github.js +142 -100
- package/dist/releases/socket-btm.d.ts +40 -33
- package/dist/releases/socket-btm.js +45 -5
- package/dist/spawn.js +10 -3
- package/dist/stdio/mask.d.ts +6 -21
- package/dist/stdio/mask.js +18 -14
- package/dist/themes/context.js +10 -2
- package/package.json +16 -3
- package/dist/external/npm-core.js +0 -6588
|
@@ -714,9 +714,9 @@ var require_clean = __commonJS({
|
|
|
714
714
|
}
|
|
715
715
|
});
|
|
716
716
|
|
|
717
|
-
// node_modules/.pnpm/proc-log@
|
|
717
|
+
// node_modules/.pnpm/proc-log@6.1.0/node_modules/proc-log/lib/index.js
|
|
718
718
|
var require_lib2 = __commonJS({
|
|
719
|
-
"node_modules/.pnpm/proc-log@
|
|
719
|
+
"node_modules/.pnpm/proc-log@6.1.0/node_modules/proc-log/lib/index.js"(exports2, module2) {
|
|
720
720
|
var META = Symbol("proc-log.meta");
|
|
721
721
|
module2.exports = {
|
|
722
722
|
META,
|
|
@@ -842,10 +842,14 @@ var require_lib2 = __commonJS({
|
|
|
842
842
|
end: "end",
|
|
843
843
|
read: "read"
|
|
844
844
|
},
|
|
845
|
-
start: /* @__PURE__ */ __name(function(
|
|
846
|
-
|
|
845
|
+
start: /* @__PURE__ */ __name(function(...args) {
|
|
846
|
+
let fn;
|
|
847
|
+
if (typeof args[0] === "function") {
|
|
848
|
+
fn = args.shift();
|
|
849
|
+
}
|
|
850
|
+
process.emit("input", "start", ...args);
|
|
847
851
|
function end() {
|
|
848
|
-
return process.emit("input", "end");
|
|
852
|
+
return process.emit("input", "end", ...args);
|
|
849
853
|
}
|
|
850
854
|
__name(end, "end");
|
|
851
855
|
if (typeof fn === "function") {
|
|
@@ -858,8 +862,8 @@ var require_lib2 = __commonJS({
|
|
|
858
862
|
}
|
|
859
863
|
return end;
|
|
860
864
|
}, "start"),
|
|
861
|
-
end: /* @__PURE__ */ __name(function() {
|
|
862
|
-
return process.emit("input", "end");
|
|
865
|
+
end: /* @__PURE__ */ __name(function(...args) {
|
|
866
|
+
return process.emit("input", "end", ...args);
|
|
863
867
|
}, "end"),
|
|
864
868
|
read: /* @__PURE__ */ __name(function(...args) {
|
|
865
869
|
let resolve, reject;
|