@socketsecurity/cli-with-sentry 1.0.74 → 1.0.75
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/cli.js +9 -9
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +9 -7
- package/dist/constants.js.map +1 -1
- package/dist/instrument-with-sentry.js +2 -2
- package/dist/instrument-with-sentry.js.map +1 -1
- package/dist/shadow-npm-inject.js +2 -2
- package/dist/shadow-npm-inject.js.map +1 -1
- package/dist/tsconfig.dts.tsbuildinfo +1 -1
- package/dist/utils.js +2 -2
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +19 -20
- package/external/@coana-tech/cli/cli.mjs +29 -29
- package/package.json +7 -7
package/dist/vendor.js
CHANGED
|
@@ -35520,7 +35520,7 @@ var isInteractiveExports = /*@__PURE__*/ requireIsInteractive();
|
|
|
35520
35520
|
var dist$e = {};
|
|
35521
35521
|
|
|
35522
35522
|
var name$2 = "@socketsecurity/sdk";
|
|
35523
|
-
var version$5 = "1.4.
|
|
35523
|
+
var version$5 = "1.4.67";
|
|
35524
35524
|
var license = "MIT";
|
|
35525
35525
|
var description = "SDK for the Socket API client";
|
|
35526
35526
|
var author = {
|
|
@@ -35603,22 +35603,22 @@ var scripts = {
|
|
|
35603
35603
|
"update:deps": "npx --yes npm-check-updates"
|
|
35604
35604
|
};
|
|
35605
35605
|
var dependencies = {
|
|
35606
|
-
"@socketsecurity/registry": "1.0.
|
|
35606
|
+
"@socketsecurity/registry": "1.0.249"
|
|
35607
35607
|
};
|
|
35608
35608
|
var devDependencies = {
|
|
35609
|
-
"@biomejs/biome": "2.1.
|
|
35609
|
+
"@biomejs/biome": "2.1.3",
|
|
35610
35610
|
"@dotenvx/dotenvx": "1.48.3",
|
|
35611
35611
|
"@eslint/compat": "1.3.1",
|
|
35612
|
-
"@eslint/js": "9.
|
|
35612
|
+
"@eslint/js": "9.32.0",
|
|
35613
35613
|
"@types/node": "24.1.0",
|
|
35614
35614
|
"@typescript-eslint/parser": "8.38.0",
|
|
35615
35615
|
"@vitest/coverage-v8": "3.2.4",
|
|
35616
35616
|
"del-cli": "6.0.0",
|
|
35617
|
-
eslint: "9.
|
|
35617
|
+
eslint: "9.32.0",
|
|
35618
35618
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
35619
35619
|
"eslint-plugin-import-x": "4.16.1",
|
|
35620
|
-
"eslint-plugin-jsdoc": "
|
|
35621
|
-
"eslint-plugin-n": "17.21.
|
|
35620
|
+
"eslint-plugin-jsdoc": "52.0.0",
|
|
35621
|
+
"eslint-plugin-n": "17.21.3",
|
|
35622
35622
|
"eslint-plugin-sort-destructure-keys": "2.0.0",
|
|
35623
35623
|
"eslint-plugin-unicorn": "56.0.1",
|
|
35624
35624
|
globals: "16.3.0",
|
|
@@ -35626,10 +35626,10 @@ var devDependencies = {
|
|
|
35626
35626
|
husky: "9.1.7",
|
|
35627
35627
|
knip: "5.62.0",
|
|
35628
35628
|
"lint-staged": "16.1.2",
|
|
35629
|
-
nock: "14.0.
|
|
35629
|
+
nock: "14.0.7",
|
|
35630
35630
|
"npm-run-all2": "8.0.4",
|
|
35631
35631
|
"openapi-typescript": "6.7.6",
|
|
35632
|
-
oxlint: "1.
|
|
35632
|
+
oxlint: "1.9.0",
|
|
35633
35633
|
"type-coverage": "2.29.7",
|
|
35634
35634
|
typescript: "~5.8.3",
|
|
35635
35635
|
"typescript-eslint": "8.38.0",
|
|
@@ -35785,18 +35785,18 @@ function requireDist$e () {
|
|
|
35785
35785
|
});
|
|
35786
35786
|
// Send the headers now. If the server would reject this request, it should
|
|
35787
35787
|
// do so asap. This prevents us from sending more data to it then necessary.
|
|
35788
|
-
// If it will reject we could just await the `req.on(response
|
|
35789
|
-
// accepts the request then the response will not come until after the
|
|
35790
|
-
// file. So we can't await the response at this time. Just proceed,
|
|
35788
|
+
// If it will reject we could just await the `req.on(response, ...` now but
|
|
35789
|
+
// if it accepts the request then the response will not come until after the
|
|
35790
|
+
// final file. So we can't await the response at this time. Just proceed,
|
|
35791
|
+
// carefully.
|
|
35791
35792
|
req.flushHeaders();
|
|
35792
35793
|
// Wait for the response. It may arrive at any point during the request or
|
|
35793
35794
|
// afterwards. Node will flush the output buffer at some point, initiating
|
|
35794
35795
|
// the request, and the server can decide to reject the request immediately
|
|
35795
35796
|
// or at any point later (ike a timeout). We should handle those cases.
|
|
35796
|
-
getResponse(req).then(
|
|
35797
|
-
|
|
35798
|
-
|
|
35799
|
-
}, async (err) => {
|
|
35797
|
+
getResponse(req).then(
|
|
35798
|
+
// Note: this returns the response to the caller to createUploadRequest.
|
|
35799
|
+
pass, async (err) => {
|
|
35800
35800
|
// Note: this will throw an error for the caller to createUploadRequest
|
|
35801
35801
|
if (err.response && !isResponseOk(err.response)) {
|
|
35802
35802
|
fail(new ResponseError(err.response, `${err.method} request failed`));
|
|
@@ -35859,7 +35859,6 @@ function requireDist$e () {
|
|
|
35859
35859
|
req.end();
|
|
35860
35860
|
}
|
|
35861
35861
|
}
|
|
35862
|
-
pass(getResponse(req));
|
|
35863
35862
|
});
|
|
35864
35863
|
}
|
|
35865
35864
|
async function getErrorResponseBody(response) {
|
|
@@ -41145,7 +41144,7 @@ async function defaultBrowser() {
|
|
|
41145
41144
|
const execFile = require$$1$6.promisify(childProcess.execFile);
|
|
41146
41145
|
|
|
41147
41146
|
// Path to included `xdg-open`.
|
|
41148
|
-
const __dirname$1 = path$2.dirname(require$$0$7.fileURLToPath((
|
|
41147
|
+
const __dirname$1 = path$2.dirname(require$$0$7.fileURLToPath(require('node:url').pathToFileURL(__filename).href));
|
|
41149
41148
|
const localXdgOpenPath = path$2.join(__dirname$1, 'xdg-open');
|
|
41150
41149
|
const {
|
|
41151
41150
|
platform,
|
|
@@ -173351,7 +173350,7 @@ if (nodeVersion) {
|
|
|
173351
173350
|
}
|
|
173352
173351
|
// Creates a yargs-parser instance using Node.js standard libraries:
|
|
173353
173352
|
const env = process ? process.env : {};
|
|
173354
|
-
const require$1 = require$$5$3.createRequire ? require$$5$3.createRequire((
|
|
173353
|
+
const require$1 = require$$5$3.createRequire ? require$$5$3.createRequire(require('node:url').pathToFileURL(__filename).href) : undefined;
|
|
173355
173354
|
const parser = new YargsParser({
|
|
173356
173355
|
cwd: process.cwd,
|
|
173357
173356
|
env: () => {
|
|
@@ -175379,5 +175378,5 @@ exports.terminalLinkExports = terminalLinkExports;
|
|
|
175379
175378
|
exports.updater = updater$1;
|
|
175380
175379
|
exports.yargsParser = yargsParser;
|
|
175381
175380
|
exports.yoctocolorsCjsExports = yoctocolorsCjsExports;
|
|
175382
|
-
//# debugId=
|
|
175381
|
+
//# debugId=b6f8acfa-f5fe-4675-8815-59265cc818de
|
|
175383
175382
|
//# sourceMappingURL=vendor.js.map
|
|
@@ -207551,18 +207551,16 @@ var MavenSocketUpgradeManager = class {
|
|
|
207551
207551
|
|
|
207552
207552
|
// ../fixing-management/src/fixing-management/npm/npm-ecosystem-socket-fixing-manager.ts
|
|
207553
207553
|
import { dirname as dirname5, join as join9, relative as relative6 } from "path";
|
|
207554
|
+
import { existsSync as existsSync10 } from "fs";
|
|
207554
207555
|
var NpmSocketUpgradeManager = class {
|
|
207555
207556
|
constructor(rootDir) {
|
|
207556
207557
|
this.rootDir = rootDir;
|
|
207557
207558
|
}
|
|
207558
207559
|
async applySocketArtifactUpgrades(upgrades, artifacts) {
|
|
207559
|
-
const
|
|
207560
|
-
upgrades,
|
|
207561
|
-
artifacts
|
|
207562
|
-
);
|
|
207560
|
+
const subprojectToUpgrade = await this.groupUpgradesBySubprojectAndWorkspace(upgrades, artifacts);
|
|
207563
207561
|
for (const [subprojectDir, workspaceToUpgrade] of subprojectToUpgrade) {
|
|
207564
207562
|
const fixingManager = getFixingManagerFromPackageManager(
|
|
207565
|
-
|
|
207563
|
+
getPackageMangerForDirectory(subprojectDir),
|
|
207566
207564
|
this.rootDir,
|
|
207567
207565
|
subprojectDir
|
|
207568
207566
|
);
|
|
@@ -207572,7 +207570,6 @@ var NpmSocketUpgradeManager = class {
|
|
|
207572
207570
|
async groupUpgradesBySubprojectAndWorkspace(upgrades, artifacts) {
|
|
207573
207571
|
const subprojectToUpgrade = /* @__PURE__ */ new Map();
|
|
207574
207572
|
const workspaceToSubproject = /* @__PURE__ */ new Map();
|
|
207575
|
-
const workspaceToPackageManager = /* @__PURE__ */ new Map();
|
|
207576
207573
|
for (const upgrade of upgrades) {
|
|
207577
207574
|
const artifact = artifacts[upgrade.idx];
|
|
207578
207575
|
const lockFiles = artifact.manifestFiles?.filter(
|
|
@@ -207586,10 +207583,6 @@ var NpmSocketUpgradeManager = class {
|
|
|
207586
207583
|
const workspaces = isPnpmLockFile ? await getWorkspacePathsFromPnpmLockFile(subprojectDir, true) : await getWorkspacePathsFromPackageJSON(subprojectDir, true);
|
|
207587
207584
|
for (const workspace of workspaces) {
|
|
207588
207585
|
workspaceToSubproject.set(join9(subprojectDir, workspace), subprojectDir);
|
|
207589
|
-
workspaceToPackageManager.set(
|
|
207590
|
-
join9(subprojectDir, workspace),
|
|
207591
|
-
isPnpmLockFile ? "PNPM" : lockFile.file.endsWith("yarn.lock") ? "YARN" : "NPM"
|
|
207592
|
-
);
|
|
207593
207586
|
}
|
|
207594
207587
|
}
|
|
207595
207588
|
const packageJsonFiles = artifact.manifestFiles?.filter((a4) => a4.file.endsWith("package.json"));
|
|
@@ -207606,7 +207599,7 @@ var NpmSocketUpgradeManager = class {
|
|
|
207606
207599
|
subprojectToUpgrade.get(subprojectDir)?.get(workspacePath)?.push(upgrade);
|
|
207607
207600
|
}
|
|
207608
207601
|
}
|
|
207609
|
-
return
|
|
207602
|
+
return subprojectToUpgrade;
|
|
207610
207603
|
}
|
|
207611
207604
|
async applySecurityFixesForSocketArtifacts(fixingManager, artifacts, workspaceTofixes) {
|
|
207612
207605
|
for (const [workspacePath, upgrades] of workspaceTofixes.entries()) {
|
|
@@ -207643,6 +207636,15 @@ function getFixingManagerFromPackageManager(packageManager, rootDir, subprojectP
|
|
|
207643
207636
|
return new YarnFixingManager(rootDir, subprojectPath);
|
|
207644
207637
|
}
|
|
207645
207638
|
}
|
|
207639
|
+
function getPackageMangerForDirectory(directory) {
|
|
207640
|
+
if (existsSync10(join9(directory, "pnpm-lock.yaml")) || existsSync10(join9(directory, "pnpm-lock.yml"))) {
|
|
207641
|
+
return "PNPM";
|
|
207642
|
+
} else if (existsSync10(join9(directory, "yarn.lock"))) {
|
|
207643
|
+
return "YARN";
|
|
207644
|
+
} else {
|
|
207645
|
+
return "NPM";
|
|
207646
|
+
}
|
|
207647
|
+
}
|
|
207646
207648
|
|
|
207647
207649
|
// ../fixing-management/src/main.ts
|
|
207648
207650
|
var fixingManagerConstructors = {
|
|
@@ -207688,7 +207690,7 @@ async function applySocketUpgrades(ecosystem, rootDir, upgrades, artifacts) {
|
|
|
207688
207690
|
|
|
207689
207691
|
// dist/cli-apply-fix.js
|
|
207690
207692
|
var import_lodash12 = __toESM(require_lodash(), 1);
|
|
207691
|
-
import { existsSync as
|
|
207693
|
+
import { existsSync as existsSync13 } from "fs";
|
|
207692
207694
|
|
|
207693
207695
|
// ../other-modules-communicator/src/other-modules-communicator.ts
|
|
207694
207696
|
import { execFileSync } from "child_process";
|
|
@@ -208434,7 +208436,7 @@ async function detectVariantMaven(projectDir) {
|
|
|
208434
208436
|
}
|
|
208435
208437
|
|
|
208436
208438
|
// ../docker-management/src/maven/gradle-version-detector.ts
|
|
208437
|
-
import { existsSync as
|
|
208439
|
+
import { existsSync as existsSync11 } from "fs";
|
|
208438
208440
|
import { join as join12 } from "path";
|
|
208439
208441
|
import { readFile as readFile14 } from "fs/promises";
|
|
208440
208442
|
async function detectVariantGradle(projectDir) {
|
|
@@ -208442,7 +208444,7 @@ async function detectVariantGradle(projectDir) {
|
|
|
208442
208444
|
}
|
|
208443
208445
|
async function detect(projectDir) {
|
|
208444
208446
|
const gradleWrapperPropertiesPath = join12(projectDir, "gradle", "wrapper", "gradle-wrapper.properties");
|
|
208445
|
-
const gradleWrapperProperties =
|
|
208447
|
+
const gradleWrapperProperties = existsSync11(gradleWrapperPropertiesPath) ? (await readFile14(gradleWrapperPropertiesPath, "utf-8")).split("\n").map((line) => line.trim()).filter((line) => !line.startsWith("#")).filter((line) => line) : void 0;
|
|
208446
208448
|
if (!gradleWrapperProperties) return void 0;
|
|
208447
208449
|
const distributionUrlRegex = /.*gradle-(\d+(\.\d+(\.\d+)?)?)/;
|
|
208448
208450
|
for (const prop2 of gradleWrapperProperties) {
|
|
@@ -208456,7 +208458,7 @@ async function detect(projectDir) {
|
|
|
208456
208458
|
}
|
|
208457
208459
|
|
|
208458
208460
|
// ../docker-management/src/maven/sbt-version-detector.ts
|
|
208459
|
-
import { existsSync as
|
|
208461
|
+
import { existsSync as existsSync12 } from "fs";
|
|
208460
208462
|
import { join as join13 } from "path";
|
|
208461
208463
|
import { readFile as readFile15 } from "fs/promises";
|
|
208462
208464
|
async function detectVariantSbt(projectDir) {
|
|
@@ -208464,7 +208466,7 @@ async function detectVariantSbt(projectDir) {
|
|
|
208464
208466
|
}
|
|
208465
208467
|
async function detect2(projectDir) {
|
|
208466
208468
|
const sbtBuildPropertiesPath = join13(projectDir, "project", "build.properties");
|
|
208467
|
-
const sbtBuildProperties =
|
|
208469
|
+
const sbtBuildProperties = existsSync12(sbtBuildPropertiesPath) ? (await readFile15(sbtBuildPropertiesPath, "utf-8")).split("\n").map((line) => line.trim()).filter((line) => !line.startsWith("#")).filter((line) => line) : void 0;
|
|
208468
208470
|
if (!sbtBuildProperties) return void 0;
|
|
208469
208471
|
for (const prop2 of sbtBuildProperties) {
|
|
208470
208472
|
const [key, value] = prop2.split("=");
|
|
@@ -209881,7 +209883,7 @@ async function verifyFixes(fixes, otherModulesCommunicator, rootPath) {
|
|
|
209881
209883
|
if (pathsForEachFixIdData.length !== new Set(pathsForEachFixIdData).size) {
|
|
209882
209884
|
throw new Error("Multiple fix IDs found for the same subproject, workspace and ecosystem");
|
|
209883
209885
|
}
|
|
209884
|
-
const subprojectsNotFound = uniq3(fixes.filter(({ vulnerabilityInstance: v }) => !
|
|
209886
|
+
const subprojectsNotFound = uniq3(fixes.filter(({ vulnerabilityInstance: v }) => !existsSync13(resolve19(rootPath, v.subprojectPath))).map(({ vulnerabilityInstance: v }) => `${v.subprojectPath}:${v.ecosystem}`));
|
|
209885
209887
|
if (subprojectsNotFound.length > 0) {
|
|
209886
209888
|
throw new Error(`Cannot find the following subprojects: ${subprojectsNotFound.join(", ")}`);
|
|
209887
209889
|
}
|
|
@@ -210805,12 +210807,12 @@ import { readdir as readdir7 } from "fs/promises";
|
|
|
210805
210807
|
import { join as join19, relative as relative10, resolve as resolve22 } from "path";
|
|
210806
210808
|
|
|
210807
210809
|
// ../project-management/src/project-management/ecosystem-management/ecosystem-specs.ts
|
|
210808
|
-
import { existsSync as
|
|
210810
|
+
import { existsSync as existsSync15 } from "fs";
|
|
210809
210811
|
import { readdir as readdir6, readFile as readFile19 } from "fs/promises";
|
|
210810
210812
|
import { join as join18, sep as sep4 } from "path";
|
|
210811
210813
|
|
|
210812
210814
|
// ../utils/src/pip-utils.ts
|
|
210813
|
-
import { existsSync as
|
|
210815
|
+
import { existsSync as existsSync14 } from "fs";
|
|
210814
210816
|
import { readFile as readFile18 } from "fs/promises";
|
|
210815
210817
|
import { resolve as resolve21 } from "path";
|
|
210816
210818
|
import util6 from "util";
|
|
@@ -210907,7 +210909,7 @@ function getEcosystemSpecs(ecosystems) {
|
|
|
210907
210909
|
}
|
|
210908
210910
|
function packageManagerIfPackageJSONExistsAndValid(packageManager) {
|
|
210909
210911
|
return async (projectDir) => {
|
|
210910
|
-
if (!
|
|
210912
|
+
if (!existsSync15(join18(projectDir, "package.json"))) return void 0;
|
|
210911
210913
|
const packageJSONPath = join18(projectDir, "package.json");
|
|
210912
210914
|
try {
|
|
210913
210915
|
JSON.parse(await readFile19(packageJSONPath, "utf-8"));
|
|
@@ -211379,16 +211381,16 @@ function isVulnChainWithParentsMap(v) {
|
|
|
211379
211381
|
var DEFAULT_REPORT_FILENAME_BASE = "coana-report";
|
|
211380
211382
|
|
|
211381
211383
|
// dist/internal/exclude-dirs-from-configuration-files.js
|
|
211382
|
-
import { existsSync as
|
|
211384
|
+
import { existsSync as existsSync16 } from "fs";
|
|
211383
211385
|
import { readFile as readFile20 } from "fs/promises";
|
|
211384
211386
|
import { basename as basename5, resolve as resolve24 } from "path";
|
|
211385
211387
|
var import_yaml2 = __toESM(require_dist11(), 1);
|
|
211386
211388
|
async function inferExcludeDirsFromConfigurationFiles(rootWorkingDir) {
|
|
211387
211389
|
const socketYmlConfigFile = resolve24(rootWorkingDir, "socket.yml");
|
|
211388
|
-
if (
|
|
211390
|
+
if (existsSync16(socketYmlConfigFile))
|
|
211389
211391
|
return inferExcludeDirsFromSocketConfig(socketYmlConfigFile);
|
|
211390
211392
|
const socketYamlConfigFile = resolve24(rootWorkingDir, "socket.yaml");
|
|
211391
|
-
if (
|
|
211393
|
+
if (existsSync16(socketYamlConfigFile))
|
|
211392
211394
|
return inferExcludeDirsFromSocketConfig(socketYamlConfigFile);
|
|
211393
211395
|
return void 0;
|
|
211394
211396
|
}
|
|
@@ -224924,7 +224926,7 @@ var { root: root2 } = static_exports;
|
|
|
224924
224926
|
|
|
224925
224927
|
// ../utils/src/maven-utils.ts
|
|
224926
224928
|
var import_lodash14 = __toESM(require_lodash(), 1);
|
|
224927
|
-
import { existsSync as
|
|
224929
|
+
import { existsSync as existsSync17, readdirSync as readdirSync4, statSync as statSync4 } from "fs";
|
|
224928
224930
|
import { join as join20 } from "path";
|
|
224929
224931
|
var { memoize: memoize3 } = import_lodash14.default;
|
|
224930
224932
|
var memoizedParseShellArgs = memoize3(parseShellArgs);
|
|
@@ -226296,7 +226298,7 @@ async function onlineScan(dependencyTree, apiKey, timeout) {
|
|
|
226296
226298
|
}
|
|
226297
226299
|
|
|
226298
226300
|
// dist/version.js
|
|
226299
|
-
var version2 = "14.10.
|
|
226301
|
+
var version2 = "14.10.6";
|
|
226300
226302
|
|
|
226301
226303
|
// ../../node_modules/.pnpm/axios@1.9.0/node_modules/axios/lib/helpers/bind.js
|
|
226302
226304
|
function bind3(fn2, thisArg) {
|
|
@@ -230826,9 +230828,7 @@ async function computeFixesAndUpgradePurls(path2, options) {
|
|
|
230826
230828
|
logger.info("Run again with --apply-fixes-to GHSA_IDS to fix those vulnerabilities by computing packages to upgrade and apply them");
|
|
230827
230829
|
return;
|
|
230828
230830
|
}
|
|
230829
|
-
const vulnerableArtifactIdsForGhsas = options.applyFixesTo.flatMap((ghsa) => [
|
|
230830
|
-
...vulnerableArtifactIdsPerVulnerability.get(ghsa)?.values() ?? []
|
|
230831
|
-
]);
|
|
230831
|
+
const vulnerableArtifactIdsForGhsas = options.applyFixesTo.includes("all") ? Array.from(vulnerableArtifactIdsPerVulnerability.values()).flatMap((ids) => Array.from(ids)) : options.applyFixesTo.flatMap((ghsa) => [...vulnerableArtifactIdsPerVulnerability.get(ghsa)?.values() ?? []]);
|
|
230832
230832
|
const computedFix = await useSocketComputeFixEndpoint(artifacts, vulnerableArtifactIdsForGhsas);
|
|
230833
230833
|
if (computedFix.type !== "success") {
|
|
230834
230834
|
throw new Error(`No fix found for the given vulnerabilities`);
|
|
@@ -231009,7 +231009,7 @@ upgradePurls.name("upgrade-purls").argument("<path>", "File system path to the f
|
|
|
231009
231009
|
await upgradePurl(path2, upgradeSpecs, options);
|
|
231010
231010
|
}).configureHelp({ sortOptions: true });
|
|
231011
231011
|
var computeFixesAndUpgradePurlsCmd = new Command();
|
|
231012
|
-
computeFixesAndUpgradePurlsCmd.name("compute-fixes-and-upgrade-purls").argument("<path>", "File system path to the folder containing the project").option("-a, --apply-fixes-to <ghsas...>",
|
|
231012
|
+
computeFixesAndUpgradePurlsCmd.name("compute-fixes-and-upgrade-purls").argument("<path>", "File system path to the folder containing the project").option("-a, --apply-fixes-to <ghsas...>", 'GHSA IDs to compute fixes for. Use "all" to compute fixes for all vulnerabilities.', []).option("--dry-run", "Show what changes would be made without actually making them", false).option("-g, --glob <pattern>", "Glob pattern to filter workspaces by absolute file path").option("-d, --debug", "Enable debug logging", false).option("-s, --silent", "Silence all debug/warning output", false).addOption(new Option("--run-without-docker", "Run package managers without using docker").default(process.env.RUN_WITHOUT_DOCKER === "true").hideHelp()).addOption(new Option("--manifests-tar-hash <hash>", "Hash of the tarball containing all manifest files already uploaded to Socket. If provided, Socket will be used for computing dependency trees.").hideHelp()).version(version2).action(async (path2, options) => {
|
|
231013
231013
|
process.env.DOCKER_IMAGE_TAG ??= version2;
|
|
231014
231014
|
await computeFixesAndUpgradePurls(path2, options);
|
|
231015
231015
|
}).configureHelp({ sortOptions: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@socketsecurity/cli-with-sentry",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.75",
|
|
4
4
|
"description": "CLI for Socket.dev, includes Sentry error handling, otherwise identical to the regular `socket` package",
|
|
5
5
|
"homepage": "https://github.com/SocketDev/socket-cli",
|
|
6
6
|
"license": "MIT",
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
"@babel/plugin-transform-runtime": "7.28.0",
|
|
85
85
|
"@babel/preset-typescript": "7.27.1",
|
|
86
86
|
"@babel/runtime": "7.28.2",
|
|
87
|
-
"@biomejs/biome": "2.1.
|
|
88
|
-
"@coana-tech/cli": "14.10.
|
|
87
|
+
"@biomejs/biome": "2.1.3",
|
|
88
|
+
"@coana-tech/cli": "14.10.6",
|
|
89
89
|
"@cyclonedx/cdxgen": "11.4.4",
|
|
90
90
|
"@dotenvx/dotenvx": "1.48.3",
|
|
91
91
|
"@eslint/compat": "1.3.1",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"@socketregistry/packageurl-js": "1.0.8",
|
|
114
114
|
"@socketsecurity/config": "3.0.1",
|
|
115
115
|
"@socketsecurity/registry": "1.0.249",
|
|
116
|
-
"@socketsecurity/sdk": "1.4.
|
|
116
|
+
"@socketsecurity/sdk": "1.4.67",
|
|
117
117
|
"@types/blessed": "0.1.25",
|
|
118
118
|
"@types/cmd-shim": "5.0.2",
|
|
119
119
|
"@types/js-yaml": "4.0.9",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"@types/which": "3.0.4",
|
|
128
128
|
"@types/yargs-parser": "21.0.3",
|
|
129
129
|
"@typescript-eslint/parser": "8.38.0",
|
|
130
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
130
|
+
"@typescript/native-preview": "7.0.0-dev.20250729.2",
|
|
131
131
|
"@vitest/coverage-v8": "3.2.4",
|
|
132
132
|
"blessed": "0.1.81",
|
|
133
133
|
"blessed-contrib": "4.11.0",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"npm-package-arg": "13.0.0",
|
|
159
159
|
"npm-run-all2": "8.0.4",
|
|
160
160
|
"open": "10.2.0",
|
|
161
|
-
"oxlint": "1.
|
|
161
|
+
"oxlint": "1.9.0",
|
|
162
162
|
"pony-cause": "2.1.11",
|
|
163
163
|
"registry-auth-token": "5.1.0",
|
|
164
164
|
"registry-url": "7.2.0",
|
|
@@ -239,6 +239,6 @@
|
|
|
239
239
|
"strict": true
|
|
240
240
|
},
|
|
241
241
|
"dependencies": {
|
|
242
|
-
"@sentry/node": "9.
|
|
242
|
+
"@sentry/node": "9.43.0"
|
|
243
243
|
}
|
|
244
244
|
}
|