got 12.3.0 → 12.3.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.
@@ -1647,6 +1647,5 @@ export default class Options {
1647
1647
  Object.freeze(options.retry.methods);
1648
1648
  Object.freeze(options.retry.statusCodes);
1649
1649
  Object.freeze(options.context);
1650
- Object.freeze(options.signal);
1651
1650
  }
1652
1651
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "got",
3
- "version": "12.3.0",
3
+ "version": "12.3.1",
4
4
  "description": "Human-friendly and powerful HTTP request library for Node.js",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/got",
package/readme.md CHANGED
@@ -139,6 +139,8 @@ For advanced JSON usage, check out the [`parseJson`](documentation/2-options.md#
139
139
 
140
140
  ## Documentation
141
141
 
142
+ By default, Got will retry on failure. To disable this option, set [`options.retry.limit`](documentation/7-retry.md#retry) to 0.
143
+
142
144
  #### Main API
143
145
 
144
146
  - [x] [Promise API](documentation/1-promise.md)