@socketsecurity/lib 5.18.0 → 5.18.2
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 +13 -0
- package/dist/constants/socket.js +1 -1
- package/dist/external/@npmcli/package-json/lib/read-package.js +2 -2
- package/dist/external/@npmcli/package-json.js +8 -8
- package/dist/external/@npmcli/promise-spawn.js +4 -4
- package/dist/external/npm-pack.js +4075 -7370
- package/package.json +4 -8
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,19 @@ 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.18.2](https://github.com/SocketDev/socket-lib/releases/tag/v5.18.2) - 2026-04-14
|
|
9
|
+
|
|
10
|
+
### Removed
|
|
11
|
+
|
|
12
|
+
- Remove unused `plugins/` directory and `./plugins/babel-plugin-inline-require-calls` export — no downstream consumers; socket-cli maintains its own local copies
|
|
13
|
+
|
|
14
|
+
## [5.18.1](https://github.com/SocketDev/socket-lib/releases/tag/v5.18.1) - 2026-04-14
|
|
15
|
+
|
|
16
|
+
### Changed — build
|
|
17
|
+
|
|
18
|
+
- Dedup npm-pack.js bundle via pnpm overrides: pacote 21.5.0, make-fetch-happen 15.0.5, and 7 transitive npm packages (npm-bundled, npm-normalize-package-bin, json-parse-even-better-errors, @npmcli/installed-package-contents, @npmcli/name-from-folder, @npmcli/promise-spawn, @npmcli/redact)
|
|
19
|
+
- npm-pack.js: 69,738 → 66,443 lines (2.59MB → 2.46MB), 22 duplicate packages removed
|
|
20
|
+
|
|
8
21
|
## [5.18.0](https://github.com/SocketDev/socket-lib/releases/tag/v5.18.0) - 2026-04-14
|
|
9
22
|
|
|
10
23
|
### Added — dlx
|
package/dist/constants/socket.js
CHANGED
|
@@ -76,7 +76,7 @@ const SOCKET_FIREWALL_APP_NAME = "sfw";
|
|
|
76
76
|
const SOCKET_REGISTRY_APP_NAME = "registry";
|
|
77
77
|
const SOCKET_APP_PREFIX = "_";
|
|
78
78
|
const SOCKET_LIB_NAME = "@socketsecurity/lib";
|
|
79
|
-
const SOCKET_LIB_VERSION = "5.18.
|
|
79
|
+
const SOCKET_LIB_VERSION = "5.18.2";
|
|
80
80
|
const SOCKET_LIB_URL = "https://github.com/SocketDev/socket-lib";
|
|
81
81
|
const SOCKET_LIB_USER_AGENT = `socketsecurity-lib/${SOCKET_LIB_VERSION} (${SOCKET_LIB_URL})`;
|
|
82
82
|
const SOCKET_IPC_HANDSHAKE = "SOCKET_IPC_HANDSHAKE";
|
|
@@ -10,9 +10,9 @@ var __commonJS = (cb, mod) => function __require() {
|
|
|
10
10
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
11
11
|
};
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/json-parse-even-better-errors@
|
|
13
|
+
// node_modules/.pnpm/json-parse-even-better-errors@5.0.0/node_modules/json-parse-even-better-errors/lib/index.js
|
|
14
14
|
var require_lib = __commonJS({
|
|
15
|
-
"node_modules/.pnpm/json-parse-even-better-errors@
|
|
15
|
+
"node_modules/.pnpm/json-parse-even-better-errors@5.0.0/node_modules/json-parse-even-better-errors/lib/index.js"(exports2, module2) {
|
|
16
16
|
"use strict";
|
|
17
17
|
var INDENT = Symbol.for("indent");
|
|
18
18
|
var NEWLINE = Symbol.for("newline");
|
|
@@ -11,9 +11,9 @@ var __commonJS = (cb, mod) => function __require() {
|
|
|
11
11
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/json-parse-even-better-errors@
|
|
14
|
+
// node_modules/.pnpm/json-parse-even-better-errors@5.0.0/node_modules/json-parse-even-better-errors/lib/index.js
|
|
15
15
|
var require_lib = __commonJS({
|
|
16
|
-
"node_modules/.pnpm/json-parse-even-better-errors@
|
|
16
|
+
"node_modules/.pnpm/json-parse-even-better-errors@5.0.0/node_modules/json-parse-even-better-errors/lib/index.js"(exports2, module2) {
|
|
17
17
|
"use strict";
|
|
18
18
|
var INDENT = Symbol.for("indent");
|
|
19
19
|
var NEWLINE = Symbol.for("newline");
|
|
@@ -10315,9 +10315,9 @@ var require_lib4 = __commonJS({
|
|
|
10315
10315
|
}
|
|
10316
10316
|
});
|
|
10317
10317
|
|
|
10318
|
-
// node_modules/.pnpm/@npmcli+promise-spawn@
|
|
10318
|
+
// node_modules/.pnpm/@npmcli+promise-spawn@9.0.1/node_modules/@npmcli/promise-spawn/lib/escape.js
|
|
10319
10319
|
var require_escape2 = __commonJS({
|
|
10320
|
-
"node_modules/.pnpm/@npmcli+promise-spawn@
|
|
10320
|
+
"node_modules/.pnpm/@npmcli+promise-spawn@9.0.1/node_modules/@npmcli/promise-spawn/lib/escape.js"(exports2, module2) {
|
|
10321
10321
|
"use strict";
|
|
10322
10322
|
var cmd = /* @__PURE__ */ __name((input, doubleEscape) => {
|
|
10323
10323
|
if (!input.length) {
|
|
@@ -10371,9 +10371,9 @@ var require_escape2 = __commonJS({
|
|
|
10371
10371
|
}
|
|
10372
10372
|
});
|
|
10373
10373
|
|
|
10374
|
-
// node_modules/.pnpm/@npmcli+promise-spawn@
|
|
10374
|
+
// node_modules/.pnpm/@npmcli+promise-spawn@9.0.1/node_modules/@npmcli/promise-spawn/lib/index.js
|
|
10375
10375
|
var require_lib5 = __commonJS({
|
|
10376
|
-
"node_modules/.pnpm/@npmcli+promise-spawn@
|
|
10376
|
+
"node_modules/.pnpm/@npmcli+promise-spawn@9.0.1/node_modules/@npmcli/promise-spawn/lib/index.js"(exports2, module2) {
|
|
10377
10377
|
"use strict";
|
|
10378
10378
|
var { spawn } = require("child_process");
|
|
10379
10379
|
var os = require("os");
|
|
@@ -13653,9 +13653,9 @@ var require_lib7 = __commonJS({
|
|
|
13653
13653
|
}
|
|
13654
13654
|
});
|
|
13655
13655
|
|
|
13656
|
-
// node_modules/.pnpm/npm-normalize-package-bin@
|
|
13656
|
+
// node_modules/.pnpm/npm-normalize-package-bin@5.0.0/node_modules/npm-normalize-package-bin/lib/index.js
|
|
13657
13657
|
var require_lib8 = __commonJS({
|
|
13658
|
-
"node_modules/.pnpm/npm-normalize-package-bin@
|
|
13658
|
+
"node_modules/.pnpm/npm-normalize-package-bin@5.0.0/node_modules/npm-normalize-package-bin/lib/index.js"(exports2, module2) {
|
|
13659
13659
|
var { join, basename } = require("path");
|
|
13660
13660
|
var normalize = /* @__PURE__ */ __name((pkg) => !pkg.bin ? removeBin(pkg) : typeof pkg.bin === "string" ? normalizeString(pkg) : Array.isArray(pkg.bin) ? normalizeArray(pkg) : typeof pkg.bin === "object" ? normalizeObject(pkg) : removeBin(pkg), "normalize");
|
|
13661
13661
|
var normalizeString = /* @__PURE__ */ __name((pkg) => {
|
|
@@ -259,9 +259,9 @@ var require_lib = __commonJS({
|
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
261
|
|
|
262
|
-
// node_modules/.pnpm/@npmcli+promise-spawn@
|
|
262
|
+
// node_modules/.pnpm/@npmcli+promise-spawn@9.0.1/node_modules/@npmcli/promise-spawn/lib/escape.js
|
|
263
263
|
var require_escape = __commonJS({
|
|
264
|
-
"node_modules/.pnpm/@npmcli+promise-spawn@
|
|
264
|
+
"node_modules/.pnpm/@npmcli+promise-spawn@9.0.1/node_modules/@npmcli/promise-spawn/lib/escape.js"(exports2, module2) {
|
|
265
265
|
"use strict";
|
|
266
266
|
var cmd = /* @__PURE__ */ __name((input, doubleEscape) => {
|
|
267
267
|
if (!input.length) {
|
|
@@ -315,9 +315,9 @@ var require_escape = __commonJS({
|
|
|
315
315
|
}
|
|
316
316
|
});
|
|
317
317
|
|
|
318
|
-
// node_modules/.pnpm/@npmcli+promise-spawn@
|
|
318
|
+
// node_modules/.pnpm/@npmcli+promise-spawn@9.0.1/node_modules/@npmcli/promise-spawn/lib/index.js
|
|
319
319
|
var require_lib2 = __commonJS({
|
|
320
|
-
"node_modules/.pnpm/@npmcli+promise-spawn@
|
|
320
|
+
"node_modules/.pnpm/@npmcli+promise-spawn@9.0.1/node_modules/@npmcli/promise-spawn/lib/index.js"(exports2, module2) {
|
|
321
321
|
"use strict";
|
|
322
322
|
var { spawn } = require("child_process");
|
|
323
323
|
var os = require("os");
|