@zebeqo/vendy 0.6.1 → 0.6.2
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/main.mjs +3 -1
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -56572,6 +56572,7 @@ const releasedPackages = (repo, published) => {
|
|
|
56572
56572
|
const packageOf = (packages, file) => packages.find((directory) => directory === "" || covers(directory, file)) ?? "";
|
|
56573
56573
|
const governedPackages = (library, project) => (library.repo.uses ?? []).every((use) => use.scope === void 0) ? new Set(project.packages) : new Set(project.files.filter((file) => library.scope.governs(file)).map((file) => packageOf(project.packages, file)));
|
|
56574
56574
|
const declaredIn = (directory) => directory === "" ? "package.json" : `${directory}/package.json`;
|
|
56575
|
+
const isPlaceholder = (version) => import_semver.default.major(version) === 0 && import_semver.default.minor(version) === 0 && import_semver.default.patch(version) === 0;
|
|
56575
56576
|
const libraryDependencies = fn("Check.libraryDependencies")(function* (library, project) {
|
|
56576
56577
|
const { repo, published } = library;
|
|
56577
56578
|
const findings = [];
|
|
@@ -56601,6 +56602,7 @@ const libraryDependencies = fn("Check.libraryDependencies")(function* (library,
|
|
|
56601
56602
|
});
|
|
56602
56603
|
for (const [version, where] of installed) {
|
|
56603
56604
|
if (snapshot === null || import_semver.default.valid(version) === null) continue;
|
|
56605
|
+
if (isPlaceholder(version) || isPlaceholder(snapshot)) continue;
|
|
56604
56606
|
const order = import_semver.default.compare(version, snapshot);
|
|
56605
56607
|
if (order !== 0) findings.push({
|
|
56606
56608
|
_tag: order < 0 ? "DependencyBehind" : "SnapshotBehind",
|
|
@@ -59670,7 +59672,7 @@ const withGitSeparator = (args) => {
|
|
|
59670
59672
|
const runVendy = (args, config) => runWith(vendy, config)(withGitSeparator(args)).pipe(provideService(Blocking, (description) => error(`waiting for file lock on ${description}`)), provideService(runner, invocation(process.cwd())), provideService(CliConfig, cliConfig), provide(layer));
|
|
59671
59673
|
const run = dual(2, runVendy);
|
|
59672
59674
|
// src/main.ts
|
|
59673
|
-
const version = "0.6.
|
|
59675
|
+
const version = "0.6.2";
|
|
59674
59676
|
const isSqliteExperimentalWarning = (warning) => warning.name === "ExperimentalWarning" && warning.message.startsWith("SQLite ");
|
|
59675
59677
|
for (const printWarning of process.listeners("warning")) {
|
|
59676
59678
|
process.off("warning", printWarning);
|
package/package.json
CHANGED