@automattic/request-promise-native 2.2.0 → 2.4.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/lib/rp.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var configure = require('
|
|
1
|
+
var configure = require('../deps/promise-core/configure/request2'),
|
|
2
2
|
stealthyRequire = require('stealthy-require');
|
|
3
3
|
|
|
4
4
|
// Load Request freshly - so that users can require an unaltered request instance!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/request-promise-native",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "The simplified HTTP request client 'request' with Promise support. Powered by native ES6 promises.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"xhr",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"scripts": {
|
|
18
18
|
"lint": "eslint .",
|
|
19
19
|
"lint:fix": "eslint --fix .",
|
|
20
|
-
"test": "mocha test/spec",
|
|
20
|
+
"test": "mocha test/spec && mocha deps/promise-core/test/spec",
|
|
21
21
|
"check-dependencies": "npx depcheck@1.4.7",
|
|
22
22
|
"check-dts": "npx check-dts lib/*.d.ts"
|
|
23
23
|
},
|
|
@@ -32,20 +32,21 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://github.com/Automattic/request-promise-native#readme",
|
|
34
34
|
"engines": {
|
|
35
|
-
"node": ">=
|
|
35
|
+
"node": ">=20.x"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"
|
|
39
|
-
"request
|
|
38
|
+
"lodash": "^4.17.19",
|
|
39
|
+
"request": "npm:@cypress/request@^3.0.9",
|
|
40
40
|
"stealthy-require": "^1.1.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/caseless": "^0.12.5",
|
|
44
|
-
"@types/node": "^
|
|
45
|
-
"
|
|
46
|
-
"
|
|
44
|
+
"@types/node": "^24.0.3",
|
|
45
|
+
"bluebird": "^3.7.2",
|
|
46
|
+
"body-parser": "~2.2.0",
|
|
47
|
+
"chai": "^5.2.1",
|
|
47
48
|
"eslint": "^9.19.0",
|
|
48
|
-
"globals": "^
|
|
49
|
+
"globals": "^16.0.0",
|
|
49
50
|
"mocha": "^11.1.0",
|
|
50
51
|
"tough-cookie": "^5.1.1"
|
|
51
52
|
}
|