@vibgrate/cli 2026.703.5 → 2026.703.7
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/baseline-HBRBXJHJ.js +6 -0
- package/dist/{baseline-AQKQEA2O.js.map → baseline-HBRBXJHJ.js.map} +1 -1
- package/dist/{chunk-L7YBNIBF.js → chunk-QWS7M7DG.js} +16 -16
- package/dist/chunk-QWS7M7DG.js.map +1 -0
- package/dist/{chunk-4M2MUQRO.js → chunk-UPPWLMVD.js} +130 -16
- package/dist/chunk-UPPWLMVD.js.map +1 -0
- package/dist/{chunk-W2QP2YH6.js → chunk-WGXDYBAN.js} +231 -205
- package/dist/chunk-WGXDYBAN.js.map +1 -0
- package/dist/{chunk-6T3R7RF2.js → chunk-ZNVLRKWK.js} +3 -3
- package/dist/{chunk-6T3R7RF2.js.map → chunk-ZNVLRKWK.js.map} +1 -1
- package/dist/cli.js +35 -17
- package/dist/cli.js.map +1 -1
- package/dist/{fs-7KZ4F3SB.js → fs-DSQZWBO5.js} +3 -3
- package/dist/fs-DSQZWBO5.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/dist/baseline-AQKQEA2O.js +0 -6
- package/dist/chunk-4M2MUQRO.js.map +0 -1
- package/dist/chunk-L7YBNIBF.js.map +0 -1
- package/dist/chunk-W2QP2YH6.js.map +0 -1
- package/dist/fs-7KZ4F3SB.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"baseline-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"baseline-HBRBXJHJ.js"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { redactUrlCredentials } from './chunk-RXP66R2E.js';
|
|
2
|
-
import { pathExists, readJsonFile, Semaphore, FileCache, quickTreeCount, ensureDir, writeJsonFile, writeTextFile, readTextFile, findPackageJsonFiles, findFiles, findSolutionFiles } from './chunk-
|
|
2
|
+
import { pathExists, readJsonFile, Semaphore, FileCache, quickTreeCount, ensureDir, writeJsonFile, writeTextFile, readTextFile, findPackageJsonFiles, findFiles, findSolutionFiles } from './chunk-UPPWLMVD.js';
|
|
3
3
|
import * as path29 from 'path';
|
|
4
4
|
import { basename, dirname } from 'path';
|
|
5
5
|
import chalk3 from 'chalk';
|
|
@@ -20,7 +20,7 @@ import * as zlib from 'zlib';
|
|
|
20
20
|
import { promisify } from 'util';
|
|
21
21
|
|
|
22
22
|
// src/version.ts
|
|
23
|
-
var VERSION = "2026.703.
|
|
23
|
+
var VERSION = "2026.703.7";
|
|
24
24
|
var TOP_LEVEL_NODE_MODULES = /^node_modules\/((?:@[^/]+\/)?[^/]+)$/;
|
|
25
25
|
function parsePackageLock(json) {
|
|
26
26
|
const out = /* @__PURE__ */ new Map();
|
|
@@ -2332,7 +2332,7 @@ async function scanPythonProjects(rootDir, pypiCache, cache, projectScanTimeout,
|
|
|
2332
2332
|
return results;
|
|
2333
2333
|
}
|
|
2334
2334
|
async function findPythonManifests(rootDir) {
|
|
2335
|
-
const { findFiles: findFiles2 } = await import('./fs-
|
|
2335
|
+
const { findFiles: findFiles2 } = await import('./fs-DSQZWBO5.js');
|
|
2336
2336
|
return findFiles2(rootDir, (name) => PYTHON_MANIFEST_FILES.has(name) || /^requirements.*\.txt$/.test(name));
|
|
2337
2337
|
}
|
|
2338
2338
|
async function scanOnePythonProject(dir, manifestFiles, rootDir, pypiCache, cache, catalog) {
|
|
@@ -2772,7 +2772,7 @@ async function scanJavaProjects(rootDir, mavenCache, cache, projectScanTimeout,
|
|
|
2772
2772
|
return results;
|
|
2773
2773
|
}
|
|
2774
2774
|
async function findJavaManifests(rootDir) {
|
|
2775
|
-
const { findFiles: findFiles2 } = await import('./fs-
|
|
2775
|
+
const { findFiles: findFiles2 } = await import('./fs-DSQZWBO5.js');
|
|
2776
2776
|
return findFiles2(rootDir, (name) => JAVA_MANIFEST_FILES.has(name));
|
|
2777
2777
|
}
|
|
2778
2778
|
async function scanOneJavaProject(dir, manifestFiles, rootDir, mavenCache, cache, catalog) {
|
|
@@ -3177,7 +3177,7 @@ async function scanRubyProjects(rootDir, rubygemsCache, cache, projectScanTimeou
|
|
|
3177
3177
|
return results;
|
|
3178
3178
|
}
|
|
3179
3179
|
async function findRubyManifests(rootDir) {
|
|
3180
|
-
const { findFiles: findFiles2 } = await import('./fs-
|
|
3180
|
+
const { findFiles: findFiles2 } = await import('./fs-DSQZWBO5.js');
|
|
3181
3181
|
return findFiles2(rootDir, (name) => RUBY_MANIFEST_FILES.has(name) || isGemspec(name));
|
|
3182
3182
|
}
|
|
3183
3183
|
async function scanOneRubyProject(dir, manifestFiles, rootDir, rubygemsCache, cache, catalog) {
|
|
@@ -3418,7 +3418,7 @@ async function scanSwiftProjects(rootDir, swiftCache, cache, projectScanTimeout)
|
|
|
3418
3418
|
return results;
|
|
3419
3419
|
}
|
|
3420
3420
|
async function findSwiftManifests(rootDir) {
|
|
3421
|
-
const { findFiles: findFiles2 } = await import('./fs-
|
|
3421
|
+
const { findFiles: findFiles2 } = await import('./fs-DSQZWBO5.js');
|
|
3422
3422
|
return findFiles2(rootDir, (name) => SWIFT_MANIFEST_FILES.has(name));
|
|
3423
3423
|
}
|
|
3424
3424
|
async function scanOneSwiftProject(dir, manifestFile, rootDir, swiftCache, cache) {
|
|
@@ -3654,7 +3654,7 @@ async function scanGoProjects(rootDir, goCache, cache, projectScanTimeout, catal
|
|
|
3654
3654
|
return results;
|
|
3655
3655
|
}
|
|
3656
3656
|
async function findGoManifests(rootDir) {
|
|
3657
|
-
const { findFiles: findFiles2 } = await import('./fs-
|
|
3657
|
+
const { findFiles: findFiles2 } = await import('./fs-DSQZWBO5.js');
|
|
3658
3658
|
return findFiles2(rootDir, (name) => GO_MANIFEST_FILES.has(name));
|
|
3659
3659
|
}
|
|
3660
3660
|
async function scanOneGoProject(dir, manifestFile, rootDir, goCache, cache, catalog) {
|
|
@@ -3940,7 +3940,7 @@ async function scanRustProjects(rootDir, cargoCache, cache, projectScanTimeout)
|
|
|
3940
3940
|
return results;
|
|
3941
3941
|
}
|
|
3942
3942
|
async function findRustManifests(rootDir) {
|
|
3943
|
-
const { findFiles: findFiles2 } = await import('./fs-
|
|
3943
|
+
const { findFiles: findFiles2 } = await import('./fs-DSQZWBO5.js');
|
|
3944
3944
|
return findFiles2(rootDir, (name) => RUST_MANIFEST_FILES.has(name));
|
|
3945
3945
|
}
|
|
3946
3946
|
async function scanOneRustProject(dir, manifestFile, rootDir, cargoCache, cache) {
|
|
@@ -4172,7 +4172,7 @@ async function scanPhpProjects(rootDir, composerCache, cache, projectScanTimeout
|
|
|
4172
4172
|
return results;
|
|
4173
4173
|
}
|
|
4174
4174
|
async function findPhpManifests(rootDir) {
|
|
4175
|
-
const { findFiles: findFiles2 } = await import('./fs-
|
|
4175
|
+
const { findFiles: findFiles2 } = await import('./fs-DSQZWBO5.js');
|
|
4176
4176
|
return findFiles2(rootDir, (name) => PHP_MANIFEST_FILES.has(name));
|
|
4177
4177
|
}
|
|
4178
4178
|
async function scanOnePhpProject(dir, manifestFile, rootDir, composerCache, cache) {
|
|
@@ -4437,7 +4437,7 @@ async function scanDartProjects(rootDir, pubCache, cache, projectScanTimeout) {
|
|
|
4437
4437
|
return results;
|
|
4438
4438
|
}
|
|
4439
4439
|
async function findDartManifests(rootDir) {
|
|
4440
|
-
const { findFiles: findFiles2 } = await import('./fs-
|
|
4440
|
+
const { findFiles: findFiles2 } = await import('./fs-DSQZWBO5.js');
|
|
4441
4441
|
return findFiles2(rootDir, (name) => DART_MANIFEST_FILES.has(name));
|
|
4442
4442
|
}
|
|
4443
4443
|
async function scanOneDartProject(dir, manifestFile, rootDir, pubCache, cache) {
|
|
@@ -7094,7 +7094,7 @@ function formatText(artifact, opts = {}) {
|
|
|
7094
7094
|
lines.push(chalk3.dim(` ${scannedParts.join(" \xB7 ")}`));
|
|
7095
7095
|
lines.push("");
|
|
7096
7096
|
if (opts.free && artifact.billing) {
|
|
7097
|
-
lines.push(...renderUpsellPanel(artifact.billing));
|
|
7097
|
+
lines.push(...renderUpsellPanel(artifact.billing, opts.invocation ?? "vg"));
|
|
7098
7098
|
lines.push("");
|
|
7099
7099
|
}
|
|
7100
7100
|
return lines.join("\n");
|
|
@@ -7118,7 +7118,7 @@ function estimateMonthly(billableProjects, rates) {
|
|
|
7118
7118
|
function formatMoney(value) {
|
|
7119
7119
|
return value === Math.floor(value) ? `$${value}` : `$${value.toFixed(2)}`;
|
|
7120
7120
|
}
|
|
7121
|
-
function renderUpsellPanel(billing) {
|
|
7121
|
+
function renderUpsellPanel(billing, invocation) {
|
|
7122
7122
|
const raw = billing.billableProjectsRaw;
|
|
7123
7123
|
const team = estimateMonthly(raw, PRICE_RATES.team);
|
|
7124
7124
|
const business = estimateMonthly(raw, PRICE_RATES.business);
|
|
@@ -7138,7 +7138,7 @@ function renderUpsellPanel(billing) {
|
|
|
7138
7138
|
` ${chalk3.cyan("\u2022")} Alerts when drift crosses the budget you set`,
|
|
7139
7139
|
``,
|
|
7140
7140
|
chalk3.dim(`Free forever: 1 repository, 5 pushed scans / month.`),
|
|
7141
|
-
`${chalk3.bold("Start tracking:")} ${chalk3.cyan(
|
|
7141
|
+
`${chalk3.bold("Start tracking:")} ${chalk3.cyan(`${invocation} login`)} \u2192 ${chalk3.cyan(`${invocation} push`)}`
|
|
7142
7142
|
];
|
|
7143
7143
|
return panelBox("KEEP TRACKING YOUR DRIFTSCORE", body, chalk3.hex("#3FB0A4"), 60);
|
|
7144
7144
|
}
|
|
@@ -10662,7 +10662,7 @@ async function runCoreScan(rootDir, opts, advanced) {
|
|
|
10662
10662
|
await writeTextFile(path29.resolve(opts.out), markdown);
|
|
10663
10663
|
}
|
|
10664
10664
|
} else {
|
|
10665
|
-
const text = formatText(artifact, { free: !parsedDsn && !opts.quiet });
|
|
10665
|
+
const text = formatText(artifact, { free: !parsedDsn && !opts.quiet, invocation: opts.invocation });
|
|
10666
10666
|
console.log(text);
|
|
10667
10667
|
if (opts.out) {
|
|
10668
10668
|
await writeTextFile(path29.resolve(opts.out), text);
|
|
@@ -11385,5 +11385,5 @@ async function writeTextFile2(filePath, content) {
|
|
|
11385
11385
|
}
|
|
11386
11386
|
|
|
11387
11387
|
export { VERSION, brandProgressBar, buildVersionTimelines, computeRepoFingerprint, computeUpgradeImpact, detectVcs, driftBar, ensureDir2 as ensureDir, fetchScanPreflight, findPackageAnyEcosystem, findPackageTimeline, findVersionCrossings, getChangelogSignals, gitHistoryAvailable, normalizeConstraint, parseDsn, pathExists2 as pathExists, prepareCompressedUpload, projectTypeToVulnEcosystem, readJsonFile2 as readJsonFile, resolveRepositoryName, runCoreScan, severityRank, titleBox, versionSatisfies, writeDefaultConfig, writeJsonFile2 as writeJsonFile, writeTextFile2 as writeTextFile };
|
|
11388
|
-
//# sourceMappingURL=chunk-
|
|
11389
|
-
//# sourceMappingURL=chunk-
|
|
11388
|
+
//# sourceMappingURL=chunk-QWS7M7DG.js.map
|
|
11389
|
+
//# sourceMappingURL=chunk-QWS7M7DG.js.map
|