@socketsecurity/lib 3.2.6 → 3.2.7
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 +16 -0
- package/dist/constants/node.js +1 -1
- package/dist/constants/packages.js +4 -4
- package/dist/external/@inquirer/confirm.js +3199 -18
- package/dist/external/@inquirer/input.js +3223 -18
- package/dist/external/@inquirer/password.js +3331 -18
- package/dist/external/@inquirer/search.js +3328 -21
- package/dist/external/@inquirer/select.js +3445 -21
- package/dist/external/@npmcli/package-json/lib/read-package.js +149 -2
- package/dist/external/@npmcli/package-json/lib/sort.js +96 -1
- package/dist/external/@npmcli/package-json.js +16758 -13
- package/dist/external/@npmcli/promise-spawn.js +480 -1
- package/dist/external/@socketregistry/is-unicode-supported.js +42 -1
- package/dist/external/@socketregistry/packageurl-js.js +6493 -2
- package/dist/external/@socketregistry/yocto-spinner.js +460 -4
- package/dist/external/@yarnpkg/extensions.js +1025 -1
- package/dist/external/cacache.js +13016 -12
- package/dist/external/debug.js +27 -1
- package/dist/external/del.js +7088 -2
- package/dist/external/fast-glob.js +5721 -2
- package/dist/external/fast-sort.js +140 -1
- package/dist/external/get-east-asian-width.js +90 -1
- package/dist/external/libnpmexec.js +33 -1
- package/dist/external/libnpmpack.js +67595 -129
- package/dist/external/make-fetch-happen.js +22595 -21
- package/dist/external/normalize-package-data.js +4474 -2
- package/dist/external/npm-package-arg.js +4511 -2
- package/dist/external/pacote.js +50270 -57
- package/dist/external/picomatch.js +1520 -1
- package/dist/external/semver.js +1930 -1
- package/dist/external/spdx-correct.js +1380 -1
- package/dist/external/spdx-expression-parse.js +1043 -1
- package/dist/external/streaming-iterables.js +1056 -1
- package/dist/external/validate-npm-package-name.js +100 -1
- package/dist/external/which.js +258 -1
- package/dist/external/yargs-parser.js +1075 -1
- package/dist/external/yoctocolors-cjs.js +88 -1
- package/dist/external/zod.js +15207 -13
- package/dist/lifecycle-script-names.js +3 -4
- package/dist/maintained-node-versions.js +3 -4
- package/dist/package-default-node-range.js +4 -5
- package/dist/package-default-socket-categories.js +3 -4
- package/dist/package-extensions.js +3 -4
- package/dist/utils/get-ipc.js +3 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [3.2.7](https://github.com/SocketDev/socket-lib/releases/tag/v3.2.7) - 2025-11-05
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **build-externals**: Disable minification to preserve exports
|
|
15
|
+
- External dependencies are no longer minified during bundling
|
|
16
|
+
- Prevents export name mangling that breaks CommonJS interop
|
|
17
|
+
- Fixes `semver.parse()` and `semver.major()` being undefined
|
|
18
|
+
|
|
19
|
+
- **build**: Fix CommonJS export interop for TypeScript default exports
|
|
20
|
+
- Modules with `export default` now work without requiring `.default` accessor
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- **docs**: Moved packages README to correct location (`src/packages/README.md`)
|
|
25
|
+
|
|
10
26
|
## [3.2.6](https://github.com/SocketDev/socket-lib/releases/tag/v3.2.6) - 2025-11-05
|
|
11
27
|
|
|
12
28
|
### Fixed
|
package/dist/constants/node.js
CHANGED
|
@@ -49,7 +49,7 @@ function getNodeMajorVersion() {
|
|
|
49
49
|
let _maintainedNodeVersions;
|
|
50
50
|
function getMaintainedNodeVersions() {
|
|
51
51
|
if (_maintainedNodeVersions === void 0) {
|
|
52
|
-
_maintainedNodeVersions = require("../maintained-node-versions")
|
|
52
|
+
_maintainedNodeVersions = require("../maintained-node-versions");
|
|
53
53
|
}
|
|
54
54
|
return _maintainedNodeVersions;
|
|
55
55
|
}
|
|
@@ -45,19 +45,19 @@ const LATEST = "latest";
|
|
|
45
45
|
const PACKAGE_DEFAULT_VERSION = "1.0.0";
|
|
46
46
|
function getPackageDefaultNodeRange() {
|
|
47
47
|
if (_packageDefaultNodeRange === void 0) {
|
|
48
|
-
_packageDefaultNodeRange = require("../package-default-node-range")
|
|
48
|
+
_packageDefaultNodeRange = require("../package-default-node-range");
|
|
49
49
|
}
|
|
50
50
|
return _packageDefaultNodeRange;
|
|
51
51
|
}
|
|
52
52
|
function getPackageDefaultSocketCategories() {
|
|
53
53
|
if (_packageDefaultSocketCategories === void 0) {
|
|
54
|
-
_packageDefaultSocketCategories = require("../package-default-socket-categories")
|
|
54
|
+
_packageDefaultSocketCategories = require("../package-default-socket-categories");
|
|
55
55
|
}
|
|
56
56
|
return _packageDefaultSocketCategories;
|
|
57
57
|
}
|
|
58
58
|
function getPackageExtensions() {
|
|
59
59
|
if (_packageExtensions === void 0) {
|
|
60
|
-
const exts = require("../package-extensions")
|
|
60
|
+
const exts = require("../package-extensions");
|
|
61
61
|
_packageExtensions = Object.entries(exts);
|
|
62
62
|
}
|
|
63
63
|
return _packageExtensions;
|
|
@@ -67,7 +67,7 @@ function getNpmLifecycleEvent() {
|
|
|
67
67
|
}
|
|
68
68
|
function getLifecycleScriptNames() {
|
|
69
69
|
if (_lifecycleScriptNames === void 0) {
|
|
70
|
-
const scriptNamesSet = require("../lifecycle-script-names")
|
|
70
|
+
const scriptNamesSet = require("../lifecycle-script-names");
|
|
71
71
|
_lifecycleScriptNames = Array.from(scriptNamesSet);
|
|
72
72
|
}
|
|
73
73
|
return _lifecycleScriptNames;
|