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

chore(deps): update dependency webpack to v5 #135

Closed
wants to merge 239 commits into from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 28, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
webpack 4.41.5 -> 5.10.0 age adoption passing confidence

Release Notes

webpack/webpack

v5.10.0

Compare Source

Bugfixes

  • Multiple fixes regarding the side effects optimization ("sideEffects": false) when reexports and concatenated modules are combined

Contributing

  • Typescript major 4
    • Improved internal structure of our typings

Performance

  • output.pathinfo: true (default in development) adds less verbose information (and is faster)
  • output.pathinfo: "verbose" adds more verbose information
  • output.pathinfo: true is cached
  • avoid assets and module stats information generation when they are cached and cached assets/modules are not shown

v5.9.0

Compare Source

Features

  • improve side effects analysis to report imported and reexported symbols as side-effect-free

Bugfixes

  • fix problem when HMR and different runtimes (e. g. with Workers)
    • caused crash with ... has no hash info for runtime ...

v5.8.0

Compare Source

Features
  • add the ability to process assets generated in later stages during processAssets
  • new processAssets stage: PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE
  • add hooks to the RealContentHashPlugin to allow to process custom hashes (e. g. SRI)
Bugfixes
  • fix typing for child compiler plugins
  • SourceMapPlugin will process assets added in later stages during asset processing

v5.7.0

Compare Source

Features

  • CLI supports installing webpack-cli via pnpm

Bugfixes

  • fix problem with ASI detection, causing semicolons inserted after if(...) etc.

v5.6.0

Compare Source

Bugfixes

  • emit warnings/errors for exports in commonjs modules for which we know that they don't exist

v5.5.1

Compare Source

Bugfixes

  • fix crash when __esModule is defined with defineProperty without value

v5.5.0

Compare Source

Bugfixes

  • fix ASI issues that occur between concatenated modules
  • fix incorrect handling of [id] and etc. in SourceMap sources
  • fix side-effect-free handling of exports for concatenated modules that causes an unused export
  • make ESM-CJS interop handling consistent
    • make __esModule flag consistent exposed
    • handle non enumerable exports
    • handle inherited exports
    • handle exported Promises

v5.4.0

Compare Source

Bugfixes

  • fix renaming in super class expression in nested scopes
  • fix parsing and handling of browserlist queries
  • fix a few edge cases with ESM-CJS interop and .mjs
  • fix ASI edge cases

v5.3.2

Compare Source

Bugfixes
  • runtime-dependent concatenated modules can generate code for runtime-dependent execution order of concatenated modules

v5.3.1

Compare Source

Bugfixes

  • fix incorrect concatenation of modules when multiple runtimes are involved
    • fixes a "This should not happen" error
    • fixes a __webpack_require__(null) problem
  • run CLI correctly after installing
  • fixes a huge performance issue when processing minimized code with SourceMap
  • Use string[] types instead of [string, ...string[]] for arrays that must not be empty
    • this is more convinient to use

Performance

  • avoid incorrect store of counts in the ProgressPlugin, which causes unneeded serialization of the Persistent Cache
  • upgrade terser-webpack-plugin for performance improvements
  • upgrade webpack-sources for performance improvements

v5.3.0

Compare Source

Features and Bugfixes

  • generate runtime conditional code when modules are forcefully merged from multiple runtimes
    • This fixes a Cannot read property 'call' of undefined error in webpack runtime, because modules are used that are not in the graph in one runtime
  • disabled source code analysis for side effects in non-production modes
    • this causes unnecessary changes to parent modules in development
    • add optimization.sideEffects: "flag" as option for this

v5.2.1

Compare Source

Bugfixes

  • add watchOptions.followSymlinks option to schema
  • fix hard crash when calling resolve with undefined value
  • fix emit problem when files have hash in query string
  • fix unneeded generation of SourceMaps when no devtool is used
    • fixes a huge performance regression with terser-webpack-plugin

v5.2.0

Compare Source

Features

  • add sourceFilename and javascriptModule to asset info for plugins

Bugfixes

  • fix variable name collision when using module concatenation
  • fix arrow functions in ie 11
  • fix this externals with module concatenation
  • force update for enhanced-resolve for critical bugfixes (see changelog)

v5.1.3

Compare Source

Bugfixes

  • omit unused modules from chunks when modules are only unused in some runtimes
    • fixes Self-reference dependency has unused export name error
  • fix order of asset optimization to fix conflict between compression-plugin and real hash plugin

v5.1.2

Compare Source

Bugfixes

  • revert: omit unused modules from chunk when modules are only unused in some runtimes
    • caused issues with mini-css modules

v5.1.1

Compare Source

Bugfixes

  • fix order of chunk hashing to allow to uses hashes in WebWorkers
  • update to terser-webpack-plugin 5
    • reduces number of dependencies by dropping webpack 4 support
  • omit unused modules from chunk when modules are only unused in some runtimes
    • fixes Self-reference dependency has unused export name error
  • fix hanging production builds because of infinite loop in inner graph optimization
  • Compilation.deleteAsset updates chunk to file mappings

v5.1.0

Compare Source

Features

  • expose webpack property from Compiler
  • expose cleverMerge, EntryOptionPlugin, DynamicEntryPlugin

Bugfixes

  • missing require("..").xxx in try-catch produces a warning instead of an error now
  • handle reexports in concatenated modules correctly when they are side-effect-free
  • fix incorrect deprecation message for ModuleTemplate.hooks.hash

v5.0.0

Compare Source

Announcement and changelog

v4.44.2

Compare Source

Bugfixes
  • make sure to generate correct chunk connection for blocks that are only connected in some runtimes
    • fixes a bug where filename contains undefined hash at runtime

v4.44.1

Compare Source

Bugfixes
  • fix bug in sideEffects optimization when using export * from "non-esm" and a default export.
  • add missing optional peerDependencies for webpack-cli and webpack-command to support Yarn 2

v4.44.0

Compare Source

Features
  • Improve sideEffects flag behavior when dynamic modules are part of the tree
    • Fixes a bug which causes empty modules (or type-only modules) to "break" Tree Shaking
  • add splitChunks.enforceSizeThreshold to allow enfore splitting larger chunks unrelated from other limiations
    • Not set by default to avoid breaking change
    • It will be set by default to 50k in webpack 5
    • It's recommended to set it in webpack 4 too
  • add support for resolve.roots and default resolve.roots: [context]
    • This allows to resolve server-relative urls (e.g. /src/abc) to the project root (or other locations when configured)
    • This allows to use loaders that rely on that behavior
Bugfixes
  • fix bug where splitChunks produced non-optimal results when minSize is set to 0
    • This lead to NaNs in some places which breaks ordering
  • Fix bug which lead to HMR not working for splitChunks in entrypoints
  • force update watchpack and chokidar for chokidar bugfix which causes files to stop being watched

v4.43.0

Compare Source

Features
  • add module.hot.invalidate() to HMR API
Dependencies
  • push versions for forced security updates

v4.42.1

Compare Source

Bugfixes
  • update webassemblyjs dependencies for instruction update
  • update mkdirp dependency for security reasons

v4.42.0

Compare Source

Bugfixes
  • Disable constant replacements in "use asm" scope
  • Update schema to disallow functions for output.hotUpdateChunkFilename as this doesn't work
  • Hoist exports in concatenated module to handle circular references with non-concatenated modules correctly
  • Flag all modules as used in DLLs to fix missing exports

v4.41.6

Compare Source

Bugfixes
  • Windows network paths are considered as absolute paths
  • fix hanging of FlagDependencyExportsPlugin when using export * in a circular matter

Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

srtucker22 and others added 30 commits August 25, 2017 11:49
Update dependencies to enable Greenkeeper 🌴
Update babel-jest to the latest version 🚀
chore(deps): update dependency eslint to v4.14.0
chore(deps): update dependency babel-eslint to v8.1.0
chore(deps): update dependency babel-eslint to v8.1.2
chore(deps): update dependency eslint to v4.15.0
srtucker22 and others added 23 commits July 13, 2019 15:44
chore(deps): update jest monorepo to v24.8.0
…-base-13.x

chore(deps): update dependency eslint-config-airbnb-base to v13.2.0
chore(deps): update dependency eslint to v6
chore(deps): update dependency webpack-cli to v3.3.6
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.3.1 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](mysticatea/eslint-utils@v1.3.1...v1.4.3)

Signed-off-by: dependabot[bot] <support@github.com>
chore(deps): update dependency regenerator-runtime to v0.13.3
…t-utils-1.4.3

chore(deps): bump eslint-utils from 1.3.1 to 1.4.3
chore(deps): update dependency webpack to v4.41.2
chore(deps): update dependency webpack-cli to v3.3.10
chore(deps): update dependency webpack to v4.41.3
chore(deps): update dependency webpack to v4.41.4
chore(deps): update jest monorepo to v24.9.0
chore(deps): update dependency webpack to v4.41.5
@coveralls
Copy link

coveralls commented Oct 29, 2020

Coverage Status

Coverage decreased (-1.6%) to 71.894% when pulling 5b9e1ef on renovate/webpack-5.x into 5505fc5 on master.

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.

None yet

4 participants