veliovgroup / flow-router

🚦 Carefully extended flow-router for Meteor
https://packosphere.com/ostrio/flow-router-extra
BSD 3-Clause "New" or "Revised" License
202 stars 29 forks source link

Using fetch instead of the deprecated http package #107

Closed dokithonon closed 6 months ago

dokithonon commented 7 months ago

Hello, As mentioned here : https://docs.meteor.com/api/http the http package is deprecated and they advise to use the fetch package.

This is used apparently on tests only.

This is even more important when moving to Meteor v3 as the http packages gets downgraded to a very old version when moving to Meteor version 3

This is the same for ostrio:cookies

dr-dimitru commented 7 months ago

Hello @dokithonon ,

Thank you for reporting this one. I see where http package used in test by ostrio:flow-router-extra, but can not find its usage in ostrio:cookies package, please advise

dokithonon commented 7 months ago

You are right. As flow router use cookie I thought it was in flow router. Thanks for your work.