Move whatwg-fetch from devDep to dep#1625
Conversation
|
Demonstrating that it doesn't work without this PR Demonstrating that we get further with this PR So with this PR it doesn't complain about whatwg-fetch missing anymore. But now it breaks on MockRouter instead. I don't think that's related to this PR though. |
|
The package is also included in We don't need both, do we? |
|
@thedavidprice I noticed that too. I did dig in to it a little bit. It was added to that file by @peterp in this commit diff --git a/package.json b/package.json
index 5dbbb66b..22d0ec86 100644
--- a/package.json
+++ b/package.json
@@ -16,11 +16,16 @@
"@babel/runtime-corejs3": "^7.9.2",
"babel-plugin-auto-import": "^1.0.5",
"babel-plugin-module-resolver": "^4.0.0",
+ "bundlesize": "^0.18.0",
"cross-env": "^7.0.2",
"jest": "^25.2.3",
"lerna": "^3.20.2",
"nodemon": "^2.0.2",
- "typescript": "^3.8.3"
+ "typescript": "^3.8.3",
+ "@testing-library/react": "10.2.1",
+ "@testing-library/jest-dom": "5.10.0",
+ "msw": "0.19.3",
+ "whatwg-fetch": "3.0.0"
},
"eslintConfig": {
"extends": "@redwoodjs/eslint-config",
@@ -43,4 +48,4 @@
"lint": "yarn eslint packages",
"lint:fix": "yarn eslint --fix packages"
}
-}
+}
\ No newline at end of fileIf whatwg-fetch should be removed, should we remove the other packages too? Or should whatwg-fetch only be in this top level package.json, but moved to |
|
Opened a new issue with the comment above here: #1631 |
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-player](https://togithub.com/CookPete/react-player) | [`2.12.0` -> `2.13.0`](https://renovatebot.com/diffs/npm/react-player/2.12.0/2.13.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>CookPete/react-player (react-player)</summary> ### [`v2.13.0`](https://togithub.com/CookPete/react-player/blob/HEAD/CHANGELOG.md#v2130) [Compare Source](https://togithub.com/CookPete/react-player/compare/v2.12.0...v2.13.0) - Fix [#​1604](https://togithub.com/CookPete/react-player/issues/1604) - FilePlayer does not work if I passed an array of urls [`#1612`](https://togithub.com/cookpete/react-player/pull/1612) - fix: `src` sttribute become "undefinded" if `url` is an array [`#1648`](https://togithub.com/cookpete/react-player/pull/1648) - Adding keepPlaying to other player types [`#1639`](https://togithub.com/cookpete/react-player/pull/1639) - CI [`#1654`](https://togithub.com/cookpete/react-player/pull/1654) - Swap out broken youtube URL [`#1659`](https://togithub.com/cookpete/react-player/pull/1659) - Add keepPlaying to seekTo [`#1620`](https://togithub.com/cookpete/react-player/pull/1620) - Added forceDisableHls option for FilePlayer [`#1625`](https://togithub.com/cookpete/react-player/pull/1625) - added onPlaybackQualityChange prop [`#1636`](https://togithub.com/cookpete/react-player/pull/1636) - Update the list of supported YouTube domains [`#1599`](https://togithub.com/cookpete/react-player/pull/1599) - Fix [#​1604](https://togithub.com/CookPete/react-player/issues/1604) - FilePlayer does not work if I passed an array of urls ([#​1612](https://togithub.com/CookPete/react-player/issues/1612)) [`#1604`](https://togithub.com/cookpete/react-player/issues/1604) - Support Wisita URLs with query params [`#1591`](https://togithub.com/cookpete/react-player/issues/1591) - Support vimeo manage links [`#1593`](https://togithub.com/cookpete/react-player/issues/1593) - Update readme [`90237f5`](https://togithub.com/cookpete/react-player/commit/90237f51d43fc63870b0e6d0c86f4497f97ca586) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [react-player](https://togithub.com/CookPete/react-player) | [`2.12.0` -> `2.13.0`](https://renovatebot.com/diffs/npm/react-player/2.12.0/2.13.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>CookPete/react-player (react-player)</summary> ### [`v2.13.0`](https://togithub.com/CookPete/react-player/blob/HEAD/CHANGELOG.md#v2130) [Compare Source](https://togithub.com/CookPete/react-player/compare/v2.12.0...v2.13.0) - Fix [#​1604](https://togithub.com/CookPete/react-player/issues/1604) - FilePlayer does not work if I passed an array of urls [`#1612`](https://togithub.com/cookpete/react-player/pull/1612) - fix: `src` sttribute become "undefinded" if `url` is an array [`#1648`](https://togithub.com/cookpete/react-player/pull/1648) - Adding keepPlaying to other player types [`#1639`](https://togithub.com/cookpete/react-player/pull/1639) - CI [`#1654`](https://togithub.com/cookpete/react-player/pull/1654) - Swap out broken youtube URL [`#1659`](https://togithub.com/cookpete/react-player/pull/1659) - Add keepPlaying to seekTo [`#1620`](https://togithub.com/cookpete/react-player/pull/1620) - Added forceDisableHls option for FilePlayer [`#1625`](https://togithub.com/cookpete/react-player/pull/1625) - added onPlaybackQualityChange prop [`#1636`](https://togithub.com/cookpete/react-player/pull/1636) - Update the list of supported YouTube domains [`#1599`](https://togithub.com/cookpete/react-player/pull/1599) - Fix [#​1604](https://togithub.com/CookPete/react-player/issues/1604) - FilePlayer does not work if I passed an array of urls ([#​1612](https://togithub.com/CookPete/react-player/issues/1612)) [`#1604`](https://togithub.com/cookpete/react-player/issues/1604) - Support Wisita URLs with query params [`#1591`](https://togithub.com/cookpete/react-player/issues/1591) - Support vimeo manage links [`#1593`](https://togithub.com/cookpete/react-player/issues/1593) - Update readme [`90237f5`](https://togithub.com/cookpete/react-player/commit/90237f51d43fc63870b0e6d0c86f4497f97ca586) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS41IiwidXBkYXRlZEluVmVyIjoiMzcuMzEuNSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Fixes #1581