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

Update webpack to the latest version 🚀 #69

Merged
merged 1 commit into from
May 20, 2019

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented May 20, 2019

The devDependency webpack was updated from 4.31.0 to 4.32.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Release Notes for v4.32.0

Features

  • Added this.mode to the loader API, to allow loaders to choose defaults by mode similar to webpacks options
  • Stack Trace for Errors in rejected Promises from import() now includes the stack from where the import() was called

Bugfixes

  • The Parser can now analyse identifiers in rest patterns too
    • const { a, ...rest } = obj, where rest conflicts with an imported binding etc.
  • node: false now correctly disables __dirname and __filename too
  • __dirname and __filename now no longer evaluates to something when node: false or node.__file/dirname: false is set
    • if(__dirname !== "") is no longer replaced with if(true) in such scenarios
  • prefetching chunks is no executed after the initial module evaluation
    • This allows to override i. e. __webpack_public_path__ for prefetching too
  • fixes a runtime crash when using side-effect-free modules with the DllPlugin

Contribute

  • CI tests node.js 12 now too
  • webpack-bot now merges dependabot PRs automatically when status checks succeed
Commits

The new version differs by 59 commits.

  • bbe71d8 4.32.0
  • 5c63e05 Merge pull request #9153 from webpack/bugfix/dll-side-effects
  • a4bbdae fix problem with dll and sideEffects
  • 36c7ab7 Merge pull request #9128 from rchl/fix/useful-chunk-load-stacktrace
  • a145bea Merge pull request #9140 from tschaub/loader-mode
  • 412f77c Merge pull request #9152 from webpack/dependabot/npm_and_yarn/@types/node-10.14.7
  • ad08a37 chore(deps-dev): bump @types/node from 10.14.6 to 10.14.7
  • b322070 fix: provide useful stacktrace on chunk loading failure
  • 5178aa9 Merge pull request #9143 from webpack/dependabot/npm_and_yarn/eslint-config-prettier-4.3.0
  • a0d16cb Merge pull request #9134 from webpack/dependabot/npm_and_yarn/webpack-dev-middleware-3.7.0
  • fac1b9f chore(deps-dev): bump eslint-config-prettier from 4.2.0 to 4.3.0
  • 1a63d7b Default to production
  • 290ab5d Allow loaders to access the mode
  • 62d1b15 Merge pull request #9136 from webpack/dependabot/npm_and_yarn/lint-staged-8.1.7
  • 412a1ed chore(deps-dev): bump lint-staged from 8.1.6 to 8.1.7

There are 59 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@lpinca lpinca merged commit 2a6db59 into master May 20, 2019
@greenkeeper greenkeeper bot deleted the greenkeeper/webpack-4.32.0 branch May 20, 2019 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant