Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(whiteboard): updates dependencies and drop not used features

Calinteodor4f06c43eb792
diff --git a/package-lock.json b/package-lock.json
index 445269a6b1..ee923b5438 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -18,7 +18,7 @@
"@giphy/js-fetch-api": "4.9.3",
"@giphy/react-components": "6.9.4",
"@giphy/react-native-sdk": "4.1.0",
- "@jitsi/excalidraw": "https://github.com/jitsi/excalidraw/releases/download/0.18.1/jitsi-excalidraw-v0.18.1.tgz",
+ "@jitsi/excalidraw": "https://github.com/jitsi/excalidraw/releases/download/0.18.4/jitsi-excalidraw-v0.18.4.tgz",
"@jitsi/js-utils": "2.6.7",
"@jitsi/logger": "2.1.1",
"@jitsi/rnnoise-wasm": "0.2.1",
@@ -3543,15 +3543,6 @@
"node": "^14 || ^16 || >=18"
}
},
- "node_modules/@excalidraw/random-username": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@excalidraw/random-username/-/random-username-1.1.0.tgz",
- "integrity": "sha512-nULYsQxkWHnbmHvcs+efMkJ4/9TtvNyFeLyHdeGxW0zHs6P+jYVqcRff9A6Vq9w9JXeDRnRh2VKvTtS19GW2qA==",
- "license": "MIT",
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/@floating-ui/core": {
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.3.tgz",
@@ -4758,15 +4749,14 @@
}
},
"node_modules/@jitsi/excalidraw": {
- "version": "0.18.1",
- "resolved": "https://github.com/jitsi/excalidraw/releases/download/0.18.1/jitsi-excalidraw-v0.18.1.tgz",
- "integrity": "sha512-Hxnap3CWsOdUoUcJ2sKMIQWQfw5A2ccGSo4KAiyxpgA+XxCrRz7T0Yk82Tlu9Ia1SCGB+I6iwZ/2Pqacg3Dl8w==",
+ "version": "0.18.4",
+ "resolved": "https://github.com/jitsi/excalidraw/releases/download/0.18.4/jitsi-excalidraw-v0.18.4.tgz",
+ "integrity": "sha512-YbnndzFzNo7/cap05T4v0CoT1xVnQMSzyeDwdTo4izjQWO6MZDkOacNrBfRknOC9rWcks5bB0cPYFeNcMQiVVg==",
"license": "MIT",
"dependencies": {
"@braintree/sanitize-url": "6.0.2",
"@excalidraw/laser-pointer": "1.3.1",
"@excalidraw/mermaid-to-excalidraw": "1.1.2",
- "@excalidraw/random-username": "1.1.0",
"@radix-ui/react-popover": "1.1.6",
"@radix-ui/react-tabs": "1.0.2",
"browser-fs-access": "0.29.1",
@@ -4778,7 +4768,6 @@
"fuzzy": "0.1.3",
"i18next-browser-languagedetector": "6.1.4",
"idb-keyval": "6.0.3",
- "image-blob-reduce": "3.0.1",
"jotai": "2.11.0",
"jotai-scope": "0.7.2",
"lodash.debounce": "4.0.8",
@@ -4787,10 +4776,6 @@
"open-color": "1.9.1",
"pako": "2.0.3",
"perfect-freehand": "1.2.0",
- "pica": "7.1.1",
- "png-chunk-text": "1.0.0",
- "png-chunks-encode": "1.0.0",
- "png-chunks-extract": "1.0.0",
"points-on-curve": "1.0.1",
"pwacompat": "2.0.17",
"roughjs": "4.6.4",
@@ -17548,12 +17533,6 @@
"node": ">=8"
}
},
- "node_modules/glur": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/glur/-/glur-1.1.2.tgz",
- "integrity": "sha512-l+8esYHTKOx2G/Aao4lEQ0bnHWg4fWtJbVoZZT9Knxi01pB8C80BR85nONLFwkkQoFRCmXY+BUcGZN3yZ2QsRA==",
- "license": "MIT"
- },
"node_modules/gopd": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
@@ -18152,15 +18131,6 @@
"node": ">= 4"
}
},
- "node_modules/image-blob-reduce": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/image-blob-reduce/-/image-blob-reduce-3.0.1.tgz",
- "integrity": "sha512-/VmmWgIryG/wcn4TVrV7cC4mlfUC/oyiKIfSg5eVM3Ten/c1c34RJhMYKCWTnoSMHSqXLt3tsrBR4Q2HInvN+Q==",
- "license": "MIT",
- "dependencies": {
- "pica": "^7.1.0"
- }
- },
"node_modules/image-capture": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/image-capture/-/image-capture-0.4.0.tgz",
@@ -22593,16 +22563,6 @@
"multicast-dns": "cli.js"
}
},
- "node_modules/multimath": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/multimath/-/multimath-2.0.0.tgz",
- "integrity": "sha512-toRx66cAMJ+Ccz7pMIg38xSIrtnbozk0dchXezwQDMgQmbGpfxjtv68H+L00iFL8hxDaVjrmwAFSb3I6bg8Q2g==",
- "license": "MIT",
- "dependencies": {
- "glur": "^1.1.2",
- "object-assign": "^4.1.1"
- }
- },
"node_modules/mute-stream": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz",
@@ -23709,19 +23669,6 @@
"integrity": "sha512-h/0ikF1M3phW7CwpZ5MMvKnfpHficWoOEyr//KVNTxV4F6deRK1eYMtHyBKEAKFK0aXIEUK9oBvlF6PNXMDsAw==",
"license": "MIT"
},
- "node_modules/pica": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/pica/-/pica-7.1.1.tgz",
- "integrity": "sha512-WY73tMvNzXWEld2LicT9Y260L43isrZ85tPuqRyvtkljSDLmnNFQmZICt4xUJMVulmcc6L9O7jbBrtx3DOz/YQ==",
- "license": "MIT",
- "dependencies": {
- "glur": "^1.1.2",
- "inherits": "^2.0.3",
- "multimath": "^2.0.0",
- "object-assign": "^4.1.1",
- "webworkify": "^1.5.0"
- }
- },
"node_modules/picocolors": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
@@ -23780,49 +23727,6 @@
"node": ">=8"
}
},
- "node_modules/png-chunk-text": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/png-chunk-text/-/png-chunk-text-1.0.0.tgz",
- "integrity": "sha512-DEROKU3SkkLGWNMzru3xPVgxyd48UGuMSZvioErCure6yhOc/pRH2ZV+SEn7nmaf7WNf3NdIpH+UTrRdKyq9Lw==",
- "license": "MIT"
- },
- "node_modules/png-chunks-encode": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/png-chunks-encode/-/png-chunks-encode-1.0.0.tgz",
- "integrity": "sha512-J1jcHgbQRsIIgx5wxW9UmCymV3wwn4qCCJl6KYgEU/yHCh/L2Mwq/nMOkRPtmV79TLxRZj5w3tH69pvygFkDqA==",
- "license": "MIT",
- "dependencies": {
- "crc-32": "^0.3.0",
- "sliced": "^1.0.1"
- }
- },
- "node_modules/png-chunks-encode/node_modules/crc-32": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-0.3.0.tgz",
- "integrity": "sha512-kucVIjOmMc1f0tv53BJ/5WIX+MGLcKuoBhnGqQrgKJNqLByb/sVMWfW/Aw6hw0jgcqjJ2pi9E5y32zOIpaUlsA==",
- "license": "Apache-2.0",
- "engines": {
- "node": ">=0.8"
- }
- },
- "node_modules/png-chunks-extract": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/png-chunks-extract/-/png-chunks-extract-1.0.0.tgz",
- "integrity": "sha512-ZiVwF5EJ0DNZyzAqld8BP1qyJBaGOFaq9zl579qfbkcmOwWLLO4I9L8i2O4j3HkI6/35i0nKG2n+dZplxiT89Q==",
- "license": "MIT",
- "dependencies": {
- "crc-32": "^0.3.0"
- }
- },
- "node_modules/png-chunks-extract/node_modules/crc-32": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-0.3.0.tgz",
- "integrity": "sha512-kucVIjOmMc1f0tv53BJ/5WIX+MGLcKuoBhnGqQrgKJNqLByb/sVMWfW/Aw6hw0jgcqjJ2pi9E5y32zOIpaUlsA==",
- "license": "Apache-2.0",
- "engines": {
- "node": ">=0.8"
- }
- },
"node_modules/pngjs": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/pngjs/-/pngjs-6.0.0.tgz",
@@ -27027,12 +26931,6 @@
"node": ">=6"
}
},
- "node_modules/sliced": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz",
- "integrity": "sha512-VZBmZP8WU3sMOZm1bdgTadsQbcscK0UM8oKxKVBs4XAhUo2Xxzm/OFMGBkPusxw9xL3Uy8LrzEqGqJhclsr0yA==",
- "license": "MIT"
- },
"node_modules/smart-buffer": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
@@ -29592,12 +29490,6 @@
"node": ">=0.8.0"
}
},
- "node_modules/webworkify": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/webworkify/-/webworkify-1.5.0.tgz",
- "integrity": "sha512-AMcUeyXAhbACL8S2hqqdqOLqvJ8ylmIbNwUIqQujRSouf4+eUFaXbG6F1Rbu+srlJMmxQWsiU7mOJi0nMBfM1g==",
- "license": "MIT"
- },
"node_modules/whatwg-encoding": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz",
@@ -32313,11 +32205,6 @@
}
}
},
- "@excalidraw/random-username": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@excalidraw/random-username/-/random-username-1.1.0.tgz",
- "integrity": "sha512-nULYsQxkWHnbmHvcs+efMkJ4/9TtvNyFeLyHdeGxW0zHs6P+jYVqcRff9A6Vq9w9JXeDRnRh2VKvTtS19GW2qA=="
- },
"@floating-ui/core": {
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.7.3.tgz",
@@ -33106,13 +32993,12 @@
}
},
"@jitsi/excalidraw": {
- "version": "https://github.com/jitsi/excalidraw/releases/download/0.18.1/jitsi-excalidraw-v0.18.1.tgz",
- "integrity": "sha512-Hxnap3CWsOdUoUcJ2sKMIQWQfw5A2ccGSo4KAiyxpgA+XxCrRz7T0Yk82Tlu9Ia1SCGB+I6iwZ/2Pqacg3Dl8w==",
+ "version": "https://github.com/jitsi/excalidraw/releases/download/0.18.4/jitsi-excalidraw-v0.18.4.tgz",
+ "integrity": "sha512-YbnndzFzNo7/cap05T4v0CoT1xVnQMSzyeDwdTo4izjQWO6MZDkOacNrBfRknOC9rWcks5bB0cPYFeNcMQiVVg==",
"requires": {
"@braintree/sanitize-url": "6.0.2",
"@excalidraw/laser-pointer": "1.3.1",
"@excalidraw/mermaid-to-excalidraw": "1.1.2",
- "@excalidraw/random-username": "1.1.0",
"@radix-ui/react-popover": "1.1.6",
"@radix-ui/react-tabs": "1.0.2",
"browser-fs-access": "0.29.1",
@@ -33124,7 +33010,6 @@
"fuzzy": "0.1.3",
"i18next-browser-languagedetector": "6.1.4",
"idb-keyval": "6.0.3",
- "image-blob-reduce": "3.0.1",
"jotai": "2.11.0",
"jotai-scope": "0.7.2",
"lodash.debounce": "4.0.8",
@@ -33133,10 +33018,6 @@
"open-color": "1.9.1",
"pako": "2.0.3",
"perfect-freehand": "1.2.0",
- "pica": "7.1.1",
- "png-chunk-text": "1.0.0",
- "png-chunks-encode": "1.0.0",
- "png-chunks-extract": "1.0.0",
"points-on-curve": "1.0.1",
"pwacompat": "2.0.17",
"roughjs": "4.6.4",
@@ -41926,11 +41807,6 @@
}
}
},
- "glur": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/glur/-/glur-1.1.2.tgz",
- "integrity": "sha512-l+8esYHTKOx2G/Aao4lEQ0bnHWg4fWtJbVoZZT9Knxi01pB8C80BR85nONLFwkkQoFRCmXY+BUcGZN3yZ2QsRA=="
- },
"gopd": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
@@ -42362,14 +42238,6 @@
"integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
"dev": true
},
- "image-blob-reduce": {
- "version": "3.0.1",
- "resolved": "https://registry.npmjs.org/image-blob-reduce/-/image-blob-reduce-3.0.1.tgz",
- "integrity": "sha512-/VmmWgIryG/wcn4TVrV7cC4mlfUC/oyiKIfSg5eVM3Ten/c1c34RJhMYKCWTnoSMHSqXLt3tsrBR4Q2HInvN+Q==",
- "requires": {
- "pica": "^7.1.0"
- }
- },
"image-capture": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/image-capture/-/image-capture-0.4.0.tgz",
@@ -45422,15 +45290,6 @@
"thunky": "^1.0.2"
}
},
- "multimath": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/multimath/-/multimath-2.0.0.tgz",
- "integrity": "sha512-toRx66cAMJ+Ccz7pMIg38xSIrtnbozk0dchXezwQDMgQmbGpfxjtv68H+L00iFL8hxDaVjrmwAFSb3I6bg8Q2g==",
- "requires": {
- "glur": "^1.1.2",
- "object-assign": "^4.1.1"
- }
- },
"mute-stream": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-2.0.0.tgz",
@@ -46189,18 +46048,6 @@
"resolved": "https://registry.npmjs.org/perfect-freehand/-/perfect-freehand-1.2.0.tgz",
"integrity": "sha512-h/0ikF1M3phW7CwpZ5MMvKnfpHficWoOEyr//KVNTxV4F6deRK1eYMtHyBKEAKFK0aXIEUK9oBvlF6PNXMDsAw=="
},
- "pica": {
- "version": "7.1.1",
- "resolved": "https://registry.npmjs.org/pica/-/pica-7.1.1.tgz",
- "integrity": "sha512-WY73tMvNzXWEld2LicT9Y260L43isrZ85tPuqRyvtkljSDLmnNFQmZICt4xUJMVulmcc6L9O7jbBrtx3DOz/YQ==",
- "requires": {
- "glur": "^1.1.2",
- "inherits": "^2.0.3",
- "multimath": "^2.0.0",
- "object-assign": "^4.1.1",
- "webworkify": "^1.5.0"
- }
- },
"picocolors": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
@@ -46238,42 +46085,6 @@
"find-up": "^4.0.0"
}
},
- "png-chunk-text": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/png-chunk-text/-/png-chunk-text-1.0.0.tgz",
- "integrity": "sha512-DEROKU3SkkLGWNMzru3xPVgxyd48UGuMSZvioErCure6yhOc/pRH2ZV+SEn7nmaf7WNf3NdIpH+UTrRdKyq9Lw=="
- },
- "png-chunks-encode": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/png-chunks-encode/-/png-chunks-encode-1.0.0.tgz",
- "integrity": "sha512-J1jcHgbQRsIIgx5wxW9UmCymV3wwn4qCCJl6KYgEU/yHCh/L2Mwq/nMOkRPtmV79TLxRZj5w3tH69pvygFkDqA==",
- "requires": {
- "crc-32": "^0.3.0",
- "sliced": "^1.0.1"
- },
- "dependencies": {
- "crc-32": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-0.3.0.tgz",
- "integrity": "sha512-kucVIjOmMc1f0tv53BJ/5WIX+MGLcKuoBhnGqQrgKJNqLByb/sVMWfW/Aw6hw0jgcqjJ2pi9E5y32zOIpaUlsA=="
- }
- }
- },
- "png-chunks-extract": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/png-chunks-extract/-/png-chunks-extract-1.0.0.tgz",
- "integrity": "sha512-ZiVwF5EJ0DNZyzAqld8BP1qyJBaGOFaq9zl579qfbkcmOwWLLO4I9L8i2O4j3HkI6/35i0nKG2n+dZplxiT89Q==",
- "requires": {
- "crc-32": "^0.3.0"
- },
- "dependencies": {
- "crc-32": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-0.3.0.tgz",
- "integrity": "sha512-kucVIjOmMc1f0tv53BJ/5WIX+MGLcKuoBhnGqQrgKJNqLByb/sVMWfW/Aw6hw0jgcqjJ2pi9E5y32zOIpaUlsA=="
- }
- }
- },
"pngjs": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/pngjs/-/pngjs-6.0.0.tgz",
@@ -48427,11 +48238,6 @@
"is-fullwidth-code-point": "^2.0.0"
}
},
- "sliced": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz",
- "integrity": "sha512-VZBmZP8WU3sMOZm1bdgTadsQbcscK0UM8oKxKVBs4XAhUo2Xxzm/OFMGBkPusxw9xL3Uy8LrzEqGqJhclsr0yA=="
- },
"smart-buffer": {
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz",
@@ -50169,11 +49975,6 @@
"integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==",
"dev": true
},
- "webworkify": {
- "version": "1.5.0",
- "resolved": "https://registry.npmjs.org/webworkify/-/webworkify-1.5.0.tgz",
- "integrity": "sha512-AMcUeyXAhbACL8S2hqqdqOLqvJ8ylmIbNwUIqQujRSouf4+eUFaXbG6F1Rbu+srlJMmxQWsiU7mOJi0nMBfM1g=="
- },
"whatwg-encoding": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz",
diff --git a/package.json b/package.json
index 43a88a1832..115550e449 100644
--- a/package.json
+++ b/package.json
@@ -24,7 +24,7 @@
"@giphy/js-fetch-api": "4.9.3",
"@giphy/react-components": "6.9.4",
"@giphy/react-native-sdk": "4.1.0",
- "@jitsi/excalidraw": "https://github.com/jitsi/excalidraw/releases/download/0.18.1/jitsi-excalidraw-v0.18.1.tgz",
+ "@jitsi/excalidraw": "https://github.com/jitsi/excalidraw/releases/download/0.18.4/jitsi-excalidraw-v0.18.4.tgz",
"@jitsi/js-utils": "2.6.7",
"@jitsi/logger": "2.1.1",
"@jitsi/rnnoise-wasm": "0.2.1",
diff --git a/react/features/whiteboard/constants.ts b/react/features/whiteboard/constants.ts
index ca20426b4d..a806ea1654 100644
--- a/react/features/whiteboard/constants.ts
+++ b/react/features/whiteboard/constants.ts
@@ -14,13 +14,13 @@ export const WHITEBOARD_ID = 'whiteboard';
export const WHITEBOARD_UI_OPTIONS = {
canvasActions: {
allowedShapes: [
- 'arrow', 'diamond', 'ellipse', 'freedraw', 'line', 'rectangle', 'selection', 'text', 'eraser', 'image'
+ 'arrow', 'diamond', 'ellipse', 'freedraw', 'line', 'rectangle', 'selection', 'text', 'eraser'
],
allowedShortcuts: [
'cut', 'deleteSelectedElements', 'redo', 'selectAll', 'undo'
],
disableAlignItems: true,
- disableFileDrop: false,
+ disableFileDrop: true,
disableGrouping: true,
disableHints: true,
disableLink: true,
diff --git a/webpack.config.js b/webpack.config.js
index e5f085828d..703bd6751f 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -231,10 +231,7 @@ function getConfig(options = {}) {
'react-dom': resolve(__dirname, 'node_modules/react-dom'),
'roughjs/bin/rough': 'roughjs/bin/rough.js',
'roughjs/bin/generator': 'roughjs/bin/generator.js',
- 'roughjs/bin/math': 'roughjs/bin/math.js',
- 'firebase/app': false,
- 'firebase/firestore': false,
- 'firebase/storage': false
+ 'roughjs/bin/math': 'roughjs/bin/math.js'
},
aliasFields: [
'browser'