@socketsecurity/cli-with-sentry 1.0.73 → 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 +19 -15
- 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/types/constants.d.mts.map +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/cli.js
CHANGED
|
@@ -67,7 +67,7 @@ async function fetchRepoAnalyticsData(repo, time, options) {
|
|
|
67
67
|
|
|
68
68
|
// Note: Widgets does not seem to actually work as code :'(
|
|
69
69
|
|
|
70
|
-
const require$5 = require$$5.createRequire((
|
|
70
|
+
const require$5 = require$$5.createRequire(require('node:url').pathToFileURL(__filename).href);
|
|
71
71
|
const METRICS = ['total_critical_alerts', 'total_high_alerts', 'total_medium_alerts', 'total_low_alerts', 'total_critical_added', 'total_medium_added', 'total_low_added', 'total_high_added', 'total_critical_prevented', 'total_high_prevented', 'total_medium_prevented', 'total_low_prevented'];
|
|
72
72
|
|
|
73
73
|
// Note: This maps `new Date(date).getMonth()` to English three letters
|
|
@@ -499,7 +499,7 @@ async function fetchAuditLog(config, options) {
|
|
|
499
499
|
});
|
|
500
500
|
}
|
|
501
501
|
|
|
502
|
-
const require$4 = require$$5.createRequire((
|
|
502
|
+
const require$4 = require$$5.createRequire(require('node:url').pathToFileURL(__filename).href);
|
|
503
503
|
const {
|
|
504
504
|
REDACTED
|
|
505
505
|
} = constants;
|
|
@@ -2041,7 +2041,7 @@ async function handleCreateNewScan({
|
|
|
2041
2041
|
if (!wasValidInput) {
|
|
2042
2042
|
return;
|
|
2043
2043
|
}
|
|
2044
|
-
|
|
2044
|
+
logger.logger.success(`Found ${packagePaths.length} local ${words.pluralize('file', packagePaths.length)}`);
|
|
2045
2045
|
debug.debugDir('inspect', {
|
|
2046
2046
|
packagePaths
|
|
2047
2047
|
});
|
|
@@ -4970,7 +4970,7 @@ async function setupTabCompletion(targetName) {
|
|
|
4970
4970
|
};
|
|
4971
4971
|
}
|
|
4972
4972
|
function getTabCompletionScriptRaw() {
|
|
4973
|
-
const sourceDir = path.dirname(require$$0.fileURLToPath((
|
|
4973
|
+
const sourceDir = path.dirname(require$$0.fileURLToPath(require('node:url').pathToFileURL(__filename).href));
|
|
4974
4974
|
const sourcePath = path.join(sourceDir, 'socket-completion.bash');
|
|
4975
4975
|
if (!fs$1.existsSync(sourcePath)) {
|
|
4976
4976
|
return {
|
|
@@ -7007,7 +7007,7 @@ async function run$v(argv, importMeta, {
|
|
|
7007
7007
|
});
|
|
7008
7008
|
}
|
|
7009
7009
|
|
|
7010
|
-
const require$3 = require$$5.createRequire((
|
|
7010
|
+
const require$3 = require$$5.createRequire(require('node:url').pathToFileURL(__filename).href);
|
|
7011
7011
|
const {
|
|
7012
7012
|
DRY_RUN_BAILING_NOW: DRY_RUN_BAILING_NOW$u
|
|
7013
7013
|
} = constants;
|
|
@@ -7060,7 +7060,7 @@ async function run$u(argv, importMeta, {
|
|
|
7060
7060
|
await shadowBin('npm', argv);
|
|
7061
7061
|
}
|
|
7062
7062
|
|
|
7063
|
-
const require$2 = require$$5.createRequire((
|
|
7063
|
+
const require$2 = require$$5.createRequire(require('node:url').pathToFileURL(__filename).href);
|
|
7064
7064
|
const {
|
|
7065
7065
|
DRY_RUN_BAILING_NOW: DRY_RUN_BAILING_NOW$t
|
|
7066
7066
|
} = constants;
|
|
@@ -13657,7 +13657,7 @@ async function fetchThreatFeed({
|
|
|
13657
13657
|
return await utils.queryApiSafeJson(`orgs/${orgSlug}/threat-feed?${queryParams}`, 'the Threat Feed data');
|
|
13658
13658
|
}
|
|
13659
13659
|
|
|
13660
|
-
const require$1 = require$$5.createRequire((
|
|
13660
|
+
const require$1 = require$$5.createRequire(require('node:url').pathToFileURL(__filename).href);
|
|
13661
13661
|
async function outputThreatFeed(result, outputKind) {
|
|
13662
13662
|
if (!result.ok) {
|
|
13663
13663
|
process.exitCode = result.code ?? 1;
|
|
@@ -14439,7 +14439,7 @@ async function run(argv, importMeta, {
|
|
|
14439
14439
|
}
|
|
14440
14440
|
}
|
|
14441
14441
|
|
|
14442
|
-
const __filename$1 = require$$0.fileURLToPath((
|
|
14442
|
+
const __filename$1 = require$$0.fileURLToPath(require('node:url').pathToFileURL(__filename).href);
|
|
14443
14443
|
void (async () => {
|
|
14444
14444
|
const registryUrl = vendor.registryUrl();
|
|
14445
14445
|
await vendor.updater({
|
|
@@ -14634,5 +14634,5 @@ void (async () => {
|
|
|
14634
14634
|
await utils.captureException(e);
|
|
14635
14635
|
}
|
|
14636
14636
|
})();
|
|
14637
|
-
//# debugId=
|
|
14637
|
+
//# debugId=bfe6a434-8c63-4711-96a4-5000ee94150f
|
|
14638
14638
|
//# sourceMappingURL=cli.js.map
|