openvibers/openvibe.host Commits

openvibe-shared v4.227.0 (was v4.225.0) (#401)

OP OpenVibers committed 14 h ago · 892cd9a901 · 5 files, +12 −12

* openvibe-shared v4.227.0 (was v4.225.0)

Opened by scripts/pin-bump.js in OpenVibers/OpenVibe.Shared after the v4.227.0 release.

* Tests: an unversioned asset revalidates after five minutes (openvibe-shared 4.227.0 cache-policy)

Changes

ddiff --git a/README.md b/README.md
iindex d91fda7..14bb588 100644
---- a/README.md
++++ b/README.md
@@@ -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 -->
---
ddiff --git a/STATUS.json b/STATUS.json
iindex 833e402..50fe721 100644
---- a/STATUS.json
++++ b/STATUS.json
@@@ -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"
ddiff --git a/package-lock.json b/package-lock.json
iindex 6a6cac0..5f00363 100644
---- a/package-lock.json
++++ b/package-lock.json
@@@ -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",
ddiff --git a/package.json b/package.json
iindex c82fa7a..1594310 100644
---- a/package.json
++++ b/package.json
@@@ -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": {
ddiff --git a/test/asset-cache.test.js b/test/asset-cache.test.js
iindex 70316d4..18c7bf6 100644
---- a/test/asset-cache.test.js
++++ b/test/asset-cache.test.js
@@@ -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();