Skip to content

Commit

Permalink
Update dependencies (#2233)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored Dec 20, 2023
1 parent eff86f8 commit ec67cbe
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 28 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,28 @@ jobs:
- os: ubuntu-latest
node-version: 18
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npx ava
lint-test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
# Locked due to the difference of `zlib.gzipSync()` between Node.js versions
node-version: 20
- run: npm install
- run: npm run lint
- run: rm -rf test/snapshots
- run: npx del-cli test/snapshots --verbose
# Force update snapshots, https://github.com/avajs/ava/discussions/2754
- run: npx c8 ava --update-snapshots
env:
Expand All @@ -50,8 +58,8 @@ jobs:
run-rules-on-codebase:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm install
- run: npm run run-rules-on-codebase
integration:
Expand All @@ -77,7 +85,7 @@ jobs:
TIMING: 1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm install
- run: npm run integration -- --group ${{ matrix.group }}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
"dependencies": {
"@babel/helper-validator-identifier": "^7.22.20",
"@eslint-community/eslint-utils": "^4.4.0",
"ci-info": "^3.8.0",
"ci-info": "^4.0.0",
"clean-regexp": "^1.0.0",
"core-js-compat": "^3.33.2",
"core-js-compat": "^3.34.0",
"esquery": "^1.5.0",
"indent-string": "^4.0.0",
"is-builtin-module": "^3.2.1",
Expand All @@ -64,37 +64,37 @@
"strip-indent": "^3.0.0"
},
"devDependencies": {
"@babel/code-frame": "^7.22.13",
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.22.15",
"@babel/code-frame": "^7.23.5",
"@babel/core": "^7.23.6",
"@babel/eslint-parser": "^7.23.3",
"@lubien/fixture-beta-package": "^1.0.0-beta.1",
"@typescript-eslint/parser": "^6.9.0",
"@typescript-eslint/parser": "^6.15.0",
"ava": "^6.0.1",
"c8": "^8.0.1",
"chalk": "^5.3.0",
"enquirer": "^2.4.1",
"eslint": "^8.52.0",
"eslint": "^8.56.0",
"eslint-ava-rule-tester": "^4.2.0",
"eslint-doc-generator": "^1.5.2",
"eslint-plugin-eslint-plugin": "^5.1.1",
"eslint-doc-generator": "^1.6.1",
"eslint-plugin-eslint-plugin": "^5.2.1",
"eslint-plugin-internal-rules": "file:./scripts/internal-rules/",
"eslint-remote-tester": "^3.0.1",
"eslint-remote-tester-repositories": "^1.0.1",
"execa": "^8.0.1",
"listr": "^0.14.3",
"lodash-es": "^4.17.21",
"markdownlint-cli": "^0.37.0",
"mem": "^9.0.2",
"npm-package-json-lint": "^7.0.0",
"markdownlint-cli": "^0.38.0",
"memoize": "^10.0.0",
"npm-package-json-lint": "^7.1.0",
"npm-run-all2": "^6.1.1",
"outdent": "^0.8.0",
"typescript": "^5.2.2",
"typescript": "^5.3.3",
"vue-eslint-parser": "^9.3.2",
"xo": "^0.56.0",
"yaml": "^2.3.3"
"yaml": "^2.3.4"
},
"peerDependencies": {
"eslint": ">=8.52.0"
"eslint": ">=8.56.0"
},
"ava": {
"files": [
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# eslint-plugin-unicorn [![Coverage Status](https://codecov.io/gh/sindresorhus/eslint-plugin-unicorn/branch/main/graph/badge.svg)](https://codecov.io/gh/sindresorhus/eslint-plugin-unicorn/branch/main) [![npm version](https://img.shields.io/npm/v/eslint-plugin-unicorn.svg?style=flat)](https://npmjs.com/package/eslint-plugin-unicorn)

<!-- markdownlint-disable-next-line no-inline-html -->
<img src="https://cloud.githubusercontent.com/assets/170270/18659176/1cc373d0-7f33-11e6-890f-0ba35362ee7e.jpg" width="180" align="right">
<img src="https://cloud.githubusercontent.com/assets/170270/18659176/1cc373d0-7f33-11e6-890f-0ba35362ee7e.jpg" width="180" align="right" alt="Unicorn">

> More than 100 powerful ESLint rules
Expand Down
4 changes: 2 additions & 2 deletions test/integration/test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {execa} from 'execa';
import chalk from 'chalk';
import {outdent} from 'outdent';
import {isCI} from 'ci-info';
import mem from 'mem';
import memoize from 'memoize';
import YAML from 'yaml';
import allProjects from './projects.mjs';
import runEslint from './run-eslint.mjs';
Expand Down Expand Up @@ -61,7 +61,7 @@ if (projects.length === 0) {
process.exit(0);
}

const getBranch = mem(async dirname => {
const getBranch = memoize(async dirname => {
const {stdout} = await execa('git', ['branch', '--show-current'], {cwd: dirname});
return stdout;
});
Expand Down

0 comments on commit ec67cbe

Please sign in to comment.