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.94.0 to 5.96.1 #8424

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

satkunas
Copy link
Contributor

@satkunas satkunas commented Dec 5, 2024

snyk-top-banner

Snyk has created this PR to upgrade webpack from 5.94.0 to 5.96.1.

ℹ️ 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 3 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: webpack
  • 5.96.1 - 2024-11-01

    Bug Fixes

    • [Types] Add @ types/eslint-scope to dependencieS
    • [Types] Fixed regression in validate
  • 5.96.0 - 2024-10-31

    Bug Fixes

    • Fixed Module Federation should track all referenced chunks
    • Handle Data URI without base64 word
    • HotUpdateChunk have correct runtime when modified with new runtime
    • Order of chunks ids in generated chunk code
    • No extra Javascript chunks when using asset module as an entrypoint
    • Use optimistically logic for output.environment.dynamicImport to determine chunk format when no browserslist or target
    • Collision with global variables for optimization.avoidEntryIife
    • Avoid through variables in inlined module
    • Allow chunk template strings in output.devtoolNamespace
    • No extra runtime for get javascript/css chunk filename
    • No extra runtime for prefetch and preload in JS runtime when it was unsed in CSS
    • Avoid cache invalidation using ProgressPlugin
    • Increase parallelism when using importModule on the execution stage
    • Correctly parsing string in export and import
    • Typescript types
    • [CSS] css/auto considers a module depending on its filename as css (pure CSS) or css/local, before it was css/global and css/local
    • [CSS] Always interpolate classes even if they are not involved in export
    • [CSS] No extra runtime in Javascript runtime chunks for asset modules used in CSS
    • [CSS] No extra runtime in Javascript runtime chunks for external asset modules used in CSS
    • [CSS] No extra runtime for the node target
    • [CSS] Fixed url()s and @ import parsing
    • [CSS] Fixed - emit a warning on broken :local and :global

    New Features

    • Export CSS and ESM runtime modules
    • Single Runtime Chunk and Federation eager module hoisting
    • [CSS] Support /* webpackIgnore: true */ for CSS files
    • [CSS] Support src() support
    • [CSS] CSS nesting in CSS modules
  • 5.95.0 - 2024-09-25

    Bug Fixes

    • Fixed hanging when attempting to read a symlink-like file that it can't read
    • Handle default for import context element dependency
    • Merge duplicate chunks call after split chunks
    • Generate correctly code for dynamically importing the same file twice and destructuring
    • Use content hash as [base] and [name] for extracted DataURI's
    • Distinguish module and import in module-import for externals import's
    • [Types] Make EnvironmentPlugin default values types less strict
    • [Types] Typescript 5.6 compatibility

    New Features

    • Add new optimization.avoidEntryIife option (true by default for the production mode)
    • Pass output.hash* options to loader context

    Performance

    • Avoid unneeded re-visit in build chunk graph
  • 5.94.0 - 2024-08-22

    Bug Fixes

    • Added runtime condition for harmony reexport checked
    • Handle properly data/http/https protocols in source maps
    • Make bigint optimistic when browserslist not found
    • Move @ types/eslint-scope to dev deps
    • Related in asset stats is now always an array when no related found
    • Handle ASI for export declarations
    • Mangle destruction incorrect with export named default properly
    • Fixed unexpected asi generation with sequence expression
    • Fixed a lot of types

    New Features

    • Added new external type "module-import"
    • Support webpackIgnore for new URL() construction
    • [CSS] @ import pathinfo support

    Security

    • Fixed DOM clobbering in auto public path
from webpack GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade webpack from 5.94.0 to 5.96.1.

See this package in npm:
webpack

See this project in Snyk:
https://app.snyk.io/org/satkunas/project/25c5648e-7e46-4545-b65e-84af09244f4b?utm_source=github&utm_medium=referral&page=upgrade-pr
@CLAassistant
Copy link

CLAassistant commented Dec 5, 2024

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ satkunas
❌ snyk-bot
You have signed the CLA already but the status is still pending? Let us recheck it.

@satkunas satkunas merged commit 8bb7195 into devel Dec 5, 2024
2 of 3 checks passed
@satkunas satkunas deleted the snyk-upgrade-2e8eff76b99c1b534da5b92c52ca79f5 branch December 5, 2024 16:08
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.

3 participants