@vltpkg/cache 0.0.0-3 → 0.0.0-5

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 (2) hide show
  1. package/README.md +10 -9
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -2,17 +2,16 @@
2
2
 
3
3
  # @vltpkg/cache
4
4
 
5
- The filesystem cache for `@vltpkg/registry-client`, but also, a general-purpose filesystem-backed [LRUCache](http://npm.im/lru-cache)
5
+ The filesystem cache for `@vltpkg/registry-client`, but also, a
6
+ general-purpose filesystem-backed [LRUCache](http://npm.im/lru-cache)
6
7
 
7
- **[Usage](#usage)**
8
- ·
9
- **[Note](#note)**
8
+ **[Usage](#usage)** · **[Note](#note)**
10
9
 
11
10
  ## Overview
12
11
 
13
- This is very minimal on features, because it has a very narrow use case, but if you want to have a persistently fs-backed LRU
14
- memory cache of Buffers using strings as keys, then this is the
15
- thing to use.
12
+ This is very minimal on features, because it has a very narrow use
13
+ case, but if you want to have a persistently fs-backed LRU memory
14
+ cache of Buffers using strings as keys, then this is the thing to use.
16
15
 
17
16
  ## Usage
18
17
 
@@ -68,5 +67,7 @@ const otherValue = await cache.fetch(otherKey, {
68
67
 
69
68
  ## Note
70
69
 
71
- - The key type must be a string. It gets sha512 hashed to determine the file on disk.
72
- - The value must be a Buffer, so that it can be written to a file and read from it without having to convert anything.
70
+ - The key type must be a string. It gets sha512 hashed to determine
71
+ the file on disk.
72
+ - The value must be a Buffer, so that it can be written to a file and
73
+ read from it without having to convert anything.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vltpkg/cache",
3
3
  "description": "The filesystem cache for `@vlt/registry-client`",
4
- "version": "0.0.0-3",
4
+ "version": "0.0.0-5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/vltpkg/vltpkg.git",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "lru-cache": "^11.0.2",
23
23
  "rimraf": "^6.0.1",
24
- "@vltpkg/error-cause": "0.0.0-3",
25
- "@vltpkg/xdg": "0.0.0-3",
26
- "@vltpkg/types": "0.0.0-3"
24
+ "@vltpkg/error-cause": "0.0.0-5",
25
+ "@vltpkg/types": "0.0.0-5",
26
+ "@vltpkg/xdg": "0.0.0-5"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@eslint/js": "^9.20.0",