diff --git a/package-lock.json b/package-lock.json index 1b01c2fb0..4cd251288 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1369,6 +1369,27 @@ "mpd-parser": "0.18.0", "mux.js": "5.12.2", "video.js": "^6 || ^7" + }, + "dependencies": { + "mpd-parser": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/mpd-parser/-/mpd-parser-0.18.0.tgz", + "integrity": "sha512-5Y/JDuuTP/0cQCiDdP18zqD7g5woaBegcH2lCezuc26YHpY2XovI8exYKbJQ115U5+7Xnv0N9EjI8c+x0MR85A==", + "requires": { + "@babel/runtime": "^7.12.5", + "@videojs/vhs-utils": "^3.0.2", + "global": "^4.4.0", + "xmldom": "^0.5.0" + } + }, + "mux.js": { + "version": "5.12.2", + "resolved": "https://registry.npmjs.org/mux.js/-/mux.js-5.12.2.tgz", + "integrity": "sha512-9OY1lrFIo7FxMeIC6aLUftiNv97AztufDfi30N7qDll1Pcy7bCxlHztyHp1Ce0KQwy2XqchGeENPS4v1NJngHQ==", + "requires": { + "@babel/runtime": "^7.11.2" + } + } } }, "@videojs/update-changelog": { @@ -1423,6 +1444,11 @@ "is-function": "^1.0.1" } }, + "@xmldom/xmldom": { + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.2.tgz", + "integrity": "sha512-t/Zqo0ewes3iq6zGqEqJNUWI27Acr3jkmSUNp6E3nl0Z2XbtqAG5XYqPNLdYonILmhcxANsIidh69tHzjXtuRg==" + }, "JSONStream": { "version": "1.3.5", "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", @@ -6438,14 +6464,14 @@ "dev": true }, "mpd-parser": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/mpd-parser/-/mpd-parser-0.18.0.tgz", - "integrity": "sha512-5Y/JDuuTP/0cQCiDdP18zqD7g5woaBegcH2lCezuc26YHpY2XovI8exYKbJQ115U5+7Xnv0N9EjI8c+x0MR85A==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/mpd-parser/-/mpd-parser-0.19.0.tgz", + "integrity": "sha512-FDLIXtZMZs99fv5iXNFg94quNFT26tobo0NUgHu7L3XgZvEq1NBarf5yxDFFJ1zzfbcmtj+NRaml6nYIxoPWvw==", "requires": { "@babel/runtime": "^7.12.5", "@videojs/vhs-utils": "^3.0.2", - "global": "^4.4.0", - "xmldom": "^0.5.0" + "@xmldom/xmldom": "^0.7.2", + "global": "^4.4.0" } }, "ms": { @@ -6461,9 +6487,9 @@ "dev": true }, "mux.js": { - "version": "5.12.2", - "resolved": "https://registry.npmjs.org/mux.js/-/mux.js-5.12.2.tgz", - "integrity": "sha512-9OY1lrFIo7FxMeIC6aLUftiNv97AztufDfi30N7qDll1Pcy7bCxlHztyHp1Ce0KQwy2XqchGeENPS4v1NJngHQ==", + "version": "5.13.0", + "resolved": "https://registry.npmjs.org/mux.js/-/mux.js-5.13.0.tgz", + "integrity": "sha512-PkmnzHcTQjUBEHp3KRPQAFoNkJtKlpCEvsYtXDfDrC+/WqbMuxHvoYfmAbHVAH7Sa/KliPVU0dT1ureO8wilog==", "requires": { "@babel/runtime": "^7.11.2" } @@ -8990,6 +9016,27 @@ "safe-json-parse": "4.0.0", "videojs-font": "3.2.0", "videojs-vtt.js": "^0.15.3" + }, + "dependencies": { + "mpd-parser": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/mpd-parser/-/mpd-parser-0.18.0.tgz", + "integrity": "sha512-5Y/JDuuTP/0cQCiDdP18zqD7g5woaBegcH2lCezuc26YHpY2XovI8exYKbJQ115U5+7Xnv0N9EjI8c+x0MR85A==", + "requires": { + "@babel/runtime": "^7.12.5", + "@videojs/vhs-utils": "^3.0.2", + "global": "^4.4.0", + "xmldom": "^0.5.0" + } + }, + "mux.js": { + "version": "5.12.2", + "resolved": "https://registry.npmjs.org/mux.js/-/mux.js-5.12.2.tgz", + "integrity": "sha512-9OY1lrFIo7FxMeIC6aLUftiNv97AztufDfi30N7qDll1Pcy7bCxlHztyHp1Ce0KQwy2XqchGeENPS4v1NJngHQ==", + "requires": { + "@babel/runtime": "^7.11.2" + } + } } }, "videojs-contrib-eme": { diff --git a/package.json b/package.json index 3a4305951..ad246ef7c 100644 --- a/package.json +++ b/package.json @@ -60,8 +60,8 @@ "aes-decrypter": "3.1.2", "global": "^4.4.0", "m3u8-parser": "4.7.0", - "mpd-parser": "0.18.0", - "mux.js": "5.12.2", + "mpd-parser": "0.19.0", + "mux.js": "5.13.0", "video.js": "^6 || ^7" }, "peerDependencies": { diff --git a/scripts/rollup.config.js b/scripts/rollup.config.js index d76c0bd29..99f57590b 100644 --- a/scripts/rollup.config.js +++ b/scripts/rollup.config.js @@ -20,8 +20,8 @@ const options = { return defaults; }, globals(defaults) { - defaults.browser.xmldom = 'window'; - defaults.test.xmldom = 'window'; + defaults.browser['@xmldom/xmldom'] = 'window'; + defaults.test['@xmldom/xmldom'] = 'window'; return defaults; }, externals(defaults) {