浏览代码

chore(deps) uppdate xmldom

The previous package has become unmaintained and it has a new home now.
master
Saúl Ibarra Corretgé 3 年前
父节点
当前提交
6e55351e68
共有 3 个文件被更改,包括 16 次插入17 次删除
  1. 14
    14
      package-lock.json
  2. 1
    1
      package.json
  3. 1
    2
      react/features/mobile/polyfills/browser.js

+ 14
- 14
package-lock.json 查看文件

42
         "@react-navigation/native": "5.9.8",
42
         "@react-navigation/native": "5.9.8",
43
         "@react-navigation/stack": "5.14.9",
43
         "@react-navigation/stack": "5.14.9",
44
         "@svgr/webpack": "4.3.2",
44
         "@svgr/webpack": "4.3.2",
45
+        "@xmldom/xmldom": "0.7.5",
45
         "amplitude-js": "8.2.1",
46
         "amplitude-js": "8.2.1",
46
         "base64-js": "1.3.1",
47
         "base64-js": "1.3.1",
47
         "bc-css-flags": "3.0.0",
48
         "bc-css-flags": "3.0.0",
114
         "uuid": "3.1.0",
115
         "uuid": "3.1.0",
115
         "wasm-check": "2.0.1",
116
         "wasm-check": "2.0.1",
116
         "windows-iana": "^3.1.0",
117
         "windows-iana": "^3.1.0",
117
-        "xmldom": "0.5.0",
118
         "zxcvbn": "4.4.2"
118
         "zxcvbn": "4.4.2"
119
       },
119
       },
120
       "devDependencies": {
120
       "devDependencies": {
5501
         }
5501
         }
5502
       }
5502
       }
5503
     },
5503
     },
5504
+    "node_modules/@xmldom/xmldom": {
5505
+      "version": "0.7.5",
5506
+      "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.5.tgz",
5507
+      "integrity": "sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A==",
5508
+      "engines": {
5509
+        "node": ">=10.0.0"
5510
+      }
5511
+    },
5504
     "node_modules/@xtuc/ieee754": {
5512
     "node_modules/@xtuc/ieee754": {
5505
       "version": "1.2.0",
5513
       "version": "1.2.0",
5506
       "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
5514
       "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
21865
         "sax": "^1.2.1"
21873
         "sax": "^1.2.1"
21866
       }
21874
       }
21867
     },
21875
     },
21868
-    "node_modules/xmldom": {
21869
-      "version": "0.5.0",
21870
-      "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.5.0.tgz",
21871
-      "integrity": "sha512-Foaj5FXVzgn7xFzsKeNIde9g6aFBxTPi37iwsno8QvApmtg7KYrr+OPyRHcJF7dud2a5nGRBXK3n0dL62Gf7PA==",
21872
-      "engines": {
21873
-        "node": ">=10.0.0"
21874
-      }
21875
-    },
21876
     "node_modules/xpipe": {
21876
     "node_modules/xpipe": {
21877
       "version": "1.0.5",
21877
       "version": "1.0.5",
21878
       "resolved": "https://registry.npmjs.org/xpipe/-/xpipe-1.0.5.tgz",
21878
       "resolved": "https://registry.npmjs.org/xpipe/-/xpipe-1.0.5.tgz",
26404
       "integrity": "sha512-ZkVeqEmRpBV2GHvjjUZqEai2PpUbuq8Bqd//vEYsp63J8WyexI8ppCqVS3Zs0QADf6aWuPdU+0XsPI647PVlQA==",
26404
       "integrity": "sha512-ZkVeqEmRpBV2GHvjjUZqEai2PpUbuq8Bqd//vEYsp63J8WyexI8ppCqVS3Zs0QADf6aWuPdU+0XsPI647PVlQA==",
26405
       "dev": true
26405
       "dev": true
26406
     },
26406
     },
26407
+    "@xmldom/xmldom": {
26408
+      "version": "0.7.5",
26409
+      "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.7.5.tgz",
26410
+      "integrity": "sha512-V3BIhmY36fXZ1OtVcI9W+FxQqxVLsPKcNjWigIaa81dLC9IolJl5Mt4Cvhmr0flUnjSpTdrbMTSbXqYqV5dT6A=="
26411
+    },
26407
     "@xtuc/ieee754": {
26412
     "@xtuc/ieee754": {
26408
       "version": "1.2.0",
26413
       "version": "1.2.0",
26409
       "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
26414
       "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
39115
         "sax": "^1.2.1"
39120
         "sax": "^1.2.1"
39116
       }
39121
       }
39117
     },
39122
     },
39118
-    "xmldom": {
39119
-      "version": "0.5.0",
39120
-      "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.5.0.tgz",
39121
-      "integrity": "sha512-Foaj5FXVzgn7xFzsKeNIde9g6aFBxTPi37iwsno8QvApmtg7KYrr+OPyRHcJF7dud2a5nGRBXK3n0dL62Gf7PA=="
39122
-    },
39123
     "xpipe": {
39123
     "xpipe": {
39124
       "version": "1.0.5",
39124
       "version": "1.0.5",
39125
       "resolved": "https://registry.npmjs.org/xpipe/-/xpipe-1.0.5.tgz",
39125
       "resolved": "https://registry.npmjs.org/xpipe/-/xpipe-1.0.5.tgz",

+ 1
- 1
package.json 查看文件

47
     "@react-navigation/native": "5.9.8",
47
     "@react-navigation/native": "5.9.8",
48
     "@react-navigation/stack": "5.14.9",
48
     "@react-navigation/stack": "5.14.9",
49
     "@svgr/webpack": "4.3.2",
49
     "@svgr/webpack": "4.3.2",
50
+    "@xmldom/xmldom": "0.7.5",
50
     "amplitude-js": "8.2.1",
51
     "amplitude-js": "8.2.1",
51
     "base64-js": "1.3.1",
52
     "base64-js": "1.3.1",
52
     "bc-css-flags": "3.0.0",
53
     "bc-css-flags": "3.0.0",
119
     "uuid": "3.1.0",
120
     "uuid": "3.1.0",
120
     "wasm-check": "2.0.1",
121
     "wasm-check": "2.0.1",
121
     "windows-iana": "^3.1.0",
122
     "windows-iana": "^3.1.0",
122
-    "xmldom": "0.5.0",
123
     "zxcvbn": "4.4.2"
123
     "zxcvbn": "4.4.2"
124
   },
124
   },
125
   "devDependencies": {
125
   "devDependencies": {

+ 1
- 2
react/features/mobile/polyfills/browser.js 查看文件

1
+import { DOMParser } from '@xmldom/xmldom';
1
 import { Platform } from 'react-native';
2
 import { Platform } from 'react-native';
2
 import BackgroundTimer from 'react-native-background-timer';
3
 import BackgroundTimer from 'react-native-background-timer';
3
 
4
 
91
 }
92
 }
92
 
93
 
93
 (global => {
94
 (global => {
94
-    const { DOMParser } = require('xmldom');
95
-
96
     // DOMParser
95
     // DOMParser
97
     //
96
     //
98
     // Required by:
97
     // Required by:

正在加载...
取消
保存