hyperframes 0.8.113 → 0.8.114

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.
Files changed (89) hide show
  1. package/dist/{add-ILIGSLV4.js → add-KCBOVKEU.js} +5 -5
  2. package/dist/{asset-OFDEIAGM.js → asset-AJ4ZZE3K.js} +2 -2
  3. package/dist/{auth-5JDDEX2M.js → auth-PSEHAWSA.js} +1 -1
  4. package/dist/{autoUpdate-JXVZVJCV.js → autoUpdate-E32YLKFZ.js} +2 -2
  5. package/dist/{backgroundChecks-BBWGY3V6.js → backgroundChecks-FNHBA7YI.js} +3 -3
  6. package/dist/backgroundChecksWorker.js +3 -3
  7. package/dist/{beats-YEYVQMX6.js → beats-F67KZC3V.js} +4 -4
  8. package/dist/{benchmark-J2V46VWI.js → benchmark-CGD6CPRK.js} +5 -5
  9. package/dist/{browser-XBWASLD2.js → browser-FPX3Z2AR.js} +3 -3
  10. package/dist/{catalog-3QDMTDK2.js → catalog-4BZX7MQQ.js} +5 -5
  11. package/dist/{check-O3RR4NWI.js → check-IO3HWLLU.js} +12 -12
  12. package/dist/{checkBrowser-K36DAG4S.js → checkBrowser-JTQ7ABCL.js} +10 -10
  13. package/dist/{chunk-VIJ35BJ6.js → chunk-3SH322X7.js} +3 -3
  14. package/dist/{chunk-FXHVADV6.js → chunk-6U3K3U62.js} +1 -1
  15. package/dist/{chunk-L5SYYW2P.js → chunk-752X6G7T.js} +1 -1
  16. package/dist/{chunk-R4NWAW35.js → chunk-7ZR25WGW.js} +2 -2
  17. package/dist/{chunk-2DBYGR4N.js → chunk-BORVRAHJ.js} +3 -3
  18. package/dist/{chunk-ZZIXIOK2.js → chunk-HGMKPPGD.js} +2 -2
  19. package/dist/{chunk-DDK22K3I.js → chunk-IPXPSCWV.js} +1 -1
  20. package/dist/{chunk-7CGIICLA.js → chunk-JH7ZJRDL.js} +1 -1
  21. package/dist/{chunk-OEA2J2TF.js → chunk-LDSWUYZB.js} +1 -1
  22. package/dist/{chunk-XZM2I47O.js → chunk-LSSIYIXI.js} +2 -2
  23. package/dist/{chunk-VTP4VSRP.js → chunk-LYNBNESS.js} +72 -5
  24. package/dist/{chunk-3XPZJUKM.js → chunk-MLLBZR2U.js} +2 -2
  25. package/dist/{chunk-EMZF2TPA.js → chunk-MR6BQLGM.js} +2 -2
  26. package/dist/{chunk-ZYSS3JED.js → chunk-MST5JBOR.js} +1 -1
  27. package/dist/{chunk-HYXL3VJA.js → chunk-RKSRXPKV.js} +2 -2
  28. package/dist/{chunk-FW7K32YT.js → chunk-SSM2TJYE.js} +1 -1
  29. package/dist/{chunk-U4VSY56O.js → chunk-SYQOD3W7.js} +1 -1
  30. package/dist/{chunk-IRJBTYJF.js → chunk-WAS5VEA4.js} +1 -1
  31. package/dist/{clean-RPB34TT6.js → clean-MCL76KQH.js} +4 -4
  32. package/dist/cli.js +44 -44
  33. package/dist/{cloud-QECFFPKC.js → cloud-444K6HIK.js} +4 -4
  34. package/dist/{compare-PF6WHQ4T.js → compare-CGNTCOR2.js} +7 -7
  35. package/dist/{component-4ENCNLED.js → component-HTXLOIHR.js} +3 -3
  36. package/dist/{compositions-5UA33RSG.js → compositions-KK46F5AC.js} +5 -5
  37. package/dist/{delete-SARS5LIK.js → delete-SSRZKKWQ.js} +2 -2
  38. package/dist/{doctor-TSAQGYP4.js → doctor-IIOX25KM.js} +3 -3
  39. package/dist/{events-3HUO73ZE.js → events-DCUZBRW6.js} +3 -3
  40. package/dist/{events-SZ5NWYWD.js → events-TYMMAKHX.js} +2 -2
  41. package/dist/{feedback-42OTOFC6.js → feedback-RIAGW6LG.js} +4 -4
  42. package/dist/{figma-RYNFCYXB.js → figma-VBOUGJNX.js} +3 -3
  43. package/dist/fontLocalizeCli.js +1 -1
  44. package/dist/{get-IRHLG5OQ.js → get-LT6NUGNR.js} +2 -2
  45. package/dist/{grade-compare-KGJP5HV7.js → grade-compare-WWYQSQUM.js} +7 -7
  46. package/dist/{help-C5HS56RZ.js → help-55ZV2M5U.js} +1 -1
  47. package/dist/{history-DFJNDM2T.js → history-QCY7CO4P.js} +6 -6
  48. package/dist/hyperframes-player.global.js +1 -1
  49. package/dist/{info-26GTDTKN.js → info-ROTXHRAH.js} +5 -5
  50. package/dist/{init-RXA6NI73.js → init-5XFOWGGN.js} +6 -6
  51. package/dist/{inspect-2S5GAZYC.js → inspect-3UF4VLTM.js} +9 -9
  52. package/dist/{keyframes-WBMAX7XZ.js → keyframes-OFZ6XNMC.js} +6 -6
  53. package/dist/{layout-ZRU7PXBG.js → layout-B4XF2734.js} +9 -9
  54. package/dist/{lint-ATVNZ6FG.js → lint-3YIJITTC.js} +6 -6
  55. package/dist/{list-E2GHYPCQ.js → list-276FF3QE.js} +2 -2
  56. package/dist/{login-LOC4KA7H.js → login-SA3MCAIS.js} +4 -4
  57. package/dist/{media-treatment-L43MVH2V.js → media-treatment-ICA5DWHS.js} +5 -5
  58. package/dist/{motionShot-BJ5CLYMN.js → motionShot-TQBDZZ4M.js} +1 -1
  59. package/dist/{normalize-audio-K33FKGAF.js → normalize-audio-URNASKUV.js} +4 -4
  60. package/dist/{play-PHHXYCQI.js → play-JYBAII35.js} +7 -7
  61. package/dist/{present-KBFK2YVB.js → present-WIEZRZET.js} +7 -7
  62. package/dist/{preview-T3E5TFDC.js → preview-YUPU646E.js} +19 -13
  63. package/dist/{render-H6RSJF2V.js → render-AX77WC3C.js} +5 -5
  64. package/dist/{render-OKNPNMFS.js → render-F3QVCKKA.js} +5 -5
  65. package/dist/{skills-O25ZTFTO.js → skills-M6ETUUH5.js} +5 -5
  66. package/dist/{skillsUpdateCheck-Y2V4OMMT.js → skillsUpdateCheck-UTX5LT5C.js} +3 -3
  67. package/dist/{snapshot-KGM2HZIC.js → snapshot-HMDAENTY.js} +123 -34
  68. package/dist/{staticProjectServer-OCE7GU5S.js → staticProjectServer-XDH5SQV6.js} +3 -3
  69. package/dist/studio/assets/{hyperframes-player-DzJbtQVO.js → hyperframes-player-aXNJKiIg.js} +1 -1
  70. package/dist/studio/assets/index-BYnsJnJV.css +1 -0
  71. package/dist/studio/assets/{index-n5FUn1xv.js → index-Bn2RJNTJ.js} +1 -1
  72. package/dist/studio/assets/{index-DgwDQK5G.js → index-C9N-DGjC.js} +1 -1
  73. package/dist/studio/assets/{index-DRhF3v4Z.js → index-Dz7doz9l.js} +199 -199
  74. package/dist/studio/index.d.ts +3 -3
  75. package/dist/studio/index.html +2 -2
  76. package/dist/studio/index.js +1605 -1536
  77. package/dist/studio/index.js.map +1 -1
  78. package/dist/studio/styles.css +1 -1
  79. package/dist/{studio-api-IEQ5BIHT.js → studio-api-E5WFZ7YK.js} +1 -1
  80. package/dist/{studioServer-LXJ34MGN.js → studioServer-C7GTHTRY.js} +5 -5
  81. package/dist/{telemetry-R3BPD6VK.js → telemetry-XH6D37RL.js} +3 -3
  82. package/dist/{timeline-N5UKVS2S.js → timeline-4RR7O6QW.js} +6 -6
  83. package/dist/{tokens-774UBF2R.js → tokens-MVTK3RPO.js} +2 -2
  84. package/dist/{transcribe-IP74EZLM.js → transcribe-I6WDPH7E.js} +3 -3
  85. package/dist/{updateCheck-EXHNAPKI.js → updateCheck-ELMPFCBF.js} +2 -2
  86. package/dist/{upgrade-A4M3O2F2.js → upgrade-6UAOGP4D.js} +2 -2
  87. package/dist/{validate-DV75GM6J.js → validate-ZMMGUMBD.js} +6 -6
  88. package/package.json +1 -1
  89. package/dist/studio/assets/index-DbfKVTId.css +0 -1
