File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 4
4
launch.json
5
5
package-lock.json
6
6
/node_modules /
7
+ junit.xml
Original file line number Diff line number Diff line change 4
4
},
5
5
"bundleDependencies" : false ,
6
6
"dependencies" : {
7
+ "node-fetch" : " ^2.6.0" ,
7
8
"@adobe/aio-lib-core-errors" : " ^3.0.0" ,
8
9
"@adobe/aio-lib-core-logging" : " 1.1.0" ,
9
10
"fetch-retry" : " ^3.0.1"
10
11
},
11
12
"deprecated" : false ,
12
13
"description" : " Adobe I/O Lib Core Networking" ,
13
14
"devDependencies" : {
14
- "@adobe/eslint-config-aio-lib-config" : " ^1.1 .0" ,
15
+ "@adobe/eslint-config-aio-lib-config" : " ^1.2 .0" ,
15
16
"babel-runtime" : " ^6.26.0" ,
16
17
"codecov" : " ^3.5.0" ,
17
18
"dotenv" : " ^8.1.0" ,
33
34
"openapi-schema-validator" : " ^3.0.3" ,
34
35
"stdout-stderr" : " ^0.1.9" ,
35
36
"tsd-jsdoc" : " ^2.4.0" ,
36
- "node-fetch" : " ^2.6.0" ,
37
37
"fetch-mock" : " ^9.0.0"
38
38
},
39
39
"homepage" : " https://github.com/adobe/aio-lib-core-networking" ,
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ const logger = require('@adobe/aio-lib-core-logging')(
21
21
const originalFetch = require ( 'node-fetch' )
22
22
const fetch = require ( 'fetch-retry' ) ( originalFetch )
23
23
24
+ /* global Response */ // for linter
25
+
24
26
/**
25
27
* This class provides methods to implement fetch with retries.
26
28
* The retries use exponential backoff strategy
Original file line number Diff line number Diff line change 4
4
"fixtureJson" : true ,
5
5
"fakeFileSystem" : true ,
6
6
"fetch" : true
7
- }
7
+ },
8
+ "rules" : {
9
+ "node/no-unpublished-require" : 0
10
+ }
8
11
}
You can’t perform that action at this time.
0 commit comments