Skip to content

Conversation

@hainenber
Copy link
Contributor

build(deps): remove legacy browser polyfills

SUMMARY

Remove polyfills for fetch and abortcontroller that are no longer relevant thanks to built-in support modern browsers.

image image

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@korbit-ai
Copy link

korbit-ai bot commented Jun 21, 2025

Based on your review schedule, I'll hold off on reviewing this PR until it's marked as ready for review. If you'd like me to take a look now, comment /korbit-review.

Your admin can change your review schedule in the Korbit Console

@pull-request-size pull-request-size bot added size/M and removed size/S labels Jun 21, 2025
@hainenber hainenber marked this pull request as ready for review June 21, 2025 16:15
Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

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

Review by Korbit AI

Korbit automatically attempts to detect when you fix issues in new commits.
Category Issue Status
Functionality Missing Test Environment File Validation ▹ view 🧠 Not in standard
Files scanned
File Path Reviewed
superset-frontend/src/preamble.ts
superset-frontend/jest.config.js
superset-frontend/packages/superset-ui-core/src/connection/callApi/callApi.ts
superset-frontend/webpack.config.js

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

'^@superset-ui/([^/]+)$': '<rootDir>/node_modules/@superset-ui/$1/src',
},
testEnvironment: 'jsdom',
testEnvironment: '<rootDir>/spec/helpers/jsDomWithFetchAPI.ts',

This comment was marked as resolved.

Copy link
Member

@mistercrunch mistercrunch left a comment

Choose a reason for hiding this comment

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

LGTM, but leaving open in case there's a reviewer closer to the matter. There's probably more cleanup possible up and around this.

Related to cleanup, I think we might have some unused deps and/or devDeps laying around. Would be really neat if we could take one an analysis of each package thinking "do we really still need this?" for each lib.

@hainenber
Copy link
Contributor Author

Yes, there are plenty of deps plus dev-deps we can revisit to assess their necessity. Spoiler alert: more upcoming PRs from me on this aspect ;)

@mistercrunch
Copy link
Member

Spoiler alert:

Quite the opposite of a spoiler :) you'll be unspoiling here :)

@rusackas rusackas merged commit 573dd0e into apache:master Jun 23, 2025
107 of 108 checks passed
amaannawab923 added a commit to amaannawab923/superset that referenced this pull request Jun 24, 2025
* fix(logo): fix logo url typo (apache#33867)

* chore(Icons): Add UsergroupAddOutlined icon (apache#33866)

* fix(api): Added uuid as a valid search column (apache#33833)

* fix(native filters): Make the Apply button available after click on Clear All (apache#33834)

* build(deps): remove legacy browser polyfills (apache#33853)

Signed-off-by: hainenber <[email protected]>

* build(dev-deps): update `fetch-mock` to v11 (apache#33854)

Signed-off-by: hainenber <[email protected]>

* build(be/deps): replace `importlib_metadata` usage with native  Python 3.10+ `importlib.metadata`  (apache#33868)

Signed-off-by: hainenber <[email protected]>

* chore: Updates files related to 5.0.0 release (apache#33869)

* chore(docs): bump references to docker image versions upon release of 5.0.0 (apache#33872)

---------

Signed-off-by: hainenber <[email protected]>
Co-authored-by: Levis Mbote <[email protected]>
Co-authored-by: Enzo Martellucci <[email protected]>
Co-authored-by: Paul Rhodes <[email protected]>
Co-authored-by: Vitor Avila <[email protected]>
Co-authored-by: Đỗ Trọng Hải <[email protected]>
Co-authored-by: Michael S. Molina <[email protected]>
Co-authored-by: Sam Firke <[email protected]>
LisaHusband pushed a commit to LisaHusband/superset that referenced this pull request Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants