netlify 10.1.0 → 10.1.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "netlify",
3
3
  "description": "Netlify Node.js API client",
4
- "version": "10.1.0",
4
+ "version": "10.1.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "src/**/*.js",
@@ -57,7 +57,7 @@
57
57
  "node client"
58
58
  ],
59
59
  "dependencies": {
60
- "@netlify/open-api": "^2.7.0",
60
+ "@netlify/open-api": "^2.8.0",
61
61
  "lodash.camelcase": "^4.3.0",
62
62
  "micro-api-client": "^3.3.0",
63
63
  "node-fetch": "^2.6.1",
@@ -66,7 +66,7 @@
66
66
  "qs": "^6.9.6"
67
67
  },
68
68
  "devDependencies": {
69
- "@netlify/eslint-config-node": "^4.0.2",
69
+ "@netlify/eslint-config-node": "^4.0.6",
70
70
  "ava": "^3.0.0",
71
71
  "from2-string": "^1.1.0",
72
72
  "husky": "^4.3.8",
@@ -62,11 +62,9 @@ const makeRequestOrRetry = async function ({ url, method, defaultHeaders, agent,
62
62
  // Using a loop is simpler here
63
63
  for (let index = 0; index <= MAX_RETRY; index++) {
64
64
  const optsA = getOpts({ method, defaultHeaders, agent, requestParams, opts })
65
- // eslint-disable-next-line no-await-in-loop
66
65
  const { response, error } = await makeRequest(url, optsA)
67
66
 
68
67
  if (shouldRetry({ response, error }) && index !== MAX_RETRY) {
69
- // eslint-disable-next-line no-await-in-loop
70
68
  await waitForRetry(response)
71
69
  continue
72
70
  }