polotno-node 2.9.22 → 2.9.24

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/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-CYctL5I1.js"></script>
11
+ <script type="module" crossorigin src="./assets/index-B_ojGXHf.js"></script>
12
12
  </head>
13
13
  <body>
14
14
  <div id="root"></div>
package/index.js CHANGED
@@ -56,6 +56,8 @@ const minimal_args = [
56
56
  '--no-zygote',
57
57
  '--password-store=basic',
58
58
  '--allow-running-insecure-content',
59
+ // do we need that?
60
+ // '--single-process',
59
61
 
60
62
  // this line breaks the rendering on most of OS
61
63
  // it doesn't allow creating of pages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polotno-node",
3
- "version": "2.9.22",
3
+ "version": "2.9.24",
4
4
  "description": "Polotno workflow from NodeJS",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -19,14 +19,14 @@
19
19
  "browserslist": "> 0.5%, last 2 versions, not dead",
20
20
  "devDependencies": {
21
21
  "ava": "^6.1.3",
22
- "axios": "^1.6.8",
22
+ "axios": "^1.7.2",
23
23
  "canvas": "^2.11.2",
24
24
  "dotenv": "^16.4.5",
25
- "fluent-ffmpeg": "^2.1.2",
25
+ "fluent-ffmpeg": "^2.1.3",
26
26
  "gifencoder": "^2.0.1",
27
27
  "pixelmatch": "^5.3.0",
28
28
  "pngjs": "^7.0.0",
29
- "polotno": "^2.5.3",
29
+ "polotno": "^2.7.1",
30
30
  "react": "^18.3.1",
31
31
  "react-dom": "^18.3.1",
32
32
  "vite": "^5.2.11"
@@ -35,8 +35,8 @@
35
35
  "license": "MIT",
36
36
  "dependencies": {
37
37
  "@sparticuz/chromium": "123.0.1",
38
- "puppeteer": "22.8.0",
39
- "puppeteer-core": "22.8.0",
38
+ "puppeteer": "22.10.0",
39
+ "puppeteer-core": "22.10.0",
40
40
  "tmp": "^0.2.3"
41
41
  },
42
42
  "bugs": {
package/video-parallel.js CHANGED
@@ -260,10 +260,6 @@ module.exports.jsonToVideo = async function jsonToVideo(
260
260
 
261
261
  const format = attrs.out.split('.').pop() || 'mp4';
262
262
 
263
- // print all files in temp folder
264
- fs.readdirSync(tempFolder.name).forEach((file) => {
265
- console.log(file);
266
- });
267
263
  console.time('ffmpeg');
268
264
  await new Promise((resolve, reject) => {
269
265
  const ffmpegCmd = ffmpeg()