Skip to content

Conversation

@scudette
Copy link
Contributor

@scudette scudette commented Nov 3, 2025

snyk-top-banner

Snyk has created this PR to upgrade webpack from 5.102.0 to 5.102.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 1 version ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: webpack
  • 5.102.1 - 2025-10-07

    Fixes

    • Supported extends with env for browserslist
    • Supported JSONP fragment format for web workers.
    • Fixed dynamic import support in workers using browserslist.
    • Fixed default defer import mangling.
    • Fixed default import of commonjs externals for SystemJS format.
    • Fixed context modules to the same file with different import attributes.
    • Fixed typescript types.
    • Improved import.meta warning messages to be more clear when used directly.
    • [CSS] Fixed CC_UPPER_U parsing (E -> U) in tokenizer.
  • 5.102.0 - 2025-09-29

    Features

    • Added static analyze for dynamic imports
    • Added support for import file from "./file.ext" with { type: "bytes" } to get the content as Uint8Array (look at example)
    • Added support for import file from "./file.ext" with { type: "text" } to get the content as text (look at example)
    • Added the snapshot.contextModule to configure snapshots options for context modules
    • Added the extractSourceMap option to implement the capabilities of loading source maps by comment, you don't need source-map-loader (look at example)
    • The topLevelAwait experiment is now stable (you can remove experiments.topLevelAwait from your webpack.config.js)
    • The layers experiment is now stable (you can remove experiments.layers from your webpack.config.js)
    • Added function matcher support in rule options

    Fixes

    • Fixed conflicts caused by multiple concatenate modules
    • Ignore import failure during HMR update with ES modules output
    • Keep render module order consistent
    • Prevent inlining modules that have this exports
    • Removed unused timeout attribute of script tag
    • Supported UMD chunk format to work in web workers
    • Improved CommonJs bundle to ES module library
    • Use es-lexer for mjs files for build dependencies
    • Fixed support __non_webpack_require__ for ES modules
    • Properly handle external modules for CSS
    • AssetsByChunkName included assets from chunk.auxiliaryFiles
    • Use createRequire only when output is ES module and target is node
    • Typescript types

    Performance Improvements

    • Avoid extra calls for snapshot
    • A avoid extra jobs for build dependencies
    • Move import attributes to own dependencies
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.102.0 to 5.102.1.

See this package in npm:
webpack

See this project in Snyk:
https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4?utm_source=github&utm_medium=referral&page=upgrade-pr
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

4 participants