1
1
{
2
2
"name": "lru-cache",
3
3
"description": "A cache object that deletes the least-recently-used items.",
4
-
"version": "10.0.1",
4
+
"version": "10.0.2",
5
5
"author": "Isaac Z. Schlueter <i@izs.me>",
6
6
"keywords": [
7
7
"mru",
11
11
"sideEffects": false,
12
12
"scripts": {
13
13
"build": "npm run prepare",
14
-
"preprepare": "rm -rf dist",
15
-
"prepare": "tsc -p tsconfig.json && tsc -p tsconfig-esm.json",
14
+
"prepare": "tshy",
16
15
"postprepare": "bash fixup.sh",
17
16
"pretest": "npm run prepare",
18
17
"presnap": "npm run prepare",
19
-
"test": "c8 tap",
20
-
"snap": "c8 tap",
18
+
"test": "tap",
19
+
"snap": "tap",
21
20
"preversion": "npm test",
22
21
"postversion": "npm publish",
23
22
"prepublishOnly": "git push origin --follow-tags",
24
23
"format": "prettier --write .",
25
-
"typedoc": "typedoc --tsconfig tsconfig-esm.json ./src/*.ts",
24
+
"typedoc": "typedoc --tsconfig ./.tshy/esm.json ./src/*.ts",
26
25
"benchmark-results-typedoc": "bash scripts/benchmark-results-typedoc.sh",
27
26
"prebenchmark": "npm run prepare",
28
27
"benchmark": "make -C benchmark",
29
28
"preprofile": "npm run prepare",
30
29
"profile": "make -C benchmark profile"
31
30
},
32
-
"main": "./dist/cjs/index.js",
33
-
"module": "./dist/mjs/index.js",
34
-
"exports": {
35
-
"./min": {
36
-
"import": {
37
-
"types": "./dist/mjs/index.d.ts",
38
-
"default": "./dist/mjs/index.min.js"
39
-
},
40
-
"require": {
41
-
"types": "./dist/cjs/index.d.ts",
42
-
"default": "./dist/cjs/index.min.js"
43
-
}
44
-
},
45
-
".": {
46
-
"import": {
47
-
"types": "./dist/mjs/index.d.ts",
48
-
"default": "./dist/mjs/index.js"
49
-
},
50
-
"require": {
51
-
"types": "./dist/cjs/index.d.ts",
52
-
"default": "./dist/cjs/index.js"
31
+
"main": "./dist/commonjs/index.js",
32
+
"types": "./dist/commonjs/index.d.ts",
33
+
"tshy": {
34
+
"exports": {
35
+
".": "./src/index.ts",
36
+
"./min": {
37
+
"import": {
38
+
"types": "./dist/mjs/index.d.ts",
39
+
"default": "./dist/mjs/index.min.js"
40
+
},
41
+
"require": {
42
+
"types": "./dist/commonjs/index.d.ts",
43
+
"default": "./dist/commonjs/index.min.js"
44
+
}
53
45
}
54
46
}
55
47
},
56
48
"repository": "git://github.com/isaacs/node-lru-cache.git",
57
49
"devDependencies": {
58
-
"@size-limit/preset-small-lib": "^7.0.8",
50
+
"@tapjs/clock": "^1.1.16",
59
51
"@types/node": "^20.2.5",
60
52
"@types/tap": "^15.0.6",
61
53
"benchmark": "^2.1.4",
62
-
"c8": "^7.11.2",
63
-
"clock-mock": "^1.0.6",
54
+
"clock-mock": "^2.0.2",
64
55
"esbuild": "^0.17.11",
65
56
"eslint-config-prettier": "^8.5.0",
66
57
"marked": "^4.2.12",
67
58
"mkdirp": "^2.1.5",
68
59
"prettier": "^2.6.2",
69
-
"size-limit": "^7.0.8",
70
-
"tap": "^16.3.4",
71
-
"ts-node": "^10.9.1",
60
+
"tap": "^18.5.7",
61
+
"tshy": "^1.8.0",
72
62
"tslib": "^2.4.0",
73
-
"typedoc": "^0.24.6",
74
-
"typescript": "^5.0.4"
63
+
"typedoc": "^0.25.3",
64
+
"typescript": "^5.2.2"
75
65
},
76
66
"license": "ISC",
77
67
"files": [
92
82
"endOfLine": "lf"
93
83
},
94
84
"tap": {
95
-
"coverage": false,
96
85
"node-arg": [
97
-
"--expose-gc",
98
-
"-r",
99
-
"ts-node/register"
86
+
"--expose-gc"
100
87
],
101
-
"ts": false
88
+
"plugin": [
89
+
"@tapjs/clock"
90
+
]
102
91
},
103
-
"size-limit": [
104
-
{
105
-
"path": "./dist/mjs/index.js"
92
+
"exports": {
93
+
".": {
94
+
"import": {
95
+
"types": "./dist/esm/index.d.ts",
96
+
"default": "./dist/esm/index.js"
97
+
},
98
+
"require": {
99
+
"types": "./dist/commonjs/index.d.ts",
100
+
"default": "./dist/commonjs/index.js"
101
+
}
102
+
},
103
+
"./min": {
104
+
"import": {
105
+
"types": "./dist/mjs/index.d.ts",
106
+
"default": "./dist/mjs/index.min.js"
107
+
},
108
+
"require": {
109
+
"types": "./dist/commonjs/index.d.ts",
110
+
"default": "./dist/commonjs/index.min.js"
111
+
}
106
112
}
107
-
]
113
+
},
114
+
"type": "module",
115
+
"dependencies": {
116
+
"semver": "^7.3.5"
117
+
}
108
118
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4