
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@amedia/prettier-config
Advanced tools
The Prettier configuration for JavaScript / YAML / JSON / Markdown.
This probes for features and loads plugins when necessary.
Note that from kragl v4 onwards, only esm config files and syntax are supported.
npm install --save-dev @amedia/prettier-config prettier
After installing the deps, update your Prettier config file, e.g.
prettier.config.js
:
export { default } from '@amedia/prettier-config';
The prettier pluggin for vscode esbenp.prettier-vscode
, uses its included version of prettier as default. If this version uses CommonJS (require syntax) instead of ESModule (export syntax), prettier will fail with an error like:
require() of ES Module [...] not supported
To fix this issue, set the path to the prettier instance for VS code, to point to the prettier package in the current VS code repo:
"prettier.prettierPath": "./node_modules/prettier",
FAQs
Prettier config for Amedia
We found that @amedia/prettier-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 88 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.