Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
TODO
Install with npm
$ npm i matched --save
var glob = require('matched');
async
glob(['*.js'], function(err, files) {
//=> ['utils.js', 'index.js']
});
sync
var files = glob.sync(['*.js']);
//=> ['utils.js', 'index.js']
options
Both sync and async take options as the second argument:
glob(['*.js'], {cwd: 'test'}, function(err, files) {
//=> ['test.js']
});
true
if the given string looks like a glob pattern or an extglob pattern.… more | homepageInstall dev dependencies:
$ npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on October 11, 2015.
FAQs
Adds array support to node-glob, sync and async. Also supports tilde expansion (user home) and resolving to global npm modules.
The npm package matched receives a total of 100,475 weekly downloads. As such, matched popularity was classified as popular.
We found that matched 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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.