Skip to content

Commit 2a6f55b

Browse files
committed
Update the Web Streams polyfill
Not that we need this but just in case there are differences that are fixed.
1 parent c2c8bd1 commit 2a6f55b

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"@babel/preset-flow": "^7.10.4",
3636
"@babel/preset-react": "^7.10.4",
3737
"@babel/traverse": "^7.11.0",
38-
"@mattiasbuelens/web-streams-polyfill": "^0.3.2",
38+
"web-streams-polyfill": "^3.1.1",
3939
"abort-controller": "^3.0.0",
4040
"art": "0.10.1",
4141
"babel-eslint": "^10.0.3",

packages/react-dom/src/__tests__/ReactDOMFizzServerBrowser-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'use strict';
1111

1212
// Polyfills for test environment
13-
global.ReadableStream = require('@mattiasbuelens/web-streams-polyfill/ponyfill/es6').ReadableStream;
13+
global.ReadableStream = require('web-streams-polyfill/ponyfill/es6').ReadableStream;
1414
global.TextEncoder = require('util').TextEncoder;
1515
global.AbortController = require('abort-controller');
1616

packages/react-server-dom-webpack/src/__tests__/ReactFlightDOM-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'use strict';
1111

1212
// Polyfills for test environment
13-
global.ReadableStream = require('@mattiasbuelens/web-streams-polyfill/ponyfill/es6').ReadableStream;
13+
global.ReadableStream = require('web-streams-polyfill/ponyfill/es6').ReadableStream;
1414
global.TextDecoder = require('util').TextDecoder;
1515

1616
// Don't wait before processing work on the server.

packages/react-server-dom-webpack/src/__tests__/ReactFlightDOMBrowser-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'use strict';
1111

1212
// Polyfills for test environment
13-
global.ReadableStream = require('@mattiasbuelens/web-streams-polyfill/ponyfill/es6').ReadableStream;
13+
global.ReadableStream = require('web-streams-polyfill/ponyfill/es6').ReadableStream;
1414
global.TextEncoder = require('util').TextEncoder;
1515
global.TextDecoder = require('util').TextDecoder;
1616

yarn.lock

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,11 +1853,6 @@
18531853
"@types/yargs" "^15.0.0"
18541854
chalk "^4.0.0"
18551855

1856-
"@mattiasbuelens/web-streams-polyfill@^0.3.2":
1857-
version "0.3.2"
1858-
resolved "https://registry.yarnpkg.com/@mattiasbuelens/web-streams-polyfill/-/web-streams-polyfill-0.3.2.tgz#d7d180e769ac38f30c4a8e1dd9bd4412affb7f42"
1859-
integrity sha512-ANZvP8lC9IXiaPM3rwM8BGMbFIZbbj0goZT/xP2IA95UIZjEToyHXT/k8G0MmSAnxKRMh5E6oLVE6jmOt5zZ/g==
1860-
18611856
"@nodelib/[email protected]":
18621857
version "2.1.3"
18631858
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b"
@@ -6447,6 +6442,7 @@ [email protected]:
64476442

64486443
"eslint-plugin-react-internal@link:./scripts/eslint-rules":
64496444
version "0.0.0"
6445+
uid ""
64506446

64516447
eslint-plugin-react@^6.7.1:
64526448
version "6.10.3"
@@ -15951,6 +15947,11 @@ web-ext@^4:
1595115947
yargs "15.3.1"
1595215948
zip-dir "1.0.2"
1595315949

15950+
web-streams-polyfill@^3.1.1:
15951+
version "3.1.1"
15952+
resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.1.1.tgz#1516f2d4ea8f1bdbfed15eb65cb2df87098c8364"
15953+
integrity sha512-Czi3fG883e96T4DLEPRvufrF2ydhOOW1+1a6c3gNjH2aIh50DNFBdfwh2AKoOf1rXvpvavAoA11Qdq9+BKjE0Q==
15954+
1595415955
webidl-conversions@^4.0.2:
1595515956
version "4.0.2"
1595615957
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"

0 commit comments

Comments
 (0)