web-streams-polyfill 2.0.4 → 2.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/CHANGELOG.md +20 -0
- package/README.md +6 -6
- package/dist/polyfill.es2018.js +2984 -2902
- package/dist/polyfill.es2018.js.map +1 -1
- package/dist/polyfill.es2018.min.js +1 -1
- package/dist/polyfill.es2018.min.js.map +1 -1
- package/dist/polyfill.es2018.mjs +2949 -2867
- package/dist/polyfill.es2018.mjs.map +1 -1
- package/dist/polyfill.es6.js +2995 -2914
- package/dist/polyfill.es6.js.map +1 -1
- package/dist/polyfill.es6.min.js +1 -1
- package/dist/polyfill.es6.min.js.map +1 -1
- package/dist/polyfill.es6.mjs +2960 -2879
- package/dist/polyfill.es6.mjs.map +1 -1
- package/dist/polyfill.js +3096 -3016
- package/dist/polyfill.js.map +1 -1
- package/dist/polyfill.min.js +1 -1
- package/dist/polyfill.min.js.map +1 -1
- package/dist/polyfill.mjs +3061 -2981
- package/dist/polyfill.mjs.map +1 -1
- package/dist/ponyfill.es2018.js +2947 -2865
- package/dist/ponyfill.es2018.js.map +1 -1
- package/dist/ponyfill.es2018.mjs +2914 -2832
- package/dist/ponyfill.es2018.mjs.map +1 -1
- package/dist/ponyfill.es6.js +2958 -2877
- package/dist/ponyfill.es6.js.map +1 -1
- package/dist/ponyfill.es6.mjs +2925 -2844
- package/dist/ponyfill.es6.mjs.map +1 -1
- package/dist/ponyfill.js +3054 -2974
- package/dist/ponyfill.js.map +1 -1
- package/dist/ponyfill.mjs +3021 -2941
- package/dist/ponyfill.mjs.map +1 -1
- package/dist/types/polyfill.d.ts +23 -5
- package/dist/types/ts3.6/polyfill.d.ts +227 -0
- package/dist/types/tsdoc-metadata.json +1 -1
- package/es2018/package.json +7 -7
- package/es6/package.json +7 -7
- package/package.json +26 -15
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,26 @@
|
|
|
9
9
|
> - 🏠 Internal
|
|
10
10
|
> - 💅 Polish
|
|
11
11
|
|
|
12
|
+
## v2.1.1 (2020-04-11)
|
|
13
|
+
|
|
14
|
+
* 💅 Improve `ReadResult` in TypeScript type definitions. ([759506e](https://github.com/MattiasBuelens/web-streams-polyfill/commit/759506e00e55289ae6f92f30922b8855fcddd9ab), [#49](https://github.com/MattiasBuelens/web-streams-polyfill/pull/49))
|
|
15
|
+
|
|
16
|
+
## v2.1.0 (2020-02-23)
|
|
17
|
+
|
|
18
|
+
* 👓 Align with [spec version `ed00d2f`](https://github.com/whatwg/streams/tree/ed00d2fe2d53ac5ad9ff8e727c7ef0a68f424074/) ([#43](https://github.com/MattiasBuelens/web-streams-polyfill/issues/43), [#44](https://github.com/MattiasBuelens/web-streams-polyfill/pull/44))
|
|
19
|
+
* 🏠 Down-level type definitions for older TypeScript versions. ([#41](https://github.com/MattiasBuelens/web-streams-polyfill/pull/41))
|
|
20
|
+
|
|
21
|
+
## v2.0.6 (2019-11-08)
|
|
22
|
+
|
|
23
|
+
* 🐛 Fix type definitions to be compatible with TypeScript 3.3 and lower. ([#39](https://github.com/MattiasBuelens/web-streams-polyfill/issues/39), [#40](https://github.com/MattiasBuelens/web-streams-polyfill/pull/40))
|
|
24
|
+
|
|
25
|
+
## v2.0.5 (2019-10-08)
|
|
26
|
+
|
|
27
|
+
* 👓 Align with [spec version `ae5e0cb`](https://github.com/whatwg/streams/tree/ae5e0cb41e9f72cdd97f3a6d47bc674c1f4049d1/) ([#33](https://github.com/MattiasBuelens/web-streams-polyfill/pull/33))
|
|
28
|
+
* 🐛 Fix support for non-browser environments, such as Node.
|
|
29
|
+
* Accept polyfilled `AbortSignal`s. ([#36](https://github.com/MattiasBuelens/web-streams-polyfill/pull/36))
|
|
30
|
+
* Polyfill `DOMException` if necessary. ([#37](https://github.com/MattiasBuelens/web-streams-polyfill/pull/37))
|
|
31
|
+
|
|
12
32
|
## v2.0.4 (2019-08-01)
|
|
13
33
|
|
|
14
34
|
* 🐛 Fix pipe not aborting when both `preventAbort` and `preventCancel` are set ([#31](https://github.com/MattiasBuelens/web-streams-polyfill/pull/31))
|
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ The `polyfill/es2018` and `ponyfill/es2018` variants work in any ES2018-compatib
|
|
|
66
66
|
|
|
67
67
|
### Compliance
|
|
68
68
|
|
|
69
|
-
The polyfill implements [version `
|
|
69
|
+
The polyfill implements [version `ed00d2f` (17 Feb 2020)][spec-snapshot] of the streams specification.
|
|
70
70
|
|
|
71
71
|
The polyfill is tested against the same [web platform tests][wpt] that are used by browsers to test their native implementations.
|
|
72
72
|
The polyfill aims to pass all tests, although it allows some exceptions for practical reasons:
|
|
@@ -99,12 +99,12 @@ Thanks to these people for their work on [the original polyfill][creatorrr-polyf
|
|
|
99
99
|
[promise-support]: https://kangax.github.io/compat-table/es6/#test-Promise
|
|
100
100
|
[promise-polyfill]: https://www.npmjs.com/package/promise-polyfill
|
|
101
101
|
[rs-asynciterator]: https://streams.spec.whatwg.org/#rs-asynciterator
|
|
102
|
-
[spec-snapshot]: https://streams.spec.whatwg.org/commit-snapshots/
|
|
103
|
-
[wpt]: https://github.com/web-platform-tests/wpt/tree/
|
|
104
|
-
[wpt-detached-buffer]: https://github.com/web-platform-tests/wpt/blob/
|
|
102
|
+
[spec-snapshot]: https://streams.spec.whatwg.org/commit-snapshots/ed00d2fe2d53ac5ad9ff8e727c7ef0a68f424074/
|
|
103
|
+
[wpt]: https://github.com/web-platform-tests/wpt/tree/0ba0c4c07c8d2c23efdcc84dfc9043a3fdccbf19/streams
|
|
104
|
+
[wpt-detached-buffer]: https://github.com/web-platform-tests/wpt/blob/0ba0c4c07c8d2c23efdcc84dfc9043a3fdccbf19/streams/readable-byte-streams/detached-buffers.any.js
|
|
105
105
|
[proposal-arraybuffer-transfer]: https://github.com/domenic/proposal-arraybuffer-transfer
|
|
106
|
-
[ref-impl-transferarraybuffer]: https://github.com/whatwg/streams/blob/
|
|
106
|
+
[ref-impl-transferarraybuffer]: https://github.com/whatwg/streams/blob/ed00d2fe2d53ac5ad9ff8e727c7ef0a68f424074/reference-implementation/lib/helpers.js#L120
|
|
107
107
|
[issue-3]: https://github.com/MattiasBuelens/web-streams-polyfill/issues/3
|
|
108
|
-
[wpt-async-iterator-prototype]: https://github.com/web-platform-tests/wpt/blob/
|
|
108
|
+
[wpt-async-iterator-prototype]: https://github.com/web-platform-tests/wpt/blob/0ba0c4c07c8d2c23efdcc84dfc9043a3fdccbf19/streams/readable-streams/async-iterator.any.js#L17
|
|
109
109
|
[stub-async-iterator-prototype]: https://github.com/MattiasBuelens/web-streams-polyfill/blob/v2.0.0/src/target/es5/stub/async-iterator-prototype.ts
|
|
110
110
|
[creatorrr-polyfill]: https://github.com/creatorrr/web-streams-polyfill
|