Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@pismo/bolt-core
Advanced tools
This is meant to make it easy to import all styles that are core to the Bolt system.
yarn add @pismo/bolt-core
This loads every module style (colors, typography, etc) for you and make them available globally to the document, along with a few core styles from this very package:
my-app/app.js
:
import '@pismo/bolt-core'
You can also name the import if you need to access variables from them:
my-app/app.js
:
import styleguide from '@pismo/bolt-core'
const styleExample = {
fontSize: styleguide.typography.f1,
color: styleguide.colors.blue,
}
Or just the ones you need at the moment:
my-app/app.js
:
import { colors, typography } from '@pismo/bolt-core'
const styleExample = {
fontSize: typography.f1,
color: colors.blue,
}
Just import the sub-package you need inside your sass and use the variables as you want:
my-app/component.scss
:
import '~@pismo/bolt-core/typography.scss';
import '~@pismo/bolt-core/colors.scss';
.my-custom-error-label {
font-size: $f7;
color: $red;
}
This loads everything into your .scss file as well, making all variables and styles available to be used in scss. But we strongly recommend importing each submodule independently as you need them, so you only get the variables to be reused inside scss instead of repeating styles everywhere, since you probably have already imported the core main js in your app js.
my-app/index.scss
:
import '~@pismo/bolt-core/index.scss'
Every module exported by this package is actually a separate package of bolt
and can be found published to npm
, as well as present in the packages
folder of the Bolt multi-package monorepo.
They're all listed as dependencies
in package.json.
FAQs
Bolt component core
The npm package @pismo/bolt-core receives a total of 4 weekly downloads. As such, @pismo/bolt-core popularity was classified as not popular.
We found that @pismo/bolt-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.