[Snyk] Upgrade webpack from 5.0.0 to 5.74.0 #86
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade webpack from 5.0.0 to 5.74.0.
ℹ️ 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.74.0 - 2022-07-25
- add
- This is useful when you are forced to add the
- add support for ES2022 features like static blocks
- add Tree Shaking support for
- fix persistent cache when some build dependencies are on a different windows drive
- make order of evaluation of side-effect-free modules deterministic between concatenated and non-concatenated modules
- remove left-over from debugging in TLA/async modules runtime code
- remove unneeded extra 1s timestamp offset during watching when files are actually untouched
- This sometimes caused an additional second build which are not really needed
- fix
- set
- Improve memory usage and performance of aggregating needed files/directories for watching
- This affects rebuild performance
- export
-
5.73.0 - 2022-06-02
- add options for default
- add support for
- fix code generation of e. g.
- fix performance of large JSON modules
- fix performance of async modules evaluation
- export
- improve error messages with more details
-
5.72.1 - 2022-05-10
- fix
- fix
- fix json parsing error messages
- fix module concatenation with using
- upgrade enhanced-resolve
-
5.72.0 - 2022-04-07
- make cache warnings caused by build errors less verbose
- Allow banner to be placed as a footer with the BannerPlugin
- allow to concatenate asset modules
- fix RemoteModules when using HMR (Module Federation + HMR)
- throw error when using module concatenation and cacheUnaffected
- fix
-
5.71.0 - 2022-04-01
- choose smarter default for
- add support for expressions with
- generate UMD code with arrow functions when possible
- fix source map source names for ContextModule to be relative
- fix
- fix edge case where
- retain optional chaining in imported bindings
- include runtime code for the base URI even if not using chunk loading
- don't throw errors in persistent caching when importing node.js builtin modules via ESM
- fix crash when using
- improve handling of context modules with multiple contexts
- fix race condition HMR chunk loading when importing chunks during HMR updating
- handle errors in
-
5.70.0 - 2022-03-03
- update node.js version constraints for ESM support
- add
- alphabetically sort exports in namespace objects when possible
- add
- add proxy support to
- handle multiple alternative directories (e. g. due to resolve.alias or resolve.modules) when creating an context module
- fix problem when assigning
- fix crash when using
- avoid generating progress output before the compilation has started (ProgressPlugin)
- fix handling of non-static-ESM dependencies with using TLA and HMR in the same module
- include the asset module filename in hashing
- fix asset caching when using the BannerPlugin
- improve typings
- capture caching errors when running the test suite
-
5.69.1 - 2022-02-17
- revert "handle multiple alternative directories (e. g. due to resolve.alias or resolve.modules) when creating an context module"
-
5.69.0 - 2022-02-15
- automatically switch to an ESM compatible environment when enabling ESM output mode
- handle multiple alternative directories (e. g. due to
- add
- add
- fix bug in chunk graph generation which leads to modules being included in chunk desprite them being already included in parent chunks
- avoid writing more than 2GB at once during cache serialization (as workaround for node.js/libuv bug on MacOS)
- fix handling of whitespaces in semver ranges when using Module Federation
- avoid generating hashes which contain only numbers as they likely conflict with module ids
- fix resource name based placeholders for data uris
- fix cache serialization for context elements
- fix passing of
- fix tracking of declarations in concatenated modules to avoid conflicts
- fix unstable mangling of exports
- fix handling of
- avoid unnecessary cache update when using
- update typescript and jest
- expose some additional typings for usage in webpack-cli
-
5.68.0 - 2022-01-31
- allow to disable compile time evaluation of import.meta.url
- add
- fix handling of errors thrown in async modules
-
5.67.0 - 2022-01-21
- add 'outputPath' configuration option for resource asset modules
- support Trusted Types in eval source maps
- allow to generate only exports for css in node
- add
- add more options to the
- limit data url module name in stats printer
- allow specific description for CLI options
- improve space limiting algorithm in stats printing to show partial lists
- add
- fix call signature types of addChunkInGroup
- avoid reporting non-existant package.jsons as dependencies
- fix missing css runtime when only initial css is used
- fix css hmr support
- bugfixes to css modules
- fix cache serialization for CreateScriptUrlDependency
- fix data url content when processed by a loader
- fix regexp in identifiers that include
- fix ProfilingPlugin for watch scenarios
- add layer to module names and identifiers
- this avoid random module id changes when additional modules are added to another layer
- provide hashFunction parameter to DependencyTemplates to allow customizing it there
- fix HMR when experiments.lazyCompilation is enabled
- store url as Buffer to avoid serialization warnings
- exclude
- remove travis configuration
- improve spell checking
-
5.66.0 - 2022-01-12
-
5.65.0 - 2021-12-06
-
5.64.4 - 2021-11-25
-
5.64.3 - 2021-11-24
-
5.64.2 - 2021-11-20
-
5.64.1 - 2021-11-15
-
5.64.0 - 2021-11-11
-
5.63.0 - 2021-11-09
-
5.62.2 - 2021-11-09
-
5.62.1 - 2021-11-05
-
5.62.0 - 2021-11-05
-
5.61.0 - 2021-10-29
-
5.60.0 - 2021-10-25
-
5.59.1 - 2021-10-20
-
5.59.0 - 2021-10-19
-
5.58.2 - 2021-10-13
-
5.58.1 - 2021-10-08
-
5.58.0 - 2021-10-07
-
5.57.1 - 2021-10-05
-
5.57.0 - 2021-10-05
-
5.56.1 - 2021-10-04
-
5.56.0 - 2021-10-01
-
5.55.1 - 2021-09-29
-
5.55.0 - 2021-09-28
-
5.54.0 - 2021-09-24
-
5.53.0 - 2021-09-16
-
5.52.1 - 2021-09-10
-
5.52.0 - 2021-09-03
-
5.51.2 - 2021-09-02
-
5.51.1 - 2021-08-19
-
5.51.0 - 2021-08-19
-
5.50.0 - 2021-08-10
-
5.49.0 - 2021-08-06
-
5.48.0 - 2021-08-02
-
5.47.1 - 2021-07-29
-
5.47.0 - 2021-07-27
-
5.46.0 - 2021-07-22
-
5.45.1 - 2021-07-16
-
5.45.0 - 2021-07-16
-
5.44.0 - 2021-07-08
-
5.43.0 - 2021-07-06
-
5.42.1 - 2021-07-05
-
5.42.0 - 2021-07-02
-
5.41.1 - 2021-06-29
-
5.41.0 - 2021-06-28
-
5.40.0 - 2021-06-21
-
5.39.1 - 2021-06-17
-
5.39.0 - 2021-06-14
-
5.38.1 - 2021-05-27
-
5.38.0 - 2021-05-27
-
5.37.1 - 2021-05-19
-
5.37.0 - 2021-05-10
-
5.36.2 - 2021-04-30
-
5.36.1 - 2021-04-28
-
5.36.0 - 2021-04-27
-
5.35.1 - 2021-04-23
-
5.35.0 - 2021-04-21
-
5.34.0 - 2021-04-19
-
5.33.2 - 2021-04-14
-
5.33.1 - 2021-04-14
-
5.33.0 - 2021-04-14
-
5.32.0 - 2021-04-12
-
5.31.2 - 2021-04-09
-
5.31.1 - 2021-04-09
-
5.31.0 - 2021-04-07
-
5.30.0 - 2021-04-01
-
5.29.0 - 2021-04-01
-
5.28.0 - 2021-03-24
-
5.27.2 - 2021-03-22
-
5.27.1 - 2021-03-20
-
5.27.0 - 2021-03-19
-
5.26.3 - 2021-03-17
-
5.26.2 - 2021-03-16
-
5.26.1 - 2021-03-16
-
5.26.0 - 2021-03-15
-
5.25.1 - 2021-03-14
-
5.25.0 - 2021-03-12
-
5.24.4 - 2021-03-08
-
5.24.3 - 2021-03-03
-
5.24.2 - 2021-02-24
-
5.24.1 - 2021-02-23
-
5.24.0 - 2021-02-22
-
5.23.0 - 2021-02-18
-
5.22.0 - 2021-02-15
-
5.21.2 - 2021-02-07
-
5.21.1 - 2021-02-06
-
5.21.0 - 2021-02-05
-
5.20.2 - 2021-02-04
-
5.20.1 - 2021-02-03
-
5.20.0 - 2021-02-02
-
5.19.0 - 2021-01-29
-
5.18.0 - 2021-01-26
-
5.17.0 - 2021-01-22
-
5.16.0 - 2021-01-19
-
5.15.0 - 2021-01-15
-
5.14.0 - 2021-01-13
-
5.13.0 - 2021-01-11
-
5.12.3 - 2021-01-10
-
5.12.2 - 2021-01-09
-
5.12.1 - 2021-01-08
-
5.12.0 - 2021-01-08
-
5.11.1 - 2020-12-28
-
5.11.0 - 2020-12-17
-
5.10.3 - 2020-12-15
-
5.10.2 - 2020-12-15
-
5.10.1 - 2020-12-11
-
5.10.0 - 2020-12-04
-
5.9.0 - 2020-11-28
-
5.8.0 - 2020-11-26
-
5.7.0 - 2020-11-26
-
5.6.0 - 2020-11-19
-
5.5.1 - 2020-11-18
-
5.5.0 - 2020-11-17
-
5.4.0 - 2020-11-03
-
5.3.2 - 2020-10-29
-
5.3.1 - 2020-10-28
-
5.3.0 - 2020-10-27
-
5.2.1 - 2020-10-27
-
5.2.0 - 2020-10-22
-
5.1.3 - 2020-10-16
-
5.1.2 - 2020-10-15
-
5.1.1 - 2020-10-15
-
5.1.0 - 2020-10-13
-
5.0.0 - 2020-10-10
from webpack GitHub release notesFeatures
resolve.extensionAliasoption which allows to alias extensions.jsextension to imports when the file really has a.tsextension (typescript +"type": "module")ProvidePluginBugfixes
shareScopeoption forModuleFederationPlugin"use-credentials"also for same origin scriptsPerformance
Extensibility
HarmonyImportDependencyfor pluginsFeatures
dynamicImportModeand prefetch and preloadimport { createRequire } from "module"in source codeBugfixes
return"field"in ModuleDeveloper Experience
PathDatain typingsBugfixes
__webpack_nonce__with HMRinoperator in some casesthis.importModuleFeatures
Bugfixes
inoperator with nested exportsFeatures
uniqueNamewhen using aoutput.librarywhich includes placeholdersinof a imported bindingBugfixes
chunkLoadingoption in module moduleevaluateExpressionreturnsnulllazy-onceContext modulesrunAsChildcallbackFeatures
baseUritoentryoptions to configure a static base uri (the base ofnew URL())__webpack_exports_info__.name.canMangleexperiments.buildHttpimport.meta.webpackContextas ESM alternative torequire.contextBugfixes
globalto a variableexperiments.outputModuleandloaderContext.importModulewith multiple chunksoutput.cleanwill keep HMR assets for at least 10s to allow HMR to access them even when compilation is faster then the browserPerformance
Developer Experience
Contributing
Revert
Features
resolve.aliasorresolve.modules) when creating an context moduleutil/typesto node.js built-in modules__webpack_exports_info__.<name>.canMangleapiBugfixes
stageoption when instrumenting plugins for the ProfilingPlugin#in paths of loadersexperiments.buildHttpContributing
Developer Experience
Features
__webpack_module__and__webpack_module__.idto the apiBugfixes
Features
experiments.cssSyncModuleIdsPluginto sync module ids between server and client compilationDeterministicModuleIdsPluginto allow to generate equal idsDeveloper Experience
nullto errors in callbacksBugfixes
experiments.css|webpack-hot-middleware/clientfrom lazy compilationContributing
Commit messages
Package name: webpack
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