openvibers/openvibe.publishing Commits
openvibe-shared v4.43.0 (was v4.41.0) (#100)
Changes
@@@ -421,5 +421,5 @@ eval "$(node_modules/openvibe-sdk/scripts/test-services.sh up)" && fnm exec --us<!-- versions:start -->- openvibe-contracts: v0.222.0- openvibe-sdk: v0.67.0--- openvibe-shared: v4.41.0++- openvibe-shared: v4.43.0<!-- versions:end -->@@@ -50,7 +50,7 @@"exitProof": "examples/two-products + test/two-products.test.js","contracts": "openvibe-contracts v0.222.0 (devDependency): emits search.index-document@1 and events.event-envelope@1 (validated in tests)","sdk": "openvibe-sdk v0.67.0",-- "shared": "openvibe-shared v4.41.0",++ "shared": "openvibe-shared v4.43.0","dependsOn": ["openvibe-sdk >=0.15.0 (peer; tests pin v0.60.0)","openvibe-shared >=1.5.0 (optional peer; tests pin v4.4.0; layout needs >=2.6.0)",@@@ -14,7 +14,7 @@"ajv-formats": "^3.0.1","openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0","openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.67.0",-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.41.0",++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.43.0","pg": "^8.23.0"},"engines": {@@@ -563,9 +563,9 @@}},"node_modules/openvibe-shared": {-- "version": "4.41.0",-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.41.0",-- "integrity": "sha512-WMd2s+SQI2lOa0o4NDSM+jMmgBdkGIXiEfGM31EX+ASN/pWZMdsuXeRGKGsd9KJKgq5I9PT8Sf8sM25u0vyyNA==",++ "version": "4.43.0",++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.43.0",++ "integrity": "sha512-OANEzCEB2QPgbkb9Yt0O67k6DxcK2pHMO1nhKYCjTI7OhUF8LW8EpLf6FJmpHmDTmpFTUq4pJ3lr3u2hPXMDYQ==","dev": true,"license": "MIT","dependencies": {@@@ -54,7 +54,7 @@"ajv-formats": "^3.0.1","openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0","openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.67.0",-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.41.0",++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.43.0","pg": "^8.23.0"}}@@@ -23,7 +23,7 @@ const count = (s, re) => (s.match(re) || []).length;test('renderDocument composes one whole document through openvibe-shared/shell', () => {const out = renderDocument(doc());-- assert.match(out, /^<!doctype html>\n<html lang="en">/);++ assert.match(out, /^<!doctype html>\n<html lang="en" data-ov-service="news">/);assert.strictEqual(count(out, /<title>/g), 1);assert.match(out, /<title>A story · OpenVibe\.News<\/title>/);assert.strictEqual(count(out, /<script type="application\/ld\+json">/g), 1);
@@ -421,5 +421,5 @@ eval "$(node_modules/openvibe-sdk/scripts/test-services.sh up)" && fnm exec --us
@@ -421,5 +421,5 @@ eval "$(node_modules/openvibe-sdk/scripts/test-services.sh up)" && fnm exec --us
<!-- versions:start -->
<!-- versions:start -->
- openvibe-contracts: v0.222.0
- openvibe-contracts: v0.222.0
- openvibe-sdk: v0.67.0
- openvibe-sdk: v0.67.0
-- openvibe-shared: v4.41.0
+- openvibe-shared: v4.43.0
<!-- versions:end -->
<!-- versions:end -->
@@ -50,7 +50,7 @@
@@ -50,7 +50,7 @@
"exitProof": "examples/two-products + test/two-products.test.js",
"exitProof": "examples/two-products + test/two-products.test.js",
"contracts": "openvibe-contracts v0.222.0 (devDependency): emits search.index-document@1 and events.event-envelope@1 (validated in tests)",
"contracts": "openvibe-contracts v0.222.0 (devDependency): emits search.index-document@1 and events.event-envelope@1 (validated in tests)",
"sdk": "openvibe-sdk v0.67.0",
"sdk": "openvibe-sdk v0.67.0",
- "shared": "openvibe-shared v4.41.0",
+ "shared": "openvibe-shared v4.43.0",
"dependsOn": [
"dependsOn": [
"openvibe-sdk >=0.15.0 (peer; tests pin v0.60.0)",
"openvibe-sdk >=0.15.0 (peer; tests pin v0.60.0)",
"openvibe-shared >=1.5.0 (optional peer; tests pin v4.4.0; layout needs >=2.6.0)",
"openvibe-shared >=1.5.0 (optional peer; tests pin v4.4.0; layout needs >=2.6.0)",
@@ -14,7 +14,7 @@
@@ -14,7 +14,7 @@
"ajv-formats": "^3.0.1",
"ajv-formats": "^3.0.1",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.67.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.67.0",
- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.41.0",
+ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.43.0",
"pg": "^8.23.0"
"pg": "^8.23.0"
},
},
"engines": {
"engines": {
@@ -563,9 +563,9 @@
@@ -563,9 +563,9 @@
}
}
},
},
"node_modules/openvibe-shared": {
"node_modules/openvibe-shared": {
- "version": "4.41.0",
- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.41.0",
- "integrity": "sha512-WMd2s+SQI2lOa0o4NDSM+jMmgBdkGIXiEfGM31EX+ASN/pWZMdsuXeRGKGsd9KJKgq5I9PT8Sf8sM25u0vyyNA==",
+ "version": "4.43.0",
+ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.43.0",
+ "integrity": "sha512-OANEzCEB2QPgbkb9Yt0O67k6DxcK2pHMO1nhKYCjTI7OhUF8LW8EpLf6FJmpHmDTmpFTUq4pJ3lr3u2hPXMDYQ==",
"dev": true,
"dev": true,
"license": "MIT",
"license": "MIT",
"dependencies": {
"dependencies": {
@@ -54,7 +54,7 @@
@@ -54,7 +54,7 @@
"ajv-formats": "^3.0.1",
"ajv-formats": "^3.0.1",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.222.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.67.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.67.0",
- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.41.0",
+ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.43.0",
"pg": "^8.23.0"
"pg": "^8.23.0"
}
}
}
}
@@ -23,7 +23,7 @@ const count = (s, re) => (s.match(re) || []).length;
@@ -23,7 +23,7 @@ const count = (s, re) => (s.match(re) || []).length;
test('renderDocument composes one whole document through openvibe-shared/shell', () => {
test('renderDocument composes one whole document through openvibe-shared/shell', () => {
const out = renderDocument(doc());
const out = renderDocument(doc());
- assert.match(out, /^<!doctype html>\n<html lang="en">/);
+ assert.match(out, /^<!doctype html>\n<html lang="en" data-ov-service="news">/);
assert.strictEqual(count(out, /<title>/g), 1);
assert.strictEqual(count(out, /<title>/g), 1);
assert.match(out, /<title>A story · OpenVibe\.News<\/title>/);
assert.match(out, /<title>A story · OpenVibe\.News<\/title>/);
assert.strictEqual(count(out, /<script type="application\/ld\+json">/g), 1);
assert.strictEqual(count(out, /<script type="application\/ld\+json">/g), 1);