@checkdigit/memoize 5.0.0-PR.19-a999 → 5.0.0-PR.19-2842
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.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -37,10 +37,10 @@ console.log('the results were', value1, value2, value3); // the results were 246
|
|
|
37
37
|
## Notes
|
|
38
38
|
|
|
39
39
|
`Uint8Array`, Node.js `Buffer`, `Date`, `URL`, and all eight built-in `Temporal` value types have type-specific
|
|
40
|
-
cache keys.
|
|
40
|
+
cache keys. Equal values of the same type share a cache entry, including when passed in arrays or as object data
|
|
41
41
|
properties.
|
|
42
42
|
|
|
43
|
-
`Uint8Array` and `Buffer` are keyed by their bytes and type.
|
|
43
|
+
`Uint8Array` and `Buffer` are keyed by their bytes and type. The corresponding JSON values have
|
|
44
44
|
separate cache entries.
|
|
45
45
|
|
|
46
46
|
## License
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@checkdigit/memoize","version":"5.0.0-PR.19-
|
|
1
|
+
{"name":"@checkdigit/memoize","version":"5.0.0-PR.19-2842","description":"Memoizing async functions with cache eviction on reject","homepage":"https://github.com/checkdigit/memoize#readme","bugs":{"url":"https://github.com/checkdigit/memoize/issues"},"repository":{"type":"git","url":"git+https://github.com/checkdigit/memoize.git"},"license":"MIT","author":"Check Digit, LLC","sideEffects":false,"type":"module","exports":{".":{"types":"./dist-types/index.d.ts","import":"./dist-mjs/index.mjs","default":"./dist-mjs/index.mjs"}},"files":["src","dist-types","dist-mjs","!src/**/*.test.ts","!src/**/*.spec.ts","!dist-types/**/*.test.d.ts","!dist-types/**/*.spec.d.ts","!dist-mjs/**/*.test.mjs","!dist-mjs/**/*.spec.mjs","SECURITY.md"],"scripts":{"build:dist-mjs":"node -e \"require('node:fs').rmSync('dist-mjs', { recursive: true, force: true })\" && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs","build:dist-types":"node -e \"require('node:fs').rmSync('dist-types', { recursive: true, force: true })\" && npx builder --type=types --outDir=dist-types","ci:compile":"tsc --noEmit","ci:coverage":"node -e \"const fs = require('node:fs'); fs.rmSync('coverage', { recursive: true, force: true }); fs.mkdirSync('coverage')\" && node --test-timeout 600000 --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test \"src/**/*.spec.ts\"","ci:lint":"npm run lint","ci:style":"npm run prettier","ci:test":"node --pending-deprecation --throw-deprecation --test-timeout 600000 --test \"src/**/*.spec.ts\"","coverage":"node --test-timeout 600000 --experimental-test-coverage --test \"src/**/*.spec.ts\"","lint":"eslint --max-warnings 0 .","lint:fix":"eslint . --fix","prepublishOnly":"npm run build:dist-types && npm run build:dist-mjs","prettier":"prettier . --check","prettier:fix":"prettier . --write","test":"npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style"},"prettier":"@checkdigit/prettier-config","devDependencies":{"@checkdigit/eslint-config":"^12.3.0","@checkdigit/prettier-config":"^8.4.0","@checkdigit/typescript-config":"^10.2.2"},"engines":{"node":">=26.13.0"}}
|