@socketsecurity/lib 3.2.7 → 3.2.8
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 +8 -1
- package/dist/external/@inquirer/confirm.js +2 -2
- package/dist/external/@inquirer/input.js +2 -2
- package/dist/external/@inquirer/password.js +3 -3
- package/dist/external/@inquirer/search.js +2 -2
- package/dist/external/@inquirer/select.js +3 -3
- package/dist/external/@socketregistry/yocto-spinner.js +1 -1
- package/dist/external/yoctocolors-cjs.js +1 -1
- package/dist/lifecycle-script-names.js +1 -1
- package/dist/maintained-node-versions.js +1 -1
- package/dist/package-default-node-range.js +1 -1
- package/dist/package-default-socket-categories.js +1 -1
- package/dist/package-extensions.js +1 -1
- package/dist/utils/get-ipc.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,7 +5,14 @@ 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
|
-
## [
|
|
8
|
+
## [3.2.8](https://github.com/SocketDev/socket-lib/releases/tag/v3.2.8) - 2025-11-05
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **build**: Fix CommonJS export script edge cases
|
|
13
|
+
- Fixed stray semicolons after comment placeholders in transformed modules
|
|
14
|
+
- Fixed incorrect transformation of `module.exports.default` to `module.module.exports`
|
|
15
|
+
- Ensures external dependencies and default exports work correctly
|
|
9
16
|
|
|
10
17
|
## [3.2.7](https://github.com/SocketDev/socket-lib/releases/tag/v3.2.7) - 2025-11-05
|
|
11
18
|
|
|
@@ -937,7 +937,7 @@ var require_is_fullwidth_code_point = __commonJS({
|
|
|
937
937
|
return false;
|
|
938
938
|
}, "isFullwidthCodePoint");
|
|
939
939
|
module2.exports = isFullwidthCodePoint;
|
|
940
|
-
module2.
|
|
940
|
+
module2.exports.default = isFullwidthCodePoint;
|
|
941
941
|
}
|
|
942
942
|
});
|
|
943
943
|
|
|
@@ -984,7 +984,7 @@ var require_string_width = __commonJS({
|
|
|
984
984
|
return width;
|
|
985
985
|
}, "stringWidth");
|
|
986
986
|
module2.exports = stringWidth;
|
|
987
|
-
module2.
|
|
987
|
+
module2.exports.default = stringWidth;
|
|
988
988
|
}
|
|
989
989
|
});
|
|
990
990
|
|
|
@@ -937,7 +937,7 @@ var require_is_fullwidth_code_point = __commonJS({
|
|
|
937
937
|
return false;
|
|
938
938
|
}, "isFullwidthCodePoint");
|
|
939
939
|
module2.exports = isFullwidthCodePoint;
|
|
940
|
-
module2.
|
|
940
|
+
module2.exports.default = isFullwidthCodePoint;
|
|
941
941
|
}
|
|
942
942
|
});
|
|
943
943
|
|
|
@@ -984,7 +984,7 @@ var require_string_width = __commonJS({
|
|
|
984
984
|
return width;
|
|
985
985
|
}, "stringWidth");
|
|
986
986
|
module2.exports = stringWidth;
|
|
987
|
-
module2.
|
|
987
|
+
module2.exports.default = stringWidth;
|
|
988
988
|
}
|
|
989
989
|
});
|
|
990
990
|
|
|
@@ -937,7 +937,7 @@ var require_is_fullwidth_code_point = __commonJS({
|
|
|
937
937
|
return false;
|
|
938
938
|
}, "isFullwidthCodePoint");
|
|
939
939
|
module2.exports = isFullwidthCodePoint;
|
|
940
|
-
module2.
|
|
940
|
+
module2.exports.default = isFullwidthCodePoint;
|
|
941
941
|
}
|
|
942
942
|
});
|
|
943
943
|
|
|
@@ -984,7 +984,7 @@ var require_string_width = __commonJS({
|
|
|
984
984
|
return width;
|
|
985
985
|
}, "stringWidth");
|
|
986
986
|
module2.exports = stringWidth;
|
|
987
|
-
module2.
|
|
987
|
+
module2.exports.default = stringWidth;
|
|
988
988
|
}
|
|
989
989
|
});
|
|
990
990
|
|
|
@@ -3150,7 +3150,7 @@ var require_ansi_escapes = __commonJS({
|
|
|
3150
3150
|
"node_modules/.pnpm/ansi-escapes@4.3.2/node_modules/ansi-escapes/index.js"(exports2, module2) {
|
|
3151
3151
|
"use strict";
|
|
3152
3152
|
var ansiEscapes = module2.exports;
|
|
3153
|
-
module2.
|
|
3153
|
+
module2.exports.default = ansiEscapes;
|
|
3154
3154
|
var ESC = "\x1B[";
|
|
3155
3155
|
var OSC = "\x1B]";
|
|
3156
3156
|
var BEL = "\x07";
|
|
@@ -937,7 +937,7 @@ var require_is_fullwidth_code_point = __commonJS({
|
|
|
937
937
|
return false;
|
|
938
938
|
}, "isFullwidthCodePoint");
|
|
939
939
|
module2.exports = isFullwidthCodePoint;
|
|
940
|
-
module2.
|
|
940
|
+
module2.exports.default = isFullwidthCodePoint;
|
|
941
941
|
}
|
|
942
942
|
});
|
|
943
943
|
|
|
@@ -984,7 +984,7 @@ var require_string_width = __commonJS({
|
|
|
984
984
|
return width;
|
|
985
985
|
}, "stringWidth");
|
|
986
986
|
module2.exports = stringWidth;
|
|
987
|
-
module2.
|
|
987
|
+
module2.exports.default = stringWidth;
|
|
988
988
|
}
|
|
989
989
|
});
|
|
990
990
|
|
|
@@ -937,7 +937,7 @@ var require_is_fullwidth_code_point = __commonJS({
|
|
|
937
937
|
return false;
|
|
938
938
|
}, "isFullwidthCodePoint");
|
|
939
939
|
module2.exports = isFullwidthCodePoint;
|
|
940
|
-
module2.
|
|
940
|
+
module2.exports.default = isFullwidthCodePoint;
|
|
941
941
|
}
|
|
942
942
|
});
|
|
943
943
|
|
|
@@ -984,7 +984,7 @@ var require_string_width = __commonJS({
|
|
|
984
984
|
return width;
|
|
985
985
|
}, "stringWidth");
|
|
986
986
|
module2.exports = stringWidth;
|
|
987
|
-
module2.
|
|
987
|
+
module2.exports.default = stringWidth;
|
|
988
988
|
}
|
|
989
989
|
});
|
|
990
990
|
|
|
@@ -3150,7 +3150,7 @@ var require_ansi_escapes = __commonJS({
|
|
|
3150
3150
|
"node_modules/.pnpm/ansi-escapes@4.3.2/node_modules/ansi-escapes/index.js"(exports2, module2) {
|
|
3151
3151
|
"use strict";
|
|
3152
3152
|
var ansiEscapes = module2.exports;
|
|
3153
|
-
module2.
|
|
3153
|
+
module2.exports.default = ansiEscapes;
|
|
3154
3154
|
var ESC = "\x1B[";
|
|
3155
3155
|
var OSC = "\x1B]";
|
|
3156
3156
|
var BEL = "\x07";
|
|
@@ -18,7 +18,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
var lifecycle_script_names_exports = {};
|
|
21
|
-
/* module.exports will be set at end of file
|
|
21
|
+
/* module.exports will be set at end of file */
|
|
22
22
|
var lifecycle_script_names_default = new Set(
|
|
23
23
|
[
|
|
24
24
|
"dependencies",
|
|
@@ -18,7 +18,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
var maintained_node_versions_exports = {};
|
|
21
|
-
/* module.exports will be set at end of file
|
|
21
|
+
/* module.exports will be set at end of file */
|
|
22
22
|
const ObjectFreeze = Object.freeze;
|
|
23
23
|
const next = "25.0.0";
|
|
24
24
|
const current = "22.20.0";
|
|
@@ -18,7 +18,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
var package_default_node_range_exports = {};
|
|
21
|
-
/* module.exports will be set at end of file
|
|
21
|
+
/* module.exports will be set at end of file */
|
|
22
22
|
const maintainedNodeVersions = require("./maintained-node-versions");
|
|
23
23
|
const semver = require("./external/semver");
|
|
24
24
|
var package_default_node_range_default = `>=${semver.parse(maintainedNodeVersions.last).major}`;
|
|
@@ -18,7 +18,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
var package_default_socket_categories_exports = {};
|
|
21
|
-
/* module.exports will be set at end of file
|
|
21
|
+
/* module.exports will be set at end of file */
|
|
22
22
|
var package_default_socket_categories_default = Object.freeze(["cleanup"]);
|
|
23
23
|
|
|
24
24
|
module.exports = package_default_socket_categories_default;
|
|
@@ -18,7 +18,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
var package_extensions_exports = {};
|
|
21
|
-
/* module.exports will be set at end of file
|
|
21
|
+
/* module.exports will be set at end of file */
|
|
22
22
|
const { freeze: ObjectFreeze } = Object;
|
|
23
23
|
const yarnPkgExtensions = require("./external/@yarnpkg/extensions");
|
|
24
24
|
var package_extensions_default = ObjectFreeze(
|
package/dist/utils/get-ipc.js
CHANGED
|
@@ -18,7 +18,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
};
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
var get_ipc_exports = {};
|
|
21
|
-
/* module.exports will be set at end of file
|
|
21
|
+
/* module.exports will be set at end of file */
|
|
22
22
|
let _ipcObject;
|
|
23
23
|
async function getIpc(key) {
|
|
24
24
|
if (_ipcObject === void 0) {
|