got 14.4.4 → 14.4.5

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.
@@ -322,7 +322,7 @@ export default class Request extends Duplex {
322
322
  this._request.end((error) => {
323
323
  // The request has been destroyed before `_final` finished.
324
324
  // See https://github.com/nodejs/node/issues/39356
325
- if (this._request._writableState?.errored) {
325
+ if (this._request?._writableState?.errored) {
326
326
  return;
327
327
  }
328
328
  if (!error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "got",
3
- "version": "14.4.4",
3
+ "version": "14.4.5",
4
4
  "description": "Human-friendly and powerful HTTP request library for Node.js",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/got",