oliviertassinari / react-swipeable-views

A React component for swipeable views. :snowflake:
https://react-swipeable-views.com/
MIT License
4.46k stars 480 forks source link

unpin @babel/runtime #655

Open stregouet opened 3 years ago

stregouet commented 3 years ago

first thanks for your work! react-swipeable-views greatly enhance my app :)

package @babel/runtime seems to be pinned at 7.0.0 is there any reason to not use caret pinning: ^7.0.0?

After searching in github I have found this pull request: https://github.com/oliviertassinari/react-swipeable-views/pull/570 which did exactly what I am talking about. But this merged PR seems to have disappeared :confounded: When I npm install react-swipeable-views@0.14 I got thes lines in package.json:

{
  "name": "react-swipeable-views",
  "version": "0.14.0",
  ...
  "dependencies": {
    "@babel/runtime": "7.0.0",
   ...

Note: I need this because I already use @babel/runtime in my app but with last version (7.15.4) so webpack is bundling @babel/runtime twice

Joker-Qu commented 1 year ago

first thanks for your work! react-swipeable-views greatly enhance my app :)

package @babel/runtime seems to be pinned at 7.0.0 is there any reason to not use caret pinning: ^7.0.0?

After searching in github I have found this pull request: #570 which did exactly what I am talking about. But this merged PR seems to have disappeared 😖 When I npm install react-swipeable-views@0.14 I got thes lines in package.json:

{
  "name": "react-swipeable-views",
  "version": "0.14.0",
  ...
  "dependencies": {
    "@babel/runtime": "7.0.0",
   ...

Note: I need this because I already use @babel/runtime in my app but with last version (7.15.4) so webpack is bundling @babel/runtime twice

same problem! do you have any solution?