file-system-cache
Advanced tools
Comparing version 2.4.6 to 2.4.7
{ | ||
"name": "file-system-cache", | ||
"version": "2.4.6", | ||
"version": "2.4.7", | ||
"description": "A super-fast, promise-based cache that reads and writes to the file-system.", | ||
"main": "./lib/index.js", | ||
"scripts": { | ||
"test": "ts-mocha -p tsconfig.json src/**/*.TEST.ts", | ||
"build": "tsc", | ||
"prepublish": "npm test && rm -rf ./lib && npm run build", | ||
"gen:hashtype": "ts-node-esm -T ./script.ts/generate-hashtype.ts" | ||
}, | ||
"dependencies": { | ||
"@types/ramda": "0.29.3", | ||
"@types/fs-extra": "11.0.1", | ||
"fs-extra": "11.1.1", | ||
"ramda": "0.29.0" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "4.3.5", | ||
"@types/expect": "24.3.0", | ||
"@types/mocha": "10.0.1", | ||
"chai": "4.3.7", | ||
"mocha": "10.2.0", | ||
"ts-mocha": "10.0.0", | ||
"ts-node": "10.9.1", | ||
"typescript": "5.1.6" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/philcockfield/file-system-cache" | ||
}, | ||
"resolutions": { | ||
"json5": ">=1.0.2" | ||
}, | ||
"keywords": [ | ||
@@ -10,8 +40,2 @@ "cache", | ||
], | ||
"homepage": "https://github.com/philcockfield/file-system-cache", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/philcockfield/file-system-cache" | ||
}, | ||
"license": "MIT", | ||
"author": { | ||
@@ -22,41 +46,4 @@ "name": "Phil Cockfield", | ||
}, | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./lib/index.d.ts", | ||
"import": "./lib/index.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"main": "./lib/index.js", | ||
"files": [ | ||
"README.md", | ||
"lib/**" | ||
], | ||
"scripts": { | ||
"build": "tsup src/index.ts --clean --minify --dts --format esm --out-dir lib --treeshake", | ||
"format": "prettier ./src --write", | ||
"gen:hashtype": "tsx ./script.ts/generate-hashtype.ts", | ||
"prepublish": "npm test && npm run build", | ||
"test": "vitest" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.3.16", | ||
"@types/expect": "^24.3.0", | ||
"@types/fs-extra": "^11.0.4", | ||
"@types/ramda": "^0.30.1", | ||
"chai": "^5.1.1", | ||
"fs-extra": "^11.2.0", | ||
"prettier": "^3.3.3", | ||
"ramda": "^0.30.1", | ||
"tsup": "^8.1.0", | ||
"tsx": "^4.16.2", | ||
"typescript": "^5.5.3", | ||
"vitest": "^2.0.3" | ||
}, | ||
"resolutions": { | ||
"braces": ">=3.0.3", | ||
"vite": ">=5.3.3" | ||
}, | ||
"packageManager": "yarn@1.22.19+sha512.ff4579ab459bb25aa7c0ff75b62acebe576f6084b36aa842971cf250a5d8c6cd3bc9420b22ce63c7f93a0857bc6ef29291db39c3e7a23aab5adfd5a4dd6c5d71" | ||
"homepage": "https://github.com/philcockfield/file-system-cache", | ||
"license": "MIT" | ||
} |
@@ -32,4 +32,4 @@ [![ci(esm)](https://github.com/philcockfield/file-system-cache/actions/workflows/node.esm.yml/badge.svg)](https://github.com/philcockfield/file-system-cache/actions/workflows/node.esm.yml) | ||
ns: "my-namespace", // (optional) A grouping namespace for items. | ||
hash: "sha1", // (optional) A hashing algorithm used within the cache key. | ||
ttl: 60, // (optional) A time-to-live (in secs) on how long an item remains cached. | ||
hash: "sha1" // (optional) A hashing algorithm used within the cache key. | ||
ttl: 60 // (optional) A time-to-live (in secs) on how long an item remains cached. | ||
}); | ||
@@ -36,0 +36,0 @@ ``` |
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
36015
8
39
669
0
4
No
+ Added@types/fs-extra@11.0.1
+ Added@types/ramda@0.29.3
+ Addedfs-extra@11.1.1
+ Addedramda@0.29.0
+ Added@types/fs-extra@11.0.1(transitive)
+ Added@types/jsonfile@6.1.4(transitive)
+ Added@types/node@22.9.0(transitive)
+ Added@types/ramda@0.29.3(transitive)
+ Addedfs-extra@11.1.1(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedjsonfile@6.1.0(transitive)
+ Addedramda@0.29.0(transitive)
+ Addedts-toolbelt@9.6.0(transitive)
+ Addedtypes-ramda@0.29.10(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addeduniversalify@2.0.1(transitive)