mirror of
https://github.com/alam00000/bentopdf.git
synced 2026-11-10 17:14:34 +01:00
chore(security): fixes
This commit is contained in:
1 parent
121de29d80
commit
b040aef729
11 files changed
+59
-33
No files matched your search
@@ -554,7 +554,10 @@ async function addNodeToCanvas(
|
||||
try {
|
||||
const node = createNodeByType(type);
|
||||
if (!node) {
|
||||
console.error('Node type not found in registry:', type);
|
||||
console.error(
|
||||
'Node type not found in registry:',
|
||||
String(type).replace(/[\r\n]+/g, ' ')
|
||||
);
|
||||
return;
|
||||
}
|
||||
await editor.addNode(node);
|
||||
|
||||
Reference in new issue
Block a user