web-streams-polyfill 3.2.0 → 3.2.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/dist/polyfill.es2018.js +21 -9
- 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 +21 -9
- package/dist/polyfill.es2018.mjs.map +1 -1
- package/dist/polyfill.es6.js +21 -9
- 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 +21 -9
- package/dist/polyfill.es6.mjs.map +1 -1
- package/dist/polyfill.js +21 -9
- 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 +21 -9
- package/dist/polyfill.mjs.map +1 -1
- package/dist/ponyfill.es2018.js +21 -9
- package/dist/ponyfill.es2018.js.map +1 -1
- package/dist/ponyfill.es2018.mjs +21 -9
- package/dist/ponyfill.es2018.mjs.map +1 -1
- package/dist/ponyfill.es6.js +21 -9
- package/dist/ponyfill.es6.js.map +1 -1
- package/dist/ponyfill.es6.mjs +21 -9
- package/dist/ponyfill.es6.mjs.map +1 -1
- package/dist/ponyfill.js +21 -9
- package/dist/ponyfill.js.map +1 -1
- package/dist/ponyfill.mjs +21 -9
- package/dist/ponyfill.mjs.map +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -134
package/dist/ponyfill.es2018.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* web-streams-polyfill v3.2.
|
|
2
|
+
* web-streams-polyfill v3.2.1
|
|
3
3
|
*/
|
|
4
4
|
(function (global, factory) {
|
|
5
5
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -3702,10 +3702,16 @@
|
|
|
3702
3702
|
const byteLengthSizeFunction = (chunk) => {
|
|
3703
3703
|
return chunk.byteLength;
|
|
3704
3704
|
};
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3705
|
+
try {
|
|
3706
|
+
Object.defineProperty(byteLengthSizeFunction, 'name', {
|
|
3707
|
+
value: 'size',
|
|
3708
|
+
configurable: true
|
|
3709
|
+
});
|
|
3710
|
+
}
|
|
3711
|
+
catch (_a) {
|
|
3712
|
+
// This property is non-configurable in older browsers, so ignore if this throws.
|
|
3713
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name#browser_compatibility
|
|
3714
|
+
}
|
|
3709
3715
|
/**
|
|
3710
3716
|
* A queuing strategy that counts the number of bytes in each chunk.
|
|
3711
3717
|
*
|
|
@@ -3764,10 +3770,16 @@
|
|
|
3764
3770
|
const countSizeFunction = () => {
|
|
3765
3771
|
return 1;
|
|
3766
3772
|
};
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3773
|
+
try {
|
|
3774
|
+
Object.defineProperty(countSizeFunction, 'name', {
|
|
3775
|
+
value: 'size',
|
|
3776
|
+
configurable: true
|
|
3777
|
+
});
|
|
3778
|
+
}
|
|
3779
|
+
catch (_a) {
|
|
3780
|
+
// This property is non-configurable in older browsers, so ignore if this throws.
|
|
3781
|
+
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name#browser_compatibility
|
|
3782
|
+
}
|
|
3771
3783
|
/**
|
|
3772
3784
|
* A queuing strategy that counts the number of chunks.
|
|
3773
3785
|
*
|