Skip to content

Conversation

@adaptive
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade webpack from 5.102.1 to 5.103.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.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released 24 days ago.

Release notes
Package name: webpack
  • 5.103.0 - 2025-11-18

    Features

    • Added DotenvPlugin and top level dotenv option to enable this plugin
    • Added WebpackManifestPlugin
    • Added support the ignoreList option in devtool plugins
    • Allow to use custom javascript parse function
    • Added import.meta.env support for environment variables
    • Added support for import.meta.dirname and import.meta.filename
    • Added support import.defer() for statistical path
    • Handle import.meta.main
    • Added suport to setup named exports for JSON modules and disable usage named export for import file from "./file.json" with { type: "json" }
    • Added support __dirname/__filename/import.meta.dirname/import.meta.filename for universal target
    • [CSS] Added the exportType option with link (by default), "text" and css-style-sheet values
    • [CSS] Added support for composes properties

    Fixes

    • The dependOn chunk must be loaded before the common chunk
    • Return to namespace import when the external request includes a specific export
    • No runtime extra runtime code for module libraries
    • Delay HMR accept dependencies to preserve import attributes
    • Properly handle external presets for universal target
    • Fixed incorrect identifier of import binding for module externals
    • Fixed when defer import and dynamic default export mixed
    • Reduce generated output when globalThis supported
    • Fixed loading async modules in defer import
    • Reexport module for default import when no used exports for systemjs library
    • Rename HarmonyExportDependencyParserPlugin exported id to CompatibilityPlugin tagged id
    • Handle __dirname and __filename for ES modules
    • Rename single nested __webpack_export__ and __webpack_require__ in already bundled code
    • [Types] webpack function type
    • [Types] NormalModule type
    • [Types] Multi compiler configuration type
    • [Types] Fixed regression in custom hashDigest type
    • [CSS] No extra runtime for initial chunk
    • [CSS] Fixed a lot of CSS modules bugs
  • 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.
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.1 to 5.103.0.

See this package in npm:
webpack

See this project in Snyk:
https://app.snyk.io/org/adaptive/project/e6ea8808-7484-4e58-8a89-0321505dea93?utm_source=github&utm_medium=referral&page=upgrade-pr
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