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

🚨 [security] Update webpack: 5.75.0 → 5.79.0 (minor) #100

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Apr 15, 2023


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ webpack (5.75.0 → 5.79.0) · Repo

Security Advisories 🚨

🚨 Cross-realm object access in Webpack 5

Webpack 5 before 5.76.0 does not avoid cross-realm object access. ImportParserPlugin.js mishandles the magic comment feature. An attacker who controls a property of an untrusted object can obtain access to the real global object.

Release Notes

5.79.0

New Features

  • webpack will now support simple destructuring scenarios for treeshaking namespaced imports and DefinePlugin by @vankop in #16941

Bugfixes

  • Truncate extremely long module names in DefaultStatsPrinter by @snitin315 in #16882
  • Add [contenthash] template support in DllPlugin's name option by @snitin315 in #16935
  • Fixed a bug where readRecords compiler hook was causing hangs in conjunction with the ReadRecordsPlugin by @snitin315 & @zookatron in #16944
  • webpack can now consume ESM bundles generated by webpack's esm output support by @vankop in #15608
  • [CSS] - webpack now respects CSS's case-insensitivity with atTags like @MEDIA by @alexander-akait in #16915
  • [CSS] - Fixes a bug where crossOriginLoading anonymous would not work when loading styles by @chenjiahan in #16925

Developer Experience

Contributor Experience

New Contributors

Full Changelog: v5.78.0...v5.79.0

5.78.0

Features

Bugfixes

  • [CSS] - Nested atRule's @media or @supports now properly are replaced with unique identifiers by @noreiller in #15812
  • [CSS] - Fix bug where closing parenthesis in CSS were not properly parsed and compiled by @janlent1 in #16864
  • Fix an issue where oneOf rule has been picked multiple times by @xiaoxiaojx in #16477
  • Add createRequire support for node:module prefix by @alexander-akait in #16904
  • Fix bug where self-referencing a package in a shared module failed by @weareoutman in #16685

Performance

Contributor Experience

Open in GitHub Codespaces

New Contributors

Full Changelog: v5.77.0...v5.78.0

5.77.0

New Features

Developer Experience

  • Improve resolve.extensions error message to suggest when "." is missing before the extension by @snitin315 in #16807

Contributor Experience

  • Enable GitHub Copilot for PR's into default Pull Request Template by @TheLarkInn in #16881

New Contributors

Full Changelog: v5.76.3...v5.77.0

5.76.3

Bugfixes

  • Non-javascript files will correctly not be imported when using experiments.outputModule (ES Module Output) by @snitin315 in #16809
  • Limit console output progress bar length to 40 when no columns provided by @snitin315 in #16810
  • Add missing NodeJS Builtin Modules support for inspector/promises, readline/promises, and stream/consumers by @ShenHongFei in #16841
  • webpack bin/cli now properly respects NODE_PATH env variable by @snitin315 in #16808
  • Improve typos in resolveResourceErrorHints by @snitin315 in #16806
  • Add missing loaders token support to moduleFilenameTemplate function call by @pgoldberg in #16756
  • Add gaurd condition for enabledLibraryTypes in internal ContainerPlugin by @PengBoUESTC in #16635

New Contributors

Full Changelog: v5.76.2...v5.76.3

5.76.2

Bugfixes

  • Fix bug where a missing semicolon in generated bundle output for publicPathRuntime would cause concatenated runtime errors by @snitin315 in #16811
  • Remove redundant semicolons generated in bundle runtime code after onScriptComplete function by @ahaoboy in #16347
  • Fix bug where RealContentHashPlugin was not respecting output.hashSalt's ability to cause a force recalculation of [contenthash] for emitted assets by @dmichon-msft #16789

Performance

  • Improve memory and runtime performance of sourcemaps via hoisting Regular Expression literals to stored variables by @TheLarkInn in #15722
  • Correct v8 deoptimization in ModuleGraph due to instance property declarations occurring outside of constructor by @snitin315 in #16830

Developer Experience

  • Improved internal typings to match webpack-sources typings for Source instances by @snitin315 in #16805
  • Update repo examples to include missing quotation by @snitin315 in #16812

New Contributors

Full Changelog: v5.76.1...v5.76.2

5.76.1

Fixed

  • Added assert/strict built-in to NodeTargetPlugin

Revert

5.76.0

Bugfixes

Features

Security

Repo Changes

New Contributors

Full Changelog: v5.75.0...v5.76.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants