diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 556849a..7bc9eb6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - node-version: ['12', '14', '16'] + node-version: ['16', '18', '20'] steps: - uses: actions/checkout@v3 diff --git a/.nvmrc b/.nvmrc index 3cacc0b..19c7bdb 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -12 \ No newline at end of file +16 \ No newline at end of file diff --git a/package.json b/package.json index cc3af70..ef63b6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "file-entry-cache", - "version": "7.0.2", + "version": "8.0.0", "description": "Super simple cache for file metadata, useful for process that work o a given series of files and that only need to repeat the job on the changed ones since the previous run of the process", "repository": "jaredwray/file-entry-cache", "license": "MIT", @@ -13,11 +13,12 @@ "cache.js" ], "engines": { - "node": ">=12.0.0" + "node": ">=16.0.0" }, "scripts": { "eslint": "eslint --cache --cache-location=node_modules/.cache/ 'cache.js' 'test/**/*.js' 'perf.js'", "autofix": "npm run eslint -- --fix", + "clean": "rimraf ./node_modules ./package-lock.json ./yarn.lock", "test": "npm run eslint --silent && c8 mocha -R spec test/specs", "test:ci": "npm run eslint --silent && c8 --reporter=lcov mocha -R spec test/specs", "perf": "node perf.js" @@ -39,16 +40,17 @@ "devDependencies": { "c8": "^8.0.1", "chai": "^4.3.10", - "eslint": "^8.50.0", - "eslint-config-prettier": "^9.0.0", + "eslint": "^8.56.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-mocha": "^10.2.0", - "eslint-plugin-prettier": "^3.1.4", + "eslint-plugin-prettier": "^5.0.1", "glob-expand": "^0.2.1", "mocha": "^10.2.0", - "prettier": "^2.1.2", + "prettier": "^3.1.1", + "rimraf": "^5.0.5", "write": "^2.0.0" }, "dependencies": { - "flat-cache": "^3.2.0" + "flat-cache": "^4.0.0" } }