@@ -17,8 +17,8 @@ import {
17
17
  remapTarget,
18
18
  runAdd,
19
19
  tagAddJson
20
- } from "./chunk-R4NWAW35.js";
21
- import "./chunk-ZYSS3JED.js";
20
+ } from "./chunk-7ZR25WGW.js";
21
+ import "./chunk-MST5JBOR.js";
22
22
  import "./chunk-BOUDTDBQ.js";
23
23
  import "./chunk-XT7X6QCP.js";
24
24
  import "./chunk-4YYJOFKS.js";
@@ -28,8 +28,8 @@ import "./chunk-DR7QW6C5.js";
28
28
  import "./chunk-IP3XINRB.js";
29
29
  import "./chunk-AWDFDFI3.js";
30
30
  import "./chunk-GMECXFAN.js";
31
- import "./chunk-7CGIICLA.js";
32
- import "./chunk-DDK22K3I.js";
31
+ import "./chunk-JH7ZJRDL.js";
32
+ import "./chunk-IPXPSCWV.js";
33
33
  import "./chunk-VWG7OQKU.js";
34
34
  import "./chunk-ZTZA4UWZ.js";
35
35
  import "./chunk-L5QASNBN.js";
@@ -56,7 +56,7 @@ import "./chunk-K4WIOZFP.js";
56
56
  import "./chunk-XUXGIA7H.js";
