simple-in-memory-cache
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -20,3 +20,3 @@ import type { PickOne } from 'type-fns'; | ||
*/ | ||
defaultSecondsUntilExpiration?: number | undefined; | ||
defaultSecondsUntilExpiration?: number; | ||
/** | ||
@@ -28,3 +28,3 @@ * a shorthand alias for `defaultSecondsUntilExpiration` | ||
*/ | ||
seconds?: number | undefined; | ||
seconds?: number; | ||
}>>) => SimpleInMemoryCache<T>; |
@@ -5,3 +5,3 @@ { | ||
"description": "A simple in-memory cache, for nodejs and the browser, with time based expiration policies.", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"repository": "ehmpathy/simple-in-memory-cache", | ||
@@ -24,2 +24,3 @@ "homepage": "https://github.com/ehmpathy/simple-in-memory-cache", | ||
"bugs": "https://github.com/ehmpathy/simple-in-memory-cache/issues", | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
@@ -48,4 +49,4 @@ "engines": { | ||
"test:lint": "npm run test:lint:eslint && npm run test:lint:deps", | ||
"test:unit": "jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests", | ||
"test:integration": "jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests", | ||
"test:unit": "jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main')", | ||
"test:integration": "jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main')", | ||
"test:acceptance:locally": "npm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests", | ||
@@ -57,29 +58,32 @@ "test": "npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally", | ||
"preversion": "npm run prepush", | ||
"postversion": "git push origin HEAD --tags --no-verify" | ||
"postversion": "git push origin HEAD --tags --no-verify", | ||
"prepare:husky": "npx husky install && chmod ug+x .husky/*", | ||
"postinstall": "[ -d .git ] && npm run prepare:husky || exit 0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "19.3.0", | ||
"@commitlint/config-conventional": "13.1.0", | ||
"@trivago/prettier-plugin-sort-imports": "2.0.4", | ||
"@trivago/prettier-plugin-sort-imports": "4.3.0", | ||
"@tsconfig/node-lts-strictest": "18.12.1", | ||
"@types/jest": "29.2.4", | ||
"@typescript-eslint/eslint-plugin": "5.46.1", | ||
"@typescript-eslint/parser": "5.46.1", | ||
"@typescript-eslint/eslint-plugin": "7.8.0", | ||
"@typescript-eslint/parser": "7.8.0", | ||
"commitlint": "^17.6.7", | ||
"core-js": "3.26.1", | ||
"cz-conventional-changelog": "3.3.0", | ||
"declapract": "^0.11.2", | ||
"declapract-typescript-ehmpathy": "^0.25.1", | ||
"declapract": "^0.11.5", | ||
"declapract-typescript-ehmpathy": "^0.35.5", | ||
"depcheck": "1.4.3", | ||
"eslint": "8.30.0", | ||
"eslint-config-airbnb-typescript": "17.0.0", | ||
"eslint": "8.56.0", | ||
"eslint-config-airbnb-typescript": "18.0.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"eslint-plugin-prettier": "4.2.1", | ||
"husky": "7.0.2", | ||
"jest": "29.3.1", | ||
"husky": "8.0.3", | ||
"jest": "29.7.0", | ||
"prettier": "2.8.1", | ||
"ts-jest": "29.0.3", | ||
"ts-node": "10.9.1", | ||
"ts-jest": "29.2.5", | ||
"ts-node": "10.9.2", | ||
"type-fns": "^1.19.0", | ||
"typescript": "4.9.4" | ||
"typescript": "5.4.5" | ||
}, | ||
@@ -86,0 +90,0 @@ "config": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21289
25
11
1