polotno-node 2.10.3 → 2.10.5
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-
|
|
11
|
+
<script type="module" crossorigin src="./assets/index-BCjnOI-a.js"></script>
|
|
12
12
|
</head>
|
|
13
13
|
<body>
|
|
14
14
|
<div id="root"></div>
|
package/instance.js
CHANGED
|
@@ -192,7 +192,7 @@ module.exports.createInstance = async ({
|
|
|
192
192
|
const skipImageError = isImageError && args[1]?.skipImageError;
|
|
193
193
|
|
|
194
194
|
if (!skipError && !skipImageError) {
|
|
195
|
-
throw new Error(error);
|
|
195
|
+
throw new Error('Asset loading error: ' + error);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
// remove busy page
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "polotno-node",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.5",
|
|
4
4
|
"description": "Polotno workflow from NodeJS",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"test": "ava --timeout=30s --concurrency
|
|
7
|
+
"test": "ava --timeout=30s --concurrency=2 --serial",
|
|
8
8
|
"build": "rm -rf ./dist && npx vite build ./client/ --base=./ --outDir ../dist",
|
|
9
9
|
"dev": "vite ./client.html"
|
|
10
10
|
},
|
|
@@ -25,17 +25,17 @@
|
|
|
25
25
|
"gifencoder": "^2.0.1",
|
|
26
26
|
"pixelmatch": "^6.0.0",
|
|
27
27
|
"pngjs": "^7.0.0",
|
|
28
|
-
"polotno": "^2.
|
|
28
|
+
"polotno": "^2.14.0",
|
|
29
29
|
"react": "^18.3.1",
|
|
30
30
|
"react-dom": "^18.3.1",
|
|
31
|
-
"vite": "^5.4.
|
|
31
|
+
"vite": "^5.4.7"
|
|
32
32
|
},
|
|
33
33
|
"author": "Anton Lavrenov",
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@sparticuz/chromium": "127.0.0",
|
|
37
|
-
"puppeteer": "23.
|
|
38
|
-
"puppeteer-core": "23.
|
|
37
|
+
"puppeteer": "23.4.0",
|
|
38
|
+
"puppeteer-core": "23.4.0",
|
|
39
39
|
"tmp": "^0.2.3"
|
|
40
40
|
},
|
|
41
41
|
"bugs": {
|