Updated UI package dependencies (#3381)
Updated package dependencies - Updated react-pdf to fix security vulnerability - Removed ignored security alerts Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
@@ -18,7 +18,7 @@ import React, { Fragment, useState } from "react";
|
||||
import { Document, Page, pdfjs } from "react-pdf";
|
||||
import { Box, Button, InformativeMessage } from "mds";
|
||||
|
||||
pdfjs.GlobalWorkerOptions.workerSrc = "./scripts/pdf.worker.min.js";
|
||||
pdfjs.GlobalWorkerOptions.workerSrc = "./scripts/pdf.worker.min.mjs";
|
||||
|
||||
interface IPreviewPDFProps {
|
||||
path: string;
|
||||
|
||||
Reference in New Issue
Block a user