Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@ampath-kenya/scoped-bootstrap
Advanced tools
Scoped Bootstrap is a modified version of bootstrap that solves the styling issue of boostrap where it covers the entire html file and therefore colliding with you own styles. It does it by demanding that any bootstrap component should be used inside a ro
Scoped Bootstrap is a modified version of bootstrap that solves the styling issue of boostrap where it covers the entire html file and therefore colliding with you own styles. It does it by demanding that any bootstrap component should be used inside a root component that has a class '.scoped-bootstrap'. It may contain issues and bugs it's not been extensively tested.
npm install scoped-bootstrap
<div class="scoped-bootstrap">
<!-- Boostrap components goes inside here -->
<div>
<!-- Other styling outside of the root bootstrap component will not be affected by bootstrap styling. -->
.scoped-bootstrap
'use strict'
module.exports = {
map: true,
plugins: {
"postcss-prefix-selector": {
exclude: [
':root'
],
prefix: "<<put-your prefix here. Should start with dot(.) e.g. .ampath-fe>>"
}
}
}
npm run build
Modify package.json with <>
npm run build
git add -f dist
git commit -a -m 'releasing <<version>>'
git tag <<version>>
git reset --hard HEAD~
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
Scoped Bootstrap is a modified version of bootstrap that solves the styling issue of boostrap where it covers the entire html file and therefore colliding with you own styles. It does it by demanding that any bootstrap component should be used inside a ro
We found that @ampath-kenya/scoped-bootstrap 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 found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.