jaredwray / flat-cache

A stupidly simple key/value storage using files to persist the data
MIT License
165 stars 30 forks source link

[Fix] restore node 10 compat #81

Closed ljharb closed 1 year ago

ljharb commented 1 year ago

Fixes #80

codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5bb25e2) 100.00% compared to head (cf97253) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #81 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 3 3 Lines 275 275 ========================================= Hits 275 275 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ljharb commented 1 year ago

Fixed it so it doesn't fail fast; it now tests on node 18-21; and it doesn't waste time running the linter in the matrix, and instead runs it as a separate workflow.

ljharb commented 1 year ago

Now updated to downgrade c8 to v7, since v8 requires node 12.

ljharb commented 1 year ago

… and, now downgraded to mocha 8, which is the newest version that supports the same engines as v3 of flat-cache.