remotion 2.6.10 → 2.6.13

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 (77) hide show
  1. package/.turbo/turbo-build.log +5 -5
  2. package/.turbo/turbo-lint.log +5 -0
  3. package/coverage/coverage-summary.json +13 -19
  4. package/dist/IFrame.d.ts.map +1 -1
  5. package/dist/IFrame.js +1 -1
  6. package/dist/IFrame.js.map +1 -1
  7. package/dist/Img.d.ts.map +1 -1
  8. package/dist/Img.js +1 -1
  9. package/dist/Img.js.map +1 -1
  10. package/dist/RemotionRoot.js +1 -1
  11. package/dist/RemotionRoot.js.map +1 -1
  12. package/dist/audio/shared-audio-tags.js +1 -1
  13. package/dist/audio/shared-audio-tags.js.map +1 -1
  14. package/dist/component-type.d.ts +1 -0
  15. package/dist/component-type.d.ts.map +1 -0
  16. package/dist/component-type.js +2 -0
  17. package/dist/component-type.js.map +1 -0
  18. package/dist/interpolate.d.ts +11 -0
  19. package/dist/interpolate.d.ts.map +1 -1
  20. package/dist/interpolate.js +11 -0
  21. package/dist/interpolate.js.map +1 -1
  22. package/dist/ready-manager.d.ts +12 -1
  23. package/dist/ready-manager.d.ts.map +1 -1
  24. package/dist/ready-manager.js +32 -2
  25. package/dist/ready-manager.js.map +1 -1
  26. package/dist/serie/flatten-children.d.ts +3 -0
  27. package/dist/serie/flatten-children.d.ts.map +1 -0
  28. package/dist/serie/flatten-children.js +19 -0
  29. package/dist/serie/flatten-children.js.map +1 -0
  30. package/dist/serie/index.d.ts +12 -0
  31. package/dist/serie/index.d.ts.map +1 -0
  32. package/dist/serie/index.js +55 -0
  33. package/dist/serie/index.js.map +1 -0
  34. package/dist/setup-environment.d.ts +6 -0
  35. package/dist/setup-environment.d.ts.map +1 -0
  36. package/dist/setup-environment.js +47 -0
  37. package/dist/setup-environment.js.map +1 -0
  38. package/dist/spring/index.d.ts +13 -0
  39. package/dist/spring/index.d.ts.map +1 -1
  40. package/dist/spring/index.js +13 -0
  41. package/dist/spring/index.js.map +1 -1
  42. package/dist/stagger/index.d.ts +10 -0
  43. package/dist/stagger/index.d.ts.map +1 -0
  44. package/dist/stagger/index.js +54 -0
  45. package/dist/stagger/index.js.map +1 -0
  46. package/dist/use-current-src.d.ts +3 -0
  47. package/dist/use-current-src.d.ts.map +1 -0
  48. package/dist/use-current-src.js +23 -0
  49. package/dist/use-current-src.js.map +1 -0
  50. package/dist/use-current-time.d.ts +2 -0
  51. package/dist/use-current-time.d.ts.map +1 -0
  52. package/dist/use-current-time.js +12 -0
  53. package/dist/use-current-time.js.map +1 -0
  54. package/dist/use-frame.d.ts +5 -0
  55. package/dist/use-frame.d.ts.map +1 -1
  56. package/dist/use-frame.js +5 -0
  57. package/dist/use-frame.js.map +1 -1
  58. package/dist/use-time.d.ts +2 -0
  59. package/dist/use-time.d.ts.map +1 -0
  60. package/dist/use-time.js +15 -0
  61. package/dist/use-time.js.map +1 -0
  62. package/dist/use-video-config.d.ts +5 -0
  63. package/dist/use-video-config.d.ts.map +1 -1
  64. package/dist/use-video-config.js +5 -0
  65. package/dist/use-video-config.js.map +1 -1
  66. package/dist/video/VideoForRendering.js +1 -1
  67. package/dist/video/VideoForRendering.js.map +1 -1
  68. package/package.json +13 -2
  69. package/.turbo/turbo-test.log +0 -63
  70. package/dist/audio/audio-buffer-to-wav.d.ts +0 -15
  71. package/dist/audio/audio-buffer-to-wav.d.ts.map +0 -1
  72. package/dist/audio/audio-buffer-to-wav.js +0 -91
  73. package/dist/audio/audio-buffer-to-wav.js.map +0 -1
  74. package/dist/audio/audio-url-helpers.d.ts +0 -2
  75. package/dist/audio/audio-url-helpers.d.ts.map +0 -1
  76. package/dist/audio/audio-url-helpers.js +0 -17
  77. package/dist/audio/audio-url-helpers.js.map +0 -1
