
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@openmrs/esm-devtools-app
Advanced tools
openmrs-esm-devtools is an in-browser javascript module that provides a UI for developers writing frontend code.
The devtools allow you to override any javascript module to point to any url. This is useful for developing features and for debugging problems, because you can tell the browser to load one module from your localhost while keeping all other modules using the default version in the import map.
The devtools are registered as a single-spa application that creates a gray or red rectangular button near the bottom right of the screen. The rectangular button will only show up if you run the following command in the browser console:
localStorage.setItem('openmrs:devtools', true)
Now refresh the page and you'll see the rectangle. Note that when the rectangle is red that it means that you have an active override.
openmrs-esm-devtools is using import-map-overrides to accomplish this behavior.
If you prefer using the browser console instead of a UI to manage module overrides, check out the documentation in that github project.
FAQs
Dev tools for frontend devs using OpenMRS
The npm package @openmrs/esm-devtools-app receives a total of 5,294 weekly downloads. As such, @openmrs/esm-devtools-app popularity was classified as popular.
We found that @openmrs/esm-devtools-app demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.