Fix(packages-enhanced): enhanced runtime plugin to check imported object type
Description
Runtime federation plugin to check for imported plugin object type.
Related Issue
https://github.com/module-federation/core/issues/2853
Types of changes
- [ ] Docs change / refactoring / dependency upgrade
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
Checklist
- [ ] I have added tests to cover my changes.
- [x] All new and existing tests passed.
- [x] I have updated the documentation.
🦋 Changeset detected
Latest commit: 432dd4ffc99fd8cf548280e427ad29659b0208b0
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 35 packages
| Name | Type |
|---|---|
| @module-federation/enhanced | Patch |
| @module-federation/modern-js | Patch |
| @module-federation/nextjs-mf | Patch |
| @module-federation/node | Patch |
| 3008-runtime-remote | Patch |
| host | Patch |
| host-v5 | Patch |
| host-vue3 | Patch |
| remote1 | Patch |
| remote2 | Patch |
| remote3 | Patch |
| @module-federation/modernjs | Patch |
| modernjs-ssr-dynamic-nested-remote | Patch |
| modernjs-ssr-dynamic-remote-new-version | Patch |
| modernjs-ssr-dynamic-remote | Patch |
| modernjs-ssr-host | Patch |
| modernjs-ssr-nested-remote | Patch |
| modernjs-ssr-remote-new-version | Patch |
| modernjs-ssr-remote | Patch |
| @module-federation/runtime | Patch |
| @module-federation/rspack | Patch |
| @module-federation/webpack-bundler-runtime | Patch |
| @module-federation/sdk | Patch |
| @module-federation/runtime-tools | Patch |
| @module-federation/managers | Patch |
| @module-federation/manifest | Patch |
| @module-federation/dts-plugin | Patch |
| @module-federation/third-party-dts-extractor | Patch |
| @module-federation/devtools | Patch |
| @module-federation/bridge-react | Patch |
| @module-federation/bridge-vue3 | Patch |
| @module-federation/bridge-shared | Patch |
| @module-federation/bridge-react-webpack-plugin | Patch |
| @module-federation/esbuild | Patch |
| @module-federation/utilities | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Deploy Preview for module-federation-docs ready!
| Name | Link |
|---|---|
| Latest commit | 432dd4ffc99fd8cf548280e427ad29659b0208b0 |
| Latest deploy log | https://app.netlify.com/sites/module-federation-docs/deploys/66bd8dab27e60f0008733bda |
| Deploy Preview | https://deploy-preview-2854--module-federation-docs.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
This does not handle export mangling which is still possible. Ill look for a solution for rendering the module expressions