LinkedSoftwareDependencies / Components.js

🧩 A semantic dependency injection framework
https://componentsjs.readthedocs.io/
Other
41 stars 6 forks source link

Don't load components made for older (or newer) componentsjs versions #73

Open rubensworks opened 2 years ago

rubensworks commented 2 years ago

Issue type:


Description:

Currently, componentsjs can crash when it encounters components created for an older (major) version of componentsjs. We should somehow detect the componentsjs version of these components, and only load them if they are supported.

This may require annotating modules with their supported componentsjs version. But it could also be done by detecting the imported context URL.

github-actions[bot] commented 2 years ago

Thanks for the suggestion!