cachette 4.0.19 → 4.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cachette",
3
- "version": "4.0.19",
3
+ "version": "4.0.20",
4
4
  "engines": {
5
5
  "node": ">=20",
6
6
  "npm": ">=10"
@@ -28,6 +28,7 @@
28
28
  "format:check": "prettier --check 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'",
29
29
  "lint": "eslint --fix 'src/**/*.{js,ts}' 'test/**/*.{js,ts}' && prettier --write 'src/**/*.{js,ts}' 'test/**/*.{js,ts}'",
30
30
  "test": "npm run compile && nyc mocha --config test/mocharc.js 'dist/test/**/*.js'; test -z \"$TEST_REDIS_URL\" && echo '!!! Warning: TEST_REDIS_URL unset, Redis tests did not run !!!' || true",
31
+ "test:coverage": "npm run compile && nyc --reporter=text --reporter=html mocha --config test/mocharc.js 'dist/test/**/*.js'; STATUS=$?; if [ -z \"$TEST_REDIS_URL\" ]; then echo '!!! Warning: TEST_REDIS_URL unset, Redis tests did not run !!!'; fi; exit $STATUS",
31
32
  "test:ci": "npm run compile && mkdir -p ci_output/testresults && mocha --config test/mocharc-ci.js 'dist/test/**/*.js'",
32
33
  "relock": "rm -rf node_modules package-lock.json; npm install --package-lock; npm out; true",
33
34
  "postprepare": "npm run --silent githook-install",