
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@bem/fs-scheme
Advanced tools
var BemCell = require('@bem/cell'),
BemEntityName = require('@bem/entity-name');
var atom = new BemCell(
{
entity: new BemEntityName({
block: 'b1',
elem: 'e1',
mod: {name: 'm1', val: 'v1'}
}),
tech: 'js'
}
);
var options = {
naming: 'origin'
};
var bemFs = require('bem-fs-scheme')('nested')
bemFs.path(atom, options); // b1/__e1/_m1/b1__e1_m1_v1.js
elemDirDelim
and modDirDelim
has meaning only for nested
scheme.
Parameter | Type | Description | Default |
---|---|---|---|
options | object , string | '"origin"' | |
options.naming | object , string | Defines delimeters and wordPattern check [@bem/naming] | '"origin"' |
options.elemDirDelim | string | Separates element's directory | "__" |
options.modDirDelim | string | Separates mod's directory | "_" |
Options could be one of these strings:
check ./lib/presets
Code and documentation © 2015 YANDEX LLC. Code released under the Mozilla Public License 2.0.
[@bem/naming] : https://github.com/bem-sdk/bem-naming#bemnaming-elem-mod-wordpattern-
FAQs
BEM file system schemes
The npm package @bem/fs-scheme receives a total of 52 weekly downloads. As such, @bem/fs-scheme popularity was classified as not popular.
We found that @bem/fs-scheme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.