From ea60863170972f6d469dbdbb15594235e1511af7 Mon Sep 17 00:00:00 2001 From: Sebastian Riedel Date: Fri, 20 Oct 2023 17:38:25 +0200 Subject: [PATCH] Update dependencies --- .github/workflows/test.yml | 2 +- .gitignore | 1 + package.json | 12 ++++++------ 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1c05548..aa99f7b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] os: [ubuntu-latest, windows-latest, macos-latest] steps: - uses: actions/checkout@v1 diff --git a/.gitignore b/.gitignore index 6d44f94..bb038c0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ coverage .nyc_output /lib *.tsbuildinfo +.tap diff --git a/package.json b/package.json index 43177df..616a291 100644 --- a/package.json +++ b/package.json @@ -24,14 +24,14 @@ "build:test": "npm run build && npm test", "build:watch": "npm run build -- --watch", "clean": "rm -rf tsconfig.tsbuildinfo lib", - "coverage": "c8 tap --no-coverage test/*.js", - "coverage:ci": "c8 --reporter lcovonly tap --no-coverage test/*.js", + "coverage": "c8 tap --disable-coverage --allow-empty-coverage test/*.js", + "coverage:ci": "c8 --reporter lcovonly tap --disable-coverage --allow-empty-coverage test/*.js", "lint": "eslint \"test/*.js\" \"src/**/*.ts\" \"src/*.ts\"", "lint:fix": "npm run lint -- --fix", "prepublishOnly": "npm run build", "publish:minor": "npm version minor && npm publish", "publish:patch": "npm version patch && npm publish", - "test": "tap --no-coverage test/*.js" + "test": "tap --disable-coverage --allow-empty-coverage test/*.js" }, "exports": "./lib/util.js", "types": "./lib/util.d.ts", @@ -45,15 +45,15 @@ "@typescript-eslint/eslint-plugin": "^6.0.0", "c8": "^8.0.0", "eslint": "^8.1.0", - "eslint-config-prettier": "^8.3.0", + "eslint-config-prettier": "^9.0.0", "eslint-plugin-import": "^2.23.4", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.0.0", "prettier": "^3.0.0", - "tap": "^16.0.0", + "tap": "^18.5.0", "typescript": "^5.0.2" }, "engines": { - "node": ">= 16" + "node": ">= 18" } }