57
57
  import "./chunk-WERLJGIC.js";
58
58
  import "./chunk-ISN5GRYI.js";
59
- import "./chunk-3XPZJUKM.js";
59
+ import "./chunk-MLLBZR2U.js";
60
60
  import "./chunk-KNU5COPB.js";
61
61
  import "./chunk-3GXQPCJC.js";
62
62
  import "./chunk-RQVDTPGD.js";
@@ -9,8 +9,8 @@ import {
9
9
  gatherAssetRefs,
10
10
  runAssetImport,
11
11
  runAssetImportMany
12
- } from "./chunk-EMZF2TPA.js";
13
- import "./chunk-FW7K32YT.js";
12
+ } from "./chunk-MR6BQLGM.js";
13
+ import "./chunk-SSM2TJYE.js";
14
14
  import "./chunk-IHFUKJOR.js";
15
15
  import "./chunk-ZTZA4UWZ.js";
16
16
  import "./chunk-S3S4TGEH.js";
@@ -45,7 +45,7 @@ ${c.bold("ENV VARS:")}
45
45
  var auth_default = defineCommand({
46
46
  meta: { name: "auth", description: "Sign in to HeyGen and manage credentials" },
47
47
  subCommands: {
48
- login: () => import("./login-LOC4KA7H.js").then((m) => m.default),
48
+ login: () => import("./login-SA3MCAIS.js").then((m) => m.default),
49
49
  status: () => import("./status-LENRPQS5.js").then((m) => m.default),
50
50
  logout: () => import("./logout-HJQT42RL.js").then((m) => m.default),
51
51
  refresh: () => import("./refresh-IK6LUV5Z.js").then((m) => m.default)
@@ -12,7 +12,7 @@ import {
12
12
  detectInstaller,
13
13
  installInvocation,
14
14
  updateCheckDisabled
15
- } from "./chunk-U4VSY56O.js";
15
+ } from "./chunk-SYQOD3W7.js";
16
16
  import "./chunk-K4WIOZFP.js";
17
17
  import {
18
18
  readConfig,
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-XUXGIA7H.js";
22
22
  import "./chunk-WERLJGIC.js";
23
23
  import "./chunk-ISN5GRYI.js";
24
- import "./chunk-3XPZJUKM.js";
24
+ import "./chunk-MLLBZR2U.js";
25
25
  import "./chunk-KNU5COPB.js";
26
26
  import "./chunk-M2WBOQ2Q.js";
27
27
 
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  skillsCheckDue
9
- } from "./chunk-FXHVADV6.js";
9
+ } from "./chunk-6U3K3U62.js";
10
10
  import {
11
11
  updateCheckDue
12
- } from "./chunk-U4VSY56O.js";
12
+ } from "./chunk-SYQOD3W7.js";
13
13
  import "./chunk-K4WIOZFP.js";
14
14
  import {
15
15
  readConfig,
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-XUXGIA7H.js";
19
19
  import "./chunk-WERLJGIC.js";
20
20
  import "./chunk-ISN5GRYI.js";
21
- import "./chunk-3XPZJUKM.js";
21
+ import "./chunk-MLLBZR2U.js";
22
22
  import "./chunk-KNU5COPB.js";
23
23
  import "./chunk-M2WBOQ2Q.js";
24
24
 
@@ -6,15 +6,15 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  refreshSkillsCache
9
- } from "./chunk-FXHVADV6.js";
9
+ } from "./chunk-6U3K3U62.js";
10
10
  import {
11
11
  checkForUpdate
12
- } from "./chunk-U4VSY56O.js";
12
+ } from "./chunk-SYQOD3W7.js";
13
13
  import "./chunk-K4WIOZFP.js";
14
14
  import "./chunk-XUXGIA7H.js";
15
15
  import "./chunk-WERLJGIC.js";
