fluncle 0.250.0 → 0.252.0
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/bin/fluncle.mjs +7 -7
- package/package.json +1 -1
package/bin/fluncle.mjs
CHANGED
|
@@ -622,7 +622,7 @@ function parseVersion(version) {
|
|
|
622
622
|
var currentVersion;
|
|
623
623
|
var init_version = __esm(() => {
|
|
624
624
|
init_output();
|
|
625
|
-
currentVersion = "0.
|
|
625
|
+
currentVersion = "0.252.0".trim() ? "0.252.0".trim() : "0.1.0";
|
|
626
626
|
});
|
|
627
627
|
|
|
628
628
|
// src/update-notifier.ts
|
|
@@ -2335,7 +2335,7 @@ function parseVersion2(version) {
|
|
|
2335
2335
|
var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
|
|
2336
2336
|
var init_version2 = __esm(() => {
|
|
2337
2337
|
init_output();
|
|
2338
|
-
currentVersion2 = "0.
|
|
2338
|
+
currentVersion2 = "0.252.0".trim() ? "0.252.0".trim() : "0.1.0";
|
|
2339
2339
|
});
|
|
2340
2340
|
|
|
2341
2341
|
// ../../packages/registry/src/index.ts
|
|
@@ -24151,7 +24151,7 @@ async function runBackfillRecordingMbids(options, backfillRecordingMbidsCommand)
|
|
|
24151
24151
|
}
|
|
24152
24152
|
}
|
|
24153
24153
|
async function runBackfillArtistEdges(options, backfillArtistEdgesCommand) {
|
|
24154
|
-
const limit = parseListLimit(options.limit)
|
|
24154
|
+
const limit = parseListLimit(options.limit);
|
|
24155
24155
|
const fullyMatched = [];
|
|
24156
24156
|
const partiallyMatched = [];
|
|
24157
24157
|
const zeroMatched = [];
|
|
@@ -24202,7 +24202,7 @@ async function runBackfillArtistEdges(options, backfillArtistEdgesCommand) {
|
|
|
24202
24202
|
console.log(`${verb} ${edgesWritten} track_artists edge(s) over ${scanned} track(s): ${fullyMatched.length} fully matched, ${partiallyMatched.length} partially, ${zeroMatched.length} with none; ${unmatchedNames} credited name(s) left unmatched.`);
|
|
24203
24203
|
}
|
|
24204
24204
|
async function runBackfillArtistCredits(options, backfillArtistCreditsCommand) {
|
|
24205
|
-
const limit = parseListLimit(options.limit)
|
|
24205
|
+
const limit = parseListLimit(options.limit);
|
|
24206
24206
|
let cursor;
|
|
24207
24207
|
let dryRun = options.dryRun;
|
|
24208
24208
|
let scanned = 0;
|
|
@@ -24254,7 +24254,7 @@ async function runBackfillArtistCredits(options, backfillArtistCreditsCommand) {
|
|
|
24254
24254
|
}
|
|
24255
24255
|
async function runArtistResolveQueue(options, listArtistsCommand) {
|
|
24256
24256
|
const limit = parseListLimit(options.limit);
|
|
24257
|
-
const result = await listArtistsCommand(limit
|
|
24257
|
+
const result = await listArtistsCommand(limit);
|
|
24258
24258
|
if (options.json) {
|
|
24259
24259
|
printJson({ artists: result.artists, ok: true });
|
|
24260
24260
|
return;
|
|
@@ -25569,7 +25569,7 @@ async function runAdminCaptureQueue(options, captureQueueCommand) {
|
|
|
25569
25569
|
var TRACK_WORK_KINDS = new Set(["analyze", "capture", "embed"]);
|
|
25570
25570
|
var TRACK_WORK_SCOPES = new Set(["all", "catalogue", "findings"]);
|
|
25571
25571
|
async function runAdminTrackWork(options, trackWorkCommand) {
|
|
25572
|
-
const kind = options.kind
|
|
25572
|
+
const kind = options.kind.trim().toLowerCase();
|
|
25573
25573
|
const scope = options.scope?.trim().toLowerCase() ?? "all";
|
|
25574
25574
|
if (!TRACK_WORK_KINDS.has(kind)) {
|
|
25575
25575
|
console.error(`--kind must be one of: analyze, capture, embed (got "${options.kind}")`);
|
|
@@ -25706,7 +25706,7 @@ async function runOpen(target, extra, options, openCommands) {
|
|
|
25706
25706
|
if (target) {
|
|
25707
25707
|
throw new Error(`Unknown open target: ${target}`);
|
|
25708
25708
|
}
|
|
25709
|
-
const limit = Number.parseInt(options.limit
|
|
25709
|
+
const limit = Number.parseInt(options.limit, 10);
|
|
25710
25710
|
if (!Number.isInteger(limit) || limit < 1 || limit > 100) {
|
|
25711
25711
|
throw new Error("Limit must be an integer between 1 and 100");
|
|
25712
25712
|
}
|
package/package.json
CHANGED