Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
eslint-config-postman
Advanced tools
Common ESLint rules for Postman
npm install --save-dev eslint-config-postman
Update the .eslintrc
in the project root as follows:
{
"root": true,
"extends": "postman"
}
Only make these changes if you want to remove ESLint as a direct dependency.
No changes needed!
Replace require('eslint')
with require('eslint-config-postman/node_modules/eslint')
More details: https://eslint.org/docs/developer-guide/nodejs-api
If you're not using additional plugins, prune nested config files with:
find . -name .eslintrc -type f -mindepth 2 -delete;
This is recommended to abstract plugin specifics away into one config bundle Skip this if you're using ESLint as a CLI, or if you're using other plugins in addition to those covered by this config
npm uninstall eslint eslint-plugin-jsdoc eslint-plugin-lodash eslint-plugin-mocha eslint-plugin-node eslint-plugin-security
FAQs
Common ESLint rules for Postman
We found that eslint-config-postman 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.