@socketsecurity/lib 5.4.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 +6 -0
- package/dist/external/@inquirer/checkbox.js +2 -2
- package/dist/external/@inquirer/confirm.js +2 -2
- package/dist/external/@inquirer/input.js +2 -2
- package/dist/external/@inquirer/password.js +2 -2
- package/dist/external/@inquirer/search.js +2 -2
- package/dist/external/@inquirer/select.js +2 -2
- package/dist/external/@npmcli/package-json.js +11 -7
- package/dist/external/debug.js +670 -15
- package/dist/external/{inquirer-pack.js → external-pack.js} +651 -466
- 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/semver.js +2 -2
- package/dist/external/signal-exit.js +5 -0
- package/dist/external/supports-color.js +8 -0
- package/dist/external/validate-npm-package-name.js +2 -2
- package/dist/external/yoctocolors-cjs.js +5 -92
- package/package.json +15 -3
- package/dist/external/npm-core.js +0 -6590
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
|
+
## [5.4.1](https://github.com/SocketDev/socket-lib/releases/tag/v5.4.1) - 2026-01-10
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **build**: Removed debug module stub to bundle real debug package. The stub was missing `enable()` and `disable()` methods, causing errors when downstream projects re-bundled the lib.
|
|
13
|
+
|
|
8
14
|
## [5.4.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.4.0) - 2026-01-07
|
|
9
15
|
|
|
10
16
|
### Added
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
// Re-export from
|
|
4
|
-
const { checkbox } = require('../
|
|
3
|
+
// Re-export from external-pack bundle for better deduplication.
|
|
4
|
+
const { checkbox } = require('../external-pack')
|
|
5
5
|
module.exports = checkbox
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
// Re-export from
|
|
4
|
-
const { confirm } = require('../
|
|
3
|
+
// Re-export from external-pack bundle for better deduplication.
|
|
4
|
+
const { confirm } = require('../external-pack')
|
|
5
5
|
module.exports = confirm
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
// Re-export from
|
|
4
|
-
const { input } = require('../
|
|
3
|
+
// Re-export from external-pack bundle for better deduplication.
|
|
4
|
+
const { input } = require('../external-pack')
|
|
5
5
|
module.exports = input
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
// Re-export from
|
|
4
|
-
const { password } = require('../
|
|
3
|
+
// Re-export from external-pack bundle for better deduplication.
|
|
4
|
+
const { password } = require('../external-pack')
|
|
5
5
|
module.exports = password
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
// Re-export from
|
|
4
|
-
const { search } = require('../
|
|
3
|
+
// Re-export from external-pack bundle for better deduplication.
|
|
4
|
+
const { search } = require('../external-pack')
|
|
5
5
|
module.exports = search
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
// Re-export from
|
|
4
|
-
const { select } = require('../
|
|
3
|
+
// Re-export from external-pack bundle for better deduplication.
|
|
4
|
+
const { select } = require('../external-pack')
|
|
5
5
|
module.exports = select
|
|
@@ -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;
|