Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
mofo-bootstrap
Advanced tools
Mozilla Foundation Bootstrap 4 theme.
Under heavy construction. Don't use this in production quite yet!
For the moment it's recommended that you use one of two methods to include the compiled mofo-bootstrap CSS in your project:
package.json
for an npm-managed project by running npm install mofo-bootstrap --save
. You can then point your build system at the compiled CSS which resides at node_modules/mofo-bootstrap/dest/css/mofo-bootstrap.css
. This is the preferred method.http://mozilla.github.io/mofo-bootstrap/dest/css/mofo-bootstrap.css
from your HTML. This is not recommended for production, but is OK for prototyping or test purposes. Eventually we will put the CSS on a proper CDN.It's not currently advisable that you extend and compile the mofo-bootstrap SCSS in your project. SCSS doesn't (currently) allow for dynamic import paths, which complicates things when mofo-bootstrap becomes a module. We're working on a reasonable approach for allowing this...
Run the following commands in your terminal:
git clone https://github.com/mozilla/mofo-bootstrap.git && cd mofo-bootstrap
npm i
npm start
dest/ <- Contains compiled code. Don't edit anything in this folder!
src/
├── index.jade <- Template for demo page (Creates: dest/index.html)
└── scss/
├── custom/ <- SCSS modules for non-Bootstrap components.
├── overrides/ <- SCSS modules that override or extend Bootstrap components.
├── demo.scss <- SCSS specific to the demo page.
└── mofo-bootstrap.scss <- Primary entry point that defines all imports.
hyphenated-lowercase
_
)/src/scss/overrides/_type.scss
and bootstrap/scss/_type.scss
)To lint your Sass code, run npm run test:sass
Travis is connected to this task and your pull requests will fail if this test doesn't pass locally.
To deploy to gh-pages
first ensure that you have mozilla
(mozilla/mofo-bootstrap) set up as a remote.
If you have push access, simply run npm run deploy
to build the latest code on mozilla/master
and push it to gh-pages
.
FAQs
Mozilla Foundation's Bootstrap 4 theme.
The npm package mofo-bootstrap receives a total of 16 weekly downloads. As such, mofo-bootstrap popularity was classified as not popular.
We found that mofo-bootstrap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.