16
16
  import "./chunk-ISN5GRYI.js";
17
- import "./chunk-3XPZJUKM.js";
17
+ import "./chunk-MLLBZR2U.js";
18
18
  import "./chunk-KNU5COPB.js";
19
19
  import "./chunk-M2WBOQ2Q.js";
20
20
 
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-IRJBTYJF.js";
9
+ } from "./chunk-WAS5VEA4.js";
10
10
  import "./chunk-IHFUKJOR.js";
11
- import "./chunk-7CGIICLA.js";
12
- import "./chunk-DDK22K3I.js";
11
+ import "./chunk-JH7ZJRDL.js";
12
+ import "./chunk-IPXPSCWV.js";
13
13
  import "./chunk-VWG7OQKU.js";
14
14
  import {
15
15
  c
@@ -42,7 +42,7 @@ import "./chunk-K4WIOZFP.js";
42
42
  import "./chunk-XUXGIA7H.js";
43
43
  import "./chunk-WERLJGIC.js";
44
44
  import "./chunk-ISN5GRYI.js";
45
- import "./chunk-3XPZJUKM.js";
45
+ import "./chunk-MLLBZR2U.js";
46
46
  import "./chunk-KNU5COPB.js";
47
47
  import "./chunk-3GXQPCJC.js";
48
48
  import "./chunk-RQVDTPGD.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-VLC7JS4K.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-IRJBTYJF.js";
12
+ } from "./chunk-WAS5VEA4.js";
13
13
  import {
14
14
  errorBox,
15
15
  formatBytes,
@@ -18,8 +18,8 @@ import {
18
18
  import {
19
19
  ft
20
20
  } from "./chunk-WMQNIQDJ.js";
21
- import "./chunk-7CGIICLA.js";
22
- import "./chunk-DDK22K3I.js";
21
+ import "./chunk-JH7ZJRDL.js";
22
+ import "./chunk-IPXPSCWV.js";
23
23
  import "./chunk-VWG7OQKU.js";
24
24
  import {
25
25
  c
@@ -52,12 +52,12 @@ import "./chunk-GK4AIFIH.js";
52
52
  import "./chunk-2PSPARWP.js";
53
53
  import {
54
54
  withMeta
55
- } from "./chunk-U4VSY56O.js";
55
+ } from "./chunk-SYQOD3W7.js";
56
56
  import "./chunk-K4WIOZFP.js";
57
57
  import "./chunk-XUXGIA7H.js";
58
58
  import "./chunk-WERLJGIC.js";
59
59
  import "./chunk-ISN5GRYI.js";
60
- import "./chunk-3XPZJUKM.js";
60
+ import "./chunk-MLLBZR2U.js";
61
61
  import "./chunk-KNU5COPB.js";
62
62
  import "./chunk-3GXQPCJC.js";
63
63
  import "./chunk-RQVDTPGD.js";
@@ -15,8 +15,8 @@ import {
15
15
  } from "./chunk-WMQNIQDJ.js";
16
16
  import {
17
17
  trackBrowserInstall
18
- } from "./chunk-7CGIICLA.js";
19
- import "./chunk-DDK22K3I.js";
18
+ } from "./chunk-JH7ZJRDL.js";
19
+ import "./chunk-IPXPSCWV.js";
20
20
  import "./chunk-VWG7OQKU.js";
21
21
  import {
22
22
  c
@@ -58,7 +58,7 @@ import "./chunk-K4WIOZFP.js";
58
58
  import "./chunk-XUXGIA7H.js";
59
59
  import "./chunk-WERLJGIC.js";
60
60
  import "./chunk-ISN5GRYI.js";
61
- import "./chunk-3XPZJUKM.js";
61
+ import "./chunk-MLLBZR2U.js";
62
62
  import "./chunk-KNU5COPB.js";
63
63
  import "./chunk-3GXQPCJC.js";
64
64
  import "./chunk-RQVDTPGD.js";
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  runAdd
9
- } from "./chunk-R4NWAW35.js";
10
- import "./chunk-ZYSS3JED.js";
9
+ } from "./chunk-7ZR25WGW.js";
10
+ import "./chunk-MST5JBOR.js";
11
11
  import {
12
12
  DEFAULT_PROJECT_CONFIG,
13
13
  loadProjectConfig
@@ -33,8 +33,8 @@ import "./chunk-GMECXFAN.js";
33
33
  import {
34
34
  downloadFile
35
35
  } from "./chunk-X5HWXQPU.js";
36
- import "./chunk-7CGIICLA.js";
37
- import "./chunk-DDK22K3I.js";
36
+ import "./chunk-JH7ZJRDL.js";
37
+ import "./chunk-IPXPSCWV.js";
38
38
  import "./chunk-VWG7OQKU.js";
39
39
  import {
40
40
  c
@@ -74,7 +74,7 @@ import {
74
74
  isAttendedTerminal
75
75
  } from "./chunk-WERLJGIC.js";
76
76
  import "./chunk-ISN5GRYI.js";
77
- import "./chunk-3XPZJUKM.js";
77
+ import "./chunk-MLLBZR2U.js";
78
78
  import "./chunk-KNU5COPB.js";
79
79
  import {
80
80
  installedOptionalPackageVersion,
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-VLC7JS4K.js";
13
13
  import {
14
14
  trackLintRun
15
- } from "./chunk-XZM2I47O.js";
15
+ } from "./chunk-LSSIYIXI.js";
16
16
  import {
17
17
  assertionTargets,
18
18
  buildLayoutSampleTimes,
@@ -27,24 +27,24 @@ import {
27
27
  mergeSampleTimes,
28
28
  parseAt,
29
29
  readMotionSpec
30
- } from "./chunk-2DBYGR4N.js";
31
- import "./chunk-OEA2J2TF.js";
30
+ } from "./chunk-BORVRAHJ.js";
31
+ import "./chunk-LDSWUYZB.js";
32
32
  import "./chunk-XUHOIDKG.js";
33
- import "./chunk-L5SYYW2P.js";
33
+ import "./chunk-752X6G7T.js";
34
34
  import "./chunk-X7MTZ4T2.js";
35
35
  import "./chunk-4KGMIOMY.js";
36
36
  import "./chunk-5Z63TBTX.js";
37
37
  import "./chunk-262C25DQ.js";
38
38
  import "./chunk-3IUSKIZW.js";
39
39
  import "./chunk-YEIFI443.js";
40
- import "./chunk-VTP4VSRP.js";
40
+ import "./chunk-LYNBNESS.js";
41
41
  import "./chunk-XFJXFNJF.js";
42
42
  import "./chunk-WEATBQTR.js";
43
43
  import "./chunk-GDJ74GHW.js";
44
44
  import "./chunk-LMC46FK5.js";
45
45
  import {
46
46
  resolveProject
47
- } from "./chunk-IRJBTYJF.js";
47
+ } from "./chunk-WAS5VEA4.js";
48
48
  import "./chunk-IHFUKJOR.js";
49
49
  import {
50
50
  resolveLocalBrowserGpuMode
@@ -63,8 +63,8 @@ import "./chunk-RDMAU7AJ.js";
63
63
  import {
64
64
  trackCheckReport,
65
65
  trackCommandFailure
66
- } from "./chunk-7CGIICLA.js";
67
- import "./chunk-DDK22K3I.js";
66
+ } from "./chunk-JH7ZJRDL.js";
67
+ import "./chunk-IPXPSCWV.js";
68
68
  import "./chunk-VWG7OQKU.js";
69
69
  import {
70
70
  c
@@ -108,12 +108,12 @@ import "./chunk-GK4AIFIH.js";
108
108
  import "./chunk-2PSPARWP.js";
109
109
  import {
110
110
  withMeta
111
- } from "./chunk-U4VSY56O.js";
111
+ } from "./chunk-SYQOD3W7.js";
112
112
  import "./chunk-K4WIOZFP.js";
113
113
  import "./chunk-XUXGIA7H.js";
114
114
  import "./chunk-WERLJGIC.js";
115
115
  import "./chunk-ISN5GRYI.js";
116
- import "./chunk-3XPZJUKM.js";
116
+ import "./chunk-MLLBZR2U.js";
117
117
  import {
118
118
  normalizeErrorMessage
119
119
  } from "./chunk-KNU5COPB.js";
@@ -1246,7 +1246,7 @@ function resolveMotionSpec(projectDir) {
1246
1246
  };
1247
1247
  }
