Skip to content

Commit

Permalink
Merge pull request #97 from jaredwray/removing-parts-of-keyv-as-a-dep…
Browse files Browse the repository at this point in the history
…endency

removing parts of keyv as a dependency
  • Loading branch information
jaredwray committed Mar 2, 2024
2 parents ee8e917 + e51d63e commit a174991
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: ['16', '18', '20']
node-version: ['18', '20']

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
@@ -1 +1 @@
16
18
2 changes: 0 additions & 2 deletions src/cache.js
Expand Up @@ -34,7 +34,6 @@ const cache = {

set _persisted(value) {
this.__persisted = value;
this.keyv.set('persisted', value);
},

get _visited() {
Expand All @@ -43,7 +42,6 @@ const cache = {

set _visited(value) {
this.__visited = value;
this.keyv.set('visited', value);
},

/**
Expand Down
1 change: 1 addition & 0 deletions test/specs/cache.js
Expand Up @@ -211,6 +211,7 @@ describe('flat-cache', function () {

describe('loading a cache using a filePath directly', function () {
let file;

beforeEach(function () {
file = path.resolve(__dirname, '../fixtures/.cache2/mycache-file.cache');
rimraf(file);
Expand Down

0 comments on commit a174991

Please sign in to comment.