socket 0.14.38 → 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.
@@ -30,7 +30,7 @@ var sdk = require('./sdk.js');
30
30
  var constants = require('./constants.js');
31
31
  var pathResolve = require('./path-resolve.js');
32
32
 
33
- var version = "0.14.38";
33
+ var version = "0.14.39";
34
34
 
35
35
  const NEWLINE_CHAR_CODE = 10; /*'\n'*/
36
36
 
@@ -30,7 +30,7 @@ var sdk = require('./sdk.js');
30
30
  var constants = require('./constants.js');
31
31
  var pathResolve = require('./path-resolve.js');
32
32
 
33
- var version = "0.14.38";
33
+ var version = "0.14.39";
34
34
 
35
35
  const NEWLINE_CHAR_CODE = 10; /*'\n'*/
36
36
 
@@ -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('tiny-colors'));
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, void 0);
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 === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) !== null && _b !== void 0 ? _b : (_c = process === null || process === void 0 ? void 0 : process.version) === null || _c === void 0 ? void 0 : _c.slice(1);
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 = void 0;
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.2040 + z * 1.0570;
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 === void 0) return 'undefined';
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.38",
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",
@@ -56,12 +56,12 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@apideck/better-ajv-errors": "^0.3.6",
59
- "@cyclonedx/cdxgen": "^11.0.7",
59
+ "@cyclonedx/cdxgen": "^11.0.10",
60
60
  "@npmcli/promise-spawn": "^8.0.2",
61
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.57",
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",
@@ -84,7 +84,7 @@
84
84
  "tiny-updater": "^3.5.2",
85
85
  "tinyglobby": "^0.2.10",
86
86
  "which": "^5.0.0",
87
- "yaml": "^2.6.1",
87
+ "yaml": "^2.7.0",
88
88
  "yargs-parser": "^21.1.1",
89
89
  "yoctocolors-cjs": "^2.1.2"
90
90
  },
@@ -110,7 +110,7 @@
110
110
  "@types/micromatch": "^4.0.9",
111
111
  "@types/mocha": "^10.0.10",
112
112
  "@types/mock-fs": "^4.13.4",
113
- "@types/node": "^22.10.2",
113
+ "@types/node": "^22.10.5",
114
114
  "@types/npmcli__arborist": "^5.6.11",
115
115
  "@types/npmcli__promise-spawn": "^6.0.3",
116
116
  "@types/proc-log": "^3.0.4",
@@ -118,12 +118,12 @@
118
118
  "@types/update-notifier": "^6.0.8",
119
119
  "@types/which": "^3.0.4",
120
120
  "@types/yargs-parser": "^21.0.3",
121
- "@typescript-eslint/eslint-plugin": "^8.18.2",
122
- "@typescript-eslint/parser": "^8.18.2",
121
+ "@typescript-eslint/eslint-plugin": "^8.19.1",
122
+ "@typescript-eslint/parser": "^8.19.1",
123
123
  "c8": "^10.1.3",
124
- "custompatch": "^1.0.28",
124
+ "custompatch": "^1.1.4",
125
125
  "eslint": "^9.17.0",
126
- "eslint-import-resolver-oxc": "^0.7.0",
126
+ "eslint-import-resolver-oxc": "^0.8.0",
127
127
  "eslint-plugin-depend": "^0.12.0",
128
128
  "eslint-plugin-import-x": "^4.6.1",
129
129
  "eslint-plugin-n": "^17.15.1",
@@ -135,14 +135,14 @@
135
135
  "mock-fs": "^5.4.1",
136
136
  "nock": "^13.5.6",
137
137
  "npm-run-all2": "^7.0.2",
138
- "oxlint": "0.15.3",
138
+ "oxlint": "0.15.5",
139
139
  "prettier": "3.4.2",
140
140
  "read-package-up": "^11.0.0",
141
- "rollup": "4.29.1",
141
+ "rollup": "4.30.0",
142
142
  "rollup-plugin-ts": "^3.4.5",
143
143
  "type-coverage": "^2.29.7",
144
144
  "typescript": "5.4.5",
145
- "typescript-eslint": "^8.18.2",
145
+ "typescript-eslint": "^8.19.1",
146
146
  "unplugin-purge-polyfills": "^0.0.7"
147
147
  },
148
148
  "overrides": {