Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simple-in-memory-cache

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-in-memory-cache - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

4

dist/cache.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc