Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@cspell/cspell-pipe
Advanced tools
@cspell/cspell-pipe
A library to assist with working with Iterables and AsyncIterables
npm install -S @cspell/cspell-pipe
import { GitIgnore, findRepoRoot } from 'cspell-gitignore';
// ...
const cwd = process.cwd();
const root = (await findRepoRoot(cwd)) || cwd;
const gitIgnore = new GitIgnore([root]);
const allFiles = glob('**');
const files = await gitIgnore.filterOutIgnored(allFiles);
.gitignore
files in the directory hierarchy..gitignore
files.The .gitignore
globs are evaluated from highest to lowest, matching the git
behavior.
To prevent searching higher in the directory hierarchy, specify roots:
const gitIgnore = new GitIgnore([process.cwd()]);
cspell-gitignore
CLIcspell-gitignore
provides a simple cli for debugging .gitignore issues.
In most cases it should provide the same output as git check-ignore
.
Usage cspell-gitignore [options] <files>
Check files against .gitignore
Compare against git check-ignore -v -n <files>
Options:
-r, --root Add a root to prevent searching for .gitignore files above the root if the file is under the root.
This option can be used multiple times to add multiple roots. The default root is the current
repository root determined by the `.git` directory.
Example:
cspell-gitignore README.md
cspell-gitignore -r . node_modules
$ cspell-gitignore -r . node_modules
.gitignore:58:node_modules/ node_modules
6.10.0 (2022-09-19)
Note: Version bump only for package cspell-monorepo
FAQs
Library to make working with Iterators/AsyncIterators easier.
The npm package @cspell/cspell-pipe receives a total of 318,591 weekly downloads. As such, @cspell/cspell-pipe popularity was classified as popular.
We found that @cspell/cspell-pipe demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.