Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
bahmniapps-commons
Advanced tools
This repository contains extracted common modules form openmrs-module-bahmniapps.
npm i bahmniapps-commons
git clone git@github.com:mddubey/bahmniapps-commons.git
cd bahmniapps-commons
npm install
npm run bundle
Above steps will generate a dist folder with a output js file for each module.
Below is the strucutre of project:
|-- module-1 |-- init.js |-- views |-- directives |-- filters |-- components |-- services |-- module-2 |-- init.js .... |....... |-- module-n |-- init.js .... |-- dist |-- package.json |-- webpack.config.json
init.js
file. This would be maintioned in the entry
for the webpack.config.js
.entry
will be used to generate the bundled file.Right now there are two ways the templates are exposed from module.
bahmni-patient-commons/directives/patientSummary.js
defines a directive patientSummary
which exposes patientSummary.html
template.$templateCache
directly. The applications using these should look for these templates from $templateCache
using the key
. The key
used to put the template must be documented. E.g. ui-helper/init.js
exposes common templates which are used across components.FAQs
Common Modules carved out from bahmniapps.
We found that bahmniapps-commons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.