Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 28, 2021

Bumps webpack and webpack-cli. These dependencies needed to be updated together.
Updates webpack from 4.46.0 to 5.18.0

Release notes

Sourced from webpack's releases.

v5.18.0

Internals

  • refactor hashing to move the responsibility of hashing module exports info and referenced modules from Dependencies to the Module
    • Hashing in Dependencies can be much cheaper now (could improve performance when many dependencies are used that point to the same module, like many references to React.createElement)
    • Fixes bugs where Dependencies forgot to hash some details about the referenced module
    • The new model elimiates the potential of such bugs are Dependencies have less responsibilities now

v5.17.0

Features

  • add experimental lazy compilation via experiments.lazyCompilation: true for web and node targets
    • compiles entrypoints and import()s only when they are accessed
    • More details see: webpack/webpack#12469
    • Known issues: webpack-dev-server/webpack serve opening an entrypoint for the first time, sometimes need a manual refresh.
  • move some javascript parsing related configuration options from module to module.parser.javascript and also allow to set them via module.rules
  • add module.parser.javascript.commonjsMagicComments to enable /* webpackIgnore: true */ for require() calls

Bugfixes

  • fix a problem with webpack.debug.ProfilingPlugin on Mac when the computer was suspended before.
  • fix a bug with IIFE handling when the IIFE has parameters with default values

v5.16.0

Features

  • add __webpack_is_included__("./some-module") which returns true when the module is bundled and false when not
  • priorize eager shared modules over normal shared modules (with the same version), as they are loaded anyway
  • add library.type: "assign-properties" which merges all exports into a global variable
  • allow optimization.innerGraph for new URL()
    • This allows to detect which URLs are used and drop the module and asset when they are not.

Bugfixes

  • only return exports from runtime when needed
    • This allows to use experiments.outputModule: true with optimization.runtimeChunk
  • fix a bug that splitChunk.reuseExistingChunk doesn't work for entrypoints
    • This optimized an edge case where a nearly empty entrypoint is created when an entrypoint contains only vendor modules

Developer Experience

  • include plugin names in deprecation message for "NormalModuleFactory.xxx is no longer a waterfall hook"
  • improve error message when passing an invalid library name

v5.15.0

Features

  • add getResolve method to data object when using function externals
  • externals function may return a promise now

... (truncated)

Commits
  • 1677496 5.18.0
  • 7dfc1cb Merge pull request #12497 from webpack/bugfix/hashing
  • 9930ce5 Merge pull request #12467 from webpack/dependabot/npm_and_yarn/less-loader-7.3.0
  • 4b9a824 Merge pull request #12501 from webpack/dependabot/npm_and_yarn/eslint-plugin-...
  • ce6c90b Merge pull request #12500 from webpack/dependabot/npm_and_yarn/acorn-8.0.5
  • 349a5e3 avoid unnecessary MultiItemCache
  • 43df5e3 improve hash caching
  • f25345c refactor code generation and HMR plugin to generate real module hashes for HMR
  • 3cf2f45 remove unused method
  • 148baa6 chore(deps-dev): bump eslint-plugin-jsdoc from 31.0.8 to 31.3.3
  • Additional commits viewable in compare view

Updates webpack-cli from 3.3.12 to 4.4.0

Release notes

Sourced from webpack-cli's releases.

v4.4.0

4.4.0 (2021-01-19)

Bug Fixes

  • better description for --no-watch-options-stdin (#2288) (4ee8665)
  • double commands output in help (#2298) (efe81e9)
  • pass all argv to configurations when serve command used (#2345) (5070b9b)
  • respect --stats, --color and --no-color option for serve command (#2312) (73d3fec)
  • show exact package name while prompting for installation (#2338) (ffc93e5)
  • webpack installation prompt message (#2316) (3659c5e)

Features

  • added the configtest command (#2303) (eb7b189)
  • added the build command (aliases - bundle and b) (7590f66)
  • added the watch command (#2357) (9693f7d)
  • allow to pass parseOption to CLI class (#2299) (2af0801)
  • allow to use help command to show option information (#2353) (15eb411)
  • show multiple suggestions on unknown options (#2349) (7314d6c)

v4.3.1

4.3.1 (2020-12-31)

Bug Fixes

  • error message on not installed module loaders for configuration (#2282) (29eaa8e)
  • peer dependencies (#2284) (083f2a0)
  • provide useful error on unknown command (d6380bb)
  • the --help option is working without webpack-dev-server (#2267) (1dae54d)
  • the --progress option is working with --json (#2276) (0595603)

v4.3.0

4.3.0 (2020-12-25)

Bug Fixes

  • fix problems with --mode and config resolution, there are situations when we resolve an invalid config file, the --mode option does not affect on config resolution, if you faced with an error after updating, please use the --config option
  • correct usage of cli-flags (#2205) (c8fc7d1)
  • defer setting default mode to core (#2095) (3eb410e)
  • respect the --watch-options-stdin option (2d1e001)
  • respect --color/--no-color option (#2042) (09bd812)
  • stringify stats using streaming approach (#2190) (9bf4e92)
  • use logger for error with proper exit code (#2076) (2c9069f)
  • reduce spammy logs (#2206) (9b3cc28)
  • respect the infrastructureLogging.level option (logger uses stderr) (#2144) (7daccc7)
  • respect all options from command line for the server command
  • help and version output
  • respect stats from the config (webpack@4) (#2098) (2d6e5c6)
  • fixed colors work with multi compiler mode (webpack@4)

... (truncated)

Changelog

Sourced from webpack-cli's changelog.

4.4.0 (2021-01-19)

Bug Fixes

  • better description for --no-watch-options-stdin (#2288) (4ee8665)
  • double commands output in help (#2298) (efe81e9)
  • pass all argv to configurations when serve command used (#2345) (5070b9b)
  • respect --stats, --color and --no-color option for serve command (#2312) (73d3fec)
  • show exact package name while prompting for installation (#2338) (ffc93e5)
  • webpack installation prompt message (#2316) (3659c5e)

Features

  • added the configtest command (#2303) (eb7b189)
  • added the build command (aliases - bundle and b) (7590f66)
  • added the watch command (#2357) (9693f7d)
  • allow to pass parseOption to CLI class (#2299) (2af0801)
  • allow to use help command to show option information (#2353) (15eb411)
  • show multiple suggestions on unknown options (#2349) (7314d6c)

4.3.1 (2020-12-31)

Bug Fixes

  • error message on not installed module loaders for configuration (#2282) (29eaa8e)
  • peer dependencies (#2284) (083f2a0)
  • provide useful error on unknown command (d6380bb)
  • the --help option is working without webpack-dev-server (#2267) (1dae54d)
  • the --progress option is working with --json (#2276) (0595603)

4.3.0 (2020-12-25)

Bug Fixes

  • fix problems with --mode and config resolution, there are situations when we resolve an invalid config file, the --mode option does not affect on config resolution, if you faced with an error after updating, please use the --config option
  • correct usage of cli-flags (#2205) (c8fc7d1)
  • defer setting default mode to core (#2095) (3eb410e)
  • respect the --watch-options-stdin option (2d1e001)
  • respect --color/--no-color option (#2042) (09bd812)
  • stringify stats using streaming approach (#2190) (9bf4e92)
  • use logger for error with proper exit code (#2076) (2c9069f)
  • reduce spammy logs (#2206) (9b3cc28)
  • respect the infrastructureLogging.level option (logger uses stderr) (#2144) (7daccc7)
  • respect all options from command line for the server command
  • help and version output
  • respect stats from the config (webpack@4) (#2098) (2d6e5c6)
  • fixed colors work with multi compiler mode (webpack@4)

Features

... (truncated)

Commits
  • f55d44d chore(release): publish new version
  • 586d228 chore(deps-dev): bump eslint-config-prettier from 7.1.0 to 7.2.0 (#2364)
  • 366521e chore(deps-dev): bump eslint from 7.17.0 to 7.18.0 (#2359)
  • 9693f7d feat: added the watch command (#2357)
  • 451b904 chore(deps-dev): bump husky from 4.3.7 to 4.3.8 (#2360)
  • 8aeca45 chore(deps-dev): bump webpack from 5.14.0 to 5.15.0 (#2358)
  • 487691a feat: configtest validate default configuration (#2354)
  • 38869d2 chore(deps-dev): bump @types/node from 14.14.20 to 14.14.21 (#2355)
  • 15eb411 feat: allow to use help command to show option information (#2353)
  • 7590f66 feat: added build command (aliases - 'bundle' and 'b')
  • Additional commits viewable in compare view

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 dependabot bot added the dependencies Pull requests that update a dependency file label Jan 28, 2021
@dependabot dependabot bot mentioned this pull request Jan 28, 2021
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/webpack-and-webpack-cli-5.18.0 branch from dd387c0 to 705d31c Compare January 29, 2021 14:32
Bumps [webpack](https://github.com/webpack/webpack) and [webpack-cli](https://github.com/webpack/webpack-cli). These dependencies needed to be updated together.

Updates `webpack` from 4.46.0 to 5.18.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v4.46.0...v5.18.0)

Updates `webpack-cli` from 3.3.12 to 4.4.0
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/[email protected])

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/webpack-and-webpack-cli-5.18.0 branch from 705d31c to 33fee3b Compare January 29, 2021 14:39
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant