Skip to content

Commit

Permalink
add github workflows, upgrade deps
Browse files Browse the repository at this point in the history
No breaking changes here, only patches.
  • Loading branch information
jonschlinkert committed Mar 24, 2022
1 parent 9a26c20 commit 32fe3fe
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 86 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Tests
on: [push, pull_request]

env:
CI: true

jobs:
test:
name: Node.js ${{ matrix.node-version }} @ ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [10, 12, 14, 16, 17]

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# micromatch [![NPM version](https://img.shields.io/npm/v/micromatch.svg?style=flat)](https://www.npmjs.com/package/micromatch) [![NPM monthly downloads](https://img.shields.io/npm/dm/micromatch.svg?style=flat)](https://npmjs.org/package/micromatch) [![NPM total downloads](https://img.shields.io/npm/dt/micromatch.svg?style=flat)](https://npmjs.org/package/micromatch) [![Linux Build Status](https://img.shields.io/travis/micromatch/micromatch.svg?style=flat&label=Travis)](https://travis-ci.org/micromatch/micromatch)
# micromatch [![NPM version](https://img.shields.io/npm/v/micromatch.svg?style=flat)](https://www.npmjs.com/package/micromatch) [![NPM monthly downloads](https://img.shields.io/npm/dm/micromatch.svg?style=flat)](https://npmjs.org/package/micromatch) [![NPM total downloads](https://img.shields.io/npm/dt/micromatch.svg?style=flat)](https://npmjs.org/package/micromatch) [![Tests](https://github.com/micromatch/micromatch/actions/workflows/test.yml/badge.svg)](https://github.com/micromatch/micromatch/actions/workflows/test.yml)

> Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
Expand Down Expand Up @@ -54,7 +54,7 @@ Please consider following this project's author, [Jon Schlinkert](https://github

## Install

Install with [npm](https://www.npmjs.com/):
Install with [npm](https://www.npmjs.com/) (requires [Node.js](https://nodejs.org/en/) >=8.6):

```sh
$ npm install --save micromatch
Expand Down Expand Up @@ -103,7 +103,7 @@ console.log(micromatch.isMatch('foo', ['b*', 'f*'])) //=> true

* Support for multiple glob patterns (no need for wrappers like multimatch)
* Wildcards (`**`, `*.js`)
* Negation (`'!a/*.js'`, `'*!(b).js']`)
* Negation (`'!a/*.js'`, `'*!(b).js'`)
* [extglobs](#extglobs) (`+(x|y)`, `!(a|b)`)
* [POSIX character classes](#posix-bracket-expressions) (`[[:alpha:][:digit:]]`)
* [brace expansion](https://github.com/micromatch/braces) (`foo/{1..5}.md`, `bar/{a,b,c}.js`)
Expand Down Expand Up @@ -419,7 +419,7 @@ Parse a glob pattern to create the source string for a regular expression.

```js
const mm = require('micromatch');
const state = mm(pattern[, options]);
const state = mm.parse(pattern[, options]);
```

### [.braces](index.js#L446)
Expand Down Expand Up @@ -845,7 +845,7 @@ $ npm run bench

### Latest results

As of April 10, 2021 (longer bars are better):
As of March 24, 2022 (longer bars are better):

```sh
# .makeRe star
Expand Down Expand Up @@ -963,29 +963,32 @@ You might also be interested in these projects:

| **Commits** | **Contributor** |
| --- | --- |
| 508 | [jonschlinkert](https://github.com/jonschlinkert) |
| 512 | [jonschlinkert](https://github.com/jonschlinkert) |
| 12 | [es128](https://github.com/es128) |
| 9 | [danez](https://github.com/danez) |
| 8 | [doowb](https://github.com/doowb) |
| 6 | [paulmillr](https://github.com/paulmillr) |
| 5 | [mrmlnc](https://github.com/mrmlnc) |
| 4 | [danez](https://github.com/danez) |
| 3 | [DrPizza](https://github.com/DrPizza) |
| 2 | [TrySound](https://github.com/TrySound) |
| 2 | [mceIdo](https://github.com/mceIdo) |
| 2 | [Glazy](https://github.com/Glazy) |
| 2 | [MartinKolarik](https://github.com/MartinKolarik) |
| 2 | [antonyk](https://github.com/antonyk) |
| 2 | [Tvrqvoise](https://github.com/Tvrqvoise) |
| 1 | [amilajack](https://github.com/amilajack) |
| 1 | [Cslove](https://github.com/Cslove) |
| 1 | [devongovett](https://github.com/devongovett) |
| 1 | [DianeLooney](https://github.com/DianeLooney) |
| 1 | [UltCombo](https://github.com/UltCombo) |
| 1 | [frangio](https://github.com/frangio) |
| 1 | [joyceerhl](https://github.com/joyceerhl) |
| 1 | [juszczykjakub](https://github.com/juszczykjakub) |
| 1 | [muescha](https://github.com/muescha) |
| 1 | [sebdeckers](https://github.com/sebdeckers) |
| 1 | [tomByrer](https://github.com/tomByrer) |
| 1 | [fidian](https://github.com/fidian) |
| 1 | [curbengh](https://github.com/curbengh) |
| 1 | [simlu](https://github.com/simlu) |
| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) |
| 1 | [yvele](https://github.com/yvele) |
Expand All @@ -1000,9 +1003,9 @@ You might also be interested in these projects:

### License

Copyright © 2021, [Jon Schlinkert](https://github.com/jonschlinkert).
Copyright © 2022, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the [MIT License](LICENSE).

***

_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on April 10, 2021._
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on March 24, 2022._
53 changes: 0 additions & 53 deletions bench/glob-parent.js

This file was deleted.

8 changes: 4 additions & 4 deletions bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"bench": "node ."
},
"dependencies": {
"ansi-colors": "^3.2.4",
"ansi-colors": "^4.1.1",
"benchmark": "^2.1.4",
"minimatch": "^3.0.4",
"minimist": "^1.2.0"
"minimatch": "^5.0.1",
"minimist": "^1.2.6"
},
"devDependencies": {
"glob-parent": "^5.0.0"
"glob-parent": "^6.0.2"
},
"lintDeps": {
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
"test": "mocha"
},
"dependencies": {
"braces": "^3.0.1",
"picomatch": "^2.2.3"
"braces": "^3.0.2",
"picomatch": "^2.3.1"
},
"devDependencies": {
"fill-range": "^7.0.1",
"gulp-format-md": "^2.0.0",
"minimatch": "^3.0.4",
"mocha": "^7.2.0",
"minimatch": "^5.0.1",
"mocha": "^9.2.2",
"time-require": "github:jonschlinkert/time-require"
},
"keywords": [
Expand Down Expand Up @@ -116,4 +116,4 @@
"multimatch"
]
}
}
}

0 comments on commit 32fe3fe

Please sign in to comment.