Skip to content

Conversation

ersachin3112
Copy link
Contributor

@ersachin3112 ersachin3112 commented Jul 27, 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

Comment on lines 330 to 342
// it('should delegate resolving (LESS) imports with URLs to "less" package', async () => {
// const testId = "./import-keyword-url.less";
// const compiler = getCompiler(testId);
// const stats = await compile(compiler);
// const codeFromBundle = getCodeFromBundle(stats, compiler);
// const codeFromLess = await getCodeFromLess(testId);
//
// expect(codeFromBundle.css).toBe(codeFromLess.css);
// expect(codeFromBundle.css).toMatchSnapshot("css");
// expect(getWarnings(stats)).toMatchSnapshot("warnings");
// expect(getErrors(stats)).toMatchSnapshot("errors");
// });

Choose a reason for hiding this comment

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

Don't remove this

Comment on lines 684 to 705
// it("should not add to dependencies imports with URLs", async () => {
// const testId = "./import-url-deps.less";
// const compiler = getCompiler(testId);
// const stats = await compile(compiler);
// const codeFromBundle = getCodeFromBundle(stats, compiler);
// const codeFromLess = await getCodeFromLess(testId);
// const { fileDependencies } = stats.compilation;
//
// validateDependencies(fileDependencies);
//
// Array.from(fileDependencies).forEach((item) => {
// ["http", "https"].forEach((protocol) => {
// expect(item.includes(protocol)).toBe(false);
// });
// });
//
// expect(codeFromBundle.css).toBe(codeFromLess.css);
// expect(codeFromBundle.css).toMatchSnapshot("css");
// expect(getWarnings(stats)).toMatchSnapshot("warnings");
// expect(getErrors(stats)).toMatchSnapshot("errors");
// });

Choose a reason for hiding this comment

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

revert this too

Copy link

codecov bot commented Jul 28, 2025

Codecov Report

❌ Patch coverage is 62.50000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.21%. Comparing base (5fcfdbc) to head (ca6a6dc).
⚠️ Report is 21 commits behind head on master.

Files with missing lines Patch % Lines
src/utils.js 66.66% 2 Missing ⚠️
src/index.js 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #568      +/-   ##
==========================================
+ Coverage   92.02%   92.21%   +0.19%     
==========================================
  Files           3        3              
  Lines         163      167       +4     
  Branches       41       44       +3     
==========================================
+ Hits          150      154       +4     
  Misses         12       12              
  Partials        1        1              

☔ 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.

@alexander-akait alexander-akait merged commit 7392971 into webpack:master Jul 28, 2025
16 of 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.

3 participants