1248
1248
  async function runBrowserCheck(project, options, motion) {
1249
- const module = await import("./checkBrowser-K36DAG4S.js");
1249
+ const module = await import("./checkBrowser-JTQ7ABCL.js");
1250
1250
  return module.runBrowserCheck(project, options, motion, runAuditGrid);
1251
1251
  }
1252
1252
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -1258,7 +1258,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
1258
1258
  return join("snapshots", filename);
1259
1259
  }
1260
1260
  async function captureFindingCrops(project, options, requests) {
1261
- const module = await import("./checkBrowser-K36DAG4S.js");
1261
+ const module = await import("./checkBrowser-JTQ7ABCL.js");
1262
1262
  return module.captureFindingCrops(project, options, requests);
1263
1263
  }
1264
1264
  var DEFAULT_DEPENDENCIES2 = {
@@ -10,17 +10,17 @@ import {
10
10
  import {
11
11
  ambiguousIssue,
12
12
  loadBrowserScript
13
- } from "./chunk-2DBYGR4N.js";
13
+ } from "./chunk-BORVRAHJ.js";
14
14
  import {
15
15
  serveStaticProjectHtml
16
- } from "./chunk-OEA2J2TF.js";
16
+ } from "./chunk-LDSWUYZB.js";
17
17
  import {
18
18
  auditClipDurations,
19
19
  shouldIgnoreHttpError,
20
20
  shouldIgnoreRequestFailure
21
- } from "./chunk-VIJ35BJ6.js";
21
+ } from "./chunk-3SH322X7.js";
22
22
  import "./chunk-XUHOIDKG.js";
