File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -2668,6 +2668,34 @@ Type: Documentation-only
2668
2668
2669
2669
Use [`request.destroy()`][] instead of [`request.abort()`][].
2670
2670
2671
+ <a id="DEP0XXX"></a>
2672
+ ### DEP0XX: Use `request.destroyed` instead of `request.aborted`
2673
+ <!-- YAML
2674
+ changes:
2675
+ - version:
2676
+ - REPLACEME
2677
+ pr-url: https://github.com/nodejs/node/pull/33345
2678
+ description: Documentation-only deprecation.
2679
+ -->
2680
+
2681
+ Type: Documentation-only
2682
+
2683
+ Use [`request.destroyed`][] instead of [`request.aborted`][].
2684
+
2685
+ <a id="DEP0XXX"></a>
2686
+ ### DEP0XX: Use `' error' ` event instead of `' aborted' `
2687
+ <!-- YAML
2688
+ changes:
2689
+ - version:
2690
+ - REPLACEME
2691
+ pr-url: https://github.com/nodejs/node/pull/33345
2692
+ description: Documentation-only deprecation.
2693
+ -->
2694
+
2695
+ Type: Documentation-only
2696
+
2697
+ Use `' error' ` event instead of `' aborted' `.
2698
+
2671
2699
[`--pending-deprecation`]: cli.html#cli_pending_deprecation
2672
2700
[`--throw-deprecation`]: cli.html#cli_throw_deprecation
2673
2701
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
Original file line number Diff line number Diff line change @@ -584,8 +584,12 @@ changes:
584
584
- version: v11.0.0
585
585
pr-url: https://github.com/nodejs/node/pull/20230
586
586
description: The `aborted` property is no longer a timestamp number.
587
+ deprecated:
588
+ - REPLACEME
587
589
-->
588
590
591
+ > Stability: 0 - Deprecated: Use [ ` request.destroyed ` ] [ ] instead.
592
+
589
593
* {boolean}
590
594
591
595
The ` request.aborted ` property will be ` true ` if the request has
@@ -1799,8 +1803,13 @@ status, headers and data.
1799
1803
### Event: ` 'aborted' `
1800
1804
<!-- YAML
1801
1805
added: v0.3.8
1806
+ changes:
1807
+ deprecated:
1808
+ - REPLACEME
1802
1809
-->
1803
1810
1811
+ > Stability: 0 - Deprecated: Use the ` 'error' ` event instead.
1812
+
1804
1813
Emitted when the request has been aborted.
1805
1814
1806
1815
### Event: ` 'close' `
You can’t perform that action at this time.
0 commit comments