remotion 2.4.2 → 2.4.3-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +41 -0
- package/README.md +11 -2
- package/coverage/coverage-summary.json +35 -20
- package/dist/CompositionManager.d.ts +0 -1
- package/dist/CompositionManager.d.ts.map +1 -1
- package/dist/CompositionManager.js.map +1 -1
- package/dist/audio/Audio.d.ts +1 -1
- package/dist/audio/AudioForRendering.d.ts +1 -1
- package/dist/config/codec.d.ts +2 -1
- package/dist/config/codec.d.ts.map +1 -1
- package/dist/config/codec.js +3 -2
- package/dist/config/codec.js.map +1 -1
- package/dist/config/image-format.d.ts +1 -0
- package/dist/config/image-format.d.ts.map +1 -1
- package/dist/config/image-format.js.map +1 -1
- package/dist/config/index.d.ts +9 -2
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +8 -0
- package/dist/config/index.js.map +1 -1
- package/dist/config/log.d.ts +1 -1
- package/dist/internals.d.ts +7 -4
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +3 -0
- package/dist/internals.js.map +1 -1
- package/dist/use-current-time.d.ts +2 -0
- package/dist/use-current-time.d.ts.map +1 -0
- package/dist/use-current-time.js +12 -0
- package/dist/use-current-time.js.map +1 -0
- package/dist/use-time.d.ts +2 -0
- package/dist/use-time.d.ts.map +1 -0
- package/dist/use-time.js +15 -0
- package/dist/use-time.js.map +1 -0
- package/dist/video/Video.d.ts +1 -1
- package/dist/video/VideoForRendering.d.ts +1 -1
- package/dist/video/VideoForRendering.d.ts.map +1 -1
- package/dist/video/VideoForRendering.js +10 -4
- package/dist/video/VideoForRendering.js.map +1 -1
- package/package.json +6 -5
package/LICENSE.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Remotion License
|
|
2
|
+
|
|
3
|
+
Depending on the type of your legal entity, you are granted permission to use Remotion for your project. Individuals and small companies are allowed to use Remotion create videos for free (even commercial), while a company license is required for for-profit organisations of a certain size. This two-tier system was designed to ensure funding for this project while still allowing the source code to be available and the program to be free for most. Read below for the exact terms of use.
|
|
4
|
+
|
|
5
|
+
- [Free license](#free-license)
|
|
6
|
+
- [Company license](#company-license)
|
|
7
|
+
|
|
8
|
+
## Free license
|
|
9
|
+
|
|
10
|
+
Copyright © 2021 [Jonny Burger](https://jonny.io)
|
|
11
|
+
|
|
12
|
+
### Eligibility
|
|
13
|
+
|
|
14
|
+
You are eligible to use Remotion for free if you are:
|
|
15
|
+
|
|
16
|
+
- an individual
|
|
17
|
+
- a for-profit organisation with up to 3 employees
|
|
18
|
+
- a non-profit or not-for-profit organisation
|
|
19
|
+
- evaluating whether Remotion is a good fit, and are not yet using it in a commercial way
|
|
20
|
+
|
|
21
|
+
### Allowed use cases
|
|
22
|
+
|
|
23
|
+
Permission is hereby granted, free of charge, to any person eligible for the "Free license", to use the software non-commercially or commercially for the purpose of creating videos and images and to modify and the software to their own liking, for the purpose of fulfilling their custom use case or to contribute bug fixes or improvements back to Remotion.
|
|
24
|
+
|
|
25
|
+
### Disallowed use cases
|
|
26
|
+
|
|
27
|
+
It is not allowed to copy or modify Remotion code for the purpose of selling, renting, licensing, relicensing, sublicensing your own derivate of Remotion.
|
|
28
|
+
|
|
29
|
+
### Warranty notice
|
|
30
|
+
|
|
31
|
+
The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the author or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.
|
|
32
|
+
|
|
33
|
+
### Support
|
|
34
|
+
|
|
35
|
+
Support is provided on a best-we-can-do basis via GitHub Issues.
|
|
36
|
+
|
|
37
|
+
## Company license
|
|
38
|
+
|
|
39
|
+
You are required to obtain a company license to use Remotion if you are not within the group of entities eligible for a free license. This license will enable you to use Remotion for the allowed use cases specified in the free license, and give you access to prioritized support.
|
|
40
|
+
|
|
41
|
+
Visit [companies.remotion.dev](https://companies.remotion.dev) for pricing and to buy a license.
|
package/README.md
CHANGED
|
@@ -4,7 +4,12 @@
|
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
[](https://discord.gg/6VzzNDwUwV)
|
|
8
|
+
[](https://www.npmjs.org/package/remotion)
|
|
9
|
+
[](https://npmcharts.com/compare/remotion?minimal=true)
|
|
10
|
+
[](https://packagephobia.now.sh/result?p=remotion)
|
|
11
|
+
|
|
12
|
+
Remotion is a suite of libraries building a foundation for **creating videos programmatically using React.**
|
|
8
13
|
|
|
9
14
|
## Why create videos in React?
|
|
10
15
|
|
|
@@ -14,9 +19,13 @@ Remotion is a suite of libraries building a fundament for **creating videos prog
|
|
|
14
19
|
|
|
15
20
|
## Example videos
|
|
16
21
|
|
|
17
|
-
- **Remotion Trailer** [Watch](https://www.youtube.com/watch?v=
|
|
22
|
+
- **Remotion Trailer** [Watch](https://www.youtube.com/watch?v=gwlDorikqgY) • [Source code](https://github.com/remotion-dev/trailer) • The announcement video for Remotion was written in Remotion itself!
|
|
18
23
|
- **AnySticker Welcome Video** [Watch](https://www.youtube.com/watch?v=Y0SNPeTz09w) • [Source code](https://github.com/JonnyBurger/anysticker-tutorials) • An in-app explainer video for my app AnySticker.
|
|
24
|
+
- **Spotify Wrapped Recreated** [Watch](https://twitter.com/JNYBGR/status/1360269270526136320) • [Tutorial](https://www.youtube.com/watch?v=I-y_5H9-3gk) • [Source code](https://github.com/JonnyBurger/remotion-wrapped) • A recreation of Spotify Wrapped where you can override all text and images via command line.
|
|
19
25
|
- **"Game changer or no game changer" intro** [Watch](https://youtu.be/ga_xAZo9m7k?t=61) • [Source code](https://github.com/JonnyBurger/gamechanger-or-no-gamechanger-intro) • An intro for a quiz show I did with William Candillon.
|
|
26
|
+
- **"The X in MDX" talk** [Watch](https://twitter.com/pomber/status/1359556846688886789) • [Source code](https://github.com/pomber/record-talk-with-remotion) • A re-recording of [this talk](https://www.youtube.com/watch?v=xEu3t-KJVVg) using Remotion.
|
|
27
|
+
- **Redesigning the Scatterplot** [Watch](https://twitter.com/BrooksLybrand/status/1371547875109445635) • [Source code](https://github.com/brookslybrand/redesigning-scatterplots) • An animated section of Edward R. Tufte's book [The Visual Display of Quantitative Information](https://www.amazon.com/Visual-Display-Quantitative-Information/dp/0961392142/ref=sr_1_1?crid=3HQZSBUUROV09&dchild=1&keywords=the+visual+display+of+quantitative+information&qid=1615907320&sprefix=the+visual+disp%2Caps%2C190&sr=8-1).
|
|
28
|
+
- **News Podcast Maker** [Watch](https://www.youtube.com/watch?v=Mwo5iNlWryg) • [Source code](https://github.com/FelippeChemello/podcast-maker/) • A fully automated News Podcast Maker.
|
|
20
29
|
|
|
21
30
|
Feel free to pull request your creations!
|
|
22
31
|
|
|
@@ -1,35 +1,40 @@
|
|
|
1
|
-
{"total": {"lines":{"total":
|
|
1
|
+
{"total": {"lines":{"total":1792,"covered":1361,"skipped":0,"pct":75.95},"statements":{"total":1964,"covered":1514,"skipped":0,"pct":77.09},"functions":{"total":353,"covered":214,"skipped":0,"pct":60.62},"branches":{"total":1041,"covered":739,"skipped":0,"pct":70.99}}
|
|
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.86},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
3
|
-
,"/Users/jonathanburger/remotion/packages/core/src/Composition.tsx": {"lines":{"total":28,"covered":27,"skipped":0,"pct":96.43},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":29,"covered":28,"skipped":0,"pct":96.55},"branches":{"total":
|
|
4
|
-
,"/Users/jonathanburger/remotion/packages/core/src/CompositionManager.tsx": {"lines":{"total":
|
|
3
|
+
,"/Users/jonathanburger/remotion/packages/core/src/Composition.tsx": {"lines":{"total":28,"covered":27,"skipped":0,"pct":96.43},"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
|
+
,"/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.43},"statements":{"total":48,"covered":32,"skipped":0,"pct":66.67},"branches":{"total":4,"covered":3,"skipped":0,"pct":75}}
|
|
5
5
|
,"/Users/jonathanburger/remotion/packages/core/src/IFrame.tsx": {"lines":{"total":14,"covered":4,"skipped":0,"pct":28.57},"functions":{"total":4,"covered":0,"skipped":0,"pct":0},"statements":{"total":15,"covered":4,"skipped":0,"pct":26.67},"branches":{"total":6,"covered":0,"skipped":0,"pct":0}}
|
|
6
6
|
,"/Users/jonathanburger/remotion/packages/core/src/Img.tsx": {"lines":{"total":17,"covered":10,"skipped":0,"pct":58.82},"functions":{"total":5,"covered":3,"skipped":0,"pct":60},"statements":{"total":18,"covered":11,"skipped":0,"pct":61.11},"branches":{"total":10,"covered":3,"skipped":0,"pct":30}}
|
|
7
|
-
,"/Users/jonathanburger/remotion/packages/core/src/RemotionRoot.tsx": {"lines":{"total":
|
|
7
|
+
,"/Users/jonathanburger/remotion/packages/core/src/RemotionRoot.tsx": {"lines":{"total":33,"covered":27,"skipped":0,"pct":81.82},"functions":{"total":12,"covered":8,"skipped":0,"pct":66.67},"statements":{"total":37,"covered":29,"skipped":0,"pct":78.38},"branches":{"total":10,"covered":5,"skipped":0,"pct":50}}
|
|
8
|
+
,"/Users/jonathanburger/remotion/packages/core/src/Still.tsx": {"lines":{"total":3,"covered":2,"skipped":0,"pct":66.67},"functions":{"total":1,"covered":0,"skipped":0,"pct":0},"statements":{"total":4,"covered":3,"skipped":0,"pct":75},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
8
9
|
,"/Users/jonathanburger/remotion/packages/core/src/absolute-src.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":0,"covered":0,"skipped":0,"pct":100}}
|
|
9
10
|
,"/Users/jonathanburger/remotion/packages/core/src/bezier.ts": {"lines":{"total":59,"covered":25,"skipped":0,"pct":42.37},"functions":{"total":10,"covered":6,"skipped":0,"pct":60},"statements":{"total":61,"covered":26,"skipped":0,"pct":42.62},"branches":{"total":32,"covered":18,"skipped":0,"pct":56.25}}
|
|
10
11
|
,"/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}}
|
|
11
12
|
,"/Users/jonathanburger/remotion/packages/core/src/easing.ts": {"lines":{"total":33,"covered":26,"skipped":0,"pct":78.79},"functions":{"total":22,"covered":14,"skipped":0,"pct":63.64},"statements":{"total":36,"covered":27,"skipped":0,"pct":75},"branches":{"total":14,"covered":12,"skipped":0,"pct":85.71}}
|
|
12
13
|
,"/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}}
|
|
14
|
+
,"/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}}
|
|
13
15
|
,"/Users/jonathanburger/remotion/packages/core/src/get-asset-file-name.ts": {"lines":{"total":4,"covered":4,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":5,"covered":5,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
16
|
+
,"/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.82},"branches":{"total":12,"covered":10,"skipped":0,"pct":83.33}}
|
|
14
17
|
,"/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.89}}
|
|
15
|
-
,"/Users/jonathanburger/remotion/packages/core/src/index.ts": {"lines":{"total":
|
|
16
|
-
,"/Users/jonathanburger/remotion/packages/core/src/
|
|
18
|
+
,"/Users/jonathanburger/remotion/packages/core/src/index.ts": {"lines":{"total":26,"covered":26,"skipped":0,"pct":100},"functions":{"total":5,"covered":1,"skipped":0,"pct":20},"statements":{"total":31,"covered":31,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
19
|
+
,"/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}}
|
|
20
|
+
,"/Users/jonathanburger/remotion/packages/core/src/internals.ts": {"lines":{"total":48,"covered":48,"skipped":0,"pct":100},"functions":{"total":0,"covered":0,"skipped":0,"pct":100},"statements":{"total":48,"covered":48,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
17
21
|
,"/Users/jonathanburger/remotion/packages/core/src/interpolate.ts": {"lines":{"total":55,"covered":55,"skipped":0,"pct":100},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":57,"covered":57,"skipped":0,"pct":100},"branches":{"total":59,"covered":57,"skipped":0,"pct":96.61}}
|
|
18
22
|
,"/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.86}}
|
|
19
23
|
,"/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}}
|
|
20
24
|
,"/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}}
|
|
21
25
|
,"/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":2,"covered":1,"skipped":0,"pct":50}}
|
|
26
|
+
,"/Users/jonathanburger/remotion/packages/core/src/multiple-versions-warning.ts": {"lines":{"total":6,"covered":4,"skipped":0,"pct":66.67},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":7,"covered":5,"skipped":0,"pct":71.43},"branches":{"total":4,"covered":2,"skipped":0,"pct":50}}
|
|
22
27
|
,"/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}}
|
|
23
28
|
,"/Users/jonathanburger/remotion/packages/core/src/random.ts": {"lines":{"total":22,"covered":20,"skipped":0,"pct":90.91},"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}}
|
|
24
|
-
,"/Users/jonathanburger/remotion/packages/core/src/ready-manager.ts": {"lines":{"total":
|
|
29
|
+
,"/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.73}}
|
|
25
30
|
,"/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}}
|
|
26
|
-
,"/Users/jonathanburger/remotion/packages/core/src/setup-env-variables.ts": {"lines":{"total":
|
|
31
|
+
,"/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}}
|
|
27
32
|
,"/Users/jonathanburger/remotion/packages/core/src/timeline-position-state.ts": {"lines":{"total":15,"covered":8,"skipped":0,"pct":53.33},"functions":{"total":5,"covered":1,"skipped":0,"pct":20},"statements":{"total":18,"covered":11,"skipped":0,"pct":61.11},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
28
33
|
,"/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}}
|
|
29
34
|
,"/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}}
|
|
30
35
|
,"/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.67},"statements":{"total":13,"covered":7,"skipped":0,"pct":53.85},"branches":{"total":6,"covered":1,"skipped":0,"pct":16.67}}
|
|
31
36
|
,"/Users/jonathanburger/remotion/packages/core/src/use-media-in-timeline.ts": {"lines":{"total":33,"covered":29,"skipped":0,"pct":87.88},"functions":{"total":7,"covered":6,"skipped":0,"pct":85.71},"statements":{"total":36,"covered":32,"skipped":0,"pct":88.89},"branches":{"total":18,"covered":10,"skipped":0,"pct":55.56}}
|
|
32
|
-
,"/Users/jonathanburger/remotion/packages/core/src/use-media-playback.ts": {"lines":{"total":
|
|
37
|
+
,"/Users/jonathanburger/remotion/packages/core/src/use-media-playback.ts": {"lines":{"total":49,"covered":9,"skipped":0,"pct":18.37},"functions":{"total":5,"covered":0,"skipped":0,"pct":0},"statements":{"total":50,"covered":10,"skipped":0,"pct":20},"branches":{"total":49,"covered":0,"skipped":0,"pct":0}}
|
|
33
38
|
,"/Users/jonathanburger/remotion/packages/core/src/use-media-tag-volume.ts": {"lines":{"total":18,"covered":15,"skipped":0,"pct":83.33},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":20,"covered":17,"skipped":0,"pct":85},"branches":{"total":6,"covered":4,"skipped":0,"pct":66.67}}
|
|
34
39
|
,"/Users/jonathanburger/remotion/packages/core/src/use-sync-volume-with-media-tag.ts": {"lines":{"total":8,"covered":8,"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}}
|
|
35
40
|
,"/Users/jonathanburger/remotion/packages/core/src/use-unsafe-video-config.ts": {"lines":{"total":12,"covered":12,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":13,"covered":13,"skipped":0,"pct":100},"branches":{"total":14,"covered":14,"skipped":0,"pct":100}}
|
|
@@ -39,44 +44,54 @@
|
|
|
39
44
|
,"/Users/jonathanburger/remotion/packages/core/src/validate-start-from-props.ts": {"lines":{"total":17,"covered":17,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":18,"covered":18,"skipped":0,"pct":100},"branches":{"total":20,"covered":20,"skipped":0,"pct":100}}
|
|
40
45
|
,"/Users/jonathanburger/remotion/packages/core/src/volume-position-state.ts": {"lines":{"total":15,"covered":5,"skipped":0,"pct":33.33},"functions":{"total":6,"covered":0,"skipped":0,"pct":0},"statements":{"total":17,"covered":7,"skipped":0,"pct":41.18},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
41
46
|
,"/Users/jonathanburger/remotion/packages/core/src/volume-prop.ts": {"lines":{"total":13,"covered":12,"skipped":0,"pct":92.31},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":14,"covered":13,"skipped":0,"pct":92.86},"branches":{"total":11,"covered":10,"skipped":0,"pct":90.91}}
|
|
47
|
+
,"/Users/jonathanburger/remotion/packages/core/src/warn-about-non-seekable-media.ts": {"lines":{"total":12,"covered":2,"skipped":0,"pct":16.67},"functions":{"total":1,"covered":0,"skipped":0,"pct":0},"statements":{"total":13,"covered":3,"skipped":0,"pct":23.08},"branches":{"total":10,"covered":0,"skipped":0,"pct":0}}
|
|
42
48
|
,"/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.06},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
43
|
-
,"/Users/jonathanburger/remotion/packages/core/src/audio/Audio.tsx": {"lines":{"total":
|
|
44
|
-
,"/Users/jonathanburger/remotion/packages/core/src/audio/AudioForDevelopment.tsx": {"lines":{"total":
|
|
49
|
+
,"/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}}
|
|
50
|
+
,"/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}}
|
|
45
51
|
,"/Users/jonathanburger/remotion/packages/core/src/audio/AudioForRendering.tsx": {"lines":{"total":31,"covered":29,"skipped":0,"pct":93.55},"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.67}}
|
|
46
52
|
,"/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}}
|
|
53
|
+
,"/Users/jonathanburger/remotion/packages/core/src/audio/shared-audio-tags.tsx": {"lines":{"total":66,"covered":19,"skipped":0,"pct":28.79},"functions":{"total":24,"covered":3,"skipped":0,"pct":12.5},"statements":{"total":72,"covered":20,"skipped":0,"pct":27.78},"branches":{"total":28,"covered":1,"skipped":0,"pct":3.57}}
|
|
47
54
|
,"/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}}
|
|
48
55
|
,"/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.43},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
49
56
|
,"/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}}
|
|
50
|
-
,"/Users/jonathanburger/remotion/packages/core/src/config/codec.ts": {"lines":{"total":
|
|
57
|
+
,"/Users/jonathanburger/remotion/packages/core/src/config/codec.ts": {"lines":{"total":59,"covered":36,"skipped":0,"pct":61.02},"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}}
|
|
51
58
|
,"/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}}
|
|
52
|
-
,"/Users/jonathanburger/remotion/packages/core/src/config/crf.ts": {"lines":{"total":
|
|
59
|
+
,"/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.12},"branches":{"total":45,"covered":42,"skipped":0,"pct":93.33}}
|
|
53
60
|
,"/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.43},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
54
61
|
,"/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.37}}
|
|
55
|
-
,"/Users/jonathanburger/remotion/packages/core/src/config/
|
|
62
|
+
,"/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.67},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
63
|
+
,"/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}}
|
|
56
64
|
,"/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}}
|
|
57
|
-
,"/Users/jonathanburger/remotion/packages/core/src/config/index.ts": {"lines":{"total":
|
|
58
|
-
,"/Users/jonathanburger/remotion/packages/core/src/config/input-props.ts": {"lines":{"total":
|
|
65
|
+
,"/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}}
|
|
66
|
+
,"/Users/jonathanburger/remotion/packages/core/src/config/input-props.ts": {"lines":{"total":12,"covered":11,"skipped":0,"pct":91.67},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":13,"covered":12,"skipped":0,"pct":92.31},"branches":{"total":6,"covered":5,"skipped":0,"pct":83.33}}
|
|
59
67
|
,"/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}}
|
|
68
|
+
,"/Users/jonathanburger/remotion/packages/core/src/config/max-timeline-tracks.ts": {"lines":{"total":13,"covered":3,"skipped":0,"pct":23.08},"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}}
|
|
60
69
|
,"/Users/jonathanburger/remotion/packages/core/src/config/override-webpack.ts": {"lines":{"total":6,"covered":4,"skipped":0,"pct":66.67},"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}}
|
|
61
70
|
,"/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}}
|
|
62
71
|
,"/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}}
|
|
63
72
|
,"/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.62},"branches":{"total":8,"covered":7,"skipped":0,"pct":87.5}}
|
|
64
|
-
,"/Users/jonathanburger/remotion/packages/core/src/config/
|
|
73
|
+
,"/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}}
|
|
74
|
+
,"/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}}
|
|
75
|
+
,"/Users/jonathanburger/remotion/packages/core/src/config/still-frame.ts": {"lines":{"total":6,"covered":4,"skipped":0,"pct":66.67},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":9,"covered":6,"skipped":0,"pct":66.67},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
65
76
|
,"/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}}
|
|
66
77
|
,"/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.11},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
67
|
-
,"/Users/jonathanburger/remotion/packages/core/src/sequencing/index.tsx": {"lines":{"total":44,"covered":
|
|
78
|
+
,"/Users/jonathanburger/remotion/packages/core/src/sequencing/index.tsx": {"lines":{"total":44,"covered":43,"skipped":0,"pct":97.73},"functions":{"total":7,"covered":7,"skipped":0,"pct":100},"statements":{"total":46,"covered":45,"skipped":0,"pct":97.83},"branches":{"total":61,"covered":59,"skipped":0,"pct":96.72}}
|
|
68
79
|
,"/Users/jonathanburger/remotion/packages/core/src/series/flatten-children.tsx": {"lines":{"total":8,"covered":8,"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}}
|
|
69
80
|
,"/Users/jonathanburger/remotion/packages/core/src/series/index.tsx": {"lines":{"total":36,"covered":35,"skipped":0,"pct":97.22},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":36,"covered":35,"skipped":0,"pct":97.22},"branches":{"total":20,"covered":19,"skipped":0,"pct":95}}
|
|
70
81
|
,"/Users/jonathanburger/remotion/packages/core/src/spring/index.ts": {"lines":{"total":9,"covered":6,"skipped":0,"pct":66.67},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":10,"covered":7,"skipped":0,"pct":70},"branches":{"total":7,"covered":4,"skipped":0,"pct":57.14}}
|
|
71
82
|
,"/Users/jonathanburger/remotion/packages/core/src/spring/measure-spring.ts": {"lines":{"total":38,"covered":37,"skipped":0,"pct":97.37},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":39,"covered":38,"skipped":0,"pct":97.44},"branches":{"total":20,"covered":18,"skipped":0,"pct":90}}
|
|
72
83
|
,"/Users/jonathanburger/remotion/packages/core/src/spring/spring-utils.ts": {"lines":{"total":43,"covered":43,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":44,"covered":44,"skipped":0,"pct":100},"branches":{"total":13,"covered":8,"skipped":0,"pct":61.54}}
|
|
73
84
|
,"/Users/jonathanburger/remotion/packages/core/src/test/expect-to-throw.ts": {"lines":{"total":5,"covered":5,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":7,"covered":7,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
|
|
85
|
+
,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-composition-id.ts": {"lines":{"total":6,"covered":6,"skipped":0,"pct":100},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":10,"covered":10,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
|
|
74
86
|
,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-dimensions.ts": {"lines":{"total":11,"covered":9,"skipped":0,"pct":81.82},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":12,"covered":10,"skipped":0,"pct":83.33},"branches":{"total":10,"covered":8,"skipped":0,"pct":80}}
|
|
75
87
|
,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-duration-in-frames.ts": {"lines":{"total":7,"covered":7,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":8,"covered":8,"skipped":0,"pct":100},"branches":{"total":6,"covered":6,"skipped":0,"pct":100}}
|
|
76
88
|
,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-fps.ts": {"lines":{"total":9,"covered":7,"skipped":0,"pct":77.78},"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}}
|
|
77
|
-
,"/Users/jonathanburger/remotion/packages/core/src/
|
|
89
|
+
,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-frame.ts": {"lines":{"total":13,"covered":12,"skipped":0,"pct":92.31},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":14,"covered":13,"skipped":0,"pct":92.86},"branches":{"total":12,"covered":11,"skipped":0,"pct":91.67}}
|
|
90
|
+
,"/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}}
|
|
91
|
+
,"/Users/jonathanburger/remotion/packages/core/src/validation/validate-quality.ts": {"lines":{"total":11,"covered":9,"skipped":0,"pct":81.82},"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}}
|
|
92
|
+
,"/Users/jonathanburger/remotion/packages/core/src/video/Video.tsx": {"lines":{"total":21,"covered":19,"skipped":0,"pct":90.48},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":21,"covered":19,"skipped":0,"pct":90.48},"branches":{"total":16,"covered":14,"skipped":0,"pct":87.5}}
|
|
78
93
|
,"/Users/jonathanburger/remotion/packages/core/src/video/VideoForDevelopment.tsx": {"lines":{"total":21,"covered":9,"skipped":0,"pct":42.86},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":21,"covered":9,"skipped":0,"pct":42.86},"branches":{"total":6,"covered":0,"skipped":0,"pct":0}}
|
|
79
|
-
,"/Users/jonathanburger/remotion/packages/core/src/video/VideoForRendering.tsx": {"lines":{"total":
|
|
94
|
+
,"/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.67},"branches":{"total":50,"covered":39,"skipped":0,"pct":78}}
|
|
80
95
|
,"/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}}
|
|
81
96
|
,"/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}}
|
|
82
97
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompositionManager.d.ts","sourceRoot":"","sources":["../src/CompositionManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEb,mBAAmB,EAKnB,MAAM,OAAO,CAAC;AACf,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAElD,oBAAY,YAAY,CAAC,CAAC,GAAG,OAAO,IAAI;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;IACrD,KAAK,CAAC,EA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AY7B,CAAC;AAEH,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EA2F9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompositionManager.js","sourceRoot":"","sources":["../src/CompositionManager.tsx"],"names":[],"mappings":";;;;AAAA,iCAOe;
|
|
1
|
+
{"version":3,"file":"CompositionManager.js","sourceRoot":"","sources":["../src/CompositionManager.tsx"],"names":[],"mappings":";;;;AAAA,iCAOe;AAkFF,QAAA,kBAAkB,GAAG,IAAA,qBAAa,EAA4B;IAC1E,YAAY,EAAE,EAAE;IAChB,mBAAmB,EAAE,GAAG,EAAE,CAAC,SAAS;IACpC,qBAAqB,EAAE,GAAG,EAAE,CAAC,SAAS;IACtC,kBAAkB,EAAE,IAAI;IACxB,qBAAqB,EAAE,GAAG,EAAE,CAAC,SAAS;IACtC,gBAAgB,EAAE,GAAG,EAAE,CAAC,SAAS;IACjC,kBAAkB,EAAE,GAAG,EAAE,CAAC,SAAS;IACnC,aAAa,EAAE,GAAG,EAAE,CAAC,SAAS;IAC9B,eAAe,EAAE,GAAG,EAAE,CAAC,SAAS;IAChC,SAAS,EAAE,EAAE;IACb,MAAM,EAAE,EAAE;CACV,CAAC,CAAC;AAEI,MAAM,0BAA0B,GAAa,CAAC,EAAC,QAAQ,EAAC,EAAE,EAAE;IAClE,4BAA4B;IAC5B,8DAA8D;IAC9D,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAsB,EAAE,CAAC,CAAC;IAC1E,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,IAAA,gBAAQ,EAC3D,IAAI,CACJ,CAAC;IACF,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAW,EAAE,CAAC,CAAC;IAEnD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAc,EAAE,CAAC,CAAC;IAE5D,MAAM,mBA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OAAO,CACN,uBAAC,0BAAkB,CAAC,QAAQ,kBAAC,KAAK,EAAE,YAAY,gBAC9C,QAAQ,YACoB,CAC9B,CAAC;AACH,CAAC,CAAC;AA3FW,QAAA,0BAA0B,8BA2FrC"}
|
package/dist/audio/Audio.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { RemotionMainAudioProps } from './props';
|
|
|
3
3
|
export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "autoPlay" | "controls" | "loop"> & {
|
|
4
4
|
volume?: import("../volume-prop").VolumeProp | undefined;
|
|
5
5
|
playbackRate?: number | undefined;
|
|
6
|
-
} & RemotionMainAudioProps, "children" | "
|
|
6
|
+
} & RemotionMainAudioProps, "id" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
|
|
7
7
|
//# sourceMappingURL=Audio.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionAudioProps } from './props';
|
|
3
|
-
export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "children" | "
|
|
3
|
+
export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "id" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLAudioElement>>;
|
|
4
4
|
//# sourceMappingURL=AudioForRendering.d.ts.map
|
package/dist/config/codec.d.ts
CHANGED
|
@@ -6,10 +6,11 @@ declare type LegacyFormat = typeof validLegacyFormats[number];
|
|
|
6
6
|
declare let codec: CodecOrUndefined;
|
|
7
7
|
export declare const getOutputCodecOrUndefined: () => CodecOrUndefined;
|
|
8
8
|
export declare const DEFAULT_CODEC: Codec;
|
|
9
|
-
export declare const getFinalOutputCodec: ({ codec: inputCodec, fileExtension, emitWarning, }: {
|
|
9
|
+
export declare const getFinalOutputCodec: ({ codec: inputCodec, fileExtension, emitWarning, isLambda, }: {
|
|
10
10
|
codec: CodecOrUndefined;
|
|
11
11
|
fileExtension: string | null;
|
|
12
12
|
emitWarning: boolean;
|
|
13
|
+
isLambda: boolean;
|
|
13
14
|
}) => Codec;
|
|
14
15
|
export declare const setOutputFormat: (newLegacyFormat: LegacyFormat) => void;
|
|
15
16
|
export declare const setCodec: (newCodec: CodecOrUndefined) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec.d.ts","sourceRoot":"","sources":["../../src/config/codec.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW,oFAUP,CAAC;AAEX,oBAAY,KAAK,GAAG,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC;AAC/C,oBAAY,gBAAgB,GAAG,KAAK,GAAG,SAAS,CAAC;AACjD,QAAA,MAAM,kBAAkB,kCAAmC,CAAC;AAC5D,aAAK,YAAY,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAEtD,QAAA,IAAI,KAAK,EAAE,gBAAgB,CAAC;AAE5B,eAAO,MAAM,yBAAyB,QAAO,gBAE5C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"codec.d.ts","sourceRoot":"","sources":["../../src/config/codec.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW,oFAUP,CAAC;AAEX,oBAAY,KAAK,GAAG,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC;AAC/C,oBAAY,gBAAgB,GAAG,KAAK,GAAG,SAAS,CAAC;AACjD,QAAA,MAAM,kBAAkB,kCAAmC,CAAC;AAC5D,aAAK,YAAY,GAAG,OAAO,kBAAkB,CAAC,MAAM,CAAC,CAAC;AAEtD,QAAA,IAAI,KAAK,EAAE,gBAAgB,CAAC;AAE5B,eAAO,MAAM,yBAAyB,QAAO,gBAE5C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAc,CAAC;AAI3C,eAAO,MAAM,mBAAmB;WAMxB,gBAAgB;mBACR,MAAM,GAAG,IAAI;iBACf,OAAO;cACV,OAAO;MACd,KAkFH,CAAC;AAEF,eAAO,MAAM,eAAe,oBAAqB,YAAY,SAyB5D,CAAC;AAEF,eAAO,MAAM,QAAQ,aAAc,gBAAgB,SAelD,CAAC"}
|
package/dist/config/codec.js
CHANGED
|
@@ -19,8 +19,9 @@ const getOutputCodecOrUndefined = () => {
|
|
|
19
19
|
};
|
|
20
20
|
exports.getOutputCodecOrUndefined = getOutputCodecOrUndefined;
|
|
21
21
|
exports.DEFAULT_CODEC = 'h264';
|
|
22
|
+
const DEFAULT_LAMBDA_CODEC = 'h264-mkv';
|
|
22
23
|
// eslint-disable-next-line complexity
|
|
23
|
-
const getFinalOutputCodec = ({ codec: inputCodec, fileExtension, emitWarning, }) => {
|
|
24
|
+
const getFinalOutputCodec = ({ codec: inputCodec, fileExtension, emitWarning, isLambda, }) => {
|
|
24
25
|
if (inputCodec === undefined && fileExtension === 'webm') {
|
|
25
26
|
if (emitWarning) {
|
|
26
27
|
console.info('You have specified a .webm extension, using the VP8 encoder. Use --codec=vp9 to use the Vp9 encoder.');
|
|
@@ -69,7 +70,7 @@ const getFinalOutputCodec = ({ codec: inputCodec, fileExtension, emitWarning, })
|
|
|
69
70
|
}
|
|
70
71
|
return 'h264-mkv';
|
|
71
72
|
}
|
|
72
|
-
return inputCodec !== null && inputCodec !== void 0 ? inputCodec : exports.DEFAULT_CODEC;
|
|
73
|
+
return inputCodec !== null && inputCodec !== void 0 ? inputCodec : (isLambda ? DEFAULT_LAMBDA_CODEC : exports.DEFAULT_CODEC);
|
|
73
74
|
};
|
|
74
75
|
exports.getFinalOutputCodec = getFinalOutputCodec;
|
|
75
76
|
const setOutputFormat = (newLegacyFormat) => {
|
package/dist/config/codec.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codec.js","sourceRoot":"","sources":["../../src/config/codec.ts"],"names":[],"mappings":";;;AAAA,MAAM,WAAW,GAAG;IACnB,MAAM;IACN,MAAM;IACN,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,QAAQ;IACR,UAAU;CACD,CAAC;AAIX,MAAM,kBAAkB,GAAG,CAAC,KAAK,EAAE,cAAc,CAAU,CAAC;AAG5D,IAAI,KAAuB,CAAC;AAErB,MAAM,yBAAyB,GAAG,GAAqB,EAAE;IAC/D,OAAO,KAAK,CAAC;AACd,CAAC,CAAC;AAFW,QAAA,yBAAyB,6BAEpC;AAEW,QAAA,aAAa,GAAU,MAAM,CAAC;
|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AAC;IACF,IAAI,eAAe,KAAK,KAAK,EAAE;QAC9B,KAAK,GAAG,MAAM,CAAC;QACf,OAAO;KACP;IAED,IAAI,eAAe,KAAK,cAAc,EAAE;QACvC,KAAK,GAAG,SAAS,CAAC;KAClB;AACF,CAAC,CAAC;AAzBW,QAAA,eAAe,mBAyB1B;AAEK,MAAM,QAAQ,GAAG,CAAC,QAA0B,EAAE,EAAE;IACtD,IAAI,QAAQ,KAAK,SAAS,EAAE;QAC3B,KAAK,GAAG,SAAS,CAAC;QAClB,OAAO;KACP;IAED,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE;QACpC,MAAM,IAAI,KAAK,CACd,uCAAuC,WAAW,CAAC,IAAI,CACtD,IAAI,CACJ,aAAa,QAAQ,EAAE,CACxB,CAAC;KACF;IAED,KAAK,GAAG,QAAQ,CAAC;AAClB,CAAC,CAAC;AAfW,QAAA,QAAQ,YAenB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PixelFormat } from './pixel-format';
|
|
2
2
|
declare const validOptions: readonly ["png", "jpeg", "none"];
|
|
3
3
|
export declare type ImageFormat = typeof validOptions[number];
|
|
4
|
+
export declare type StillImageFormat = 'png' | 'jpeg';
|
|
4
5
|
export declare const setImageFormat: (format: ImageFormat) => void;
|
|
5
6
|
export declare const getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
|
|
6
7
|
export declare const validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: PixelFormat, imageFormat: ImageFormat) => 'none' | 'valid';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-format.d.ts","sourceRoot":"","sources":["../../src/config/image-format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C,QAAA,MAAM,YAAY,kCAAmC,CAAC;AAEtD,oBAAY,WAAW,GAAG,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"image-format.d.ts","sourceRoot":"","sources":["../../src/config/image-format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C,QAAA,MAAM,YAAY,kCAAmC,CAAC;AAEtD,oBAAY,WAAW,GAAG,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC;AACtD,oBAAY,gBAAgB,GAAG,KAAK,GAAG,MAAM,CAAC;AAI9C,eAAO,MAAM,cAAc,WAAY,WAAW,SAWjD,CAAC;AAEF,eAAO,MAAM,2BAA2B,2CAEvC,CAAC;AAGF,eAAO,MAAM,oDAAoD,gBACnD,WAAW,eACX,WAAW,KACtB,MAAM,GAAG,OAsBX,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-format.js","sourceRoot":"","sources":["../../src/config/image-format.ts"],"names":[],"mappings":";;;AAEA,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"image-format.js","sourceRoot":"","sources":["../../src/config/image-format.ts"],"names":[],"mappings":";;;AAEA,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAU,CAAC;AAKtD,IAAI,kBAA2C,CAAC;AAEzC,MAAM,cAAc,GAAG,CAAC,MAAmB,EAAE,EAAE;IACrD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QAClC,kBAAkB,GAAG,SAAS,CAAC;QAC/B,OAAO;KACP;IAED,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;QACnC,MAAM,IAAI,SAAS,CAAC,SAAS,MAAM,mCAAmC,CAAC,CAAC;KACxE;IAED,kBAAkB,GAAG,MAAM,CAAC;AAC7B,CAAC,CAAC;AAXW,QAAA,cAAc,kBAWzB;AAEK,MAAM,2BAA2B,GAAG,GAAG,EAAE;IAC/C,OAAO,kBAAkB,CAAC;AAC3B,CAAC,CAAC;AAFW,QAAA,2BAA2B,+BAEtC;AAEF,4FAA4F;AACrF,MAAM,oDAAoD,GAAG,CACnE,WAAwB,EACxB,WAAwB,EACL,EAAE;IACrB,IAAI,WAAW,KAAK,MAAM,EAAE;QAC3B,OAAO,MAAM,CAAC;KACd;IAED,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE;QACxC,MAAM,IAAI,SAAS,CAClB,SAAS,WAAW,mCAAmC,CACvD,CAAC;KACF;IAED,IAAI,WAAW,KAAK,UAAU,IAAI,WAAW,KAAK,cAAc,EAAE;QACjE,OAAO,OAAO,CAAC;KACf;IAED,IAAI,WAAW,KAAK,KAAK,EAAE;QAC1B,MAAM,IAAI,SAAS,CAClB,4BAA4B,WAAW,2GAA2G,CAClJ,CAAC;KACF;IAED,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAzBW,QAAA,oDAAoD,wDAyB/D"}
|
package/dist/config/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { BrowserExecutable } from './browser-executable';
|
|
|
3
3
|
import { Codec } from './codec';
|
|
4
4
|
import { Concurrency } from './concurrency';
|
|
5
5
|
import { FrameRange } from './frame-range';
|
|
6
|
-
import { ImageFormat } from './image-format';
|
|
6
|
+
import { ImageFormat, StillImageFormat } from './image-format';
|
|
7
7
|
import { LogLevel } from './log';
|
|
8
8
|
import { WebpackConfiguration, WebpackOverrideFn } from './override-webpack';
|
|
9
9
|
import { PixelFormat } from './pixel-format';
|
|
@@ -122,6 +122,13 @@ export declare const Config: {
|
|
|
122
122
|
*/
|
|
123
123
|
readonly setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
|
|
124
124
|
};
|
|
125
|
+
readonly Lambda: {
|
|
126
|
+
/**
|
|
127
|
+
* Determine how many frames get rendered per lambda invocation.
|
|
128
|
+
* The lower the number, the more lambdas get invoked and the faster the render gets.
|
|
129
|
+
*/
|
|
130
|
+
readonly setFramesPerLambda: (newFrames: number) => void;
|
|
131
|
+
};
|
|
125
132
|
};
|
|
126
|
-
export type { PixelFormat, Concurrency, WebpackConfiguration, WebpackOverrideFn, BrowserExecutable, ImageFormat, Codec, Browser, FrameRange, LogLevel, };
|
|
133
|
+
export type { PixelFormat, Concurrency, WebpackConfiguration, WebpackOverrideFn, BrowserExecutable, ImageFormat, Codec, Browser, FrameRange, LogLevel, StillImageFormat, };
|
|
127
134
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,iBAAiB,EAAuB,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAC,KAAK,EAA4B,MAAM,SAAS,CAAC;AACzD,OAAO,EAAC,WAAW,EAAiB,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAC,UAAU,EAAgB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,iBAAiB,EAAuB,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAC,KAAK,EAA4B,MAAM,SAAS,CAAC;AACzD,OAAO,EAAC,WAAW,EAAiB,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAC,UAAU,EAAgB,MAAM,eAAe,CAAC;AAExD,OAAO,EAAC,WAAW,EAAkB,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAE7E,OAAO,EAAC,QAAQ,EAAc,MAAM,OAAO,CAAC;AAE5C,OAAO,EAEN,oBAAoB,EACpB,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAC,WAAW,EAAiB,MAAM,gBAAgB,CAAC;AAM3D,eAAO,MAAM,MAAM;;QAEjB;;;;WAIG;;;;QAIH;;;;WAIG;;QAEH;;;WAGG;;QAEH;;;;WAIG;;;;QAIH;;;;;;WAMG;;;;QAIH;;;WAGG;;;;QAIH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;;;WAKG;;QAEH;;WAEG;;QAEH;;;;;WAKG;;;;QAIH;;;WAGG;;QAEH;;;;WAIG;;QAEH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;;WAIG;;QAEH;;WAEG;;QAEH;;;;;WAKG;;;;QAIH;;;WAGG;;;CAGK,CAAC;AAEX,YAAY,EACX,WAAW,EACX,WAAW,EACX,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,KAAK,EACL,OAAO,EACP,UAAU,EACV,QAAQ,EACR,gBAAgB,GAChB,CAAC"}
|
package/dist/config/index.js
CHANGED
|
@@ -7,6 +7,7 @@ const concurrency_1 = require("./concurrency");
|
|
|
7
7
|
const crf_1 = require("./crf");
|
|
8
8
|
const env_file_1 = require("./env-file");
|
|
9
9
|
const frame_range_1 = require("./frame-range");
|
|
10
|
+
const frames_per_lambda_1 = require("./frames-per-lambda");
|
|
10
11
|
const image_format_1 = require("./image-format");
|
|
11
12
|
const image_sequence_1 = require("./image-sequence");
|
|
12
13
|
const log_1 = require("./log");
|
|
@@ -133,5 +134,12 @@ exports.Config = {
|
|
|
133
134
|
*/
|
|
134
135
|
setProResProfile: prores_profile_1.setProResProfile,
|
|
135
136
|
},
|
|
137
|
+
Lambda: {
|
|
138
|
+
/**
|
|
139
|
+
* Determine how many frames get rendered per lambda invocation.
|
|
140
|
+
* The lower the number, the more lambdas get invoked and the faster the render gets.
|
|
141
|
+
*/
|
|
142
|
+
setFramesPerLambda: frames_per_lambda_1.setFramesPerLambda,
|
|
143
|
+
},
|
|
136
144
|
};
|
|
137
145
|
//# sourceMappingURL=index.js.map
|
package/dist/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;AACA,6DAA6E;AAC7E,mCAAyD;AACzD,+CAA0D;AAC1D,+BAA6B;AAC7B,yCAA6C;AAC7C,+CAAwD;AACxD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;AACA,6DAA6E;AAC7E,mCAAyD;AACzD,+CAA0D;AAC1D,+BAA6B;AAC7B,yCAA6C;AAC7C,+CAAwD;AACxD,2DAAuD;AACvD,iDAA6E;AAC7E,qDAAkD;AAClD,+BAA4C;AAC5C,+DAA2D;AAC3D,yDAI4B;AAC5B,2CAA+C;AAC/C,iDAA2D;AAC3D,qDAAyC;AACzC,qDAAkD;AAClD,uCAAqC;AACrC,uDAAoD;AAEvC,QAAA,MAAM,GAAG;IACrB,OAAO,EAAE;QACR;;;;WAIG;QACH,oBAAoB,EAApB,0CAAoB;KACpB;IACD,QAAQ,EAAE;QACT;;;;WAIG;QACH,qBAAqB,EAArB,wCAAqB;QACrB;;;WAGG;QACH,iBAAiB,EAAE,mCAAiB;QACpC;;;;WAIG;QACH,OAAO,EAAP,wBAAO;KACP;IACD,GAAG,EAAE;QACJ;;;;;;WAMG;QACH,QAAQ,EAAE,iBAAW;KACrB;IACD,SAAS,EAAE;QACV;;;WAGG;QACH,oBAAoB,EAApB,yCAAoB;KACpB;IACD,SAAS,EAAE;QACV;;;WAGG;QACH,iBAAiB,EAAjB,4BAAiB;QACjB;;;WAGG;QACH,cAAc,EAAd,4BAAc;QACd;;;;;WAKG;QACH,UAAU,EAAV,oBAAU;QACV;;WAEG;QACH,cAAc,EAAd,6BAAc;QACd;;;;;WAKG;QACH,aAAa,EAAb,2BAAa;KACb;IACD,MAAM,EAAE;QACP;;;WAGG;QACH,kBAAkB,EAAlB,8BAAkB;QAClB;;;;WAIG;QACH,cAAc,EAAd,6BAAc;QACd;;;WAGG;QACH,eAAe,EAAf,uBAAe;QACf;;;WAGG;QACH,QAAQ,EAAR,gBAAQ;QACR;;;;WAIG;QACH,MAAM,EAAN,YAAM;QACN;;WAEG;QACH,gBAAgB,EAAhB,iCAAgB;QAChB;;;;;WAKG;QACH,gBAAgB,EAAhB,iCAAgB;KAChB;IACD,MAAM,EAAE;QACP;;;WAGG;QACH,kBAAkB,EAAlB,sCAAkB;KAClB;CACQ,CAAC"}
|
package/dist/config/log.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const logLevels: readonly ["verbose", "info", "warn", "error"];
|
|
2
2
|
export declare type LogLevel = typeof logLevels[number];
|
|
3
|
-
export declare const getLogLevel: () => "
|
|
3
|
+
export declare const getLogLevel: () => "verbose" | "info" | "warn" | "error";
|
|
4
4
|
export declare const setLogLevel: (newLogLevel: LogLevel) => void;
|
|
5
5
|
export declare const isValidLogLevel: (level: string) => boolean;
|
|
6
6
|
export declare const isEqualOrBelowLogLevel: (level: LogLevel) => boolean;
|
package/dist/internals.d.ts
CHANGED
|
@@ -32,10 +32,11 @@ export declare const Internals: {
|
|
|
32
32
|
getQuality: () => number | undefined;
|
|
33
33
|
getShouldOutputImageSequence: (frameRange: import("./config/frame-range").FrameRange | null) => boolean;
|
|
34
34
|
validateSelectedCrfAndCodecCombination: (crf: number, codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => void;
|
|
35
|
-
getFinalOutputCodec: ({ codec: inputCodec, fileExtension, emitWarning, }: {
|
|
35
|
+
getFinalOutputCodec: ({ codec: inputCodec, fileExtension, emitWarning, isLambda, }: {
|
|
36
36
|
codec: import("./config/codec").CodecOrUndefined;
|
|
37
37
|
fileExtension: string | null;
|
|
38
38
|
emitWarning: boolean;
|
|
39
|
+
isLambda: boolean;
|
|
39
40
|
}) => "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv";
|
|
40
41
|
useMediaVolumeState: () => readonly [number, (u: number) => void];
|
|
41
42
|
useMediaMutedState: () => readonly [boolean, (u: import("react").SetStateAction<boolean>) => void];
|
|
@@ -48,11 +49,11 @@ export declare const Internals: {
|
|
|
48
49
|
getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
|
|
49
50
|
getActualCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
|
|
50
51
|
setFrameRangeFromCli: (newFrameRange: string | number) => void;
|
|
51
|
-
getUserPreferredImageFormat: () => "
|
|
52
|
-
validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "
|
|
52
|
+
getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
|
|
53
|
+
validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "png" | "jpeg" | "none") => "none" | "valid";
|
|
53
54
|
validateSelectedPixelFormatAndCodecCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => void;
|
|
54
55
|
validateFrameRange: (frameRange: import("./config/frame-range").FrameRange | null) => void;
|
|
55
|
-
validateNonNullImageFormat: (imageFormat: "
|
|
56
|
+
validateNonNullImageFormat: (imageFormat: "png" | "jpeg" | "none") => void;
|
|
56
57
|
getWebpackCaching: () => boolean;
|
|
57
58
|
useLazyComponent: <T>(compProps: CompProps<T>) => import("react").LazyExoticComponent<LooseAnyComponent<T>>;
|
|
58
59
|
truthy: typeof truthy;
|
|
@@ -99,6 +100,8 @@ export declare const Internals: {
|
|
|
99
100
|
validateFrame: (frame: number, durationInFrames: number) => void;
|
|
100
101
|
setStillFrame: (frame: number) => void;
|
|
101
102
|
getStillFrame: () => number;
|
|
103
|
+
getFramesPerLambda: () => number | null;
|
|
104
|
+
setFramesPerLambda: (newFrames: number) => void;
|
|
102
105
|
invalidCompositionErrorMessage: string;
|
|
103
106
|
isCompositionIdValid: (id: string) => RegExpMatchArray | null;
|
|
104
107
|
};
|
package/dist/internals.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAKlD,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAEN,yBAAyB,EACzB,eAAe,EACf,MAAM,EACN,aAAa,EACb,YAAY,EACZ,SAAS,EACT,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAKlD,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAEN,yBAAyB,EACzB,eAAe,EACf,MAAM,EACN,aAAa,EACb,YAAY,EACZ,SAAS,EACT,MAAM,sBAAsB,CAAC;AA8B9B,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,OAAO,EAEN,iBAAiB,EACjB,MAAM,2BAA2B,CAAC;AAQnC,OAAO,EAEN,aAAa,EAGb,MAAM,yBAAyB,CAAC;AAOjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAyB,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAM9E,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAc/B,OAAO,KAAK,QAAQ,MAAM,2BAA2B,CAAC;AACtD,OAAO,EACN,uBAAuB,EACvB,oBAAoB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAchC,OAAO,EAEN,uBAAuB,EAEvB,0BAA0B,EAG1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEN,mBAAmB,EACnB,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2ErB,CAAC;AAEF,YAAY,EACX,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,eAAe,EACf,oBAAoB,EACpB,uBAAuB,EACvB,SAAS,EACT,yBAAyB,EACzB,uBAAuB,EACvB,0BAA0B,EAC1B,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,GACb,CAAC"}
|
package/dist/internals.js
CHANGED
|
@@ -29,6 +29,7 @@ const concurrency_1 = require("./config/concurrency");
|
|
|
29
29
|
const crf_1 = require("./config/crf");
|
|
30
30
|
const env_file_1 = require("./config/env-file");
|
|
31
31
|
const frame_range_1 = require("./config/frame-range");
|
|
32
|
+
const frames_per_lambda_1 = require("./config/frames-per-lambda");
|
|
32
33
|
const image_format_1 = require("./config/image-format");
|
|
33
34
|
const image_sequence_1 = require("./config/image-sequence");
|
|
34
35
|
const input_props_1 = require("./config/input-props");
|
|
@@ -139,6 +140,8 @@ exports.Internals = {
|
|
|
139
140
|
validateFrame: validate_frame_1.validateFrame,
|
|
140
141
|
setStillFrame: still_frame_1.setStillFrame,
|
|
141
142
|
getStillFrame: still_frame_1.getStillFrame,
|
|
143
|
+
getFramesPerLambda: frames_per_lambda_1.getFramesPerLambda,
|
|
144
|
+
setFramesPerLambda: frames_per_lambda_1.setFramesPerLambda,
|
|
142
145
|
invalidCompositionErrorMessage: validate_composition_id_1.invalidCompositionErrorMessage,
|
|
143
146
|
isCompositionIdValid: validate_composition_id_1.isCompositionIdValid,
|
|
144
147
|
};
|
package/dist/internals.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internals.js","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,iEAGmC;AAEnC,6DAQ8B;AAC9B,8CAA6D;AAC7D,oEAAiE;AACjE,0CAIwB;AACxB,sDAAoD;AACpD,sCAIsB;AACtB,gDAAoD;AACpD,sDAI8B;AAC9B,wDAG+B;AAC/B,4DAAqE;AACrE,sDAAqD;AACrD,sDAAwC;AACxC,sEAAkE;AAClE,gEAGmC;AACnC,kDAAsD;AACtD,wDAI+B;AAC/B,4DAAsD;AACtD,4DAKiC;AACjC,8CAA4C;AAC5C,sDAAkE;AAClE,8DAGkC;AAClC,wDAA0C;AAC1C,mDAA6D;AAC7D,uDAA8E;AAC9E,mDAGyB;AACzB,qDAA8C;AAC9C,6CAA+B;AAC/B,mDAKyB;AACzB,iDAA4C;AAC5C,6CAA6C;AAC7C,+DAI+B;AAC/B,oEAAsD;AAKtD,qCAAgC;AAChC,6DAAsD;AACtD,uEAA+D;AAC/D,2CAAqC;AACrC,kFAG8C;AAC9C,0EAAmE;AACnE,0FAAkF;AAClF,4DAAsD;AACtD,gEAA0D;AAC1D,8EAA8E;AAC9E,oEAA8D;AAC9D,mEAOiC;AACjC,mEAGiC;AAEjC,4DAA4D;AAC5D,oCAAoC;AACvB,QAAA,SAAS,GAAG;IACxB,IAAI;IACJ,oBAAoB,EAApB,8CAAoB;IACpB,QAAQ;IACR,kBAAkB,EAAlB,uCAAkB;IAClB,YAAY,EAAZ,2BAAY;IACZ,QAAQ,EAAR,oBAAQ;IACR,OAAO,EAAP,uBAAO;IACP,oBAAoB,EAApB,yCAAoB;IACpB,kBAAkB,EAAlB,kCAAkB;IAClB,eAAe,EAAf,+BAAe;IACf,cAAc,EAAd,6B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OAAO;IACP,eAAe,EAAf,4BAAe;IACf,mBAAmB,EAAnB,2CAAmB;IACnB,uBAAuB,EAAvB,+CAAuB;IACvB,YAAY,EAAZ,4BAAY;IACZ,QAAQ;IACR,iBAAiB,EAAjB,uCAAiB;IACjB,iBAAiB,EAAjB,iCAAiB;IACjB,sBAAsB,EAAtB,4CAAsB;IACtB,+BAA+B,EAA/B,qDAA+B;IAC/B,+BAA+B,EAA/B,+CAA+B;IAC/B,iBAAiB,EAAjB,4BAAiB;IACjB,aAAa,EAAb,8BAAa;IACb,kBAAkB,EAAlB,0CAAkB;IAClB,qBAAqB,EAArB,6CAAqB;IACrB,wBAAwB,EAAxB,sDAAwB;IACxB,WAAW,EAAX,0BAAW;IACX,iBAAiB,EAAjB,uCAAiB;IACjB,sBAAsB,EAAtB,wCAAsB;IACtB,gBAAgB,EAAhB,iCAAgB;IAChB,gBAAgB,EAAhB,iCAAgB;IAChB,yCAAyC,EAAzC,0DAAyC;IACzC,oBAAoB,EAApB,0CAAoB;IACpB,kBAAkB,EAAlB,sCAAkB;IAClB,0BAA0B,EAA1B,8CAA0B;IAC1B,eAAe,EAAf,kCAAe;IACf,aAAa,EAAb,8BAAa;IACb,aAAa,EAAb,2BAAa;IACb,aAAa,EAAb,2BAAa;IACb,kBAAkB,EAAlB,sCAAkB;IAClB,kBAAkB,EAAlB,sCAAkB;IAClB,8BAA8B,EAA9B,wDAA8B;IAC9B,oBAAoB,EAApB,8CAAoB;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-current-time.d.ts","sourceRoot":"","sources":["../src/use-current-time.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,QAAO,MAKjC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useCurrentTime = void 0;
|
|
4
|
+
const use_frame_1 = require("./use-frame");
|
|
5
|
+
const use_video_config_1 = require("./use-video-config");
|
|
6
|
+
const useCurrentTime = () => {
|
|
7
|
+
const { fps } = (0, use_video_config_1.useVideoConfig)();
|
|
8
|
+
const currentFrame = (0, use_frame_1.useCurrentFrame)();
|
|
9
|
+
return 1000 * (currentFrame / fps);
|
|
10
|
+
};
|
|
11
|
+
exports.useCurrentTime = useCurrentTime;
|
|
12
|
+
//# sourceMappingURL=use-current-time.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-current-time.js","sourceRoot":"","sources":["../src/use-current-time.ts"],"names":[],"mappings":";;;AAAA,2CAA4C;AAC5C,yDAAkD;AAE3C,MAAM,cAAc,GAAG,GAAW,EAAE;IAC1C,MAAM,EAAC,GAAG,EAAC,GAAG,IAAA,iCAAc,GAAE,CAAC;IAC/B,MAAM,YAAY,GAAG,IAAA,2BAAe,GAAE,CAAC;IAEvC,OAAO,IAAI,GAAG,CAAC,YAAY,GAAG,GAAG,CAAC,CAAC;AACpC,CAAC,CAAC;AALW,QAAA,cAAc,kBAKzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-time.d.ts","sourceRoot":"","sources":["../src/use-time.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc,QAAO,MASjC,CAAC"}
|
package/dist/use-time.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useCurrentTime = void 0;
|
|
4
|
+
const use_frame_1 = require("./use-frame");
|
|
5
|
+
const use_video_1 = require("./use-video");
|
|
6
|
+
const useCurrentTime = () => {
|
|
7
|
+
const video = (0, use_video_1.useVideo)();
|
|
8
|
+
const currentFrame = (0, use_frame_1.useCurrentFrame)();
|
|
9
|
+
if ((video === null || video === void 0 ? void 0 : video.fps) && currentFrame) {
|
|
10
|
+
return 1000 * (currentFrame / video.fps);
|
|
11
|
+
}
|
|
12
|
+
return 0;
|
|
13
|
+
};
|
|
14
|
+
exports.useCurrentTime = useCurrentTime;
|
|
15
|
+
//# sourceMappingURL=use-time.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-time.js","sourceRoot":"","sources":["../src/use-time.ts"],"names":[],"mappings":";;;AAAA,2CAA8C;AAC9C,2CAAuC;AAEhC,MAAM,cAAc,GAAG,GAAW,EAAE;IACzC,MAAM,KAAK,GAAG,IAAA,oBAAQ,GAAE,CAAC;IACzB,MAAM,YAAY,GAAG,IAAA,2BAAe,GAAE,CAAC;IAErC,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,KAAI,YAAY,EAAE;QAC9B,OAAO,IAAI,GAAG,CAAC,YAAY,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;KAC1C;IAED,OAAO,CAAC,CAAC;AACb,CAAC,CAAC;AATW,QAAA,cAAc,kBASzB"}
|
package/dist/video/Video.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { RemotionMainVideoProps } from './props';
|
|
|
3
3
|
export declare const Video: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "autoPlay" | "controls" | "loop"> & {
|
|
4
4
|
volume?: import("../volume-prop").VolumeProp | undefined;
|
|
5
5
|
playbackRate?: number | undefined;
|
|
6
|
-
} & RemotionMainVideoProps, "children" | "
|
|
6
|
+
} & RemotionMainVideoProps, "id" | "height" | "width" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "poster" | "disablePictureInPicture" | "disableRemotePlayback" | keyof RemotionMainVideoProps> & React.RefAttributes<HTMLVideoElement>>;
|
|
7
7
|
//# sourceMappingURL=Video.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionVideoProps } from './props';
|
|
3
|
-
export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "children" | "
|
|
3
|
+
export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "id" | "height" | "width" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
|
|
4
4
|
//# sourceMappingURL=VideoForRendering.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoForRendering.d.ts","sourceRoot":"","sources":["../../src/video/VideoForRendering.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAgBf,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"VideoForRendering.d.ts","sourceRoot":"","sources":["../../src/video/VideoForRendering.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAgBf,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAkK3C,eAAO,MAAM,iBAAiB,yyJAA+C,CAAC"}
|
|
@@ -106,11 +106,17 @@ const VideoForRenderingForwardFunction = ({ onError, volume: volumeProp, playbac
|
|
|
106
106
|
}
|
|
107
107
|
videoRef.current.currentTime = currentTime;
|
|
108
108
|
videoRef.current.addEventListener('seeked', () => {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
if (window.navigator.platform.startsWith('Mac')) {
|
|
110
|
+
// Improve me: This is ensures frame perfectness but slows down render.
|
|
111
|
+
// Please see this issue for context: https://github.com/remotion-dev/remotion/issues/200
|
|
112
|
+
// Only affects macOS since it uses VideoToolbox decoding.
|
|
113
|
+
setTimeout(() => {
|
|
114
|
+
(0, ready_manager_1.continueRender)(handle);
|
|
115
|
+
}, 100);
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
112
118
|
(0, ready_manager_1.continueRender)(handle);
|
|
113
|
-
}
|
|
119
|
+
}
|
|
114
120
|
}, { once: true });
|
|
115
121
|
videoRef.current.addEventListener('ended', () => {
|
|
116
122
|
(0, ready_manager_1.continueRender)(handle);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoForRendering.js","sourceRoot":"","sources":["../../src/video/VideoForRendering.tsx"],"names":[],"mappings":";;;;AAAA,iCAOe;AACf,kDAA+C;AAC/C,8DAGkC;AAClC,8DAAyD;AACzD,4EAAoE;AACpE,wDAAiD;AACjD,sCAAiC;AACjC,oDAA6D;AAC7D,8CAA8C;AAC9C,4CAAsE;AACtE,wEAAgE;AAChE,gDAA8C;AAC9C,yDAAgD;AAGhD,MAAM,gCAAgC,GAGlC,C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B,CAAC,EACD,EAAC,IAAI,EAAE,IAAI,EAAC,CACZ,CAAC;QACF,QAAQ,CAAC,OAAO,CAAC,gBAAgB,CAChC,OAAO,EACP,CAAC,GAAG,EAAE,EAAE;YACP,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,GAAG,CAAC,CAAC;YAC9C,IAAA,8BAAc,EAAC,MAAM,CAAC,CAAC;QACxB,CAAC,EACD,EAAC,IAAI,EAAE,IAAI,EAAC,CACZ,CAAC;IACH,CAAC,EAAE;QACF,gBAAgB;QAChB,KAAK,CAAC,GAAG;QACT,YAAY;QACZ,WAAW,CAAC,GAAG;QACf,KAAK;QACL,aAAa;KACb,CAAC,CAAC;IAEH,OAAO,gDAAO,GAAG,EAAE,QAAQ,IAAM,KAAK,IAAE,OAAO,EAAE,OAAO,YAAI,CAAC;AAC9D,CAAC,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,kBAAU,EAAC,gCAAgC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remotion",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.3-alpha.8+2ef22c74d",
|
|
4
4
|
"description": "Render videos in React",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,19 +25,20 @@
|
|
|
25
25
|
"@jonny/eslint-config": "^2.1.233",
|
|
26
26
|
"@testing-library/react": "^11.2.2",
|
|
27
27
|
"@testing-library/react-hooks": "^5.1.1",
|
|
28
|
-
"@types/jest": "^
|
|
28
|
+
"@types/jest": "^27.0.2",
|
|
29
29
|
"@types/node": "^16.7.5",
|
|
30
30
|
"@types/webpack-env": "^1.16.0",
|
|
31
31
|
"eslint": "^7.25.0",
|
|
32
|
-
"jest": "^
|
|
32
|
+
"jest": "^27.2.4",
|
|
33
33
|
"prettier": "^2.0.5",
|
|
34
34
|
"prettier-plugin-organize-imports": "^1.1.1",
|
|
35
35
|
"rimraf": "^3.0.2",
|
|
36
|
-
"ts-jest": "^
|
|
36
|
+
"ts-jest": "^27.0.5",
|
|
37
37
|
"typescript": "^4.4.2",
|
|
38
38
|
"webpack": "5.37.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
|
-
}
|
|
42
|
+
},
|
|
43
|
+
"gitHead": "2ef22c74d78214618bdf1f7ac782887b8ae8e882"
|
|
43
44
|
}
|