@tempo-ai/visual-review 0.0.141-staging.1 → 0.0.141
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/bin.js +1 -1
- package/dist/{chunk-3IKPKXZZ.js → chunk-QZQGESF4.js} +12 -8
- package/dist/{chunk-3IKPKXZZ.js.map → chunk-QZQGESF4.js.map} +1 -1
- package/dist/{cli-AGRYO7E7.js → cli-FXYAIPTD.js} +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- /package/dist/{cli-AGRYO7E7.js.map → cli-FXYAIPTD.js.map} +0 -0
package/dist/bin.js
CHANGED
|
@@ -7,7 +7,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
7
7
|
const [command, ...commandArgs] = argv;
|
|
8
8
|
switch (command) {
|
|
9
9
|
case "capture":
|
|
10
|
-
return await (await import("./cli-
|
|
10
|
+
return await (await import("./cli-FXYAIPTD.js")).main(commandArgs);
|
|
11
11
|
case "claim":
|
|
12
12
|
return await (await import("./claim-TARSUW6K.js")).main(commandArgs);
|
|
13
13
|
case "report":
|
|
@@ -30121,10 +30121,13 @@ import path3 from "path";
|
|
|
30121
30121
|
|
|
30122
30122
|
// ../canvas-capture-headless/src/capture-images.ts
|
|
30123
30123
|
import { createHash } from "crypto";
|
|
30124
|
-
import
|
|
30124
|
+
import { createRequire as createRequire2 } from "module";
|
|
30125
30125
|
var MAX_IMAGE_BYTES = 24 * 1024 * 1024;
|
|
30126
30126
|
var MAX_IMAGE_PIXELS = 64 * 1024 * 1024;
|
|
30127
30127
|
var CACHE_BYTES = 32 * 1024 * 1024;
|
|
30128
|
+
var requireModule = createRequire2(import.meta.url);
|
|
30129
|
+
var codec;
|
|
30130
|
+
var loadSharp = () => codec ??= requireModule("sharp");
|
|
30128
30131
|
function createCaptureImageNormalizer() {
|
|
30129
30132
|
const cache2 = /* @__PURE__ */ new Map();
|
|
30130
30133
|
let retainedBytes = 0;
|
|
@@ -30140,6 +30143,7 @@ function createCaptureImageNormalizer() {
|
|
|
30140
30143
|
cache2.set(key2, cached);
|
|
30141
30144
|
return cached;
|
|
30142
30145
|
}
|
|
30146
|
+
const sharp = loadSharp();
|
|
30143
30147
|
const png = await sharp(bytes, { limitInputPixels: MAX_IMAGE_PIXELS }).keepExif().png().toBuffer();
|
|
30144
30148
|
if (cache2.has(key2)) return cache2.get(key2);
|
|
30145
30149
|
if (png.length <= CACHE_BYTES) {
|
|
@@ -48444,7 +48448,7 @@ var pollingScanPool = createPollingScanPool();
|
|
|
48444
48448
|
|
|
48445
48449
|
// ../../modules/file-watcher/watcher.ts
|
|
48446
48450
|
import { lstat as lstat3, realpath as realpath5, stat as stat7 } from "fs/promises";
|
|
48447
|
-
import { createRequire as
|
|
48451
|
+
import { createRequire as createRequire3 } from "module";
|
|
48448
48452
|
import { relative } from "path";
|
|
48449
48453
|
var DEFAULT_DEBOUNCE_MS = 100;
|
|
48450
48454
|
var DEFAULT_MAX_BATCH_SIZE = 1e3;
|
|
@@ -48454,13 +48458,13 @@ var DEFAULT_IDLE_POLLING_INTERVAL_MS = 5e3;
|
|
|
48454
48458
|
var MIN_POLLING_INTERVAL_MS = 10;
|
|
48455
48459
|
var EINTR_RESTART_DELAY_MS = 100;
|
|
48456
48460
|
var MAX_RECOVERY_RESTARTS = 50;
|
|
48457
|
-
var
|
|
48461
|
+
var requireModule2 = createRequire3(
|
|
48458
48462
|
typeof __filename !== "undefined" ? __filename : import.meta.url
|
|
48459
48463
|
);
|
|
48460
48464
|
var nativeWatcherPromise = null;
|
|
48461
48465
|
function loadNativeWatcher() {
|
|
48462
48466
|
nativeWatcherPromise ??= Promise.resolve().then(() => {
|
|
48463
|
-
const loaded =
|
|
48467
|
+
const loaded = requireModule2(
|
|
48464
48468
|
"@parcel/watcher"
|
|
48465
48469
|
);
|
|
48466
48470
|
return loaded.default ?? loaded;
|
|
@@ -62012,7 +62016,7 @@ import {
|
|
|
62012
62016
|
unlink as unlink3,
|
|
62013
62017
|
writeFile as writeFile10
|
|
62014
62018
|
} from "fs/promises";
|
|
62015
|
-
import { createRequire as
|
|
62019
|
+
import { createRequire as createRequire5 } from "module";
|
|
62016
62020
|
import path34 from "path";
|
|
62017
62021
|
|
|
62018
62022
|
// ../../node_modules/.pnpm/postcss@8.5.28/node_modules/postcss/lib/postcss.mjs
|
|
@@ -62044,7 +62048,7 @@ var Node2 = import_postcss.default.Node;
|
|
|
62044
62048
|
|
|
62045
62049
|
// ../tempo-project/stylesheet-plan.ts
|
|
62046
62050
|
import { readFile as readFile19, realpath as realpath8 } from "fs/promises";
|
|
62047
|
-
import { createRequire as
|
|
62051
|
+
import { createRequire as createRequire4 } from "module";
|
|
62048
62052
|
import path32 from "path";
|
|
62049
62053
|
var import_postcss_value_parser = __toESM(require_lib(), 1);
|
|
62050
62054
|
|
|
@@ -62583,7 +62587,7 @@ import path36 from "path";
|
|
|
62583
62587
|
|
|
62584
62588
|
// ../tempo-project/mirror-user-canvas-deps.ts
|
|
62585
62589
|
import { readFile as readFile23, realpath as realpath10 } from "fs/promises";
|
|
62586
|
-
import { createRequire as
|
|
62590
|
+
import { createRequire as createRequire6 } from "module";
|
|
62587
62591
|
import path37 from "path";
|
|
62588
62592
|
|
|
62589
62593
|
// ../tempo-project/install-app-dep-roots.ts
|
|
@@ -64406,4 +64410,4 @@ export {
|
|
|
64406
64410
|
buildBaselineCaptureArgs,
|
|
64407
64411
|
main
|
|
64408
64412
|
};
|
|
64409
|
-
//# sourceMappingURL=chunk-
|
|
64413
|
+
//# sourceMappingURL=chunk-QZQGESF4.js.map
|