ardatan / meteor-webpack

https://medium.com/@ardatan/meteor-with-webpack-in-2018-faster-compilation-better-source-handling-benefit-from-bc5ccc5735ef
MIT License
123 stars 29 forks source link

In vue example packages are outdated #88

Closed gustawdaniel closed 3 years ago

gustawdaniel commented 4 years ago

I propose update

 @babel/runtime            ^7.0.0-beta.46  →   ^7.9.2 
 babel-loader                      ^7.1.4  →   ^8.1.0 
 babel-preset-env                  ^1.6.1  →   ^1.7.0 
 bcrypt                            ^1.0.2  →   ^4.0.1 
 cross-env                         ^5.1.4  →   ^7.0.2 
 css-loader                      ^0.28.11  →   ^3.4.2 
 file-loader                      ^1.1.11  →   ^6.0.0 
 html-webpack-plugin               ^3.2.0  →   ^4.0.2 
 meteor-node-stubs                 ~0.2.0  →   ~1.0.0 
 vue                              ^2.1.10  →  ^2.6.11 
 vue-loader                       ^14.2.2  →  ^15.9.1 
 vue-meta                          ^0.5.3  →   ^2.3.3 
 vue-meteor-tracker                ^1.0.3  →   ^1.2.3 
 vue-style-loader                  ^4.1.0  →   ^4.1.2 
 vue-template-compiler            ^2.5.16  →  ^2.6.11 
 webpack                           ^4.6.0  →  ^4.42.1 
 webpack-dev-middleware            ^3.1.3  →   ^3.7.2 
 webpack-meteor-externals           0.0.4  →    0.0.5 
 webpack-hot-middleware           ^2.22.1  →  ^2.25.0 

Now

found 544 vulnerabilities (124 low, 7 moderate, 412 high, 1 critical)
gustawdaniel commented 4 years ago

Additionally

A patch (Meteor 1.8.1) for your current release is available!
ardatan commented 4 years ago

PRs are welcome :)

gustawdaniel commented 4 years ago

There is problem:

 vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.

This problem is discussed there

https://github.com/symfony/webpack-encore/issues/311

More info

https://vue-loader.vuejs.org/migrating.html#notable-breaking-changes

In my pull request I do not updated to vue-loader 15.