DeviaVir / zenbot

Zenbot is a command-line cryptocurrency trading bot using Node.js and MongoDB.
MIT License
8.22k stars 2.04k forks source link

[Snyk] Upgrade webpack from 5.11.1 to 5.12.1 #2604

Closed snyk-bot closed 3 years ago

snyk-bot commented 3 years ago

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

merge advice :information_source: 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.


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