@hyperframes/producer 0.9.104 → 0.9.106

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.
@@ -27,7 +27,7 @@ import {
27
27
  stylesheetLinkMatches
28
28
  } from "@hyperframes/parsers/css-url-scans";
29
29
  import { createHash as createHash3 } from "node:crypto";
30
- import { createReadStream, existsSync as existsSync3, mkdirSync as mkdirSync3, readFileSync as readFileSync4, statSync as statSync4 } from "fs";
30
+ import { createReadStream, existsSync as existsSync3, mkdirSync as mkdirSync3, readFileSync as readFileSync4, statSync as statSync3 } from "fs";
31
31
  import { join as join5, dirname as dirname3, resolve as resolve3, basename as basename3, relative, sep as sep2 } from "path";
32
32
  import { parseHTML as parseHTML4 } from "@hyperframes/parsers/linkedom";
33
33
  import { compositionRootSize } from "@hyperframes/parsers";
@@ -309,15 +309,12 @@ import {
309
309
  relative as nodeRelative,
310
310
  isAbsolute as nodeIsAbsolute
311
311
  } from "node:path";
312
- import { statSync } from "node:fs";
313
312
  import { fileURLToPath } from "node:url";
314
313
  import { isPrivateFileUnder, isSafePath, isStudioPrivatePath } from "@hyperframes/core/safe-path";
315
314
  import {
316
- isCopiedOutsideFileType,
317
- isPrivateOutsideFile,
318
- isUploadedOutsideFileType,
319
315
  leftOutWarning,
320
- linksOutside
316
+ linksOutside,
317
+ outsideLinkRefusal
321
318
  } from "@hyperframes/studio-server/outside-file";
322
319
  import { realFilePath } from "@hyperframes/studio-server/safe-path";
323
320
  var DEFAULT_RENDERS_DIR = process.env.PRODUCER_RENDERS_DIR ?? // fileURLToPath (not URL.pathname): on Windows .pathname is "/D:/..." which
@@ -338,15 +335,9 @@ function escapesAssetRoot(path, assetRoot) {
338
335
  return assetRoot !== void 0 && !isSafePath(assetRoot, path);
339
336
  }
340
337
  function outsideAssetRefusal(projectDir2, path, policy = {}) {
341
- if (!linksOutside(projectDir2, path)) {
342
- const privateByAnotherSpelling = !isPathInside(path, projectDir2) && isPrivateFileUnder(projectDir2, path, isStudioPrivatePath);
343
- return privateByAnotherSpelling ? "blocklisted" : null;
344
- }
345
- if (isPrivateOutsideFile(projectDir2, path)) return "blocklisted";
346
- const folder = statSync(path, { throwIfNoEntry: false })?.isDirectory();
347
- if (folder || isUploadedOutsideFileType(path)) return null;
348
- if (!isCopiedOutsideFileType(path)) return "file_type";
349
- return policy.includeScripts ? null : "script";
338
+ if (linksOutside(projectDir2, path)) return outsideLinkRefusal(projectDir2, path, policy);
339
+ const privateByAnotherSpelling = !isPathInside(path, projectDir2) && isPrivateFileUnder(projectDir2, path, isStudioPrivatePath);
340
+ return privateByAnotherSpelling ? "blocklisted" : null;
350
341
  }
351
342
  var leftOutOfRender = (file, reference, reason) => leftOutWarning(file, reference, reason, "render");
352
343
  function refusesOutsideLink(projectDir2, path, warn, policy = {}) {
@@ -560,7 +551,7 @@ import {
560
551
 
561
552
  // src/services/animatedGifPrep.ts
562
553
  import { createHash, randomUUID } from "node:crypto";
563
- import { copyFileSync, existsSync as existsSync2, mkdirSync, readFileSync as readFileSync2, rmSync, statSync as statSync2 } from "node:fs";
554
+ import { copyFileSync, existsSync as existsSync2, mkdirSync, readFileSync as readFileSync2, rmSync, statSync } from "node:fs";
564
555
  import { dirname, isAbsolute, join as join3, resolve } from "node:path";
565
556
  import { parseHTML as parseHTML2 } from "@hyperframes/parsers/linkedom";
566
557
  import { parseAnimatedGifMetadata } from "@hyperframes/core";
@@ -646,7 +637,7 @@ function resolveLocalImageSourcePath(src, options2) {
646
637
  }
647
638
  function isUsableFile(path) {
648
639
  try {
649
- const stat = statSync2(path);
640
+ const stat = statSync(path);
650
641
  return stat.isFile() && stat.size > 0;
651
642
  } catch {
652
643
  return false;
@@ -796,7 +787,7 @@ async function ensurePreparedWebm(input) {
796
787
  if (!isUsableFile(tmpPath)) {
797
788
  throw new Error("Animated GIF transcode produced an empty output");
798
789
  }
799
- if (statSync2(tmpPath).size >= FFMPEG_SELF_OUTPUT_BYTES_CAP) {
790
+ if (statSync(tmpPath).size >= FFMPEG_SELF_OUTPUT_BYTES_CAP) {
800
791
  throw new Error("Animated GIF transcode reached its output size limit");
801
792
  }
802
793
  if (!isUsableFile(input.cachePath)) {
@@ -932,7 +923,7 @@ import {
932
923
  readFileSync as readFileSync3,
933
924
  readSync,
934
925
  rmSync as rmSync2,
935
- statSync as statSync3,
926
+ statSync as statSync2,
936
927
  writeFileSync
937
928
  } from "node:fs";
938
929
  import { dirname as dirname2, join as join4, resolve as resolve2 } from "node:path";
@@ -1188,7 +1179,7 @@ function resolveImageSource(src, options2) {
1188
1179
  }
1189
1180
  function isUsableFile2(path) {
1190
1181
  try {
1191
- return statSync3(path).size > 0;
1182
+ return statSync2(path).size > 0;
1192
1183
  } catch {
1193
1184
  return false;
1194
1185
  }
@@ -1209,7 +1200,7 @@ async function ensurePreparedJpeg(source, cachePath, outputPath, options2) {
1209
1200
  signal: options2.signal
1210
1201
  });
1211
1202
  if (!isUsableFile2(tmpPath)) throw new Error("conversion produced an empty file");
1212
- if (statSync3(tmpPath).size >= FFMPEG_SELF_OUTPUT_BYTES_CAP2) {
1203
+ if (statSync2(tmpPath).size >= FFMPEG_SELF_OUTPUT_BYTES_CAP2) {
1213
1204
  throw new Error("conversion reached its output size limit");
1214
1205
  }
1215
1206
  renameWithRetry2(tmpPath, cachePath);
@@ -2820,7 +2811,7 @@ async function localFontDataUri(localPath, projectDir2, assetRoot, dataUriByAbso
2820
2811
  if (dataUriByAbsolutePath.has(absPath)) return dataUriByAbsolutePath.get(absPath);
2821
2812
  const ext = absPath.match(/\.(woff2?|ttf|otf|ttc)$/i)?.[1]?.toLowerCase() ?? "ttf";
2822
2813
  try {
2823
- if (!reserve(Math.ceil(statSync4(absPath).size / 3) * 4 + 64)) {
2814
+ if (!reserve(Math.ceil(statSync3(absPath).size / 3) * 4 + 64)) {
2824
2815
  dataUriByAbsolutePath.set(absPath, void 0);
2825
2816
  return void 0;
2826
2817
  }
@@ -81,15 +81,12 @@ import {
81
81
  relative as nodeRelative,
82
82
  isAbsolute as nodeIsAbsolute
83
83
  } from "node:path";
84
- import { statSync } from "node:fs";
85
84
  import { fileURLToPath } from "node:url";
86
85
  import { isPrivateFileUnder, isSafePath, isStudioPrivatePath } from "@hyperframes/core/safe-path";
87
86
  import {
88
- isCopiedOutsideFileType,
89
- isPrivateOutsideFile,
90
- isUploadedOutsideFileType,
91
87
  leftOutWarning,
92
- linksOutside
88
+ linksOutside,
89
+ outsideLinkRefusal
93
90
  } from "@hyperframes/studio-server/outside-file";
94
91
  import { realFilePath } from "@hyperframes/studio-server/safe-path";
95
92
  var DEFAULT_RENDERS_DIR = process.env.PRODUCER_RENDERS_DIR ?? // fileURLToPath (not URL.pathname): on Windows .pathname is "/D:/..." which
@@ -110,15 +107,9 @@ function escapesAssetRoot(path, assetRoot) {
110
107
  return assetRoot !== void 0 && !isSafePath(assetRoot, path);
111
108
  }
112
109
  function outsideAssetRefusal(projectDir, path, policy = {}) {
113
- if (!linksOutside(projectDir, path)) {
114
- const privateByAnotherSpelling = !isPathInside(path, projectDir) && isPrivateFileUnder(projectDir, path, isStudioPrivatePath);
115
- return privateByAnotherSpelling ? "blocklisted" : null;
116
- }
117
- if (isPrivateOutsideFile(projectDir, path)) return "blocklisted";
118
- const folder = statSync(path, { throwIfNoEntry: false })?.isDirectory();
119
- if (folder || isUploadedOutsideFileType(path)) return null;
120
- if (!isCopiedOutsideFileType(path)) return "file_type";
121
- return policy.includeScripts ? null : "script";
110
+ if (linksOutside(projectDir, path)) return outsideLinkRefusal(projectDir, path, policy);
111
+ const privateByAnotherSpelling = !isPathInside(path, projectDir) && isPrivateFileUnder(projectDir, path, isStudioPrivatePath);
112
+ return privateByAnotherSpelling ? "blocklisted" : null;
122
113
  }
123
114
  var leftOutOfRender = (file, reference, reason) => leftOutWarning(file, reference, reason, "render");
124
115
  function refusesOutsideLink(projectDir, path, warn, policy = {}) {
@@ -152,7 +143,7 @@ import {
152
143
  mkdirSync as mkdirSync7,
153
144
  readdirSync as readdirSync3,
154
145
  rmSync as rmSync6,
155
- statSync as statSync7,
146
+ statSync as statSync6,
156
147
  writeFileSync as writeFileSync6,
157
148
  copyFileSync as copyFileSync5,
158
149
  appendFileSync
@@ -396,7 +387,7 @@ import {
396
387
  import {
397
388
  existsSync as existsSync2,
398
389
  realpathSync,
399
- statSync as statSync2,
390
+ statSync,
400
391
  createReadStream,
401
392
  openSync,
402
393
  fstatSync,
@@ -1034,7 +1025,7 @@ function openRegularFile(filePath) {
1034
1025
  } catch (error) {
1035
1026
  if (error instanceof Error && "code" in error && NO_FILE_AT_NAME.has(String(error.code)))
1036
1027
  return null;
1037
- if (!statSync2(filePath, { throwIfNoEntry: false })?.isFile()) return null;
1028
+ if (!statSync(filePath, { throwIfNoEntry: false })?.isFile()) return null;
1038
1029
  throw error;
1039
1030
  }
1040
1031
  let accepted = false;
@@ -2543,7 +2534,7 @@ import {
2543
2534
  stylesheetLinkMatches
2544
2535
  } from "@hyperframes/parsers/css-url-scans";
2545
2536
  import { createHash as createHash5 } from "node:crypto";
2546
- import { createReadStream as createReadStream2, existsSync as existsSync7, mkdirSync as mkdirSync4, readFileSync as readFileSync5, statSync as statSync5 } from "fs";
2537
+ import { createReadStream as createReadStream2, existsSync as existsSync7, mkdirSync as mkdirSync4, readFileSync as readFileSync5, statSync as statSync4 } from "fs";
2547
2538
  import { join as join9, dirname as dirname7, resolve as resolve6, basename as basename3, relative as relative2, sep as sep3 } from "path";
2548
2539
  import { parseHTML as parseHTML5 } from "@hyperframes/parsers/linkedom";
2549
2540
  import { compositionRootSize } from "@hyperframes/parsers";
@@ -2832,7 +2823,7 @@ import {
2832
2823
 
2833
2824
  // src/services/animatedGifPrep.ts
2834
2825
  import { createHash as createHash3, randomUUID } from "node:crypto";
2835
- import { copyFileSync as copyFileSync2, existsSync as existsSync5, mkdirSync as mkdirSync2, readFileSync as readFileSync3, rmSync as rmSync2, statSync as statSync3 } from "node:fs";
2826
+ import { copyFileSync as copyFileSync2, existsSync as existsSync5, mkdirSync as mkdirSync2, readFileSync as readFileSync3, rmSync as rmSync2, statSync as statSync2 } from "node:fs";
2836
2827
  import { dirname as dirname4, isAbsolute as isAbsolute2, join as join6, resolve as resolve4 } from "node:path";
2837
2828
  import { parseHTML as parseHTML3 } from "@hyperframes/parsers/linkedom";
2838
2829
  import { parseAnimatedGifMetadata } from "@hyperframes/core";
@@ -2895,7 +2886,7 @@ function resolveLocalImageSourcePath(src, options) {
2895
2886
  }
2896
2887
  function isUsableFile(path) {
2897
2888
  try {
2898
- const stat = statSync3(path);
2889
+ const stat = statSync2(path);
2899
2890
  return stat.isFile() && stat.size > 0;
2900
2891
  } catch {
2901
2892
  return false;
@@ -3045,7 +3036,7 @@ async function ensurePreparedWebm(input) {
3045
3036
  if (!isUsableFile(tmpPath)) {
3046
3037
  throw new Error("Animated GIF transcode produced an empty output");
3047
3038
  }
3048
- if (statSync3(tmpPath).size >= FFMPEG_SELF_OUTPUT_BYTES_CAP) {
3039
+ if (statSync2(tmpPath).size >= FFMPEG_SELF_OUTPUT_BYTES_CAP) {
3049
3040
  throw new Error("Animated GIF transcode reached its output size limit");
3050
3041
  }
3051
3042
  if (!isUsableFile(input.cachePath)) {
@@ -3181,7 +3172,7 @@ import {
3181
3172
  readFileSync as readFileSync4,
3182
3173
  readSync,
3183
3174
  rmSync as rmSync3,
3184
- statSync as statSync4,
3175
+ statSync as statSync3,
3185
3176
  writeFileSync as writeFileSync2
3186
3177
  } from "node:fs";
3187
3178
  import { dirname as dirname5, join as join7, resolve as resolve5 } from "node:path";
@@ -3437,7 +3428,7 @@ function resolveImageSource(src, options) {
3437
3428
  }
3438
3429
  function isUsableFile2(path) {
3439
3430
  try {
3440
- return statSync4(path).size > 0;
3431
+ return statSync3(path).size > 0;
3441
3432
  } catch {
3442
3433
  return false;
3443
3434
  }
@@ -3458,7 +3449,7 @@ async function ensurePreparedJpeg(source, cachePath, outputPath, options) {
3458
3449
  signal: options.signal
3459
3450
  });
3460
3451
  if (!isUsableFile2(tmpPath)) throw new Error("conversion produced an empty file");
3461
- if (statSync4(tmpPath).size >= FFMPEG_SELF_OUTPUT_BYTES_CAP2) {
3452
+ if (statSync3(tmpPath).size >= FFMPEG_SELF_OUTPUT_BYTES_CAP2) {
3462
3453
  throw new Error("conversion reached its output size limit");
3463
3454
  }
3464
3455
  renameWithRetry3(tmpPath, cachePath);
@@ -5133,7 +5124,7 @@ async function localFontDataUri(localPath, projectDir, assetRoot, dataUriByAbsol
5133
5124
  if (dataUriByAbsolutePath.has(absPath)) return dataUriByAbsolutePath.get(absPath);
5134
5125
  const ext = absPath.match(/\.(woff2?|ttf|otf|ttc)$/i)?.[1]?.toLowerCase() ?? "ttf";
5135
5126
  try {
5136
- if (!reserve(Math.ceil(statSync5(absPath).size / 3) * 4 + 64)) {
5127
+ if (!reserve(Math.ceil(statSync4(absPath).size / 3) * 4 + 64)) {
5137
5128
  dataUriByAbsolutePath.set(absPath, void 0);
5138
5129
  return void 0;
5139
5130
  }
@@ -9104,7 +9095,7 @@ import {
9104
9095
  readdirSync as readdirSync2,
9105
9096
  readFileSync as readFileSync6,
9106
9097
  rmSync as rmSync5,
9107
- statSync as statSync6,
9098
+ statSync as statSync5,
9108
9099
  writeFileSync as writeFileSync5
9109
9100
  } from "node:fs";
9110
9101
  import { readFile as readFile2 } from "node:fs/promises";
@@ -9233,7 +9224,7 @@ async function encodeGifFromDir(framesDir, framePattern, outputPath, input) {
9233
9224
  const failure = await reencodeWithClearedWholeFrames(argsInput, run, startTime);
9234
9225
  if (failure) return failure;
9235
9226
  }
9236
- const fileSize = existsSync14(outputPath) ? statSync6(outputPath).size : 0;
9227
+ const fileSize = existsSync14(outputPath) ? statSync5(outputPath).size : 0;
9237
9228
  return {
9238
9229
  success: true,
9239
9230
  outputPath,
@@ -9495,7 +9486,7 @@ function sampleDirectoryBytes(dir) {
9495
9486
  for (const name of entries) {
9496
9487
  const full = join20(current, name);
9497
9488
  try {
9498
- const st = statSync7(full);
9489
+ const st = statSync6(full);
9499
9490
  if (st.isDirectory()) {
9500
9491
  stack.push(full);
9501
9492
  } else if (st.isFile()) {
@@ -9576,7 +9567,7 @@ function findMissingFrameRanges(totalFrames, framesDir, frameExt) {
9576
9567
  let rangeStart = null;
9577
9568
  for (let frameIndex = 0; frameIndex < totalFrames; frameIndex++) {
9578
9569
  const framePath = join20(framesDir, formatCaptureFrameName(frameIndex, frameExt));
9579
- const missing = !existsSync15(framePath) || statSync7(framePath).size <= 8;
9570
+ const missing = !existsSync15(framePath) || statSync6(framePath).size <= 8;
9580
9571
  if (missing && rangeStart === null) {
9581
9572
  rangeStart = frameIndex;
9582
9573
  } else if (!missing && rangeStart !== null) {
@@ -12566,7 +12557,7 @@ import {
12566
12557
  readFileSync as readFileSync10,
12567
12558
  readdirSync as readdirSync7,
12568
12559
  rmSync as rmSync10,
12569
- statSync as statSync9,
12560
+ statSync as statSync8,
12570
12561
  writeFileSync as writeFileSync11
12571
12562
  } from "node:fs";
12572
12563
  import { tmpdir } from "node:os";
@@ -12585,7 +12576,7 @@ import {
12585
12576
  linkSync as linkSync2,
12586
12577
  mkdirSync as mkdirSync12,
12587
12578
  rmSync as rmSync9,
12588
- statSync as statSync8,
12579
+ statSync as statSync7,
12589
12580
  writeFileSync as writeFileSync10
12590
12581
  } from "node:fs";
12591
12582
  import { renameWithRetry as renameWithRetry8 } from "@hyperframes/engine";
@@ -12655,7 +12646,7 @@ var LocalPlanV2ArtifactPublisher = class {
12655
12646
  }
12656
12647
  async putBlob(blob) {
12657
12648
  const digest = assertPlanV2Sha256(blob.sha256, "published blob sha256");
12658
- const sourceSize = statSync8(blob.sourcePath).size;
12649
+ const sourceSize = statSync7(blob.sourcePath).size;
12659
12650
  if (sourceSize !== blob.sizeBytes) {
12660
12651
  throw new PlanV2IntegrityError(
12661
12652
  `published blob size changed for ${digest}: expected ${blob.sizeBytes}, got ${sourceSize}`
@@ -12969,7 +12960,7 @@ function publishBlobFor(absolutePath, digests) {
12969
12960
  return {
12970
12961
  sourcePath: absolutePath,
12971
12962
  sha256: planFileSha256(absolutePath, digests),
12972
- sizeBytes: statSync9(absolutePath).size
12963
+ sizeBytes: statSync8(absolutePath).size
12973
12964
  };
12974
12965
  }
12975
12966
  async function putBlobs(publisher, blobs) {
@@ -13340,7 +13331,7 @@ function verifyBlob(planV2Dir, artifact) {
13340
13331
  if (!existsSync22(sourcePath)) {
13341
13332
  throw new PlanV2IntegrityError(`missing content-addressed artifact ${artifact.sha256}`);
13342
13333
  }
13343
- const stats = statSync9(sourcePath);
13334
+ const stats = statSync8(sourcePath);
13344
13335
  if (!stats.isFile() || stats.size !== artifact.sizeBytes) {
13345
13336
  throw new PlanV2IntegrityError(`artifact size mismatch for ${artifact.path}`);
13346
13337
  }
@@ -13433,7 +13424,7 @@ function readValidatedPlanV2Materialization(planDir, expectedTarget) {
13433
13424
  for (const artifact of required) {
13434
13425
  if (Object.hasOwn(remoteSources, artifact.path)) continue;
13435
13426
  const path = join32(planDir, ...artifact.path.split("/"));
13436
- if (!existsSync22(path) || statSync9(path).size !== artifact.sizeBytes) {
13427
+ if (!existsSync22(path) || statSync8(path).size !== artifact.sizeBytes) {
13437
13428
  throw new PlanV2IntegrityError(
13438
13429
  `materialized artifact missing or truncated: ${artifact.path}`
13439
13430
  );
@@ -13462,7 +13453,7 @@ import {
13462
13453
  readFileSync as readFileSync11,
13463
13454
  readdirSync as readdirSync8,
13464
13455
  rmSync as rmSync11,
13465
- statSync as statSync10
13456
+ statSync as statSync9
13466
13457
  } from "node:fs";
13467
13458
  import { localContainerInputArgs as localContainerInputArgs2 } from "@hyperframes/parsers/ff-binaries";
13468
13459
  import { basename as basename6, dirname as dirname17, join as join33 } from "node:path";
@@ -13509,7 +13500,7 @@ async function assemble(planDir, chunkOutputs, audioPath, outputPath, options) {
13509
13500
  outputPath,
13510
13501
  durationMs: Date.now() - start,
13511
13502
  framesEncoded: plan.totalFrames,
13512
- fileSize: statSync10(outputPath).size
13503
+ fileSize: statSync9(outputPath).size
13513
13504
  };
13514
13505
  }
13515
13506
  const format = plan.dimensions.format;
@@ -13556,7 +13547,7 @@ async function assemble(planDir, chunkOutputs, audioPath, outputPath, options) {
13556
13547
  });
13557
13548
  }
13558
13549
  }
13559
- const fileSize = existsSync23(outputPath) ? statSync10(outputPath).size : 0;
13550
+ const fileSize = existsSync23(outputPath) ? statSync9(outputPath).size : 0;
13560
13551
  return {
13561
13552
  ...referenceBackgroundResult6(plan[REFERENCE_BACKGROUND_FIELD4]),
13562
13553
  outputPath,
@@ -13755,7 +13746,7 @@ function mergePngFrameDirs(chunkPaths, outputPath, totalFrames, audioPath, start
13755
13746
  mkdirSync14(outputPath, { recursive: true });
13756
13747
  let globalIdx = 0;
13757
13748
  for (const chunkDir of chunkPaths) {
13758
- if (!statSync10(chunkDir).isDirectory()) {
13749
+ if (!statSync9(chunkDir).isDirectory()) {
13759
13750
  throw new Error(
13760
13751
  `[assemble] png-sequence chunk must be a directory: ${chunkDir} (got a file)`
13761
13752
  );
@@ -13782,7 +13773,7 @@ function mergePngFrameDirs(chunkPaths, outputPath, totalFrames, audioPath, start
13782
13773
  let fileSize = 0;
13783
13774
  for (const name of readdirSync8(outputPath)) {
13784
13775
  try {
13785
- fileSize += statSync10(join33(outputPath, name)).size;
13776
+ fileSize += statSync9(join33(outputPath, name)).size;
13786
13777
  } catch {
13787
13778
  }
13788
13779
  }
@@ -14844,7 +14835,7 @@ function validateIntDimension(field, value) {
14844
14835
  }
14845
14836
 
14846
14837
  // src/services/distributed/projectHash.ts
14847
- import { closeSync as closeSync5, openSync as openSync5, readdirSync as readdirSync10, readSync as readSync4, realpathSync as realpathSync2, statSync as statSync11 } from "node:fs";
14838
+ import { closeSync as closeSync5, openSync as openSync5, readdirSync as readdirSync10, readSync as readSync4, realpathSync as realpathSync2, statSync as statSync10 } from "node:fs";
14848
14839
  import { createHash as createHash10 } from "node:crypto";
14849
14840
  import { join as join36, sep as sep6 } from "node:path";
14850
14841
  import { isPrivateFileUnder as isPrivateFileUnder4, isStudioPrivatePath as isStudioPrivatePath4 } from "@hyperframes/core/safe-path";
@@ -14853,7 +14844,7 @@ var READ_CHUNK_BYTES = 256 * 1024;
14853
14844
  var isPrivateSitePath = (relPath) => isStudioPrivatePath4(relPath);
14854
14845
  function statEntry(full, relPath) {
14855
14846
  try {
14856
- return statSync11(full);
14847
+ return statSync10(full);
14857
14848
  } catch (err) {
14858
14849
  throw new Error(`[listSiteFiles] cannot read ${relPath} (dangling symlink?)`, { cause: err });
14859
14850
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": "0.1.0",
3
3
  "buildId": "dev",
4
- "sha256": "47bb4136d2ce3de79ca8146d9df816608a75c9f15866109673b80a724003c8f2",
4
+ "sha256": "380fcd392d15e1bfcdcc4d990cef42657bc58071aad326a92d379fe0af52a663",
5
5
  "artifacts": {
6
6
  "iife": "hyperframe.runtime.iife.js",
7
7
  "esm": "hyperframe.runtime.mjs"