
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.
@woltapp/browserbug-core
Advanced tools
Parser and core comparison utilities for the browserbug syntax.
@woltapp/browserbug-core
Parser and core comparison utilities for the browserbug syntax.
This is useful if you want to recreate the ESLint and Stylelint rules, but in a different linter.
npm install @woltapp/browserbug-core
import {
parseBrowserbug,
getBrowserSupportStatus,
type BrowserbugDescriptor,
} from '@woltapp/browserbug-core';
import browserslist from 'browserslist',
// Read targets from environment
const targets = browserslist()
const parseResult = parseBrowserbug(
'@browserbug chrome equal 120 -- Some comment',
browserslist.data // used to validate the list and available versions of browsers
);
if (!parseResult.success) {
// Do something with the error here :)
console.error(parseResult.error.message);
}
// Do something with data here
for (const descriptor of parseResult.data) {
const supportStatus = getBrowserSupportStatus(data)
}
The grammar is currently written with Ohm. Earlier versions of the grammar were built with sticky RegExp and a stack, but that seemed a bit ad-hoc.
If you have a compelling case for alternatives, including speed and quality of error messages, we would love to hear them!
FAQs
Parser and core comparison utilities for the browserbug syntax.
We found that @woltapp/browserbug-core demonstrated a healthy version release cadence and project activity because the last version was released less than 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.