diff --git a/package-lock.json b/package-lock.json index 5b1fc59cc..b3cc01463 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3924,6 +3924,7 @@ "version": "16.14.2", "resolved": "https://registry.npmjs.org/@types/react/-/react-16.14.2.tgz", "integrity": "sha512-BzzcAlyDxXl2nANlabtT4thtvbbnhee8hMmH/CcJrISDBVcJS1iOsP1f0OAgSdGE0MsY9tqcrb9YoZcOFv9dbQ==", + "dev": true, "requires": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -8553,16 +8554,6 @@ "domelementtype": "^2.0.1", "domhandler": "^4.0.0", "entities": "^2.0.0" - }, - "dependencies": { - "domhandler": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.0.0.tgz", - "integrity": "sha512-KPTbnGQ1JeEMQyO1iYXoagsI6so/C96HZiFyByU3T6iAzpXn8EGEvct6unm1ZGoed8ByO2oirxgwxBmqKF9haA==", - "requires": { - "domelementtype": "^2.1.0" - } - } } }, "dom-walk": { @@ -8600,11 +8591,11 @@ } }, "domhandler": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-3.3.0.tgz", - "integrity": "sha512-J1C5rIANUbuYK+FuFL98650rihynUOEzRLxW+90bKZRWB6A1X1Tf82GxR1qAWLyfNPRvjqfip3Q5tdYlmAa9lA==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.0.0.tgz", + "integrity": "sha512-KPTbnGQ1JeEMQyO1iYXoagsI6so/C96HZiFyByU3T6iAzpXn8EGEvct6unm1ZGoed8ByO2oirxgwxBmqKF9haA==", "requires": { - "domelementtype": "^2.0.1" + "domelementtype": "^2.1.0" } }, "domutils": { @@ -8615,16 +8606,6 @@ "dom-serializer": "^1.0.1", "domelementtype": "^2.0.1", "domhandler": "^4.0.0" - }, - "dependencies": { - "domhandler": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-4.0.0.tgz", - "integrity": "sha512-KPTbnGQ1JeEMQyO1iYXoagsI6so/C96HZiFyByU3T6iAzpXn8EGEvct6unm1ZGoed8ByO2oirxgwxBmqKF9haA==", - "requires": { - "domelementtype": "^2.1.0" - } - } } }, "dot-case": { @@ -11310,12 +11291,13 @@ } }, "h5p-nodejs-library": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/h5p-nodejs-library/-/h5p-nodejs-library-6.1.2.tgz", - "integrity": "sha512-lL+/WCRf4GuCox0huzFbr14lPNT8X2OYppoh4pQttmGtznL8iqrJR0Al9fohlkfilvxSRrABrJ/yWHQHbbBpdA==", + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/h5p-nodejs-library/-/h5p-nodejs-library-6.1.3.tgz", + "integrity": "sha512-agqD6HwbBlz2At081Zzr4v+ezrxZkR2DsPcU5OPjhuTYCyi5wagYttIPYnH0Pvh6qFzsESnzcGAnJlfMRz40dg==", "requires": { - "@types/react": "^16.9.35", - "ajv": "^6.12.0", + "@types/react": "^17.0.0", + "ajv": "^7.0.0", + "ajv-keywords": "^4.0.0", "axios": "^0.21.0", "crc": "^3.8.0", "debug": "^4.1.1", @@ -11337,6 +11319,36 @@ "yazl": "^2.5.1" }, "dependencies": { + "@types/react": { + "version": "17.0.0", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.0.tgz", + "integrity": "sha512-aj/L7RIMsRlWML3YB6KZiXB3fV2t41+5RBGYF8z+tAKU43Px8C3cYUZsDvf1/+Bm4FK21QWBrDutu8ZJ/70qOw==", + "requires": { + "@types/prop-types": "*", + "csstype": "^3.0.2" + } + }, + "ajv": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-7.0.1.tgz", + "integrity": "sha512-D2UYOXvDzGLVwld2/EyRu3xiJG885QUz2xS1phZzebYLPMPBFbPK4naXGDCtPltZoOG+I1+ZkNAJ65SJ3vqbsg==", + "requires": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, + "ajv-keywords": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-4.0.0.tgz", + "integrity": "sha512-baL4pEYniCF5E/5Cj28f1DmPXGGASQIeCFfntY94vJPtrq0fei3iNt/TP5f2IwEH4opCzcOOvL6hKsi2IHaecg==" + }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, "qs": { "version": "6.9.4", "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz", @@ -11722,13 +11734,13 @@ } }, "htmlparser2": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-4.1.0.tgz", - "integrity": "sha512-4zDq1a1zhE4gQso/c5LP1OtrhYTncXNSpvJYtWJBtXAETPlMfi3IFNjGuQbYLuVY4ZR0QMqRVvo4Pdy9KLyP8Q==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-6.0.0.tgz", + "integrity": "sha512-numTQtDZMoh78zJpaNdJ9MXb2cv5G3jwUoe3dMQODubZvLoGvTE/Ofp6sHvH8OGKcN/8A47pGLi/k58xHP/Tfw==", "requires": { "domelementtype": "^2.0.1", - "domhandler": "^3.0.0", - "domutils": "^2.0.0", + "domhandler": "^4.0.0", + "domutils": "^2.4.4", "entities": "^2.0.0" } }, @@ -24610,6 +24622,11 @@ "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", "dev": true }, + "require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==" + }, "require-main-filename": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", @@ -25171,13 +25188,13 @@ } }, "sanitize-html": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.2.0.tgz", - "integrity": "sha512-UXd7Rjb5qJHixoUtBLZflfEsJ2kzFsLaKBcWUBTr3G0gXRpZqkzqhIxY79Kl4oju7N4YHTM5TnBtw4scsxyj8A==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.3.0.tgz", + "integrity": "sha512-JAsbaKskfxR+ZhEnqO/T3c2dKalVDA6sXIgy/27TatIUzOPO/zWr1r8Ykzp1cwJx1j+DPMQF5ifvhniixRWYDA==", "requires": { "deepmerge": "^4.2.2", "escape-string-regexp": "^4.0.0", - "htmlparser2": "^4.1.0", + "htmlparser2": "^6.0.0", "is-plain-object": "^5.0.0", "klona": "^2.0.3", "parse-srcset": "^1.0.2", diff --git a/package.json b/package.json index dbf45b493..38ecdf039 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "express": "4.17.1", "express-fileupload": "1.2.0", "fs-extra": "9.0.1", - "h5p-nodejs-library": "6.1.2", + "h5p-nodejs-library": "6.1.3", "nucleus-nodejs": "3.0.7", "mkdirp": "1.0.4", "promisepipe": "3.0.0",