xcv58 / grocery-delivery-times

Check grocery delivery time for multiple websites
https://g.xcv58.org/94103
3 stars 1 forks source link

Update dependency swr to v0.4.2 #157

Open renovate[bot] opened 4 years ago

renovate[bot] commented 4 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
swr (source) 0.2.0 -> 0.4.2 age adoption passing confidence

Release Notes

vercel/swr ### [`v0.4.2`](https://togithub.com/vercel/swr/releases/0.4.2) [Compare Source](https://togithub.com/vercel/swr/compare/0.4.1...0.4.2) ##### Patches - Chore: add comments that revalidate will be deprecated: [#​937](https://togithub.com/vercel/swr/issues/937) - Remove legacy useSWRPages types: [#​938](https://togithub.com/vercel/swr/issues/938) - Test: fix flaky tests for focus and location mutation: [#​944](https://togithub.com/vercel/swr/issues/944) - Refactor: rename from waitForDedupingInterval to waitForNextTick: [#​960](https://togithub.com/vercel/swr/issues/960) - Fix: checking if document is defined: [#​963](https://togithub.com/vercel/swr/issues/963) ##### Credits Huge thanks to [@​koba04](https://togithub.com/koba04) for helping! ### [`v0.4.1`](https://togithub.com/vercel/swr/releases/0.4.1) [Compare Source](https://togithub.com/vercel/swr/compare/0.4.0...0.4.1) ##### Patches - Enhance: let config.isPaused works with react state: [#​871](https://togithub.com/vercel/swr/issues/871) - Fix: add protection for navigator: [#​877](https://togithub.com/vercel/swr/issues/877) - Ci: add GitHub Actions for CI: [#​879](https://togithub.com/vercel/swr/issues/879) - Ci: remove Travis CI: [#​887](https://togithub.com/vercel/swr/issues/887) - Docs: add isPaused() into the options: [#​888](https://togithub.com/vercel/swr/issues/888) - Update default fetcher documentation in README.md: [#​891](https://togithub.com/vercel/swr/issues/891) - Fix: revalidateOnFocus not working on &[#​39](https://togithub.com/vercel/swr/issues/39);< iOS 14&[#​39](https://togithub.com/vercel/swr/issues/39);: [#​889](https://togithub.com/vercel/swr/issues/889) - Refactor: use getter functions to avoid unnecessary re-renders: [#​890](https://togithub.com/vercel/swr/issues/890) - Fix: add server check back for rAF: [#​899](https://togithub.com/vercel/swr/issues/899) - Fix: react-hooks/exhaustive-deps warnings: [#​886](https://togithub.com/vercel/swr/issues/886) - Test: add a test for useSWRInfinite with initialData: [#​894](https://togithub.com/vercel/swr/issues/894) - Separate tests: [#​901](https://togithub.com/vercel/swr/issues/901) - Refactor: fix all react-hooks/exhaustive-deps warnings in tests: [#​902](https://togithub.com/vercel/swr/issues/902) - Docs: use a fake GraphQL endpoint instead of graph.cool: [#​904](https://togithub.com/vercel/swr/issues/904) - Refactor: fix all react-hooks/exhaustive-deps warnings in useSWRInfinite: [#​905](https://togithub.com/vercel/swr/issues/905) - Fix the revalidation condition of the first page: [#​895](https://togithub.com/vercel/swr/issues/895) - Check key before calling callback: [#​856](https://togithub.com/vercel/swr/issues/856) - Chore: format files: [#​915](https://togithub.com/vercel/swr/issues/915) - Chore: rm duplicated tests: [#​914](https://togithub.com/vercel/swr/issues/914) - Test: recognize type definition for screen of testing-library/react: [#​903](https://togithub.com/vercel/swr/issues/903) - Chore: add a comment why fetcher accepts null: [#​918](https://togithub.com/vercel/swr/issues/918) - Refactor: fix all react-hooks/exhaustive-deps warnings in useSWR: [#​927](https://togithub.com/vercel/swr/issues/927) ##### Credits Huge thanks to [@​huozhi](https://togithub.com/huozhi), [@​koba04](https://togithub.com/koba04), [@​mcamis](https://togithub.com/mcamis), [@​joshuakimDwan](https://togithub.com/joshuakimDwan), [@​joakimgrr](https://togithub.com/joakimgrr), and [@​promer94](https://togithub.com/promer94) for helping! ### [`v0.4.0`](https://togithub.com/vercel/swr/releases/0.4.0) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.11...0.4.0) ##### Minor Changes - Feature: provide config.isPaused indicating idle state and stop revalidation: [#​845](https://togithub.com/vercel/swr/issues/845) - First page of useSWRInfinite should reuse the cache from useSWR: [#​799](https://togithub.com/vercel/swr/issues/799) ##### Patches - Keep isValidating be true when there are two concurrent requests: [#​817](https://togithub.com/vercel/swr/issues/817) - Fix act: [#​839](https://togithub.com/vercel/swr/issues/839) - Fix: clear refresh timer on effects change and check it on starting new timer: [#​853](https://togithub.com/vercel/swr/issues/853) - Add test for [#​852](https://togithub.com/vercel/swr/issues/852): [#​855](https://togithub.com/vercel/swr/issues/855) ##### Credits Huge thanks to [@​huozhi](https://togithub.com/huozhi), [@​MoonBall](https://togithub.com/MoonBall), and [@​promer94](https://togithub.com/promer94) for helping! ### [`v0.3.11`](https://togithub.com/vercel/swr/releases/0.3.11) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.10...0.3.11) ##### Patches - Fix [#​832](https://togithub.com/vercel/swr/issues/832): [#​833](https://togithub.com/vercel/swr/issues/833) - Test(fetch) add test for default fetcher: [#​834](https://togithub.com/vercel/swr/issues/834) ##### Credits Huge thanks to [@​promer94](https://togithub.com/promer94) and [@​darrenjennings](https://togithub.com/darrenjennings) for helping! ### [`v0.3.10`](https://togithub.com/vercel/swr/releases/0.3.10) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.9...0.3.10) ##### Patches - Fix: mark isValidating as false when key is falsy: [#​757](https://togithub.com/vercel/swr/issues/757) - Fix README.md typo: [#​783](https://togithub.com/vercel/swr/issues/783) - Fix: do mount check in config callback: [#​787](https://togithub.com/vercel/swr/issues/787) - Update api-hooks example README.md: [#​790](https://togithub.com/vercel/swr/issues/790) - Return &[#​39](https://togithub.com/vercel/swr/issues/39);[@​null](https://togithub.com/null)&[#​39](https://togithub.com/vercel/swr/issues/39); if args is null ASAP: [#​767](https://togithub.com/vercel/swr/issues/767) - Bump ini from 1.3.5 to 1.3.8: [#​806](https://togithub.com/vercel/swr/issues/806) - Close [#​830](https://togithub.com/vercel/swr/issues/830): [#​831](https://togithub.com/vercel/swr/issues/831) ##### Credits Huge thanks to [@​huozhi](https://togithub.com/huozhi), [@​mingcenwei](https://togithub.com/mingcenwei), [@​promer94](https://togithub.com/promer94), [@​CrutchTheClutch](https://togithub.com/CrutchTheClutch), and [@​matamatanot](https://togithub.com/matamatanot) for helping! ### [`v0.3.9`](https://togithub.com/vercel/swr/releases/0.3.9) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.8...0.3.9) ##### Patches - Replace rIC with rAF: [#​744](https://togithub.com/vercel/swr/issues/744) - Fix race condition when calling mutate synchronously: [#​735](https://togithub.com/vercel/swr/issues/735) - Refactor: support SSR in Deno: [#​754](https://togithub.com/vercel/swr/issues/754) - Fix eslint error: [#​768](https://togithub.com/vercel/swr/issues/768) - Fix `mutateCallback` types: [#​745](https://togithub.com/vercel/swr/issues/745) - Add CodeSandbox CI: [#​769](https://togithub.com/vercel/swr/issues/769) - Dispatch&[#​39](https://togithub.com/vercel/swr/issues/39);s payload type is actionType and run lint: [#​772](https://togithub.com/vercel/swr/issues/772) - Fix suspense: [#​777](https://togithub.com/vercel/swr/issues/777) ##### Credits Huge thanks to [@​ije](https://togithub.com/ije), [@​umidbekkarimov](https://togithub.com/umidbekkarimov), [@​matamatanot](https://togithub.com/matamatanot), and [@​promer94](https://togithub.com/promer94) for helping! ### [`v0.3.8`](https://togithub.com/vercel/swr/releases/0.3.8) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.7...0.3.8) ##### Patches - Allow passing null as the fetcher function for lazy execution: [#​730](https://togithub.com/vercel/swr/issues/730) - Add test for mutate with async-fn: [#​739](https://togithub.com/vercel/swr/issues/739) ##### Credits Huge thanks to [@​maggo](https://togithub.com/maggo) and [@​promer94](https://togithub.com/promer94) for helping! ### [`v0.3.7`](https://togithub.com/vercel/swr/releases/0.3.7) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.6...0.3.7) ##### Patches - Add README to examples: [#​716](https://togithub.com/vercel/swr/issues/716) - Feat: make swr more configurable across platform: [#​690](https://togithub.com/vercel/swr/issues/690) - Accept React 17 as a peer dependency: [#​725](https://togithub.com/vercel/swr/issues/725) ##### Credits Huge thanks to [@​thinceller](https://togithub.com/thinceller), [@​huozhi](https://togithub.com/huozhi), and [@​bcomnes](https://togithub.com/bcomnes) for helping! ### [`v0.3.6`](https://togithub.com/vercel/swr/releases/0.3.6) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.5...0.3.6) ##### Patches - Fix: missing dedupe in updaterInterface: [#​688](https://togithub.com/vercel/swr/issues/688) - Doc: fix readme&[#​39](https://togithub.com/vercel/swr/issues/39);s Request Deduplication example: [#​699](https://togithub.com/vercel/swr/issues/699) - Fix: error should not be cleared while revalidating: [#​701](https://togithub.com/vercel/swr/issues/701) ##### Credits Huge thanks to [@​huozhi](https://togithub.com/huozhi) and [@​Brew-Brew](https://togithub.com/Brew-Brew) for helping! ### [`v0.3.5`](https://togithub.com/vercel/swr/releases/0.3.5) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.4...0.3.5) ##### Patches - Remove unnecessary dependencies from `mutate` and `setSize`: [#​665](https://togithub.com/vercel/swr/issues/665) ### [`v0.3.4`](https://togithub.com/vercel/swr/releases/0.3.4) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.3...0.3.4) ##### Patches - Chore: swap fde for dequal: [#​655](https://togithub.com/vercel/swr/issues/655) - Add React and Hook config for ESLint: [#​270](https://togithub.com/vercel/swr/issues/270) ##### Credits Huge thanks to [@​lukeed](https://togithub.com/lukeed) and [@​innocentiv](https://togithub.com/innocentiv) for helping! ### [`v0.3.3`](https://togithub.com/vercel/swr/releases/0.3.3) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.2...0.3.3) ##### Patches - Bump handlebars from 4.5.2 to 4.7.6: [#​646](https://togithub.com/vercel/swr/issues/646) - Try fix cannot stop polling by setting refreshInterval ([#​638](https://togithub.com/vercel/swr/issues/638)): [#​632](https://togithub.com/vercel/swr/issues/632) - Chore: fix error when data tobe 0 null: [#​622](https://togithub.com/vercel/swr/issues/622) - Promote isValidating to the global level of data and error: [#​569](https://togithub.com/vercel/swr/issues/569) - Remove Isomorphic Fetch from Axios Typescript example: [#​607](https://togithub.com/vercel/swr/issues/607) - Add a default fetcher using Fetch API: [#​367](https://togithub.com/vercel/swr/issues/367) ##### Credits Huge thanks to [@​anc95](https://togithub.com/anc95), [@​blackarctic](https://togithub.com/blackarctic), [@​jmichaliga](https://togithub.com/jmichaliga), and [@​sergiodxa](https://togithub.com/sergiodxa) for helping! ### [`v0.3.2`](https://togithub.com/vercel/swr/releases/0.3.2) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.1...0.3.2) ##### Patches - Chore: optimization dispatch: [#​621](https://togithub.com/vercel/swr/issues/621) - Add function key arguments to WeakMap so they trigger revalidation on identity change: [#​612](https://togithub.com/vercel/swr/issues/612) ##### Credits Huge thanks to [@​anc95](https://togithub.com/anc95) and [@​ath92](https://togithub.com/ath92) for helping! ### [`v0.3.1`](https://togithub.com/vercel/swr/releases/0.3.1) [Compare Source](https://togithub.com/vercel/swr/compare/0.3.0...0.3.1) ##### Patches - Add useDebugValue to show the data label in the React DevTools: [#​578](https://togithub.com/vercel/swr/issues/578) - Fix problem of unnecessary revalidates when resolved data is falsy: [#​524](https://togithub.com/vercel/swr/issues/524) - Added example for SWR Request De-duplication feature: [#​519](https://togithub.com/vercel/swr/issues/519) - Fix: `eventsRef` should trigger the lastest version of config callbacks: [#​521](https://togithub.com/vercel/swr/issues/521) - Fix useSWRInfinite response type: [#​584](https://togithub.com/vercel/swr/issues/584) - Fix: &[#​39](https://togithub.com/vercel/swr/issues/39);revalidateOnFocus&[#​39](https://togithub.com/vercel/swr/issues/39); and &[#​39](https://togithub.com/vercel/swr/issues/39);revalidateOnReconnect&[#​39](https://togithub.com/vercel/swr/issues/39); shoule be statful: [#​583](https://togithub.com/vercel/swr/issues/583) - Swr.vercel.app: [#​605](https://togithub.com/vercel/swr/issues/605) - Fix: do not rerender if data unchanged: [#​464](https://togithub.com/vercel/swr/issues/464) ##### Credits Huge thanks to [@​Kexin-Li](https://togithub.com/Kexin-Li), [@​MHA15](https://togithub.com/MHA15), [@​tanmaylaud](https://togithub.com/tanmaylaud), [@​lintuming](https://togithub.com/lintuming), [@​lynxtaa](https://togithub.com/lynxtaa), [@​promer94](https://togithub.com/promer94), [@​thomaswang](https://togithub.com/thomaswang), and [@​morgs32](https://togithub.com/morgs32) for helping! ### [`v0.3.0`](https://togithub.com/vercel/swr/releases/0.3.0) [Compare Source](https://togithub.com/vercel/swr/compare/0.2.3...0.3.0) ##### Minor Changes - New infinite loading API: [#​435](https://togithub.com/vercel/swr/issues/435) - Add microbundle: [#​487](https://togithub.com/vercel/swr/issues/487) - Add persistSize option to useSWRInfinite: [#​490](https://togithub.com/vercel/swr/issues/490) - Revert "add microbundle " ([#​492](https://togithub.com/vercel/swr/issues/492)): [#​487](https://togithub.com/vercel/swr/issues/487) - Enhance: remove mutate calls from cache: [#​493](https://togithub.com/vercel/swr/issues/493) - Fix page size persistence when remounting: [#​495](https://togithub.com/vercel/swr/issues/495) - Don&[#​39](https://togithub.com/vercel/swr/issues/39);t retry on error if errorRetryCount is set to 0: [#​506](https://togithub.com/vercel/swr/issues/506) - Fix: check if mounted when trigger rerender: [#​510](https://togithub.com/vercel/swr/issues/510) - Export interfaces used by useSWRInfinite: [#​511](https://togithub.com/vercel/swr/issues/511) - Fix typescript warning: [#​530](https://togithub.com/vercel/swr/issues/530) - Fix: should throw when mutate failed: [#​557](https://togithub.com/vercel/swr/issues/557) - Enhance: fallback to setTimeout when request idle callback is not available: [#​473](https://togithub.com/vercel/swr/issues/473) - Enhance: move online listeners to config ([#​476](https://togithub.com/vercel/swr/issues/476)): [#​474](https://togithub.com/vercel/swr/issues/474) ##### Patches - Change name to Vercel: [#​467](https://togithub.com/vercel/swr/issues/467) - Update keyErr on the cache when mutating: [#​480](https://togithub.com/vercel/swr/issues/480) - Test: add test case for error updating in cache when mutate: [#​481](https://togithub.com/vercel/swr/issues/481) - Updated the readme: [#​513](https://togithub.com/vercel/swr/issues/513) - Update link: [#​516](https://togithub.com/vercel/swr/issues/516) - Remove unused command: [#​544](https://togithub.com/vercel/swr/issues/544) - Bump lodash from 4.17.15 to 4.17.19: [#​531](https://togithub.com/vercel/swr/issues/531) ##### Credits Huge thanks to [@​huozhi](https://togithub.com/huozhi), [@​dominictwlee](https://togithub.com/dominictwlee), [@​lolPants](https://togithub.com/lolPants), [@​MoeCasts](https://togithub.com/MoeCasts), [@​markozxuu](https://togithub.com/markozxuu), [@​cristianbgp](https://togithub.com/cristianbgp), [@​ashfaqnisar](https://togithub.com/ashfaqnisar), [@​matamatanot](https://togithub.com/matamatanot), and [@​Kexin-Li](https://togithub.com/Kexin-Li) for helping! ### [`v0.2.3`](https://togithub.com/vercel/swr/releases/0.2.3) [Compare Source](https://togithub.com/vercel/swr/compare/0.2.2...0.2.3) ##### Patches - Docs: update notes for returned data from mutate section: [#​394](https://togithub.com/vercel/swr/issues/394) - Change mutateCallback type to allow non-promise return value: [#​406](https://togithub.com/vercel/swr/issues/406) - Fix No bound mutate returned by useRequest hook.: [#​410](https://togithub.com/vercel/swr/issues/410) - Fix mutate not disposing older async mutations: [#​427](https://togithub.com/vercel/swr/issues/427) - Create CODE_OF_CONDUCT.md: [#​432](https://togithub.com/vercel/swr/issues/432) - Unmount check: [#​433](https://togithub.com/vercel/swr/issues/433) - Fix spread syntax with defineProperties: [#​436](https://togithub.com/vercel/swr/issues/436) - Remove unused file: [#​441](https://togithub.com/vercel/swr/issues/441) - Build: use es5 syntax for esm build ([#​444](https://togithub.com/vercel/swr/issues/444)): [#​443](https://togithub.com/vercel/swr/issues/443) - Replace ZEIT with Vercel in examples: [#​442](https://togithub.com/vercel/swr/issues/442) - Update docs to explain dependent fetching with falsy: [#​449](https://togithub.com/vercel/swr/issues/449) - Use initialData in suspense mode if provided: [#​448](https://togithub.com/vercel/swr/issues/448) - Docs: setup issue template: [#​453](https://togithub.com/vercel/swr/issues/453) - Make trigger return a promise resolved to the new cache value: [#​391](https://togithub.com/vercel/swr/issues/391) ##### Credits Huge thanks to [@​huozhi](https://togithub.com/huozhi), [@​ties-v](https://togithub.com/ties-v), [@​shyamlohar](https://togithub.com/shyamlohar), [@​TheHolyWaffle](https://togithub.com/TheHolyWaffle), [@​promer94](https://togithub.com/promer94), [@​alexandregv](https://togithub.com/alexandregv), [@​joshkel](https://togithub.com/joshkel), [@​Narigo](https://togithub.com/Narigo), and [@​sergiodxa](https://togithub.com/sergiodxa) for helping! ### [`v0.2.2`](https://togithub.com/vercel/swr/releases/0.2.2) [Compare Source](https://togithub.com/vercel/swr/compare/0.2.1...0.2.2) ##### Patches - Updated asset link: [#​408](https://togithub.com/vercel/swr/issues/408) ##### Credits Huge thanks to [@​leo](https://togithub.com/leo) for helping! ### [`v0.2.1`](https://togithub.com/vercel/swr/releases/0.2.1) [Compare Source](https://togithub.com/vercel/swr/compare/0.2.0...0.2.1) ##### Patches - Upgrade Next.js: [#​324](https://togithub.com/vercel/swr/issues/324) - Minor documentation improvements: [#​321](https://togithub.com/vercel/swr/issues/321) - Add Data and Error generics to pagesResponseInterface: [#​294](https://togithub.com/vercel/swr/issues/294) - Remove unused import in example: [#​338](https://togithub.com/vercel/swr/issues/338) - Use latest: [#​342](https://togithub.com/vercel/swr/issues/342) - Test: imporve dynamic polling interval test: [#​351](https://togithub.com/vercel/swr/issues/351) - Update handle in CODEOWNERS: [`65449cd`](https://togithub.com/vercel/swr/commit/65449cdc46ac37cdad074c733513933aed43052e) - Remove the server side suspense warning: [#​370](https://togithub.com/vercel/swr/issues/370) - Change if condition and remove &[#​39](https://togithub.com/vercel/swr/issues/39);do nothing&[#​39](https://togithub.com/vercel/swr/issues/39);: [#​356](https://togithub.com/vercel/swr/issues/356) - Add Optimistic UI with Immer example: [#​374](https://togithub.com/vercel/swr/issues/374) - Fix return type of mutateCallback: [#​381](https://togithub.com/vercel/swr/issues/381) - Fix axios example unexpected mutation behavior: [#​380](https://togithub.com/vercel/swr/issues/380) - Fix: data inconsist on key change when fetcher is synchronized: [#​369](https://togithub.com/vercel/swr/issues/369) - Update links to Vercel: [#​385](https://togithub.com/vercel/swr/issues/385) - RevalidateOnMount flag that disable automatic revalidation on mount: [#​225](https://togithub.com/vercel/swr/issues/225) - Update README.md: [#​389](https://togithub.com/vercel/swr/issues/389) ##### Credits Huge thanks to [@​timneutkens](https://togithub.com/timneutkens), [@​akx](https://togithub.com/akx), [@​Kerumen](https://togithub.com/Kerumen), [@​zusinShinpei](https://togithub.com/zusinShinpei), [@​matamatanot](https://togithub.com/matamatanot), [@​promer94](https://togithub.com/promer94), [@​hikaru7719](https://togithub.com/hikaru7719), [@​sergiodxa](https://togithub.com/sergiodxa), [@​jericopulvera](https://togithub.com/jericopulvera), [@​huozhi](https://togithub.com/huozhi), [@​sarupbanskota](https://togithub.com/sarupbanskota), and [@​ciak0](https://togithub.com/ciak0) for helping!

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/xcv58/grocery-delivery/71mdevt7l
✅ Preview: https://grocery-delivery-git-renovate-swr-0x.xcv58.now.sh