@react-native/community-cli-plugin 0.75.2 → 0.75.3
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(e) {
|
|
9
|
-
return e && e.__esModule ? e : { default: e };
|
|
10
|
-
}
|
|
11
7
|
/**
|
|
12
8
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
13
9
|
*
|
|
@@ -28,7 +24,11 @@ function parseKeyValueParamArray(keyValueArray) {
|
|
|
28
24
|
if (item.indexOf("&") !== -1) {
|
|
29
25
|
throw new Error('Parameter cannot include "&" but found: ' + item);
|
|
30
26
|
}
|
|
31
|
-
|
|
27
|
+
const params = new URLSearchParams(item);
|
|
28
|
+
params.forEach((value, key) => {
|
|
29
|
+
// $FlowExpectedError[prop-missing]
|
|
30
|
+
result[key] = value;
|
|
31
|
+
});
|
|
32
32
|
}
|
|
33
33
|
return result;
|
|
34
34
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native/community-cli-plugin",
|
|
3
|
-
"version": "0.75.
|
|
3
|
+
"version": "0.75.3",
|
|
4
4
|
"description": "Core CLI commands for React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -22,17 +22,16 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@react-native-community/cli-server-api": "14.
|
|
26
|
-
"@react-native-community/cli-tools": "14.
|
|
27
|
-
"@react-native/dev-middleware": "0.75.
|
|
28
|
-
"@react-native/metro-babel-transformer": "0.75.
|
|
25
|
+
"@react-native-community/cli-server-api": "14.1.0",
|
|
26
|
+
"@react-native-community/cli-tools": "14.1.0",
|
|
27
|
+
"@react-native/dev-middleware": "0.75.3",
|
|
28
|
+
"@react-native/metro-babel-transformer": "0.75.3",
|
|
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": {
|