23
- import "./chunk-L5SYYW2P.js";
23
+ import "./chunk-752X6G7T.js";
24
24
  import "./chunk-X7MTZ4T2.js";
25
25
  import {
26
26
  AUDIT_SEEK_OPTIONS,
@@ -38,7 +38,7 @@ import "./chunk-5Z63TBTX.js";
38
38
  import "./chunk-262C25DQ.js";
39
39
  import "./chunk-3IUSKIZW.js";
40
40
  import "./chunk-YEIFI443.js";
41
- import "./chunk-VTP4VSRP.js";
41
+ import "./chunk-LYNBNESS.js";
42
42
  import "./chunk-XFJXFNJF.js";
43
43
  import "./chunk-WEATBQTR.js";
44
44
  import "./chunk-GDJ74GHW.js";
@@ -48,7 +48,7 @@ import {
48
48
  resolveProxy,
49
49
  scanProjectMediaCodecMap
50
50
  } from "./chunk-LMC46FK5.js";
51
- import "./chunk-IRJBTYJF.js";
51
+ import "./chunk-WAS5VEA4.js";
52
52
  import "./chunk-IHFUKJOR.js";
53
53
  import "./chunk-T3NMEYGM.js";
54
54
  import "./chunk-PFCFR3KZ.js";
@@ -64,8 +64,8 @@ import "./chunk-IP3XINRB.js";
64
64
  import "./chunk-AWDFDFI3.js";
65
65
  import "./chunk-GMECXFAN.js";
66
66
  import "./chunk-RDMAU7AJ.js";
67
- import "./chunk-7CGIICLA.js";
68
- import "./chunk-DDK22K3I.js";
67
+ import "./chunk-JH7ZJRDL.js";
68
+ import "./chunk-IPXPSCWV.js";
69
69
  import "./chunk-VWG7OQKU.js";
70
70
  import "./chunk-ZTZA4UWZ.js";
71
71
  import "./chunk-L5QASNBN.js";
@@ -90,12 +90,12 @@ import "./chunk-PJ3HDUCY.js";
90
90
  import "./chunk-TQFG7HTI.js";
91
91
  import "./chunk-GK4AIFIH.js";
92
92
  import "./chunk-2PSPARWP.js";
93
- import "./chunk-U4VSY56O.js";
93
+ import "./chunk-SYQOD3W7.js";
94
94
  import "./chunk-K4WIOZFP.js";
95
95
  import "./chunk-XUXGIA7H.js";
96
96
  import "./chunk-WERLJGIC.js";
97
97
  import "./chunk-ISN5GRYI.js";
98
- import "./chunk-3XPZJUKM.js";
98
+ import "./chunk-MLLBZR2U.js";
99
99
  import {
100
100
  normalizeErrorMessage
101
101
  } from "./chunk-KNU5COPB.js";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-5Z63TBTX.js";
15
15
  import {
16
16
  resolveProject
17
- } from "./chunk-IRJBTYJF.js";
17
+ } from "./chunk-WAS5VEA4.js";
18
18
  import {
19
19
  c
20
20
  } from "./chunk-ZTZA4UWZ.js";
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  printDeprecationNotice,
30
30
  withMeta
31
- } from "./chunk-U4VSY56O.js";
31
+ } from "./chunk-SYQOD3W7.js";
32
32
  import {
33
33
  normalizeErrorMessage
34
34
  } from "./chunk-KNU5COPB.js";
@@ -240,7 +240,7 @@ async function validateInBrowser(project, opts) {
240
240
  const projectDir = project.dir;
241
241
  const { bundleToSingleHtml } = await import("./compiler-ZHVIEP26.js");
242
242
  const { ensureBrowser } = await import("./manager-CT3D67CG.js");
243
- const { serveStaticProjectHtml } = await import("./staticProjectServer-OCE7GU5S.js");
243
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-XDH5SQV6.js");
244
244
  const { lintProject } = await import("./lintProject-TOLC6HDS.js");
245
245
  const lintResult = await lintProject(projectDir);
246
246
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  updateNoticesSuppressed
9
- } from "./chunk-U4VSY56O.js";
9
+ } from "./chunk-SYQOD3W7.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-VTP4VSRP.js";
9
+ } from "./chunk-LYNBNESS.js";
10
10
  import {
11
11
  injectTagsAtHeadStart
12
12
  } from "./chunk-C6AIZOQN.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-ZYSS3JED.js";
10
+ } from "./chunk-MST5JBOR.js";
11
11
  import {
12
12
  DEFAULT_PROJECT_CONFIG,
13
13
  createProjectConfig,
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-IP3XINRB.js";
30
30
  import {
31
31
  trackRegistryItemAdded
32
- } from "./chunk-7CGIICLA.js";
32
+ } from "./chunk-JH7ZJRDL.js";
33
33
  import {
34
34
  c
35
35
  } from "./chunk-ZTZA4UWZ.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  serveStaticProjectHtml
9
- } from "./chunk-OEA2J2TF.js";
9
+ } from "./chunk-LDSWUYZB.js";
10
10
  import {
11
11
  AUDIT_SEEK_OPTIONS,
12
12
  installPageFunctionGuard,
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-3IUSKIZW.js";
19
19
  import {
20
20
  resolveProject
21
- } from "./chunk-IRJBTYJF.js";
21
+ } from "./chunk-WAS5VEA4.js";
22
22
  import {
23
23
  c
24
24
  } from "./chunk-ZTZA4UWZ.js";
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  printDeprecationNotice,
34
34
  withMeta
35
- } from "./chunk-U4VSY56O.js";
35
+ } from "./chunk-SYQOD3W7.js";
36
36
  import {
37
37
  normalizeErrorMessage
38
38
  } from "./chunk-KNU5COPB.js";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-7CGIICLA.js";
10
+ } from "./chunk-JH7ZJRDL.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-DDK22K3I.js";
13
+ } from "./chunk-IPXPSCWV.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-ZTZA4UWZ.js";
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-XUXGIA7H.js";
38
38
  import {
39
39
  VERSION
40
- } from "./chunk-3XPZJUKM.js";
40
+ } from "./chunk-MLLBZR2U.js";
41
41
 
42
42
  // src/telemetry/transport.ts
43
43
  import { spawn } from "child_process";
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-DDK22K3I.js";
11
+ } from "./chunk-IPXPSCWV.js";
12
12
  import {
13
13
  getPowerState
14
14
  } from "./chunk-L5QASNBN.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType,
9
9
  injectMediaCodecMapIntoHtml
10
- } from "./chunk-VTP4VSRP.js";
10
+ } from "./chunk-LYNBNESS.js";
11
11
  import {
12
12
  PROXY_VARIANT_CONFIG,
13
13
  ProxyCapacityError,
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-7CGIICLA.js";
10
+ } from "./chunk-JH7ZJRDL.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-DDK22K3I.js";
13
+ } from "./chunk-IPXPSCWV.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
@@ -2101,7 +2101,8 @@ import {
2101
2101
  statSync as statSync32,
2102
2102
  fstatSync as fstatSync2,
2103
2103
  renameSync as renameSync22,
2104
- readdirSync as readdirSync22
2104
+ readdirSync as readdirSync22,
2105
+ realpathSync as realpathSync2
2105
2106
  } from "fs";
2106
2107
  import { resolve as resolve22, dirname as dirname32, join as join52 } from "path";
2107
2108
  import { spawn } from "child_process";
@@ -6103,18 +6104,83 @@ function readableText(file) {
6103
6104
  throw error;
6104
6105
  }
6105
6106
  }
