
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
ignore-by-default
Advanced tools
The ignore-by-default npm package provides a list of directories that are commonly ignored by various tools and processes, such as version control systems and build tools. This can be useful for configuring tools to ignore these directories by default.
Get Default Ignored Directories
This feature allows you to retrieve a list of directories that are commonly ignored by default. The code sample demonstrates how to use the package to get and print these directories.
const ignoreByDefault = require('ignore-by-default');
const ignoredDirectories = ignoreByDefault.directories();
console.log(ignoredDirectories);
The 'ignore' package provides a way to filter out files and directories based on .gitignore rules. It is more flexible and allows custom ignore rules, whereas ignore-by-default provides a static list of commonly ignored directories.
The 'minimatch' package is a glob matcher that can be used to match file paths against glob patterns. It is more general-purpose compared to ignore-by-default, which specifically lists directories to ignore.
The 'glob' package allows you to match files using the patterns the shell uses, like stars and stuff. It can be used to find files and directories that match certain patterns, offering more control compared to the static list provided by ignore-by-default.
This is a package aimed at Node.js development tools. It provides a list of directories that should probably be ignored by such tools, e.g. when watching for file changes.
npm install ignore-by-default
The ignore-by-default
module exports a directories()
function, which will
return an array of directory names. These are the ones you should ignore.
// ['.git', '.sass_cache', …]
const ignoredDirectories = require('ignore-by-default').directories()
FAQs
A list of directories you should ignore by default
The npm package ignore-by-default receives a total of 6,701,703 weekly downloads. As such, ignore-by-default popularity was classified as popular.
We found that ignore-by-default demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.