chore(deps) uppdate xmldom

The previous package has become unmaintained and it has a new home now.
This commit is contained in:
Saúl Ibarra Corretgé 2021-10-20 21:58:08 +02:00 committed by Saúl Ibarra Corretgé
parent 4f58b5fab9
commit 6e55351e68
3 changed files with 16 additions and 17 deletions

28
package-lock.json generated
View File

@ -42,6 +42,7 @@
"@react-navigation/native": "5.9.8",
"@react-navigation/stack": "5.14.9",
"@svgr/webpack": "4.3.2",
"@xmldom/xmldom": "0.7.5",
"amplitude-js": "8.2.1",
"base64-js": "1.3.1",
"bc-css-flags": "3.0.0",
@ -114,7 +115,6 @@
"uuid": "3.1.0",
"wasm-check": "2.0.1",
"windows-iana": "^3.1.0",
"xmldom": "0.5.0",
"zxcvbn": "4.4.2"
},
"devDependencies": {
@ -5501,6 +5501,14 @@
}
}
},
"node_modules/@xmldom/xmldom": {
"version": "0.7.5",
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.5.tgz",
"integrity": "sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A==",
"engines": {
"node": ">=10.0.0"
}
},
"node_modules/@xtuc/ieee754": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
@ -21865,14 +21873,6 @@
"sax": "^1.2.1"
}
},
"node_modules/xmldom": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.5.0.tgz",
"integrity": "sha512-Foaj5FXVzgn7xFzsKeNIde9g6aFBxTPi37iwsno8QvApmtg7KYrr+OPyRHcJF7dud2a5nGRBXK3n0dL62Gf7PA==",
"engines": {
"node": ">=10.0.0"
}
},
"node_modules/xpipe": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/xpipe/-/xpipe-1.0.5.tgz",
@ -26404,6 +26404,11 @@
"integrity": "sha512-ZkVeqEmRpBV2GHvjjUZqEai2PpUbuq8Bqd//vEYsp63J8WyexI8ppCqVS3Zs0QADf6aWuPdU+0XsPI647PVlQA==",
"dev": true
},
"@xmldom/xmldom": {
"version": "0.7.5",
"resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.5.tgz",
"integrity": "sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A=="
},
"@xtuc/ieee754": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
@ -39115,11 +39120,6 @@
"sax": "^1.2.1"
}
},
"xmldom": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.5.0.tgz",
"integrity": "sha512-Foaj5FXVzgn7xFzsKeNIde9g6aFBxTPi37iwsno8QvApmtg7KYrr+OPyRHcJF7dud2a5nGRBXK3n0dL62Gf7PA=="
},
"xpipe": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/xpipe/-/xpipe-1.0.5.tgz",

View File

@ -47,6 +47,7 @@
"@react-navigation/native": "5.9.8",
"@react-navigation/stack": "5.14.9",
"@svgr/webpack": "4.3.2",
"@xmldom/xmldom": "0.7.5",
"amplitude-js": "8.2.1",
"base64-js": "1.3.1",
"bc-css-flags": "3.0.0",
@ -119,7 +120,6 @@
"uuid": "3.1.0",
"wasm-check": "2.0.1",
"windows-iana": "^3.1.0",
"xmldom": "0.5.0",
"zxcvbn": "4.4.2"
},
"devDependencies": {

View File

@ -1,3 +1,4 @@
import { DOMParser } from '@xmldom/xmldom';
import { Platform } from 'react-native';
import BackgroundTimer from 'react-native-background-timer';
@ -91,8 +92,6 @@ function _visitNode(node, callback) {
}
(global => {
const { DOMParser } = require('xmldom');
// DOMParser
//
// Required by: