openvibers/openvibe.host Commits
openvibe-shared v4.227.0 (was v4.225.0) (#401)
Changes
@@@ -394,7 +394,7 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [<!-- versions:start -->- openvibe-contracts: v0.417.0- openvibe-sdk: v0.161.0--- openvibe-shared: v4.225.0++- openvibe-shared: v4.227.0- openvibe-publishing: v1.7.0<!-- versions:end -->---@@@ -15,11 +15,11 @@"domain": "openvibe.host","contracts": "openvibe-contracts v0.417.0","sdk": "openvibe-sdk v0.161.0",-- "shared": "openvibe-shared v4.225.0",++ "shared": "openvibe-shared v4.227.0","packages": ["openvibe-contracts v0.417.0","openvibe-sdk v0.161.0",-- "openvibe-shared v4.225.0"++ "openvibe-shared v4.227.0"],"capabilities": ["host.catalog.manage"@@@ -18,7 +18,7 @@"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.417.0","openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.7.0","openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.161.0",-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.225.0",++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.227.0","pg": "^8.23.0"},"bin": {@@@ -1677,9 +1677,9 @@}},"node_modules/openvibe-shared": {-- "version": "4.225.0",-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.225.0",-- "integrity": "sha512-zuZIgYODwJJ7UpDBTVnT+czEI5l6YFWqt1nbfbPeEsW6/NlmDZHJWPSGpBv223jRpvhJYH7Duea6nuRr8KZ3sg==",++ "version": "4.227.0",++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.227.0",++ "integrity": "sha512-/PqSqCC/vw/iwvkhDipLyixPyrtTcMpPhZ8UQ35fGDfAEJt43du2MYmZetu/TUysz+iJ9/Z7+VCFsFI1XzuF3Q==","license": "MIT","dependencies": {"clean-css": "^5.3.3",@@@ -34,7 +34,7 @@"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.417.0","openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.7.0","openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.161.0",-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.225.0",++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.227.0","pg": "^8.23.0"},"engines": {@@@ -22,17 +22,17 @@ const ASSET = 'css/host.css';assert.strictEqual(r.headers['cache-control'], 'public, max-age=31536000, immutable');});-- await check("a wrong-but-hex ?v= is 'public, max-age=300, stale-while-revalidate=86400'", async () => {++ await check("a wrong-but-hex ?v= is 'public, max-age=300, stale-while-revalidate=300'", async () => {const r = await t.get(DASHBOARD, `/${ASSET}?v=deadbeefdeadbeef`);assert.strictEqual(r.status, 200);assert.strictEqual(r.headers['cache-control'], cache.assetHeaders(ASSET, { hashed: false }));-- assert.strictEqual(r.headers['cache-control'], 'public, max-age=300, stale-while-revalidate=86400');++ assert.strictEqual(r.headers['cache-control'], 'public, max-age=300, stale-while-revalidate=300');});-- await check("no ?v= is 'public, max-age=300, stale-while-revalidate=86400'", async () => {++ await check("no ?v= is 'public, max-age=300, stale-while-revalidate=300'", async () => {const r = await t.get(DASHBOARD, `/${ASSET}`);assert.strictEqual(r.status, 200);-- assert.strictEqual(r.headers['cache-control'], 'public, max-age=300, stale-while-revalidate=86400');++ assert.strictEqual(r.headers['cache-control'], 'public, max-age=300, stale-while-revalidate=300');});} finally {await t.close();
@@ -394,7 +394,7 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
@@ -394,7 +394,7 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
<!-- versions:start -->
<!-- versions:start -->
- openvibe-contracts: v0.417.0
- openvibe-contracts: v0.417.0
- openvibe-sdk: v0.161.0
- openvibe-sdk: v0.161.0
-- openvibe-shared: v4.225.0
+- openvibe-shared: v4.227.0
- openvibe-publishing: v1.7.0
- openvibe-publishing: v1.7.0
<!-- versions:end -->
<!-- versions:end -->
---
---
@@ -15,11 +15,11 @@
@@ -15,11 +15,11 @@
"domain": "openvibe.host",
"domain": "openvibe.host",
"contracts": "openvibe-contracts v0.417.0",
"contracts": "openvibe-contracts v0.417.0",
"sdk": "openvibe-sdk v0.161.0",
"sdk": "openvibe-sdk v0.161.0",
- "shared": "openvibe-shared v4.225.0",
+ "shared": "openvibe-shared v4.227.0",
"packages": [
"packages": [
"openvibe-contracts v0.417.0",
"openvibe-contracts v0.417.0",
"openvibe-sdk v0.161.0",
"openvibe-sdk v0.161.0",
- "openvibe-shared v4.225.0"
+ "openvibe-shared v4.227.0"
],
],
"capabilities": [
"capabilities": [
"host.catalog.manage"
"host.catalog.manage"
@@ -18,7 +18,7 @@
@@ -18,7 +18,7 @@
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.417.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.417.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.7.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.7.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.161.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.161.0",
- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.225.0",
+ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.227.0",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
"bin": {
"bin": {
@@ -1677,9 +1677,9 @@
@@ -1677,9 +1677,9 @@
}
}
},
},
"node_modules/openvibe-shared": {
"node_modules/openvibe-shared": {
- "version": "4.225.0",
- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.225.0",
- "integrity": "sha512-zuZIgYODwJJ7UpDBTVnT+czEI5l6YFWqt1nbfbPeEsW6/NlmDZHJWPSGpBv223jRpvhJYH7Duea6nuRr8KZ3sg==",
+ "version": "4.227.0",
+ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.227.0",
+ "integrity": "sha512-/PqSqCC/vw/iwvkhDipLyixPyrtTcMpPhZ8UQ35fGDfAEJt43du2MYmZetu/TUysz+iJ9/Z7+VCFsFI1XzuF3Q==",
"license": "MIT",
"license": "MIT",
"dependencies": {
"dependencies": {
"clean-css": "^5.3.3",
"clean-css": "^5.3.3",
@@ -34,7 +34,7 @@
@@ -34,7 +34,7 @@
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.417.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.417.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.7.0",
"openvibe-publishing": "https://codeload.github.com/OpenVibers/OpenVibe.Publishing/tar.gz/refs/tags/v1.7.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.161.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.161.0",
- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.225.0",
+ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.227.0",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
"engines": {
"engines": {
@@ -22,17 +22,17 @@ const ASSET = 'css/host.css';
@@ -22,17 +22,17 @@ const ASSET = 'css/host.css';
assert.strictEqual(r.headers['cache-control'], 'public, max-age=31536000, immutable');
assert.strictEqual(r.headers['cache-control'], 'public, max-age=31536000, immutable');
});
});
- await check("a wrong-but-hex ?v= is 'public, max-age=300, stale-while-revalidate=86400'", async () => {
+ await check("a wrong-but-hex ?v= is 'public, max-age=300, stale-while-revalidate=300'", async () => {
const r = await t.get(DASHBOARD, `/${ASSET}?v=deadbeefdeadbeef`);
const r = await t.get(DASHBOARD, `/${ASSET}?v=deadbeefdeadbeef`);
assert.strictEqual(r.status, 200);
assert.strictEqual(r.status, 200);
assert.strictEqual(r.headers['cache-control'], cache.assetHeaders(ASSET, { hashed: false }));
assert.strictEqual(r.headers['cache-control'], cache.assetHeaders(ASSET, { hashed: false }));
- assert.strictEqual(r.headers['cache-control'], 'public, max-age=300, stale-while-revalidate=86400');
+ assert.strictEqual(r.headers['cache-control'], 'public, max-age=300, stale-while-revalidate=300');
});
});
- await check("no ?v= is 'public, max-age=300, stale-while-revalidate=86400'", async () => {
+ await check("no ?v= is 'public, max-age=300, stale-while-revalidate=300'", async () => {
const r = await t.get(DASHBOARD, `/${ASSET}`);
const r = await t.get(DASHBOARD, `/${ASSET}`);
assert.strictEqual(r.status, 200);
assert.strictEqual(r.status, 200);
- assert.strictEqual(r.headers['cache-control'], 'public, max-age=300, stale-while-revalidate=86400');
+ assert.strictEqual(r.headers['cache-control'], 'public, max-age=300, stale-while-revalidate=300');
});
});
} finally {
} finally {
await t.close();
await t.close();