web-streams-polyfill 3.1.1 → 3.2.0

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.
@@ -687,6 +687,10 @@ export declare class WritableStreamDefaultController<W = any> {
687
687
  private constructor();
688
688
  /**
689
689
  * The reason which was passed to `WritableStream.abort(reason)` when the stream was aborted.
690
+ *
691
+ * @deprecated
692
+ * This property has been removed from the specification, see https://github.com/whatwg/streams/pull/1177.
693
+ * Use {@link WritableStreamDefaultController.signal}'s `reason` instead.
690
694
  */
691
695
  readonly abortReason: any;
692
696
  /**
@@ -687,6 +687,10 @@ export declare class WritableStreamDefaultController<W = any> {
687
687
  private constructor();
688
688
  /**
689
689
  * The reason which was passed to `WritableStream.abort(reason)` when the stream was aborted.
690
+ *
691
+ * @deprecated
692
+ * This property has been removed from the specification, see https://github.com/whatwg/streams/pull/1177.
693
+ * Use {@link WritableStreamDefaultController.signal}'s `reason` instead.
690
694
  */
691
695
  get abortReason(): any;
692
696
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-streams-polyfill",
3
- "version": "3.1.1",
3
+ "version": "3.2.0",
4
4
  "description": "Web Streams, based on the WHATWG spec reference implementation",
5
5
  "main": "dist/polyfill",
6
6
  "browser": "dist/polyfill.min.js",