Skip to content

Conversation

ersachin3112
Copy link
Contributor

@ersachin3112 ersachin3112 commented Jul 31, 2025

This PR contains a:

  • bugfix
  • new feature
  • code refactor
  • test update
  • typo fix
  • metadata update

Motivation / Use-Case

upgrade eslint from v8 to v9

Breaking Changes

No

Additional Info

No

Copy link

codecov bot commented Jul 31, 2025

Codecov Report

❌ Patch coverage is 97.14286% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 94.93%. Comparing base (0ff65e7) to head (5a53d6a).
⚠️ Report is 25 commits behind head on master.

Files with missing lines Patch % Lines
src/utils.js 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #646      +/-   ##
==========================================
+ Coverage   90.14%   94.93%   +4.78%     
==========================================
  Files          15       15              
  Lines         335      296      -39     
  Branches      176      149      -27     
==========================================
- Hits          302      281      -21     
+ Misses         27       15      -12     
+ Partials        6        0       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

typeof document !== "undefined" &&
document.all &&
!window.atob,
!globalThis.atob,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use globalThis in runtime code

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's fix a problem with globalThis

// @see https://github.com/webpack-contrib/style-loader/issues/177
memo = Boolean(
typeof window !== "undefined" &&
typeof window.window !== "undefined" &&
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's fix line above

@alexander-akait alexander-akait merged commit 49d7d0a into webpack:master Aug 14, 2025
17 checks passed
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.

2 participants