polotno-node 2.9.26 → 2.9.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index-BorBURbT.js +288 -0
- package/dist/index.html +1 -1
- package/package.json +6 -6
- package/video-parallel.js +3 -1
- package/dist/assets/index-K6bexdEY.js +0 -281
package/dist/index.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
</style>
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
11
|
-
<script type="module" crossorigin src="./assets/index-
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-BorBURbT.js"></script>
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|
|
14
14
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "polotno-node",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.28",
|
|
4
4
|
"description": "Polotno workflow from NodeJS",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
"dotenv": "^16.4.5",
|
|
25
25
|
"fluent-ffmpeg": "^2.1.3",
|
|
26
26
|
"gifencoder": "^2.0.1",
|
|
27
|
-
"pixelmatch": "^
|
|
27
|
+
"pixelmatch": "^6.0.0",
|
|
28
28
|
"pngjs": "^7.0.0",
|
|
29
|
-
"polotno": "^2.
|
|
29
|
+
"polotno": "^2.9.10",
|
|
30
30
|
"react": "^18.3.1",
|
|
31
31
|
"react-dom": "^18.3.1",
|
|
32
|
-
"vite": "^5.
|
|
32
|
+
"vite": "^5.3.3"
|
|
33
33
|
},
|
|
34
34
|
"author": "Anton Lavrenov",
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@sparticuz/chromium": "123.0.1",
|
|
38
|
-
"puppeteer": "22.
|
|
39
|
-
"puppeteer-core": "22.
|
|
38
|
+
"puppeteer": "22.12.1",
|
|
39
|
+
"puppeteer-core": "22.12.1",
|
|
40
40
|
"tmp": "^0.2.3"
|
|
41
41
|
},
|
|
42
42
|
"bugs": {
|
package/video-parallel.js
CHANGED
|
@@ -102,7 +102,8 @@ module.exports.jsonToVideo = async function jsonToVideo(
|
|
|
102
102
|
videoEls.map(async (el) => {
|
|
103
103
|
const { dataURL, file, mp4File } = await convertVideo(
|
|
104
104
|
el.src,
|
|
105
|
-
tempFolder
|
|
105
|
+
tempFolder,
|
|
106
|
+
attrs.skipWebm
|
|
106
107
|
);
|
|
107
108
|
el.src = dataURL;
|
|
108
109
|
el.file = file;
|
|
@@ -291,6 +292,7 @@ module.exports.jsonToVideo = async function jsonToVideo(
|
|
|
291
292
|
|
|
292
293
|
ffmpegCmd
|
|
293
294
|
.format(format)
|
|
295
|
+
.audioCodec('aac')
|
|
294
296
|
.on('end', () => resolve())
|
|
295
297
|
.on('error', (err, stdout, stderr) => {
|
|
296
298
|
console.log(err.message);
|