@jsenv/server 14.1.7 → 14.1.8
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/package.json +2 -2
- package/src/fetch_filesystem.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/server",
|
|
3
|
-
"version": "14.1.
|
|
3
|
+
"version": "14.1.8",
|
|
4
4
|
"description": "Write your Node.js server using pure functions",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@jsenv/log": "3.3.1",
|
|
39
39
|
"@jsenv/url-meta": "7.0.0",
|
|
40
40
|
"@jsenv/utils": "2.0.1",
|
|
41
|
-
"ws": "8.
|
|
41
|
+
"ws": "8.9.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@jsenv/fetch": "../fetch/",
|
package/src/fetch_filesystem.js
CHANGED
|
@@ -64,7 +64,7 @@ export const fetchFileSystem = async (
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
// here you might be tempted to add || cacheControl === 'no-cache'
|
|
67
|
-
// but no-cache means resource can be
|
|
67
|
+
// but no-cache means resource can be cached but must be revalidated (yeah naming is strange)
|
|
68
68
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control#Cacheability
|
|
69
69
|
if (cacheControl === "no-store") {
|
|
70
70
|
if (etagEnabled) {
|