@react-native/community-cli-plugin 0.76.0-nightly-20240703-c247e8c8c → 0.76.0-nightly-20240705-62cca7acc
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,10 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true,
|
|
5
5
|
});
|
|
6
6
|
exports.default = parseKeyValueParamArray;
|
|
7
|
-
var _querystring = _interopRequireDefault(require("querystring"));
|
|
8
|
-
function _interopRequireDefault(obj) {
|
|
9
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
10
|
-
}
|
|
11
7
|
function parseKeyValueParamArray(keyValueArray) {
|
|
12
8
|
const result = {};
|
|
13
9
|
for (const item of keyValueArray) {
|
|
@@ -17,7 +13,10 @@ function parseKeyValueParamArray(keyValueArray) {
|
|
|
17
13
|
if (item.indexOf("&") !== -1) {
|
|
18
14
|
throw new Error('Parameter cannot include "&" but found: ' + item);
|
|
19
15
|
}
|
|
20
|
-
|
|
16
|
+
const params = new URLSearchParams(item);
|
|
17
|
+
params.forEach((value, key) => {
|
|
18
|
+
result[key] = value;
|
|
19
|
+
});
|
|
21
20
|
}
|
|
22
21
|
return result;
|
|
23
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native/community-cli-plugin",
|
|
3
|
-
"version": "0.76.0-nightly-
|
|
3
|
+
"version": "0.76.0-nightly-20240705-62cca7acc",
|
|
4
4
|
"description": "Core CLI commands for React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -24,15 +24,14 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@react-native-community/cli-server-api": "14.0.0-alpha.11",
|
|
26
26
|
"@react-native-community/cli-tools": "14.0.0-alpha.11",
|
|
27
|
-
"@react-native/dev-middleware": "0.76.0-nightly-
|
|
28
|
-
"@react-native/metro-babel-transformer": "0.76.0-nightly-
|
|
27
|
+
"@react-native/dev-middleware": "0.76.0-nightly-20240705-62cca7acc",
|
|
28
|
+
"@react-native/metro-babel-transformer": "0.76.0-nightly-20240705-62cca7acc",
|
|
29
29
|
"chalk": "^4.0.0",
|
|
30
30
|
"execa": "^5.1.1",
|
|
31
31
|
"metro": "^0.80.3",
|
|
32
32
|
"metro-config": "^0.80.3",
|
|
33
33
|
"metro-core": "^0.80.3",
|
|
34
34
|
"node-fetch": "^2.2.0",
|
|
35
|
-
"querystring": "^0.2.1",
|
|
36
35
|
"readline": "^1.3.0"
|
|
37
36
|
},
|
|
38
37
|
"devDependencies": {
|