@@ -1,5 +1,5 @@
1
- remotion:build: cache hit, replaying output 1e99576a4b9544cc
2
- remotion:build: 
3
- remotion:build: > remotion@2.6.9 build /Users/jonathanburger/remotion/packages/core
4
- remotion:build: > tsc -d
5
- remotion:build: 
1
+ remotion:build: cache hit, replaying output d9b7609a575f8964
2
+ remotion:build: 
3
+ remotion:build: > remotion@2.6.12 build /Users/jonathanburger/remotion/packages/core
4
+ remotion:build: > tsc -d
5
+ remotion:build: 
@@ -0,0 +1,5 @@
1
+ remotion:lint: cache hit, replaying output df701bb0a272e8e8
2
+ remotion:lint: 
3
+ remotion:lint: > remotion@2.6.12 lint /Users/jonathanburger/remotion/packages/core
4
+ remotion:lint: > eslint src --ext ts,tsx
5
+ remotion:lint: 
@@ -1,4 +1,4 @@
1
- {"total": {"lines":{"total":1965,"covered":1470,"skipped":0,"pct":74.8},"statements":{"total":2167,"covered":1648,"skipped":0,"pct":76.04},"functions":{"total":394,"covered":224,"skipped":0,"pct":56.85},"branches":{"total":1089,"covered":759,"skipped":0,"pct":69.69}}
1
+ {"total": {"lines":{"total":1894,"covered":1419,"skipped":0,"pct":74.92},"statements":{"total":2076,"covered":1581,"skipped":0,"pct":76.15},"functions":{"total":377,"covered":224,"skipped":0,"pct":59.41},"branches":{"total":1073,"covered":754,"skipped":0,"pct":70.27}}
2
2
  ,"/Users/jonathanburger/remotion/packages/core/src/AbsoluteFill.tsx": {"lines":{"total":6,"covered":2,"skipped":0,"pct":33.33},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":3,"skipped":0,"pct":42.85},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
3
3
  ,"/Users/jonathanburger/remotion/packages/core/src/Composition.tsx": {"lines":{"total":28,"covered":27,"skipped":0,"pct":96.42},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":29,"covered":28,"skipped":0,"pct":96.55},"branches":{"total":4,"covered":3,"skipped":0,"pct":75}}
4
4
  ,"/Users/jonathanburger/remotion/packages/core/src/CompositionManager.tsx": {"lines":{"total":41,"covered":30,"skipped":0,"pct":73.17},"functions":{"total":28,"covered":13,"skipped":0,"pct":46.42},"statements":{"total":48,"covered":32,"skipped":0,"pct":66.66},"branches":{"total":4,"covered":3,"skipped":0,"pct":75}}
@@ -12,29 +12,28 @@
12
12
  ,"/Users/jonathanburger/remotion/packages/core/src/default-css.ts": {"lines":{"total":15,"covered":3,"skipped":0,"pct":20},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":17,"covered":5,"skipped":0,"pct":29.41},"branches":{"total":8,"covered":0,"skipped":0,"pct":0}}
13
13
  ,"/Users/jonathanburger/remotion/packages/core/src/easing.ts": {"lines":{"total":33,"covered":26,"skipped":0,"pct":78.78},"functions":{"total":22,"covered":14,"skipped":0,"pct":63.63},"statements":{"total":36,"covered":27,"skipped":0,"pct":75},"branches":{"total":14,"covered":12,"skipped":0,"pct":85.71}}
14
14
  ,"/Users/jonathanburger/remotion/packages/core/src/feature-flags.ts": {"lines":{"total":1,"covered":1,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":1,"covered":1,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
15
- ,"/Users/jonathanburger/remotion/packages/core/src/freeze.tsx": {"lines":{"total":17,"covered":15,"skipped":0,"pct":88.23},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":17,"covered":15,"skipped":0,"pct":88.23},"branches":{"total":8,"covered":6,"skipped":0,"pct":75}}
15
+ ,"/Users/jonathanburger/remotion/packages/core/src/freeze.tsx": {"lines":{"total":16,"covered":8,"skipped":0,"pct":50},"functions":{"total":2,"covered":1,"skipped":0,"pct":50},"statements":{"total":16,"covered":8,"skipped":0,"pct":50},"branches":{"total":8,"covered":3,"skipped":0,"pct":37.5}}
16
16
  ,"/Users/jonathanburger/remotion/packages/core/src/get-asset-file-name.ts": {"lines":{"total":6,"covered":5,"skipped":0,"pct":83.33},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":7,"covered":6,"skipped":0,"pct":85.71},"branches":{"total":2,"covered":1,"skipped":0,"pct":50}}
17
17
  ,"/Users/jonathanburger/remotion/packages/core/src/get-environment.ts": {"lines":{"total":10,"covered":8,"skipped":0,"pct":80},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":11,"covered":9,"skipped":0,"pct":81.81},"branches":{"total":12,"covered":10,"skipped":0,"pct":83.33}}
18
- ,"/Users/jonathanburger/remotion/packages/core/src/get-preview-dom-element.ts": {"lines":{"total":2,"covered":1,"skipped":0,"pct":50},"functions":{"total":1,"covered":0,"skipped":0,"pct":0},"statements":{"total":3,"covered":2,"skipped":0,"pct":66.66},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
19
18
  ,"/Users/jonathanburger/remotion/packages/core/src/get-timeline-clip-name.ts": {"lines":{"total":13,"covered":10,"skipped":0,"pct":76.92},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":14,"covered":11,"skipped":0,"pct":78.57},"branches":{"total":18,"covered":16,"skipped":0,"pct":88.88}}
20
19
  ,"/Users/jonathanburger/remotion/packages/core/src/index.ts": {"lines":{"total":28,"covered":28,"skipped":0,"pct":100},"functions":{"total":7,"covered":2,"skipped":0,"pct":28.57},"statements":{"total":35,"covered":35,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
21
20
  ,"/Users/jonathanburger/remotion/packages/core/src/initial-frame.ts": {"lines":{"total":6,"covered":3,"skipped":0,"pct":50},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":4,"skipped":0,"pct":57.14},"branches":{"total":2,"covered":0,"skipped":0,"pct":0}}
22
- ,"/Users/jonathanburger/remotion/packages/core/src/internals.ts": {"lines":{"total":58,"covered":58,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":58,"covered":58,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
21
+ ,"/Users/jonathanburger/remotion/packages/core/src/internals.ts": {"lines":{"total":51,"covered":51,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":51,"covered":51,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
23
22
  ,"/Users/jonathanburger/remotion/packages/core/src/interpolate.ts": {"lines":{"total":59,"covered":59,"skipped":0,"pct":100},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":61,"covered":61,"skipped":0,"pct":100},"branches":{"total":60,"covered":58,"skipped":0,"pct":96.66}}
24
23
  ,"/Users/jonathanburger/remotion/packages/core/src/interpolateColors.ts": {"lines":{"total":115,"covered":105,"skipped":0,"pct":91.3},"functions":{"total":21,"covered":21,"skipped":0,"pct":100},"statements":{"total":117,"covered":107,"skipped":0,"pct":91.45},"branches":{"total":70,"covered":51,"skipped":0,"pct":72.85}}
25
24
  ,"/Users/jonathanburger/remotion/packages/core/src/is-approximately-the-same.ts": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":4,"covered":4,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
26
25
  ,"/Users/jonathanburger/remotion/packages/core/src/is-audio-codec.ts": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":3,"covered":3,"skipped":0,"pct":100}}
26
+ ,"/Users/jonathanburger/remotion/packages/core/src/is-remote-asset.ts": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":4,"covered":2,"skipped":0,"pct":50}}
27
27
  ,"/Users/jonathanburger/remotion/packages/core/src/multiple-versions-warning.ts": {"lines":{"total":6,"covered":4,"skipped":0,"pct":66.66},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":7,"covered":5,"skipped":0,"pct":71.42},"branches":{"total":4,"covered":2,"skipped":0,"pct":50}}
28
28
  ,"/Users/jonathanburger/remotion/packages/core/src/nonce.ts": {"lines":{"total":9,"covered":9,"skipped":0,"pct":100},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
29
29
  ,"/Users/jonathanburger/remotion/packages/core/src/play-and-handle-not-allowed-error.ts": {"lines":{"total":18,"covered":1,"skipped":0,"pct":5.55},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":19,"covered":2,"skipped":0,"pct":10.52},"branches":{"total":24,"covered":0,"skipped":0,"pct":0}}
30
30
  ,"/Users/jonathanburger/remotion/packages/core/src/random.ts": {"lines":{"total":22,"covered":20,"skipped":0,"pct":90.9},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":23,"covered":21,"skipped":0,"pct":91.3},"branches":{"total":8,"covered":6,"skipped":0,"pct":75}}
31
- ,"/Users/jonathanburger/remotion/packages/core/src/ready-manager.ts": {"lines":{"total":26,"covered":25,"skipped":0,"pct":96.15},"functions":{"total":4,"covered":3,"skipped":0,"pct":75},"statements":{"total":28,"covered":27,"skipped":0,"pct":96.42},"branches":{"total":24,"covered":17,"skipped":0,"pct":70.83}}
31
+ ,"/Users/jonathanburger/remotion/packages/core/src/ready-manager.ts": {"lines":{"total":24,"covered":23,"skipped":0,"pct":95.83},"functions":{"total":4,"covered":3,"skipped":0,"pct":75},"statements":{"total":26,"covered":25,"skipped":0,"pct":96.15},"branches":{"total":22,"covered":16,"skipped":0,"pct":72.72}}
32
32
  ,"/Users/jonathanburger/remotion/packages/core/src/register-root.tsx": {"lines":{"total":27,"covered":14,"skipped":0,"pct":51.85},"functions":{"total":10,"covered":2,"skipped":0,"pct":20},"statements":{"total":34,"covered":21,"skipped":0,"pct":61.76},"branches":{"total":8,"covered":1,"skipped":0,"pct":12.5}}
33
33
  ,"/Users/jonathanburger/remotion/packages/core/src/setup-env-variables.ts": {"lines":{"total":20,"covered":5,"skipped":0,"pct":25},"functions":{"total":3,"covered":0,"skipped":0,"pct":0},"statements":{"total":21,"covered":6,"skipped":0,"pct":28.57},"branches":{"total":10,"covered":0,"skipped":0,"pct":0}}
34
- ,"/Users/jonathanburger/remotion/packages/core/src/static-file.ts": {"lines":{"total":13,"covered":3,"skipped":0,"pct":23.07},"functions":{"total":3,"covered":0,"skipped":0,"pct":0},"statements":{"total":14,"covered":4,"skipped":0,"pct":28.57},"branches":{"total":8,"covered":0,"skipped":0,"pct":0}}
34
+ ,"/Users/jonathanburger/remotion/packages/core/src/static-file.ts": {"lines":{"total":13,"covered":3,"skipped":0,"pct":23.07},"functions":{"total":3,"covered":0,"skipped":0,"pct":0},"statements":{"total":14,"covered":4,"skipped":0,"pct":28.57},"branches":{"total":6,"covered":0,"skipped":0,"pct":0}}
35
35
  ,"/Users/jonathanburger/remotion/packages/core/src/timeline-inout-position-state.ts": {"lines":{"total":10,"covered":5,"skipped":0,"pct":50},"functions":{"total":3,"covered":0,"skipped":0,"pct":0},"statements":{"total":12,"covered":7,"skipped":0,"pct":58.33},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
36
36
  ,"/Users/jonathanburger/remotion/packages/core/src/timeline-position-state.ts": {"lines":{"total":17,"covered":8,"skipped":0,"pct":47.05},"functions":{"total":7,"covered":1,"skipped":0,"pct":14.28},"statements":{"total":20,"covered":11,"skipped":0,"pct":55},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
37
- ,"/Users/jonathanburger/remotion/packages/core/src/timeout.ts": {"lines":{"total":7,"covered":4,"skipped":0,"pct":57.14},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":8,"covered":5,"skipped":0,"pct":62.5},"branches":{"total":2,"covered":0,"skipped":0,"pct":0}}
38
37
  ,"/Users/jonathanburger/remotion/packages/core/src/truthy.ts": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":2,"covered":2,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
39
38
  ,"/Users/jonathanburger/remotion/packages/core/src/use-frame.ts": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":13,"covered":13,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
40
39
  ,"/Users/jonathanburger/remotion/packages/core/src/use-lazy-component.ts": {"lines":{"total":12,"covered":6,"skipped":0,"pct":50},"functions":{"total":3,"covered":2,"skipped":0,"pct":66.66},"statements":{"total":13,"covered":7,"skipped":0,"pct":53.84},"branches":{"total":6,"covered":1,"skipped":0,"pct":16.66}}
@@ -53,35 +52,31 @@
53
52
  ,"/Users/jonathanburger/remotion/packages/core/src/wrap-remotion-context.tsx": {"lines":{"total":16,"covered":7,"skipped":0,"pct":43.75},"functions":{"total":3,"covered":0,"skipped":0,"pct":0},"statements":{"total":17,"covered":8,"skipped":0,"pct":47.05},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
54
53
  ,"/Users/jonathanburger/remotion/packages/core/src/audio/Audio.tsx": {"lines":{"total":23,"covered":21,"skipped":0,"pct":91.3},"functions":{"total":2,"covered":1,"skipped":0,"pct":50},"statements":{"total":23,"covered":21,"skipped":0,"pct":91.3},"branches":{"total":16,"covered":13,"skipped":0,"pct":81.25}}
55
54
  ,"/Users/jonathanburger/remotion/packages/core/src/audio/AudioForDevelopment.tsx": {"lines":{"total":29,"covered":10,"skipped":0,"pct":34.48},"functions":{"total":3,"covered":0,"skipped":0,"pct":0},"statements":{"total":29,"covered":10,"skipped":0,"pct":34.48},"branches":{"total":10,"covered":0,"skipped":0,"pct":0}}
56
- ,"/Users/jonathanburger/remotion/packages/core/src/audio/AudioForRendering.tsx": {"lines":{"total":30,"covered":28,"skipped":0,"pct":93.33},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":31,"covered":29,"skipped":0,"pct":93.54},"branches":{"total":24,"covered":22,"skipped":0,"pct":91.66}}
55
+ ,"/Users/jonathanburger/remotion/packages/core/src/audio/AudioForRendering.tsx": {"lines":{"total":31,"covered":29,"skipped":0,"pct":93.54},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":32,"covered":30,"skipped":0,"pct":93.75},"branches":{"total":24,"covered":22,"skipped":0,"pct":91.66}}
57
56
  ,"/Users/jonathanburger/remotion/packages/core/src/audio/index.tsx": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":2,"covered":2,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
58
57
  ,"/Users/jonathanburger/remotion/packages/core/src/audio/shared-audio-tags.tsx": {"lines":{"total":66,"covered":19,"skipped":0,"pct":28.78},"functions":{"total":24,"covered":3,"skipped":0,"pct":12.5},"statements":{"total":72,"covered":20,"skipped":0,"pct":27.77},"branches":{"total":28,"covered":1,"skipped":0,"pct":3.57}}
59
58
  ,"/Users/jonathanburger/remotion/packages/core/src/audio/use-audio-frame.ts": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":13,"covered":13,"skipped":0,"pct":100},"branches":{"total":8,"covered":8,"skipped":0,"pct":100}}
60
59
  ,"/Users/jonathanburger/remotion/packages/core/src/config/browser-executable.ts": {"lines":{"total":5,"covered":3,"skipped":0,"pct":60},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":5,"skipped":0,"pct":71.42},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
61
60
  ,"/Users/jonathanburger/remotion/packages/core/src/config/browser.ts": {"lines":{"total":10,"covered":4,"skipped":0,"pct":40},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":12,"covered":6,"skipped":0,"pct":50},"branches":{"total":4,"covered":0,"skipped":0,"pct":0}}
62
- ,"/Users/jonathanburger/remotion/packages/core/src/config/chromium-flags.ts": {"lines":{"total":19,"covered":14,"skipped":0,"pct":73.68},"functions":{"total":8,"covered":0,"skipped":0,"pct":0},"statements":{"total":31,"covered":22,"skipped":0,"pct":70.96},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
63
- ,"/Users/jonathanburger/remotion/packages/core/src/config/codec.ts": {"lines":{"total":59,"covered":36,"skipped":0,"pct":61.01},"functions":{"total":4,"covered":3,"skipped":0,"pct":75},"statements":{"total":63,"covered":40,"skipped":0,"pct":63.49},"branches":{"total":66,"covered":45,"skipped":0,"pct":68.18}}
61
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/codec.ts": {"lines":{"total":58,"covered":35,"skipped":0,"pct":60.34},"functions":{"total":4,"covered":3,"skipped":0,"pct":75},"statements":{"total":62,"covered":39,"skipped":0,"pct":62.9},"branches":{"total":64,"covered":44,"skipped":0,"pct":68.75}}
64
62
  ,"/Users/jonathanburger/remotion/packages/core/src/config/concurrency.ts": {"lines":{"total":7,"covered":7,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":9,"covered":9,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
65
- ,"/Users/jonathanburger/remotion/packages/core/src/config/crf.ts": {"lines":{"total":49,"covered":44,"skipped":0,"pct":89.79},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":55,"covered":50,"skipped":0,"pct":90.9},"branches":{"total":49,"covered":44,"skipped":0,"pct":89.79}}
63
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/crf.ts": {"lines":{"total":45,"covered":42,"skipped":0,"pct":93.33},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":51,"covered":48,"skipped":0,"pct":94.11},"branches":{"total":45,"covered":42,"skipped":0,"pct":93.33}}
66
64
  ,"/Users/jonathanburger/remotion/packages/core/src/config/env-file.ts": {"lines":{"total":4,"covered":3,"skipped":0,"pct":75},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":5,"skipped":0,"pct":71.42},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
67
65
  ,"/Users/jonathanburger/remotion/packages/core/src/config/ffmpeg-executable.ts": {"lines":{"total":5,"covered":3,"skipped":0,"pct":60},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":5,"skipped":0,"pct":71.42},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
68
66
  ,"/Users/jonathanburger/remotion/packages/core/src/config/frame-range.ts": {"lines":{"total":48,"covered":48,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":54,"covered":54,"skipped":0,"pct":100},"branches":{"total":38,"covered":37,"skipped":0,"pct":97.36}}
69
- ,"/Users/jonathanburger/remotion/packages/core/src/config/frames-per-lambda.ts": {"lines":{"total":4,"covered":2,"skipped":0,"pct":50},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":6,"covered":4,"skipped":0,"pct":66.66},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
70
67
  ,"/Users/jonathanburger/remotion/packages/core/src/config/image-format.ts": {"lines":{"total":20,"covered":20,"skipped":0,"pct":100},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":23,"covered":23,"skipped":0,"pct":100},"branches":{"total":14,"covered":14,"skipped":0,"pct":100}}
71
68
  ,"/Users/jonathanburger/remotion/packages/core/src/config/image-sequence.ts": {"lines":{"total":7,"covered":7,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":9,"covered":9,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
72
- ,"/Users/jonathanburger/remotion/packages/core/src/config/index.ts": {"lines":{"total":23,"covered":23,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":23,"covered":23,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
69
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/index.ts": {"lines":{"total":19,"covered":19,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":19,"covered":19,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
73
70
  ,"/Users/jonathanburger/remotion/packages/core/src/config/input-props.ts": {"lines":{"total":23,"covered":14,"skipped":0,"pct":60.86},"functions":{"total":2,"covered":1,"skipped":0,"pct":50},"statements":{"total":24,"covered":15,"skipped":0,"pct":62.5},"branches":{"total":10,"covered":6,"skipped":0,"pct":60}}
74
- ,"/Users/jonathanburger/remotion/packages/core/src/config/log.ts": {"lines":{"total":13,"covered":13,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":17,"covered":17,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
71
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/log.ts": {"lines":{"total":12,"covered":12,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":16,"covered":16,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
75
72
  ,"/Users/jonathanburger/remotion/packages/core/src/config/max-timeline-tracks.ts": {"lines":{"total":13,"covered":3,"skipped":0,"pct":23.07},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":15,"covered":5,"skipped":0,"pct":33.33},"branches":{"total":8,"covered":0,"skipped":0,"pct":0}}
76
73
  ,"/Users/jonathanburger/remotion/packages/core/src/config/override-webpack.ts": {"lines":{"total":6,"covered":4,"skipped":0,"pct":66.66},"functions":{"total":3,"covered":0,"skipped":0,"pct":0},"statements":{"total":10,"covered":7,"skipped":0,"pct":70},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
77
- ,"/Users/jonathanburger/remotion/packages/core/src/config/overwrite.ts": {"lines":{"total":7,"covered":7,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":10,"covered":10,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
74
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/overwrite.ts": {"lines":{"total":6,"covered":6,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":9,"covered":9,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
78
75
  ,"/Users/jonathanburger/remotion/packages/core/src/config/pixel-format.ts": {"lines":{"total":16,"covered":16,"skipped":0,"pct":100},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":19,"covered":19,"skipped":0,"pct":100},"branches":{"total":10,"covered":10,"skipped":0,"pct":100}}
79
76
  ,"/Users/jonathanburger/remotion/packages/core/src/config/preview-server.ts": {"lines":{"total":10,"covered":8,"skipped":0,"pct":80},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":13,"covered":11,"skipped":0,"pct":84.61},"branches":{"total":8,"covered":7,"skipped":0,"pct":87.5}}
80
77
  ,"/Users/jonathanburger/remotion/packages/core/src/config/prores-profile.ts": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":14,"covered":14,"skipped":0,"pct":100},"branches":{"total":8,"covered":8,"skipped":0,"pct":100}}
81
78
  ,"/Users/jonathanburger/remotion/packages/core/src/config/quality.ts": {"lines":{"total":10,"covered":10,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":13,"covered":13,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
82
- ,"/Users/jonathanburger/remotion/packages/core/src/config/scale.ts": {"lines":{"total":7,"covered":3,"skipped":0,"pct":42.85},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":9,"covered":5,"skipped":0,"pct":55.55},"branches":{"total":2,"covered":0,"skipped":0,"pct":0}}
83
79
  ,"/Users/jonathanburger/remotion/packages/core/src/config/still-frame.ts": {"lines":{"total":6,"covered":4,"skipped":0,"pct":66.66},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":9,"covered":6,"skipped":0,"pct":66.66},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
84
- ,"/Users/jonathanburger/remotion/packages/core/src/config/timeout.ts": {"lines":{"total":8,"covered":4,"skipped":0,"pct":50},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":10,"covered":6,"skipped":0,"pct":60},"branches":{"total":2,"covered":0,"skipped":0,"pct":0}}
85
80
  ,"/Users/jonathanburger/remotion/packages/core/src/config/webpack-caching.ts": {"lines":{"total":8,"covered":8,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":10,"covered":10,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
86
81
  ,"/Users/jonathanburger/remotion/packages/core/src/loop/index.tsx": {"lines":{"total":15,"covered":14,"skipped":0,"pct":93.33},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":16,"covered":15,"skipped":0,"pct":93.75},"branches":{"total":9,"covered":8,"skipped":0,"pct":88.88}}
87
82
  ,"/Users/jonathanburger/remotion/packages/core/src/perf/index.ts": {"lines":{"total":16,"covered":5,"skipped":0,"pct":31.25},"functions":{"total":5,"covered":0,"skipped":0,"pct":0},"statements":{"total":19,"covered":8,"skipped":0,"pct":42.1},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
@@ -98,11 +93,10 @@
98
93
  ,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-fps.ts": {"lines":{"total":9,"covered":7,"skipped":0,"pct":77.77},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":10,"covered":8,"skipped":0,"pct":80},"branches":{"total":8,"covered":6,"skipped":0,"pct":75}}
99
94
  ,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-frame.ts": {"lines":{"total":13,"covered":12,"skipped":0,"pct":92.3},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":14,"covered":13,"skipped":0,"pct":92.85},"branches":{"total":12,"covered":11,"skipped":0,"pct":91.66}}
100
95
  ,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-image-format.ts": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":4,"covered":4,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
101
- ,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-opengl-renderer.ts": {"lines":{"total":7,"covered":2,"skipped":0,"pct":28.57},"functions":{"total":1,"covered":0,"skipped":0,"pct":0},"statements":{"total":8,"covered":3,"skipped":0,"pct":37.5},"branches":{"total":4,"covered":0,"skipped":0,"pct":0}}
102
96
  ,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-quality.ts": {"lines":{"total":11,"covered":9,"skipped":0,"pct":81.81},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":12,"covered":10,"skipped":0,"pct":83.33},"branches":{"total":14,"covered":12,"skipped":0,"pct":85.71}}
103
97
  ,"/Users/jonathanburger/remotion/packages/core/src/video/Video.tsx": {"lines":{"total":21,"covered":19,"skipped":0,"pct":90.47},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":21,"covered":19,"skipped":0,"pct":90.47},"branches":{"total":16,"covered":14,"skipped":0,"pct":87.5}}
104
98
  ,"/Users/jonathanburger/remotion/packages/core/src/video/VideoForDevelopment.tsx": {"lines":{"total":21,"covered":9,"skipped":0,"pct":42.85},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":21,"covered":9,"skipped":0,"pct":42.85},"branches":{"total":6,"covered":0,"skipped":0,"pct":0}}
105
- ,"/Users/jonathanburger/remotion/packages/core/src/video/VideoForRendering.tsx": {"lines":{"total":64,"covered":42,"skipped":0,"pct":65.62},"functions":{"total":12,"covered":6,"skipped":0,"pct":50},"statements":{"total":65,"covered":43,"skipped":0,"pct":66.15},"branches":{"total":50,"covered":39,"skipped":0,"pct":78}}
99
+ ,"/Users/jonathanburger/remotion/packages/core/src/video/VideoForRendering.tsx": {"lines":{"total":65,"covered":43,"skipped":0,"pct":66.15},"functions":{"total":12,"covered":6,"skipped":0,"pct":50},"statements":{"total":66,"covered":44,"skipped":0,"pct":66.66},"branches":{"total":50,"covered":39,"skipped":0,"pct":78}}
106
100
  ,"/Users/jonathanburger/remotion/packages/core/src/video/get-current-time.ts": {"lines":{"total":10,"covered":10,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":11,"covered":11,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
107
101
  ,"/Users/jonathanburger/remotion/packages/core/src/video/index.ts": {"lines":{"total":2,"covered":2,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":2,"covered":2,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
108
102
  }
@@ -1 +1 @@
1
- {"version":3,"file":"IFrame.d.ts","sourceRoot":"","sources":["../src/IFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAuC/D,eAAO,MAAM,MAAM,wOAAkC,CAAC"}
1
+ {"version":3,"file":"IFrame.d.ts","sourceRoot":"","sources":["../src/IFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAyC/D,eAAO,MAAM,MAAM,wOAAkC,CAAC"}
package/dist/IFrame.js CHANGED
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
6
  const ready_manager_1 = require("./ready-manager");
7
7
  const IFrameRefForwarding = ({ onLoad, onError, ...props }, ref) => {
8
- const [handle] = (0, react_1.useState)(() => (0, ready_manager_1.delayRender)());
8
+ const [handle] = (0, react_1.useState)(() => (0, ready_manager_1.delayRender)(`Loading <IFrame> with source ${props.src}`));
9
9
  const didLoad = (0, react_1.useCallback)((e) => {
10
10
  (0, ready_manager_1.continueRender)(handle);
11
11
  onLoad === null || onLoad === void 0 ? void 0 : onLoad(e);
@@ -1 +1 @@
1
- {"version":3,"file":"IFrame.js","sourceRoot":"","sources":["../src/IFrame.tsx"],"names":[],"mappings":";;;;AAAA,iCAA+D;AAC/D,mDAA4D;AAE5D,MAAM,mBAAmB,GAMrB,CAAC,EAAC,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAC,EAAE,GAAG,EAAE,EAAE;IACxC,MAAM,CAAC,MAAM,CAAC,GAAG,IAAA,gBAAQ,EAAC,GAAG,EAAE,CAAC,IAAA,2BAAW,GAAE,CAAC,CAAC;IAE/C,MAAM,OAAO,GAAG,IAAA,mBAAW,EAC1B,CAAC,CAAiD,EAAE,EAAE;QACrD,IAAA,8BAAc,EAAC,MAAM,CAAC,CAAC;QACvB,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAG,CAAC,CAAC,CAAC;IACb,CAAC,EACD,CAAC,MAAM,EAAE,MAAM,CAAC,CAChB,CAAC;IAEF,MAAM,WAAW,GAAG,IAAA,mBAAW,EAC9B,CAAC,CAAiD,EAAE,EAAE;QACrD,IAAA,8BAAc,EAAC,MAAM,CAAC,CAAC;QACvB,IAAI,OAAO,EAAE;YACZ,OAAO,CAAC,CAAC,CAAC,CAAC;SACX;aAAM;YACN,OAAO,CAAC,KAAK,CACZ,uBAAuB,EACvB,CAAC,EACD,2EAA2E,CAC3E,CAAC;SACF;IACF,CAAC,EACD,CAAC,MAAM,EAAE,OAAO,CAAC,CACjB,CAAC;IAEF,OAAO,sCAAY,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,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AAC,CAAC"}
package/dist/Img.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Img.d.ts","sourceRoot":"","sources":["../src/Img.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAgD1E,eAAO,MAAM,GAAG,8NAA+B,CAAC"}
1
+ {"version":3,"file":"Img.d.ts","sourceRoot":"","sources":["../src/Img.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAkD1E,eAAO,MAAM,GAAG,8NAA+B,CAAC"}
package/dist/Img.js CHANGED
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
6
  const ready_manager_1 = require("./ready-manager");
7
7
  const ImgRefForwarding = ({ onLoad, onError, ...props }, ref) => {
8
- const [handle] = (0, react_1.useState)(() => (0, ready_manager_1.delayRender)());
8
+ const [handle] = (0, react_1.useState)(() => (0, ready_manager_1.delayRender)('Loading <Img> with src=' + props.src));
9
9
  (0, react_1.useEffect)(() => {
10
10
  if (ref &&
11
11
  ref.current.complete) {
package/dist/Img.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Img.js","sourceRoot":"","sources":["../src/Img.tsx"],"names":[],"mappings":";;;;AAAA,iCAA0E;AAC1E,mDAA4D;AAE5D,MAAM,gBAAgB,GAMlB,CAAC,EAAC,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,EAAC,EAAE,GAAG,EAAE,EAAE;IACxC,MAAM,CAAC,MAAM,CAAC,GAAG,IAAA,gBAAQ,EAAC,GAAG,EAAE,CAAC,IAAA,2BAAW,GAAE,CAAC,CAAC;IAE/C,IAAA,iBAAS,EAAC,GAAG,EAAE;QACd,IACC,GAAG;YACF,GAAgD,CAAC,OAAO,CAAC,QAAQ,EACjE;YACD,IAAA,8BAAc,EAAC,MAAM,CAAC,CAAC;SACvB;IACF,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,C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CAAC,CAAC;SACvB;IACF,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAElB,MAAM,OAAO,GAAG,IAAA,mBAAW,EAC1B,CAAC,CAAgD,EAAE,EAAE;QACpD,IAAA,8BAAc,EAAC,MAAM,CAAC,CAAC;QACvB,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAG,CAAC,CAAC,CAAC;IACb,CAAC,EACD,CAAC,MAAM,EAAE,MAAM,CAAC,CAChB,CAAC;IAEF,MAAM,WAAW,GAAG,IAAA,mBAAW,EAC9B,CAAC,CAAgD,EAAE,EAAE;QACpD,IAAA,8BAAc,EAAC,MAAM,CAAC,CAAC;QACvB,IAAI,OAAO,EAAE;YACZ,OAAO,CAAC,CAAC,CAAC,CAAC;SACX;aAAM;YACN,OAAO,CAAC,KAAK,CACZ,sBAAsB,EACtB,CAAC,EACD,2EAA2E,CAC3E,CAAC;SACF;IACF,CAAC,EACD,CAAC,MAAM,EAAE,OAAO,CAAC,CACjB,CAAC;IAEF,OAAO,mCAAS,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,WAAI,CAAC;AAC5E,CAAC,CAAC;AAEW,QAAA,GAAG,GAAG,IAAA,kBAAU,EAAC,gBAAgB,CAAC,CAAC"}
@@ -21,7 +21,7 @@ const RemotionRoot = ({ children }) => {
21
21
  (0, react_1.useLayoutEffect)(() => {
22
22
  if (typeof window !== 'undefined') {
23
23
  window.remotion_setFrame = (f) => {
24
- const id = (0, ready_manager_1.delayRender)();
24
+ const id = (0, ready_manager_1.delayRender)(`Setting the current frame to ${f}`);
25
25
  setFrame(f);
26
26
  requestAnimationFrame(() => (0, ready_manager_1.continueRender)(id));
27
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"RemotionRoot.js","sourceRoot":"","sources":["../src/RemotionRoot.tsx"],"names":[],"mappings":";;;;AAAA,iCAMe;AACf,iEAAqE;AACrE,6DAAgE;A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AC,KAAK,EAAE,oBAAoB,YACpD,uBAAC,4CAAkB,CAAC,QAAQ,IAAC,KAAK,EAAE,uBAAuB,YAC1D,uBAAC,+CAA0B,cAC1B,uBAAC,8CAA0B;oBAC1B,8LAA8L;;wBAA9L,8LAA8L;wBAC9L,iBAAiB,EAAE,CAAC,YAEnB,QAAQ,WACmB,WACD,WACA,WACJ,WACJ,CACxB,CAAC;AACH,CAAC,CAAC;AA1EW,QAAA,YAAY,gBA0EvB"}
@@ -39,7 +39,7 @@ const SharedAudioContextProvider = ({ children, numberOfAudioTags }) => {
39
39
  const registerAudio = (0, react_1.useCallback)((aud) => {
40
40
  const firstFreeAudio = takenAudios.current.findIndex((a) => a === false);
41
41
  if (firstFreeAudio === -1) {
42
- throw new Error(`Tried to simultaneously mount ${numberOfAudioTags + 1} <Audio /> tags at the same time. With the current settings, the maximum amount of <Audio /> tags is limited to ${numberOfAudioTags} at the same time. Remotion pre-mounts silent audio tags to help avoid browser autoplay restrictions. See /docs/player/autoplay#use-the-numberofsharedaudiotags-property for more information on how to increase this limit.`);
42
+ throw new Error(`Tried to simultaneously mount ${numberOfAudioTags + 1} <Audio /> tags at the same time. With the current settings, the maximum amount of <Audio /> tags is limited to ${numberOfAudioTags} at the same time. Remotion pre-mounts silent audio tags to help avoid browser autoplay restrictions. See https://remotion.dev/docs/player/autoplay#use-the-numberofsharedaudiotags-property for more information on how to increase this limit.`);
43
43
  }
44
44
  const { id, ref } = refs[firstFreeAudio];
45
45
  const cloned = [...takenAudios.current];
@@ -1 +1 @@
1
- {"version":3,"file":"shared-audio-tags.js","sourceRoot":"","sources":["../../src/audio/shared-audio-tags.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,+CASe;AAqBf,MAAM,WAAW,GAChB,wTAAwT,CAAC;AAU7S,QAAA,kBAAkB,GAAG,IAAA,qBAAa,EAAuB,IAAI,CAAC,CAAC;AAErE,MAAM,0BAA0B,GAElC,CAAC,EAAC,QAAQ,EAAE,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CAAC,EAAE,CAAC,CAAC;aAC7B;QACF,CAAC,CAAC;IACH,CAAC,EAAE,CAAC,GAAG,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;IAEnB,IAAA,iBAAS,EAAC,GAAG,EAAE;QACd,IAAI,GAAG,IAAI,GAAG,CAAC,iBAAiB,GAAG,CAAC,EAAE;YACrC,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;SAC9B;IACF,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;IAExB,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AA9BW,QAAA,cAAc,kBA8BzB"}
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=component-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-type.d.ts","sourceRoot":"","sources":["../src/component-type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=component-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"component-type.js","sourceRoot":"","sources":["../src/component-type.ts"],"names":[],"mappings":""}
@@ -1,4 +1,15 @@
1
1
  declare type ExtrapolateType = 'extend' | 'identity' | 'clamp';
2
+ /**
3
+ * Map a value from an input range to an output range.
4
+ * @link https://www.remotion.dev/docs/interpolate
5
+ * @param {!number} input value to interpolate
6
+ * @param {!number[]} inputRange range of values that you expect the input to assume.
7
+ * @param {!number[]} outputRange range of output values that you want the input to map to.
8
+ * @param {?object} options
9
+ * @param {?Function} options.easing easing function which allows you to customize the input, for example to apply a certain easing function. By default, the input is left unmodified, resulting in a pure linear interpolation {@link https://www.remotion.dev/docs/easing}
10
+ * @param {string=} [options.extrapolateLeft="extend"] What should happen if the input value is outside left the input range, default: "extend" {@link https://www.remotion.dev/docs/interpolate#extrapolateleft}
11
+ * @param {string=} [options.extrapolateRight="extend"] Same as extrapolateLeft, except for values outside right the input range {@link https://www.remotion.dev/docs/interpolate#extrapolateright}
12
+ */
2
13
  export declare function interpolate(input: number, inputRange: readonly number[], outputRange: readonly number[], options?: {
3
14
  easing?: (input: number) => number;
4
15
  extrapolateLeft?: ExtrapolateType;
@@ -1 +1 @@
1
- {"version":3,"file":"interpolate.d.ts","sourceRoot":"","sources":["../src/interpolate.ts"],"names":[],"mappings":"AAEA,aAAK,eAAe,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAmGvD,wBAAgB,WAAW,CAC1B,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,SAAS,MAAM,EAAE,EAC7B,WAAW,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE;IACT,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACnC,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,gBAAgB,CAAC,EAAE,eAAe,CAAC;CACnC,GACC,MAAM,CAuDR"}
1
+ {"version":3,"file":"interpolate.d.ts","sourceRoot":"","sources":["../src/interpolate.ts"],"names":[],"mappings":"AAEA,aAAK,eAAe,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAC;AAmGvD;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAC1B,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,SAAS,MAAM,EAAE,EAC7B,WAAW,EAAE,SAAS,MAAM,EAAE,EAC9B,OAAO,CAAC,EAAE;IACT,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACnC,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,gBAAgB,CAAC,EAAE,eAAe,CAAC;CACnC,GACC,MAAM,CAuDR"}
@@ -69,6 +69,17 @@ function checkInfiniteRange(name, arr) {
69
69
  }
70
70
  }
71
71
  }
72
+ /**
73
+ * Map a value from an input range to an output range.
74
+ * @link https://www.remotion.dev/docs/interpolate
75
+ * @param {!number} input value to interpolate
76
+ * @param {!number[]} inputRange range of values that you expect the input to assume.
77
+ * @param {!number[]} outputRange range of output values that you want the input to map to.
78
+ * @param {?object} options
79
+ * @param {?Function} options.easing easing function which allows you to customize the input, for example to apply a certain easing function. By default, the input is left unmodified, resulting in a pure linear interpolation {@link https://www.remotion.dev/docs/easing}
80
+ * @param {string=} [options.extrapolateLeft="extend"] What should happen if the input value is outside left the input range, default: "extend" {@link https://www.remotion.dev/docs/interpolate#extrapolateleft}
81
+ * @param {string=} [options.extrapolateRight="extend"] Same as extrapolateLeft, except for values outside right the input range {@link https://www.remotion.dev/docs/interpolate#extrapolateright}
82
+ */
72
83
  function interpolate(input, inputRange, outputRange, options) {
73
84
  var _a;
74
85
  if (typeof input === 'undefined') {
@@ -1 +1 @@
1
- {"version":3,"file":"interpolate.js","sourceRoot":"","sources":["../src/interpolate.ts"],"names":[],"mappings":";AAAA,0JAA0J;;;AAI1J,SAAS,mBAAmB,CAC3B,KAAa,EACb,UAA4B,EAC5B,WAA6B,EAC7B,OAIC;IAED,MAAM,EAAC,eAAe,EAAE,gBAAgB,EAAE,MAAM,EAAC,GAAG,OAAO,CAAC;IAE5D,IAAI,MAAM,GAAG,KAAK,CAAC;IACnB,MAAM,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG,UAAU,CAAC;IACxC,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,GAAG,WAAW,CAAC;IAE3C,IAAI,MAAM,GAAG,QAAQ,EAAE;QACtB,IAAI,eAAe,KAAK,UAAU,EAAE;YACnC,OAAO,MAAM,CAAC;SACd;QAED,IAAI,eAAe,KAAK,OAAO,EAAE;YAChC,MAAM,GAAG,QAAQ,CAAC;SAClB;aAAM,IAAI,eAAe,KAAK,QAAQ,EAAE;YACxC,OAAO;SACP;KACD;IAED,IAAI,MAAM,GAAG,QAAQ,EAAE;QACtB,IAAI,gBAAgB,KAAK,UAAU,EAAE;YACpC,OAAO,MAAM,CAAC;SACd;QAED,IAAI,gBAAgB,KAAK,OAAO,EAA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;
1
+ /**
2
+ * Call this function to tell Remotion to wait before capturing this frame until data has loaded. Use continueRender() to unblock the render.
3
+ * @param label _optional_ A label to identify the call in case it does time out.
4
+ * @returns {number} An identifier to be passed to continueRender().
5
+ * @link https://www.remotion.dev/docs/delay-render
6
+ */
7
+ export declare const delayRender: (label?: string | undefined) => number;
8
+ /**
9
+ * Unblock a render that has been blocked by delayRender()
10
+ * @param handle The return value of delayRender().
11
+ * @link https://www.remotion.dev/docs/continue-render
12
+ */
2
13
  export declare const continueRender: (handle: number) => void;
3
14
  //# sourceMappingURL=ready-manager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ready-manager.d.ts","sourceRoot":"","sources":["../src/ready-manager.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,WAAW,QAAO,MAsB9B,CAAC;AAEF,eAAO,MAAM,cAAc,WAAY,MAAM,KAAG,IAe/C,CAAC"}
1
+ {"version":3,"file":"ready-manager.d.ts","sourceRoot":"","sources":["../src/ready-manager.ts"],"names":[],"mappings":"AAWA;;;;;GAKG;AACH,eAAO,MAAM,WAAW,kCAAqB,MAmC5C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,WAAY,MAAM,KAAG,IA4B/C,CAAC"}
@@ -3,13 +3,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.continueRender = exports.delayRender = void 0;
4
4
  const get_environment_1 = require("./get-environment");
5
5
  const timeout_1 = require("./timeout");
6
+ const truthy_1 = require("./truthy");
6
7
  if (typeof window !== 'undefined') {
7
8
  window.ready = false;
8
9
  }
9
10
  let handles = [];
10
11
  const timeouts = {};
11
- const delayRender = () => {
12
+ /**
13
+ * Call this function to tell Remotion to wait before capturing this frame until data has loaded. Use continueRender() to unblock the render.
14
+ * @param label _optional_ A label to identify the call in case it does time out.
15
+ * @returns {number} An identifier to be passed to continueRender().
16
+ * @link https://www.remotion.dev/docs/delay-render
17
+ */
18
+ const delayRender = (label) => {
12
19
  var _a, _b;
20
+ if (typeof label !== 'string' && typeof label !== 'undefined') {
21
+ throw new Error('The label parameter of delayRender() must be a string or undefined, got: ' +
22
+ JSON.stringify(label));
23
+ }
13
24
  const handle = Math.random();
14
25
  handles.push(handle);
15
26
  const called = (_b = (_a = Error().stack) === null || _a === void 0 ? void 0 : _a.replace(/^Error/g, '')) !== null && _b !== void 0 ? _b : '';
@@ -18,7 +29,14 @@ const delayRender = () => {
18
29
  ? timeout_1.DEFAULT_PUPPETEER_TIMEOUT
19
30
  : window.remotion_puppeteerTimeout - 2000;
20
31
  timeouts[handle] = setTimeout(() => {
21
- throw new Error(`A delayRender was called but not cleared after ${timeoutToUse}ms. See https://remotion.dev/docs/timeout for help. The delayRender was called: ${called}`);
32
+ const message = [
33
+ `A delayRender()`,
34
+ label ? `"${label}"` : null,
35
+ `was called but not cleared after ${timeoutToUse}ms. See https://remotion.dev/docs/timeout for help. The delayRender was called: ${called}`,
36
+ ]
37
+ .filter(truthy_1.truthy)
38
+ .join(' ');
39
+ throw new Error(message);
22
40
  }, timeoutToUse);
23
41
  }
24
42
  if (typeof window !== 'undefined') {
@@ -27,7 +45,19 @@ const delayRender = () => {
27
45
  return handle;
28
46
  };
29
47
  exports.delayRender = delayRender;
48
+ /**
49
+ * Unblock a render that has been blocked by delayRender()
50
+ * @param handle The return value of delayRender().
51
+ * @link https://www.remotion.dev/docs/continue-render
52
+ */
30
53
  const continueRender = (handle) => {
54
+ if (typeof handle === 'undefined') {
55
+ throw new TypeError('The continueRender() method must be called with a parameter that is the return value of delayRender(). No value was passed.');
56
+ }
57
+ if (typeof handle !== 'number') {
58
+ throw new TypeError('The parameter passed into continueRender() must be the return value of delayRender() which is a number. Got: ' +
59
+ JSON.stringify(handle));
60
+ }
31
61
  handles = handles.filter((h) => {
32
62
  if (h === handle) {
33
63
  if ((0, get_environment_1.getRemotionEnvironment)() === 'rendering') {
@@ -1 +1 @@
1
- {"version":3,"file":"ready-manager.js","sourceRoot":"","sources":["../src/ready-manager.ts"],"names":[],"m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ACF,CAAC,CAAC;AA5BW,QAAA,cAAc,kBA4BzB"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const flattenChildren: (children: React.ReactNode) => (string | number | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactNodeArray | React.ReactPortal)[];
3
+ //# sourceMappingURL=flatten-children.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flatten-children.d.ts","sourceRoot":"","sources":["../../src/serie/flatten-children.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,eAAe,aAAc,MAAM,SAAS,yNAYxD,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.flattenChildren = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const flattenChildren = (children) => {
9
+ const childrenArray = react_1.default.Children.toArray(children);
10
+ return childrenArray.reduce((flatChildren, child) => {
11
+ if (child.type === react_1.default.Fragment) {
12
+ return flatChildren.concat(exports.flattenChildren(child.props.children));
13
+ }
14
+ flatChildren.push(child);
15
+ return flatChildren;
16
+ }, []);
17
+ };
18
+ exports.flattenChildren = flattenChildren;
19
+ //# sourceMappingURL=flatten-children.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flatten-children.js","sourceRoot":"","sources":["../../src/serie/flatten-children.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAInB,MAAM,eAAe,GAAG,CAAC,QAAyB,EAAmB,EAAE;IAC7E,MAAM,aAAa,GAAG,eAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACvD,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC,YAA6B,EAAE,KAAK,EAAE,EAAE;QACpE,IAAK,KAAqC,CAAC,IAAI,KAAK,eAAK,CAAC,QAAQ,EAAE;YACnE,OAAO,YAAY,CAAC,MAAM,CACzB,uBAAe,CAAE,KAAiC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAClE,CAAC;SACF;QAED,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzB,OAAO,YAAY,CAAC;IACrB,CAAC,EAAE,EAAE,CAAC,CAAC;AACR,CAAC,CAAC;AAZW,QAAA,eAAe,mBAY1B"}
@@ -0,0 +1,12 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ import { SequenceProps } from '../sequencing';
3
+ declare type SeriesSequenceProps = PropsWithChildren<{
4
+ durationInFrames: number;
5
+ offset?: number;
6
+ } & Pick<SequenceProps, 'layout' | 'name'>>;
7
+ declare const SeriesSequence: ({ children }: SeriesSequenceProps) => JSX.Element;
8
+ declare const Series: FC & {
9
+ Sequence: typeof SeriesSequence;
10
+ };
11
+ export { Series as Serie };
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/serie/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAW,EAAE,EAAE,iBAAiB,EAAU,MAAM,OAAO,CAAC;AACtE,OAAO,EAAW,aAAa,EAAC,MAAM,eAAe,CAAC;AAItD,aAAK,mBAAmB,GAAG,iBAAiB,CAC3C;IACC,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,IAAI,CAAC,aAAa,EAAE,QAAQ,GAAG,MAAM,CAAC,CAC1C,CAAC;AAEF,QAAA,MAAM,cAAc,iBAAgB,mBAAmB,gBAGtD,CAAC;AAEF,QAAA,MAAM,MAAM,EAAE,EAAE,GAAG;IAClB,QAAQ,EAAE,OAAO,cAAc,CAAC;CA6EhC,CAAC;AAIF,OAAO,EAAC,MAAM,IAAI,KAAK,EAAC,CAAC"}