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 from 5.11.1 to 5.12.1 #538

Merged
merged 1 commit into from
Feb 24, 2021

Conversation

lholmquist
Copy link
Member

Snyk has created this PR to upgrade webpack from 5.11.1 to 5.12.1.

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 2 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2021-01-08.
Release notes
Package name: webpack
  • 5.12.1 - 2021-01-08

    Bugfixes

    • fix a crash in ConcatenatedModule when deserializing
    • fix some not serializable warnings
    • show error when using an invalid identifier as var library
  • 5.12.0 - 2021-01-08

    Features

    • add experiments.layers
      • entry.xxx.layer: "name-of-layer" allows to set the layer for an entrypoint
      • module.rules[].issuerLayer: RuleCondition allows to filter/match by layer of issuer
      • module.rules[].layer: "name-of-layer" allows to set the layer of an module
      • splitChunks.cacheGroups.xxx.layer allows to select modules by layer
      • externals.byLayer["name-of-layer"] allows to specify externals by layer
      • externals.byLayer: (layer) => ... allows to specify externals by layer
      • externals function has an additional argument property contextInfo which contains info about the issuer (e. g. the layer)
    • add module.parser and module.generator options to allow to specify parser/generator options globally per module type
    • make chunkId variable available in script tag hook (like it was with webpack 4)

    Bugfixes

    • escape exclamation marks in context regexp when generating readable module names/ids
    • fix a problem when bundling webpack bundles with enabled eval-based devtools
    • add stats.nestedModulesSpace to schema to allow to specify this option
    • fix a bug that incorrectly replaces new.target with constants
    • fix a bug where splitChunk minSize is not handled correctly
    • fix a bug where the order of splitChunk cacheGroups is not handled correctly
    • avoid adding non-filesystem resources as dependencies for watching and caching

    Developer experience

    • fix incorrect negation in hint comment for eval-based devtools
    • improve error messages of "Library/Chunk Loading/Wasm Loading typeof is not enabled" errors
    • improve question message when asking to install webpack-cli
    • show a warning when loaders/plugins report invalid dependencies to webpack

    Contributing

    • examples use webpack-cli 4 now
    • rename memorize to memoize
  • 5.11.1 - 2020-12-28

    Bugfixes

    • ignore cloned ExportInfo during hashing
      • fixes a problem where changing modules affects hashes in some other part of the application during development
    • fixes compileBooleanMatcher when prefix and suffix overlap
    • fixes invalidate code generated when generating properties access
    • fix object types in typings
    • expose more types regarding Stats
from webpack GitHub release notes
Commit messages
Package name: webpack
  • 62ec154 5.12.1
  • c5d2f0f Merge pull request #12375 from webpack/bugfix/cache-concatenated-test
  • f79a04f Merge pull request #11934 from kshitij86/modulefederationplugin-dash-fix
  • 38c7cf2 fix caching crash in ConcatenatedModule
  • 74c9c72 5.12.0
  • caf64a9 Merge pull request #12356 from webpack/bugfix/invalid-deps
  • 06b39fa Merge pull request #12370 from webpack/bugfix/split-chunk-min-size
  • 35c7801 fix bug where cacheGroup index was inverted
  • 3554793 fix bug where module size is added multiple times to the split chunk info
  • 7886087 improve code and add test case
  • ce6fe58 Merge pull request #12353 from webpack/dependabot/npm_and_yarn/types/jest-26.0.20
  • 0416f62 Merge pull request #12352 from webpack/dependabot/npm_and_yarn/husky-4.3.7
  • aaadeda non-fs resources should not end up in fileDependencies
  • 09862aa add warning when invalid dependencies are reported by loaders/plugins
  • 4dc0932 chore(deps-dev): bump @ types/jest from 26.0.19 to 26.0.20
  • d0d8d18 Added validation for dashes(-) in ModuleFederationPlugin.name
  • 9e89211 chore(deps-dev): bump husky from 4.3.6 to 4.3.7
  • 6b2ca40 Merge pull request #12349 from snitin315/fix/webpack-cli
  • e4a0cde Merge pull request #12348 from webpack/refactor/resolve-by-property
  • 7db0490 fix types in resolveByProperty and removeOperations
  • 1404fd5 fix: webpack-cli installation message
  • 18f256f Merge pull request #12344 from webpack/dependabot/npm_and_yarn/browserslist-4.16.1
  • 80c5041 Merge pull request #12347 from webpack/feature/chunk-id-for-script
  • dcf6449 allow function for externals.byLayer

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-ad7af672f64e96038cb00b1f82a37fb8 branch from 7d1fd7b to 6f3ee59 Compare February 24, 2021 17:42
@lholmquist lholmquist merged commit 34b6d61 into master Feb 24, 2021
@lholmquist lholmquist deleted the snyk-upgrade-ad7af672f64e96038cb00b1f82a37fb8 branch February 24, 2021 17:44
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.

2 participants