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, webpack-assets-manifest and webpack-cli #555

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 15, 2021

Bumps webpack, webpack-assets-manifest and webpack-cli. These dependencies needed to be updated together.
Updates webpack from 4.46.0 to 5.25.1

Release notes

Sourced from webpack's releases.

v5.25.1

Bugfixes

  • fix startup logic when non-js chunks are in the entrypoint
  • remove type: "module" for Workers when generating classic scripts

v5.25.0

Features

  • Refactor the startup logic to improve library support
  • add __webpack_runtime_id__ to access the current runtime id
  • improve error handling for HMR
    • add second argument to self accept error handler to pass new module and module id
    • add error handler argument to dependency accept, passing error and module ids
  • add output.strictModuleErrorHandling to opt into stricter evaluation error handling semantics according to ESM spec
    • used by default when HMR is enabled
  • when ignoring a module used by new URL() this will result in an url to a empty file ("data:,")
  • add module.generator.asset.emit option to disable creating assets from asset modules (e. g. for SSR)

Bugfixes

  • fix problem when library options apply to a non-runtime chunk
  • fix crash in splitChunks.maxSize where negative indicies are accessed
  • fix sub-optimal splitting of splitChunks.maxSize in some cases when multiple size types are involved
  • fix a memory leak in AssetGenerator
  • fix usage of runtime globals in SharedPlugin to support HMR updates

Deprecations

  • deprecate output.strictModuleExceptionHandling (this is the CommonJS way of handling errors, and the name is weird)

v5.24.4

Bugfixes

  • fix overridding built-in externals via externals
  • fix handling UNC paths as windows paths
  • Improve error when passing an empty array as library name
  • avoid adding the package.json from compilation context as build dependency
  • fix expansion of "..." in array configuration options when it's not at the start

v5.24.3

Bugfixes

  • fix contenthash when a file is emitted twice with different filenames but that same contenthash

v5.24.2

Bugfixes

  • fix invalid syntax generated for destructuring with default values
  • fix some incorrect properties accesses in watch

... (truncated)

Commits
  • 58dfda2 5.25.1
  • 3f2a269 Merge pull request #12891 from webpack/bugfix/non-js-entry
  • 69218d4 fix problem with startup of non-js initial chunks
  • e643b85 Merge pull request #12750 from RReverser/remove-worker-type-module
  • 61cc65c improve parsing to handle non-literal options
  • e839494 Disallow type:module + importScripts in tests
  • ea2cdeb Remove type: 'module from new Worker exprs
  • be352e8 5.25.0
  • ab74839 Merge pull request #12871 from webpack/feature/generate-asset
  • bcf3cb2 Merge pull request #12872 from webpack/bugfix/ignore-asset-modules
  • Additional commits viewable in compare view

Updates webpack-assets-manifest from 4.0.1 to 5.0.1

Release notes

Sourced from webpack-assets-manifest's releases.

5.0.1

Fixes for #115 and #116

  • Improved finding asset modules
  • Updated hooks for watch mode
  • Use public path with entrypoints
  • Updated dependencies

5.0.0

  • Compatible with webpack 5 only (5.1+ required).
  • Supports finding asset modules.
  • Updated options schema to prevent additional properties. This helps with catching typos in option names.
  • ⚠️ Updated default value of the output option to be assets-manifest.json. This is to prevent confusion when working with Web app manifests or WebExtension manifests.
Commits

Updates webpack-cli from 3.3.12 to 4.5.0

Release notes

Sourced from webpack-cli's releases.

v4.5.0

4.5.0 (2021-02-02)

Notes

  • now you can use webpack.config.mjs and webpack.config.js with { "type": "module" } in package.json
  • you can avoid using the cross-env package:

Before:

{
    "scripts": {
        "build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js"
    }
}

Now (you can remove the cross-env if you don't use it somewhere else):

{
    "scripts": {
        "build": "webpack --node-env=production --config build/webpack.config.js"
    }
}
  • the mode option respect the --node-env option if you don't set the mode option explicit using CLI options or in configuration(s), i.e. --node-env production set process.env.NODE_ENV and mode to production

Bug Fixes

  • avoid deprecation message (9d6dbda)
  • error message on invalid plugin options (#2380) (f9ce1d3)
  • improve description for 'configtest' command (#2379) (311bae3)

Features

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)

... (truncated)

Changelog

Sourced from webpack-cli's changelog.

4.5.0 (2021-02-02)

Notes

  • now you can use webpack.config.mjs and webpack.config.js with { "type": "module" } in package.json
  • you can avoid using the cross-env package:

Before:

{
    "scripts": {
        "build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js"
    }
}

Now (you can remove the cross-env if you don't use it somewhere else):

{
    "scripts": {
        "build": "webpack --node-env=production --config build/webpack.config.js"
    }
}
  • the mode option respect the --node-env option if you don't set the mode option explicit using CLI options or in configuration(s), i.e. --node-env production set process.env.NODE_ENV and mode to production

Bug Fixes

  • avoid deprecation message (9d6dbda)
  • error message on invalid plugin options (#2380) (f9ce1d3)
  • improve description for 'configtest' command (#2379) (311bae3)

Features

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)

... (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 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)

Bumps [webpack](https://github.com/webpack/webpack), [webpack-assets-manifest](https://github.com/webdeveric/webpack-assets-manifest) and [webpack-cli](https://github.com/webpack/webpack-cli). These dependencies needed to be updated together.

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

Updates `webpack-assets-manifest` from 4.0.1 to 5.0.1
- [Release notes](https://github.com/webdeveric/webpack-assets-manifest/releases)
- [Commits](webdeveric/webpack-assets-manifest@v4.0.1...v5.0.1)

Updates `webpack-cli` from 3.3.12 to 4.5.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/v3.3.12...webpack-cli@4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 15, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Apr 16, 2021

Superseded by #625.

@dependabot dependabot bot closed this Apr 16, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/webpack-and-webpack-assets-manifest-and-webpack-cli-5.25.1 branch April 16, 2021 22:45
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
0 participants