Skip to content

Comments

[PM-26454] Undo removal of core-js to fix dynamic import errors#890

Merged
vincentsalucci merged 2 commits intomainfrom
dynamic-import-error
Oct 2, 2025
Merged

[PM-26454] Undo removal of core-js to fix dynamic import errors#890
vincentsalucci merged 2 commits intomainfrom
dynamic-import-error

Conversation

@eliykat
Copy link
Member

@eliykat eliykat commented Oct 2, 2025

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-26454

📔 Objective

Fix #878 (maybe). We have been unable to reproduce this error ("A dynamic import callback was not specified.") but my best guess is that removing core-js removed some polyfill required for the node environment.

This PR restores the latest version of core-js we were using to see if it fixes the error.

📸 Screenshots

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@eliykat eliykat requested a review from a team as a code owner October 2, 2025 07:51
@eliykat eliykat requested a review from BTreston October 2, 2025 07:51
@github-actions
Copy link
Contributor

github-actions bot commented Oct 2, 2025

Logo
Checkmarx One – Scan Summary & Details522673b1-7736-495f-a9b5-c94b75c6c3ab

New Issues (1)

Checkmarx found the following issues in this Pull Request

Severity Issue Source File / Package Checkmarx Insight
CRITICAL CVE-2025-10585 Npm-electron-38.1.0
detailsRecommended version: 38.2.0
Description: Type confusion in V8 in Google Chrome prior to 140.0.7339.185 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML p...
Attack Vector: NETWORK
Attack Complexity: LOW

ID: %2F4pP9WWKdFsJgQkxe9bcbQrypImYznyhJLCjUJY8%2FR0%3D
Vulnerable Package

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 2, 2025

@codecov
Copy link

codecov bot commented Oct 2, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 7.67%. Comparing base (77ea7a3) to head (5317b56).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/app/app.module.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            main    #890      +/-   ##
========================================
- Coverage   7.67%   7.67%   -0.01%     
========================================
  Files         68      68              
  Lines       2775    2776       +1     
  Branches     482     482              
========================================
  Hits         213     213              
- Misses      2547    2548       +1     
  Partials      15      15              

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vincentsalucci vincentsalucci changed the title Undo removal of core-js to fix dynamic import errors [PM-26454] Undo removal of core-js to fix dynamic import errors Oct 2, 2025
@vincentsalucci vincentsalucci merged commit 7c27202 into main Oct 2, 2025
20 checks passed
@vincentsalucci vincentsalucci deleted the dynamic-import-error branch October 2, 2025 16:06
vincentsalucci added a commit that referenced this pull request Oct 2, 2025
* Undo removal of core-js to fix dynamic import errors

* chore: update package-lock with npm install

---------

Co-authored-by: Vincent Salucci <[email protected]>
eliykat added a commit that referenced this pull request Oct 8, 2025
eliykat added a commit that referenced this pull request Oct 8, 2025
* Revert "[PM-26454] Undo removal of core-js to fix dynamic import errors (#890)"

This reverts commit 7c27202.

This removes the core-js dependency again, because restoring it did not fix the bug.

* Downgrade googleapis to 149 to avoid ESM issue

* Exclude googleapis from updates
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.

./bwdc errors with "A dynamic import callback was not specified."

3 participants