@roots/bud-cache 2023.6.5 → 2023.6.7
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/lib/service/index.js +5 -8
- package/package.json +4 -4
- package/src/service/index.ts +1 -1
package/lib/service/index.js
CHANGED
|
@@ -10,13 +10,10 @@ import InvalidateCacheExtension from '../invalidate-cache/index.js';
|
|
|
10
10
|
* Cache service class
|
|
11
11
|
*/
|
|
12
12
|
export default class Cache extends Service {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
*/
|
|
18
|
-
this.enabled = true;
|
|
19
|
-
}
|
|
13
|
+
/**
|
|
14
|
+
* Enabled
|
|
15
|
+
*/
|
|
16
|
+
enabled = true;
|
|
20
17
|
/**
|
|
21
18
|
* Type
|
|
22
19
|
*/
|
|
@@ -93,7 +90,7 @@ export default class Cache extends Service {
|
|
|
93
90
|
cacheDirectory: this.cacheDirectory,
|
|
94
91
|
idleTimeout: 10000,
|
|
95
92
|
idleTimeoutForInitialStore: 0,
|
|
96
|
-
profile:
|
|
93
|
+
profile: this.app.context.debug === true,
|
|
97
94
|
version: this.app.hooks.filter(`build.cache.version`, this.version),
|
|
98
95
|
};
|
|
99
96
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roots/bud-cache",
|
|
3
|
-
"version": "2023.6.
|
|
3
|
+
"version": "2023.6.7",
|
|
4
4
|
"description": "Config caching",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16"
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
"@skypack/package-check": "0.2.2"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@roots/bud-framework": "2023.6.
|
|
89
|
-
"@roots/bud-support": "2023.6.
|
|
90
|
-
"strip-ansi": "7.0
|
|
88
|
+
"@roots/bud-framework": "2023.6.7",
|
|
89
|
+
"@roots/bud-support": "2023.6.7",
|
|
90
|
+
"strip-ansi": "7.1.0",
|
|
91
91
|
"tslib": "2.5.0"
|
|
92
92
|
},
|
|
93
93
|
"volta": {
|
package/src/service/index.ts
CHANGED
|
@@ -119,7 +119,7 @@ export default class Cache
|
|
|
119
119
|
cacheDirectory: this.cacheDirectory,
|
|
120
120
|
idleTimeout: 10000,
|
|
121
121
|
idleTimeoutForInitialStore: 0,
|
|
122
|
-
profile:
|
|
122
|
+
profile: this.app.context.debug === true,
|
|
123
123
|
version: this.app.hooks.filter(`build.cache.version`, this.version),
|
|
124
124
|
}
|
|
125
125
|
}
|