Merge branch 'MDL-73610_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE

This commit is contained in:
Sara Arjona 2023-04-12 18:19:40 +02:00
commit a8eb481980
3 changed files with 446 additions and 140 deletions

View File

@ -156,7 +156,7 @@ const getThirdPartyLibsList = relativeTo => {
* @returns {array}
*/
const getThirdPartyPaths = () => {
const DOMParser = require('xmldom').DOMParser;
const DOMParser = require('@xmldom/xmldom').DOMParser;
const fs = require('fs');
const path = require('path');
const xpath = require('xpath');

578
npm-shrinkwrap.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,11 +4,13 @@
"description": "Moodle",
"devDependencies": {
"@babel/core": "7.17.5",
"@babel/eslint-parser": "^7.21.3",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/plugin-proposal-json-strings": "7.16.7",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-syntax-import-meta": "7.10.4",
"@babel/preset-env": "7.16.11",
"@xmldom/xmldom": "^0.8.7",
"ajv": "8.10.0",
"async": "3.2.3",
"babel-eslint": "10.1.0",
@ -46,13 +48,9 @@
"stylelint": "13.3.3",
"stylelint-checkstyle-formatter": "0.1.2",
"stylelint-csstree-validator": "1.8.0",
"xmldom": "^0.6.0",
"xpath": "0.0.32"
},
"engines": {
"node": ">=16.14.0 <17"
},
"dependencies": {
"@babel/eslint-parser": "^7.17.0"
}
}