6106
- function updateReferences(projectDir, oldPath, newPath) {
6107
+ var escapeRegExp = (text2) => text2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
6108
+ var SEPARATOR = String.raw`\\{0,2}[\\/]`;
6109
+ var REFERENCE_START = String.raw`(?<![\w./\\+-])`;
6110
+ var FILE_END = String.raw`(?![\w-]|\.\w)`;
6111
+ function referencePattern(oldPath, isDirectory) {
6112
+ const name = oldPath.split("/").map(escapeRegExp).join(SEPARATOR);
6113
+ const end = isDirectory ? `(?=${SEPARATOR})` : FILE_END;
6114
+ return new RegExp(
6115
+ String.raw`${REFERENCE_START}(?<lead>(?:\.{1,2}${SEPARATOR}|${SEPARATOR}){0,4})${name}${end}`,
6116
+ "g"
6117
+ );
6118
+ }
6119
+ function referenceRewriter(oldPath, newPath, isDirectory, existing = []) {
6120
+ const pattern = referencePattern(oldPath, isDirectory);
6121
+ const around = /* @__PURE__ */ new Map();
6122
+ const afterLengths = /* @__PURE__ */ new Set();
6123
+ let window2 = 0;
6124
+ for (const path of existing) {
6125
+ if (path.length <= oldPath.length) continue;
6126
+ for (const start of occurrences(path, oldPath)) {
6127
+ const [before, after] = [path.slice(0, start), path.slice(start + oldPath.length)];
6128
+ const befores = around.get(after) ?? around.set(after, /* @__PURE__ */ new Map()).get(after);
6129
+ (befores.get(before.length) ?? befores.set(before.length, /* @__PURE__ */ new Set()).get(before.length)).add(
6130
+ before
6131
+ );
6132
+ afterLengths.add(after.length);
6133
+ window2 = Math.max(window2, path.length * 3);
6134
+ }
6135
+ }
6136
+ const normalized = (text2) => text2.replace(/\\{0,2}[\\/]/g, "/");
6137
+ return (text2) => text2.replace(pattern, (...args) => {
6138
+ const [match, offset] = [args[0], args.at(-3)];
6139
+ const { lead } = args.at(-1);
6140
+ const at = offset + lead.length;
6141
+ const head = normalized(text2.slice(Math.max(0, at - window2), at));
6142
+ const tail = normalized(text2.slice(offset + match.length, offset + match.length + window2));
6143
+ const inLonger = [...afterLengths].some((after) => {
6144
+ const befores = tail.length >= after && around.get(tail.slice(0, after));
6145
+ return befores && [...befores].some(
6146
+ ([length, set]) => head.length >= length && set.has(head.slice(head.length - length))
6147
+ );
6148
+ });
6149
+ return inLonger ? match : `${lead}${newPath}`;
6150
+ });
6151
+ }
6152
+ function occurrences(text2, part) {
6153
+ const at = [];
6154
+ for (let i = text2.indexOf(part); i >= 0; i = text2.indexOf(part, i + 1)) at.push(i);
6155
+ return at;
6156
+ }
6157
+ function projectPaths(root, dir = root, prefix = "", ancestors = /* @__PURE__ */ new Set()) {
6158
+ return readableEntries(dir).flatMap((entry) => {
6159
+ const [path, full2] = [`${prefix}${entry.name}`, join52(dir, entry.name)];
6160
+ const real = entry.name === "node_modules" ? null : directoryReal(entry, full2);
6161
+ if (real === null || ancestors.has(real) || !isSafePath(root, full2)) return [path];
6162
+ return [path, ...projectPaths(root, full2, `${path}/`, /* @__PURE__ */ new Set([...ancestors, real]))];
6163
+ });
6164
+ }
6165
+ function directoryReal(entry, full2) {
6166
+ try {
6167
+ return entry.isDirectory() || entry.isSymbolicLink() && statSync32(full2).isDirectory() ? realpathSync2(full2) : null;
6168
+ } catch {
6169
+ return null;
6170
+ }
6171
+ }
6172
+ function updateReferences(projectDir, oldPath, newPath, isDirectory) {
6107
6173
  const textFiles = walkFiles(
6108
6174
  projectDir,
6109
6175
  (name) => /\.(html|css|js|jsx|ts|tsx|json|mjs|cjs|md|mdx)$/i.test(name)
6110
6176
  );
6177
+ const rewrite = referenceRewriter(oldPath, newPath, isDirectory, projectPaths(projectDir));
6111
6178
  let updatedCount = 0;
6112
6179
  for (const file of textFiles) {
6113
6180
  if (!isSafePath(projectDir, file)) continue;
6114
6181
  const content = readableText(file);
6115
6182
  if (content === null) continue;
6116
- if (!content.includes(oldPath)) continue;
6117
- const updated = content.split(oldPath).join(newPath);
6183
+ const updated = rewrite(content);
6118
6184
  if (updated !== content) {
6119
6185
  replaceFileAtomically(file, updated, statSync32(file).mode);
6120
6186
  updatedCount++;
@@ -7951,9 +8017,10 @@ function registerFileRoutes(api, adapter) {
7951
8017
  if (existsSync3(newAbs)) {
7952
8018
  return c.json({ error: "already exists" }, 409);
7953
8019
  }
8020
+ const isDirectory = statSync32(res.absPath, { throwIfNoEntry: false })?.isDirectory() ?? false;
7954
8021
  ensureDir(res.project.dir, newAbs);
7955
8022
  renameSync22(res.absPath, newAbs);
7956
- const updatedFiles = updateReferences(res.project.dir, res.filePath, body.newPath);
8023
+ const updatedFiles = updateReferences(res.project.dir, res.filePath, body.newPath, isDirectory);
7957
8024
  return c.json({ ok: true, path: body.newPath, updatedReferences: updatedFiles });
7958
8025
  });
7959
8026
  api.post("/projects/:id/duplicate-file", async (c) => {
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/version.ts
9
- var VERSION = true ? "0.8.113" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.113" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.114" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.114" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-FW7K32YT.js";
23
+ } from "./chunk-SSM2TJYE.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-S3S4TGEH.js";
@@ -221,7 +221,7 @@ var asset_default = defineCommand({
221
221
  rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
222
222
  );
223
223
  }
224
- const { trackFigmaImport } = await import("./telemetry-R3BPD6VK.js");
224
+ const { trackFigmaImport } = await import("./telemetry-XH6D37RL.js");
225
225
  trackFigmaImport({
226
226
  phase: "asset",
227
227
  reused: results.every((r) => r.reused),