@automattic/request-promise-native 1.1.1 → 2.0.0
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.
- package/README.md +2 -4
- package/package.json +8 -10
package/README.md
CHANGED
|
@@ -3,11 +3,9 @@ Request-Promise-Native
|
|
|
3
3
|
|
|
4
4
|
[](https://github.com/Automattic/request-promise-native/actions/workflows/test.yml)
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# Important note
|
|
7
7
|
|
|
8
|
-
As of Feb 11th 2020, [`request`](https://github.com/request/request) is fully deprecated.
|
|
9
|
-
|
|
10
|
-
Fyi, here is the [reasoning of `request`'s deprecation](https://github.com/request/request/issues/3142) and a [list of alternative libraries](https://github.com/request/request/issues/3143).
|
|
8
|
+
As of Feb 11th 2020, [`request`](https://github.com/request/request) is fully deprecated. Hence, we're using [the forked version of it - `@cypress/request`](https://github.com/cypress-io/request).
|
|
11
9
|
|
|
12
10
|
---
|
|
13
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/request-promise-native",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "The simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xhr",
|
|
@@ -21,27 +21,25 @@
|
|
|
21
21
|
},
|
|
22
22
|
"repository": {
|
|
23
23
|
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/
|
|
24
|
+
"url": "git+https://github.com/Automattic/request-promise-native.git"
|
|
25
25
|
},
|
|
26
26
|
"author": "Nicolai Kamenzky (https://github.com/analog-nico)",
|
|
27
27
|
"license": "ISC",
|
|
28
28
|
"bugs": {
|
|
29
|
-
"url": "https://github.com/
|
|
29
|
+
"url": "https://github.com/Automattic/request-promise-native/issues"
|
|
30
30
|
},
|
|
31
|
-
"homepage": "https://github.com/
|
|
31
|
+
"homepage": "https://github.com/Automattic/request-promise-native#readme",
|
|
32
32
|
"engines": {
|
|
33
33
|
"node": ">=18.x"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"request": "
|
|
36
|
+
"request": "npm:@cypress/request@^3.0.7",
|
|
37
37
|
"request-promise-core": "1.1.4",
|
|
38
|
-
"stealthy-require": "^1.1.1"
|
|
39
|
-
"tough-cookie": "^5.1.0"
|
|
38
|
+
"stealthy-require": "^1.1.1"
|
|
40
39
|
},
|
|
41
40
|
"overrides": {
|
|
42
|
-
"request": {
|
|
43
|
-
"
|
|
44
|
-
"uuid": "^7.0.0"
|
|
41
|
+
"request-promise-core": {
|
|
42
|
+
"request": "npm:@cypress/request@^3.0.7"
|
|
45
43
|
}
|
|
46
44
|
},
|
|
47
45
|
"devDependencies": {
|