Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump webpack-dev-middleware, laravel-mix and webpack-dev-server #351

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 21, 2024

Bumps webpack-dev-middleware to 7.1.1 and updates ancestor dependencies webpack-dev-middleware, laravel-mix and webpack-dev-server. These dependencies need to be updated together.

Updates webpack-dev-middleware from 1.12.2 to 7.1.1

Release notes

Sourced from webpack-dev-middleware's releases.

v7.1.1

7.1.1 (2024-03-21)

Bug Fixes

v7.1.0

7.1.0 (2024-03-19)

Features

  • prefer to use fs.createReadStream over fs.readFileSync to read files (ab533de)

Bug Fixes

v7.0.0

7.0.0 (2023-12-26)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 18.12.0 (#1694)
  • updated memfs@4 (#1693)

v6.1.2

6.1.2 (2024-03-20)

Bug Fixes

  • security: do not allow to read files above (#1778) (9670b34)

v6.1.1

6.1.1 (2023-05-16)

Bug Fixes

v6.1.0

... (truncated)

Changelog

Sourced from webpack-dev-middleware's changelog.

7.1.1 (2024-03-21)

Bug Fixes

7.1.0 (2024-03-19)

Features

  • prefer to use fs.createReadStream over fs.readFileSync to read files (ab533de)

Bug Fixes

7.0.0 (2023-12-26)

⚠ BREAKING CHANGES

  • minimum supported Node.js version is 18.12.0 (#1694)
  • updated memfs@4 (#1693)

Features

6.1.1 (2023-05-16)

Bug Fixes

6.1.0 (2023-05-03)

Features

... (truncated)

Commits
  • 7c6164a chore(release): 7.1.1
  • e4d183e fix(types): make types better (#1786)
  • f23ed7c chore(deps-dev): bump @​babel/core from 7.24.1 to 7.24.3 (#1782)
  • 0f3e25e fix: ContentLength incorrectly set for empty files (#1785)
  • d45f033 chore(deps-dev): bump @​babel/preset-env from 7.24.1 to 7.24.3 (#1783)
  • c0c2eea chore(deps-dev): bump express from 4.18.3 to 4.19.1 (#1781)
  • 5b47c92 fix: improve perf (#1777)
  • 1a34bc4 chore(deps-dev): bump @​types/node from 20.11.29 to 20.11.30 (#1774)
  • d618f1f chore(deps-dev): bump @​babel/preset-env from 7.24.0 to 7.24.1 (#1772)
  • 40daa4b chore(deps-dev): bump @​babel/core from 7.24.0 to 7.24.1 (#1776)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by evilebottnawi, a new releaser for webpack-dev-middleware since your current version.


Updates laravel-mix from 2.1.14 to 6.0.49

Release notes

Sourced from laravel-mix's releases.

v6.0.0

This release brings Laravel Mix current with webpack 5. It additionally includes a variety of bug fixes and enhancements.

v6.0.0-alpha.0

Add webpack 5 support.

v5.0.5

No release notes provided.

v5.0.0

v4.0.7

  • Fixes file path and compile issues on Windows.

v4.0.0

To Upgrade...

npm remove laravel-mix
npm install [email protected]

After upgrading, if you encounter any vue-template-compiler issues, this is related to the fact that your installed version numbers of vue and vue-template-compiler must be identical. Update one or both to fix this issue.

New

  • Faster compiles
  • Faster npm installs.
  • Upgraded to webpack 4
  • Upgraded to vue-loader 15
  • Upgraded to Babel 7
  • Automatic vendor extraction. If you call mix.extract() with zero arguments, all vendor dependencies (any package from node_modules/ that you pull in) will automatically be extracted. Nifty!
  • CSS minification (via cssnano) options may be provided 887808f8aea03b5dabc9e7350b66ee01a52e1610
  • PostCSS plugins may be passed to mix.sass/less/stylus() on a per-call basis. This means you may provide unique PostCSS plugins for each mix.sass() call, if desired. 88690a2f770c071dc8160127c42a4f44decf2b56
  • Switched JS optimizing/minification from Uglify to Terser. 5fb180e6e430e99b740a4bce330669cdd8fda29c
  • Switched from node-sass to Dart Sass. While this comes with a small increased compile-time cost, the benefit is faster and more reliable npm installs. 320cecbdb77e222e32903219905d0d8f3754c5ff
  • Improved Babel config merging strategy. You may now override or tweak any default Babel plugins and presets provided through Mix by creating a .babelrc file in your project root. 83f5052eb32c498a90edace47402d66eaf80f4b7

Bugfixes

  • All npm audit alerts have been fixed, thanks to the upgrade to webpack 4.

Notes

  • If your project heavily uses JavaScript dynamic imports, you may need to hold off until the release of webpack 5 early next year. There are known compile issues related to this that we cannot fix until then. Once webpack 5 is out, Mix will be updated shortly after. If you're unfamiliar with dynamic imports, then this very likely won't affect your project.
  • Sass support is now an on-demand dependency. In prior versions of Mix, the node-sass and sass-loader dependencies were included out of the box, regardless of whether your project required Sass compilation or not. To help improve install times, these two dependencies will now be installed on-demand if, and only if, your project specifies Sass compilation with mix.sass(). The first time you run npm run dev, the dependencies will be installed and saved to your dev-dependencies list. 5b7a438bcf53bc87ccc08da09b1e816a6088dec8

... (truncated)

Changelog

Sourced from laravel-mix's changelog.

Changelog

6.0.14

  • BabelConfig.fetchBabelRc / static BabelConfig.default / static BabelConfig.generate have all been deprecated. They are no longer used by Mix itself but remain for backwards compatability.
  • MixDefinitionsPlugin.getDefinitions and static MixDefinitionsPlugin.build have been deprecated. They are no longer used by Mix itself but remain for backwards compatability.
  • static Chunks._instance / static Chunks.instance() / static Chunks.reset() are now deprecated and will be removed in a future release.
  • The static methods on HotReloading are now deprecated. They have been replaced with instance methods.
  • The use of the globals Mix, Config, and webpackConfig are now deprecated and will warn on use in Mix v7.

We are working toward an API for access to Mix for extensions that does not assume that it is a global or that it is the same instance in all cases.

In the mean time:

  • Uses of Chunks.instance() may be replaced with Mix.chunks
  • Uses of Config may be replaced with Mix.config
  • Uses of webpackConfig may be replaced with Mix.webpackConfig
  • Uses of HotReloading.* methods Mix.hot.*

6.0

View upgrade guide.

Added

  • Support for webpack 5
  • New npx mix executable for triggering your build
  • Support for Vue 3 applications
  • Support for PostCSS 8
  • New mix.vue() and mix.react() commands
  • New mix.alias() command (Learn More)
  • Support for changing the webpack manifest output path (Learn More)
  • New mix.before() hook (Learn More)
  • Improved mix.combine() wildcard support
  • Improved mix.extract() priority and tree-shaking logic

Changed

  • Fixed "empty CSS file" extraction bug when using dynamic imports
  • Fixed mix.ts() TypeScript bug that skipped Babel transformation in certain cases
  • Fixed and improved PostCSS plugin autoloading and merging
  • Fixed an issue related to hot module reloading when versioning is enabled
  • Added TypeScript types for API
Upgrade guide

Sourced from laravel-mix's upgrade guide.

Upgrade to Mix 6

npm install laravel-mix@latest

Review Your Dependencies

Laravel Mix 6 ships with support for the latest versions of numerous dependencies, including webpack 5, PostCSS 8, Vue Loader 16, and more. These are significant releases with their own sets of breaking changes. We've done our best to normalize these changes, but it's still particularly important that you take the time to fully test your build after upgrading to Mix 6.

Please review your package.json dependencies list for any third-party tools or plugins that may not yet be compatible with webpack 5 or PostCSS 8.

Check Your Node Version

Mix has bumped its minimum Node requirement from version 8 to 12.14.0. Please check which version you have installed (node -v) and ensure that it meets this requirement.

Update Your NPM Scripts

If your build throws an error such as Unknown argument: --hide-modules, the scripts section of your package.json file will need to be updated. The Webpack 5 CLI removed a number of options that your NPM scripts was likely referencing.

While you're at it, go ahead and switch over to the new Mix CLI.

Before
"scripts": {
    "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "watch": "npm run development -- --watch",
    "watch-poll": "npm run watch -- --watch-poll",
    "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js",
    "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
}
</tr></table> 

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by thecrypticace, a new releaser for laravel-mix since your current version.


Updates webpack-dev-server from 3.7.2 to 5.0.4

Release notes

Sourced from webpack-dev-server's releases.

v5.0.4

5.0.4 (2024-03-19)

Bug Fixes

v5.0.3

5.0.3 (2024-03-12)

Bug Fixes

v5.0.2

5.0.2 (2024-02-16)

Bug Fixes

v5.0.1

5.0.1 (2024-02-13)

Bug Fixes

v5.0.0

5.0.0 (2024-02-12)

Migration Guide and Changes.

v4.15.2

4.15.2 (2024-03-20)

Bug Fixes

  • security: bump webpack-dev-middleware (4116209)

v4.15.1

4.15.1 (2023-06-09)

... (truncated)

Changelog

Sourced from webpack-dev-server's changelog.

5.0.4 (2024-03-19)

Bug Fixes

5.0.3 (2024-03-12)

Bug Fixes

5.0.2 (2024-02-16)

Bug Fixes

5.0.1 (2024-02-13)

Bug Fixes

5.0.0 (2024-02-12)

Migration Guide and Changes.

4.15.1 (2023-06-09)

Bug Fixes

  • replace :: with localhost before openBrowser() (#4856) (874c44b)
  • types: compatibility with @types/ws (#4899) (34bcec2)

4.15.0 (2023-05-07)

Features

  • overlay displays unhandled promise rejection (#4849) (d1dd430)

4.14.0 (2023-05-06)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) to 7.1.1 and updates ancestor dependencies [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware), [laravel-mix](https://github.com/JeffreyWay/laravel-mix) and [webpack-dev-server](https://github.com/webpack/webpack-dev-server). These dependencies need to be updated together.


Updates `webpack-dev-middleware` from 1.12.2 to 7.1.1
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/master/CHANGELOG.md)
- [Commits](webpack/webpack-dev-middleware@v1.12.2...v7.1.1)

Updates `laravel-mix` from 2.1.14 to 6.0.49
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/laravel-mix/laravel-mix/blob/master/CHANGELOG.md)
- [Upgrade guide](https://github.com/laravel-mix/laravel-mix/blob/master/UPGRADE.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/commits)

Updates `webpack-dev-server` from 3.7.2 to 5.0.4
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v3.7.2...v5.0.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
- dependency-name: laravel-mix
  dependency-type: direct:development
- dependency-name: webpack-dev-server
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 21, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 26, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@saleem-hadad saleem-hadad deleted the dependabot/npm_and_yarn/webpack-dev-middleware-and-laravel-mix-and-webpack-dev-server-7.1.1 branch March 26, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant