socket 0.14.37 → 0.14.39
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/dist/require/vendor.js
CHANGED
|
@@ -12,7 +12,7 @@ function _socketInterop(e) {
|
|
|
12
12
|
var fs$1 = require('node:fs');
|
|
13
13
|
var os$4 = require('node:os');
|
|
14
14
|
var path$1 = require('node:path');
|
|
15
|
-
var colors = _socketInterop(require('
|
|
15
|
+
var colors = _socketInterop(require('yoctocolors-cjs'));
|
|
16
16
|
var process$2 = require('node:process');
|
|
17
17
|
var require$$0$1 = require('node:util');
|
|
18
18
|
var require$$0 = require('node:url');
|
|
@@ -51,7 +51,7 @@ class AbstractStore extends Map {
|
|
|
51
51
|
constructor(options) {
|
|
52
52
|
super();
|
|
53
53
|
/* VARIABLES */
|
|
54
|
-
_AbstractStore_save.set(this,
|
|
54
|
+
_AbstractStore_save.set(this, undefined);
|
|
55
55
|
const {
|
|
56
56
|
id,
|
|
57
57
|
backend
|
|
@@ -1198,7 +1198,7 @@ function stripQuotes(val) {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
var _a, _b, _c;
|
|
1200
1200
|
const minNodeVersion = process && process.env && process.env.YARGS_MIN_NODE_VERSION ? Number(process.env.YARGS_MIN_NODE_VERSION) : 12;
|
|
1201
|
-
const nodeVersion = (_b = (_a = process === null || process ===
|
|
1201
|
+
const nodeVersion = (_b = (_a = process === null || process === undefined ? undefined : process.versions) === null || _a === undefined ? undefined : _a.node) !== null && _b !== undefined ? _b : (_c = process === null || process === undefined ? undefined : process.version) === null || _c === undefined ? undefined : _c.slice(1);
|
|
1202
1202
|
if (nodeVersion) {
|
|
1203
1203
|
const major = Number(nodeVersion.match(/^([^.]+)/)[1]);
|
|
1204
1204
|
if (major < minNodeVersion) {
|
|
@@ -2574,7 +2574,7 @@ var commonjs = {};
|
|
|
2574
2574
|
Object.defineProperty(commonjs, "__esModule", {
|
|
2575
2575
|
value: true
|
|
2576
2576
|
});
|
|
2577
|
-
commonjs.LRUCache =
|
|
2577
|
+
commonjs.LRUCache = undefined;
|
|
2578
2578
|
const perf = typeof performance === 'object' && performance && typeof performance.now === 'function' ? performance : Date;
|
|
2579
2579
|
const warned = new Set();
|
|
2580
2580
|
const PROCESS = typeof process === 'object' && !!process ? process : {};
|
|
@@ -6093,7 +6093,7 @@ convert$1.xyz.rgb = function (xyz) {
|
|
|
6093
6093
|
var b;
|
|
6094
6094
|
r = x * 3.2406 + y * -1.5372 + z * -0.4986;
|
|
6095
6095
|
g = x * -0.9689 + y * 1.8758 + z * 0.0415;
|
|
6096
|
-
b = x * 0.0557 + y * -0.
|
|
6096
|
+
b = x * 0.0557 + y * -0.204 + z * 1.0570;
|
|
6097
6097
|
r = r > 0.0031308 ? 1.055 * Math.pow(r, 1.0 / 2.4) - 0.055 : r * 12.92;
|
|
6098
6098
|
g = g > 0.0031308 ? 1.055 * Math.pow(g, 1.0 / 2.4) - 0.055 : g * 12.92;
|
|
6099
6099
|
b = b > 0.0031308 ? 1.055 * Math.pow(b, 1.0 / 2.4) - 0.055 : b * 12.92;
|
|
@@ -8019,7 +8019,7 @@ var arrify$1 = function (val) {
|
|
|
8019
8019
|
};
|
|
8020
8020
|
var toString = Object.prototype.toString;
|
|
8021
8021
|
var kindOf$1 = function kindOf(val) {
|
|
8022
|
-
if (val ===
|
|
8022
|
+
if (val === undefined) return 'undefined';
|
|
8023
8023
|
if (val === null) return 'null';
|
|
8024
8024
|
var type = typeof val;
|
|
8025
8025
|
if (type === 'boolean') return 'boolean';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "socket",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.39",
|
|
4
4
|
"description": "CLI tool for Socket.dev",
|
|
5
5
|
"homepage": "http://github.com/SocketDev/socket-cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"url": "https://socket.dev"
|
|
15
15
|
},
|
|
16
16
|
"bin": {
|
|
17
|
-
"socket": "
|
|
18
|
-
"socket-npm": "
|
|
19
|
-
"socket-npx": "
|
|
17
|
+
"socket": "bin/cli.js",
|
|
18
|
+
"socket-npm": "bin/npm-cli.js",
|
|
19
|
+
"socket-npx": "bin/npx-cli.js"
|
|
20
20
|
},
|
|
21
21
|
"exports": {
|
|
22
22
|
"./bin/cli.js": {
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@apideck/better-ajv-errors": "^0.3.6",
|
|
59
|
-
"@cyclonedx/cdxgen": "^11.0.
|
|
59
|
+
"@cyclonedx/cdxgen": "^11.0.10",
|
|
60
60
|
"@npmcli/promise-spawn": "^8.0.2",
|
|
61
|
-
"@socketregistry/hyrious__bun.lockb": "1.0.
|
|
61
|
+
"@socketregistry/hyrious__bun.lockb": "1.0.7",
|
|
62
62
|
"@socketregistry/yocto-spinner": "^1.0.2",
|
|
63
63
|
"@socketsecurity/config": "^2.1.3",
|
|
64
|
-
"@socketsecurity/registry": "^1.0.
|
|
64
|
+
"@socketsecurity/registry": "^1.0.59",
|
|
65
65
|
"@socketsecurity/sdk": "^1.3.0",
|
|
66
66
|
"blessed": "^0.1.81",
|
|
67
67
|
"blessed-contrib": "^4.11.0",
|
|
@@ -71,14 +71,20 @@
|
|
|
71
71
|
"has-flag": "^4.0.0",
|
|
72
72
|
"hpagent": "^1.2.0",
|
|
73
73
|
"ignore": "^7.0.0",
|
|
74
|
+
"is-interactive": "^2.0.0",
|
|
75
|
+
"is-unicode-supported": "^2.1.0",
|
|
76
|
+
"meow": "^13.2.0",
|
|
74
77
|
"micromatch": "^4.0.8",
|
|
75
78
|
"npm-package-arg": "^12.0.1",
|
|
79
|
+
"open": "^10.1.0",
|
|
76
80
|
"pony-cause": "^2.1.11",
|
|
77
81
|
"semver": "^7.6.3",
|
|
78
82
|
"synp": "^1.9.14",
|
|
83
|
+
"terminal-link": "^3.0.0",
|
|
84
|
+
"tiny-updater": "^3.5.2",
|
|
79
85
|
"tinyglobby": "^0.2.10",
|
|
80
86
|
"which": "^5.0.0",
|
|
81
|
-
"yaml": "^2.
|
|
87
|
+
"yaml": "^2.7.0",
|
|
82
88
|
"yargs-parser": "^21.1.1",
|
|
83
89
|
"yoctocolors-cjs": "^2.1.2"
|
|
84
90
|
},
|
|
@@ -104,7 +110,7 @@
|
|
|
104
110
|
"@types/micromatch": "^4.0.9",
|
|
105
111
|
"@types/mocha": "^10.0.10",
|
|
106
112
|
"@types/mock-fs": "^4.13.4",
|
|
107
|
-
"@types/node": "^22.10.
|
|
113
|
+
"@types/node": "^22.10.5",
|
|
108
114
|
"@types/npmcli__arborist": "^5.6.11",
|
|
109
115
|
"@types/npmcli__promise-spawn": "^6.0.3",
|
|
110
116
|
"@types/proc-log": "^3.0.4",
|
|
@@ -112,37 +118,31 @@
|
|
|
112
118
|
"@types/update-notifier": "^6.0.8",
|
|
113
119
|
"@types/which": "^3.0.4",
|
|
114
120
|
"@types/yargs-parser": "^21.0.3",
|
|
115
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
116
|
-
"@typescript-eslint/parser": "^8.
|
|
121
|
+
"@typescript-eslint/eslint-plugin": "^8.19.1",
|
|
122
|
+
"@typescript-eslint/parser": "^8.19.1",
|
|
117
123
|
"c8": "^10.1.3",
|
|
118
|
-
"custompatch": "^1.
|
|
124
|
+
"custompatch": "^1.1.4",
|
|
119
125
|
"eslint": "^9.17.0",
|
|
120
|
-
"eslint-import-resolver-oxc": "^0.
|
|
126
|
+
"eslint-import-resolver-oxc": "^0.8.0",
|
|
121
127
|
"eslint-plugin-depend": "^0.12.0",
|
|
122
128
|
"eslint-plugin-import-x": "^4.6.1",
|
|
123
129
|
"eslint-plugin-n": "^17.15.1",
|
|
124
130
|
"eslint-plugin-sort-destructure-keys": "^2.0.0",
|
|
125
131
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
126
132
|
"husky": "^9.1.7",
|
|
127
|
-
"is-interactive": "^2.0.0",
|
|
128
|
-
"is-unicode-supported": "^2.1.0",
|
|
129
133
|
"knip": "^5.41.1",
|
|
130
134
|
"magic-string": "^0.30.17",
|
|
131
|
-
"meow": "^13.2.0",
|
|
132
135
|
"mock-fs": "^5.4.1",
|
|
133
136
|
"nock": "^13.5.6",
|
|
134
137
|
"npm-run-all2": "^7.0.2",
|
|
135
|
-
"
|
|
136
|
-
"oxlint": "0.15.3",
|
|
138
|
+
"oxlint": "0.15.5",
|
|
137
139
|
"prettier": "3.4.2",
|
|
138
140
|
"read-package-up": "^11.0.0",
|
|
139
|
-
"rollup": "4.
|
|
141
|
+
"rollup": "4.30.0",
|
|
140
142
|
"rollup-plugin-ts": "^3.4.5",
|
|
141
|
-
"terminal-link": "^3.0.0",
|
|
142
|
-
"tiny-updater": "^3.5.2",
|
|
143
143
|
"type-coverage": "^2.29.7",
|
|
144
144
|
"typescript": "5.4.5",
|
|
145
|
-
"typescript-eslint": "^8.
|
|
145
|
+
"typescript-eslint": "^8.19.1",
|
|
146
146
|
"unplugin-purge-polyfills": "^0.0.7"
|
|
147
147
|
},
|
|
148
148
|
"overrides": {
|