-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
95 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "lru-cache", | ||
"description": "A cache object that deletes the least-recently-used items.", | ||
"version": "10.0.1", | ||
"version": "10.0.2", | ||
"author": "Isaac Z. Schlueter <[email protected]>", | ||
"keywords": [ | ||
"mru", | ||
|
@@ -11,67 +11,57 @@ | |
"sideEffects": false, | ||
"scripts": { | ||
"build": "npm run prepare", | ||
"preprepare": "rm -rf dist", | ||
"prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json", | ||
"prepare": "tshy", | ||
"postprepare": "bash fixup.sh", | ||
"pretest": "npm run prepare", | ||
"presnap": "npm run prepare", | ||
"test": "c8 tap", | ||
"snap": "c8 tap", | ||
"test": "tap", | ||
"snap": "tap", | ||
"preversion": "npm test", | ||
"postversion": "npm publish", | ||
"prepublishOnly": "git push origin --follow-tags", | ||
"format": "prettier --write .", | ||
"typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts", | ||
"typedoc": "typedoc --tsconfig ./.tshy/esm.json ./src/*.ts", | ||
"benchmark-results-typedoc": "bash scripts/benchmark-results-typedoc.sh", | ||
"prebenchmark": "npm run prepare", | ||
"benchmark": "make -C benchmark", | ||
"preprofile": "npm run prepare", | ||
"profile": "make -C benchmark profile" | ||
}, | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/mjs/index.js", | ||
"exports": { | ||
"./min": { | ||
"import": { | ||
"types": "./dist/mjs/index.d.ts", | ||
"default": "./dist/mjs/index.min.js" | ||
}, | ||
"require": { | ||
"types": "./dist/cjs/index.d.ts", | ||
"default": "./dist/cjs/index.min.js" | ||
} | ||
}, | ||
".": { | ||
"import": { | ||
"types": "./dist/mjs/index.d.ts", | ||
"default": "./dist/mjs/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/cjs/index.d.ts", | ||
"default": "./dist/cjs/index.js" | ||
"main": "./dist/commonjs/index.js", | ||
"types": "./dist/commonjs/index.d.ts", | ||
"tshy": { | ||
"exports": { | ||
".": "./src/index.ts", | ||
"./min": { | ||
"import": { | ||
"types": "./dist/mjs/index.d.ts", | ||
"default": "./dist/mjs/index.min.js" | ||
}, | ||
"require": { | ||
"types": "./dist/commonjs/index.d.ts", | ||
"default": "./dist/commonjs/index.min.js" | ||
} | ||
} | ||
} | ||
}, | ||
"repository": "git://github.com/isaacs/node-lru-cache.git", | ||
"devDependencies": { | ||
"@size-limit/preset-small-lib": "^7.0.8", | ||
"@tapjs/clock": "^1.1.16", | ||
"@types/node": "^20.2.5", | ||
"@types/tap": "^15.0.6", | ||
"benchmark": "^2.1.4", | ||
"c8": "^7.11.2", | ||
"clock-mock": "^1.0.6", | ||
"clock-mock": "^2.0.2", | ||
"esbuild": "^0.17.11", | ||
"eslint-config-prettier": "^8.5.0", | ||
"marked": "^4.2.12", | ||
"mkdirp": "^2.1.5", | ||
"prettier": "^2.6.2", | ||
"size-limit": "^7.0.8", | ||
"tap": "^16.3.4", | ||
"ts-node": "^10.9.1", | ||
"tap": "^18.5.7", | ||
"tshy": "^1.8.0", | ||
"tslib": "^2.4.0", | ||
"typedoc": "^0.24.6", | ||
"typescript": "^5.0.4" | ||
"typedoc": "^0.25.3", | ||
"typescript": "^5.2.2" | ||
}, | ||
"license": "ISC", | ||
"files": [ | ||
|
@@ -92,17 +82,37 @@ | |
"endOfLine": "lf" | ||
}, | ||
"tap": { | ||
"coverage": false, | ||
"node-arg": [ | ||
"--expose-gc", | ||
"-r", | ||
"ts-node/register" | ||
"--expose-gc" | ||
], | ||
"ts": false | ||
"plugin": [ | ||
"@tapjs/clock" | ||
] | ||
}, | ||
"size-limit": [ | ||
{ | ||
"path": "./dist/mjs/index.js" | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/commonjs/index.d.ts", | ||
"default": "./dist/commonjs/index.js" | ||
} | ||
}, | ||
"./min": { | ||
"import": { | ||
"types": "./dist/mjs/index.d.ts", | ||
"default": "./dist/mjs/index.min.js" | ||
}, | ||
"require": { | ||
"types": "./dist/commonjs/index.d.ts", | ||
"default": "./dist/commonjs/index.min.js" | ||
} | ||
} | ||
] | ||
}, | ||
"type": "module", | ||
"dependencies": { | ||
"semver": "^7.3.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters