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

[Snyk] Upgrade webpack-cli from 4.4.0 to 4.5.0 #544

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

lance
Copy link
Member

@lance lance commented Feb 24, 2021

Snyk has created this PR to upgrade webpack-cli from 4.4.0 to 4.5.0.

merge advice
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 22 days ago, on 2021-02-02.
Release notes
Package name: webpack-cli
  • 4.5.0 - 2021-02-02

    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

    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)
from webpack-cli GitHub release notes
Commit messages
Package name: webpack-cli
  • 3bbda71 chore(release): publish new version
  • e5126f1 feat: add the `--node-env` flag (#2388)
  • 2841cd7 test: default loader name and plugin name (#2392)
  • b50d71b test: improve tests for --merge (#2399)
  • ad1a6b8 docs: update (#2398)
  • 805f9ff chore: use conventional commitlint (#2394)
  • 9967de9 chore(deps): bump envinfo from 7.7.3 to 7.7.4 (#2396)
  • aebdbbc feat: support ES module configuration format (#2381)
  • d004ded docs: remove references to non-existent packages (#2395)
  • 7bd747a chore(init): remove --force flag (#2391)
  • 7092a72 chore: remove git-cz (#2389)
  • 9d6dbda fix: avoid deprecation message
  • 2c85b9b chore(deps): bump yeoman-generator from 4.12.0 to 4.13.0 (#2386)
  • 710e343 chore(deps-dev): bump eslint from 7.18.0 to 7.19.0 (#2387)
  • dcb452e chore(deps-dev): bump webpack from 5.18.0 to 5.19.0 (#2384)
  • ed76f9b chore(deps-dev): bump ts-jest from 26.4.4 to 26.5.0 (#2383)
  • 529e9f0 refactor: code
  • f9ce1d3 fix: error message on invalid plugin options (#2380)
  • 311bae3 fix: improve description for 'configtest' command (#2379)
  • 6b31614 feat: entries syntax (#2369)
  • 153d449 chore(deps-dev): bump webpack from 5.17.0 to 5.18.0 (#2378)
  • c5a06f7 chore: update webpack to 5.17.0 (#2376)
  • 0d30eda docs: mention `-p` in the changelog (#2372)
  • 53e8a53 chore(deps-dev): bump webpack-bundle-analyzer from 4.3.0 to 4.4.0 (#2371)

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@lholmquist lholmquist force-pushed the snyk-upgrade-ae8cc56746ccb765dbaf6b94083cffcd branch from f4e03f6 to b5a9553 Compare February 25, 2021 18:17
@lholmquist lholmquist merged commit 83110a4 into master Feb 25, 2021
@lholmquist lholmquist deleted the snyk-upgrade-ae8cc56746ccb765dbaf6b94083cffcd branch February 25, 2021 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants