From 870e6e30e8054703f5a9fbf9e34d587d6dd0edf2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 10 Jan 2025 09:37:39 +0000 Subject: [PATCH 1/5] fix(deps): update dependency @adobe/spacecat-shared-data-access to v1.61.19 (#574) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index e93b48ca..8d003d6c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@adobe/helix-universal": "5.0.8", "@adobe/helix-universal-logger": "3.0.23", "@adobe/spacecat-shared-ahrefs-client": "1.6.2", - "@adobe/spacecat-shared-data-access": "1.61.18", + "@adobe/spacecat-shared-data-access": "1.61.19", "@adobe/spacecat-shared-google-client": "1.4.3", "@adobe/spacecat-shared-http-utils": "1.9.3", "@adobe/spacecat-shared-rum-api-client": "2.18.0", @@ -2604,9 +2604,9 @@ } }, "node_modules/@adobe/spacecat-shared-data-access": { - "version": "1.61.18", - "resolved": "https://registry.npmjs.org/@adobe/spacecat-shared-data-access/-/spacecat-shared-data-access-1.61.18.tgz", - "integrity": "sha512-eL3kFeoWuMRYNTJcqShrNXbQo801vF5igJQnP9sV6P0h6uuChGUieQKwRv088PIyVsv6FekV2wlsVZKJHGhjkw==", + "version": "1.61.19", + "resolved": "https://registry.npmjs.org/@adobe/spacecat-shared-data-access/-/spacecat-shared-data-access-1.61.19.tgz", + "integrity": "sha512-Alo/ZMmEwEkLuJ+9pjhrn90YyS7FBI0yVI8KBtk5rQ8F+hFMCGS3FX2pYqHtrEss9ycJrkkNt83bkShp96zsjg==", "license": "Apache-2.0", "dependencies": { "@adobe/spacecat-shared-dynamo": "1.5.1", diff --git a/package.json b/package.json index dbd9a922..fd05a2bc 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "@adobe/helix-universal": "5.0.8", "@adobe/helix-universal-logger": "3.0.23", "@adobe/spacecat-shared-ahrefs-client": "1.6.2", - "@adobe/spacecat-shared-data-access": "1.61.18", + "@adobe/spacecat-shared-data-access": "1.61.19", "@adobe/spacecat-shared-google-client": "1.4.3", "@adobe/spacecat-shared-http-utils": "1.9.3", "@adobe/spacecat-shared-rum-api-client": "2.18.0", From 939f9987bd7d42bb4512fb80e7b7e8fc61cbf0d5 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 10 Jan 2025 09:39:49 +0000 Subject: [PATCH 2/5] chore(release): 1.46.7 [skip ci] ## [1.46.7](https://github.com/adobe/spacecat-audit-worker/compare/v1.46.6...v1.46.7) (2025-01-10) ### Bug Fixes * **deps:** update dependency @adobe/spacecat-shared-data-access to v1.61.19 ([#574](https://github.com/adobe/spacecat-audit-worker/issues/574)) ([870e6e3](https://github.com/adobe/spacecat-audit-worker/commit/870e6e30e8054703f5a9fbf9e34d587d6dd0edf2)) --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08ef1783..a067d62b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.46.7](https://github.com/adobe/spacecat-audit-worker/compare/v1.46.6...v1.46.7) (2025-01-10) + + +### Bug Fixes + +* **deps:** update dependency @adobe/spacecat-shared-data-access to v1.61.19 ([#574](https://github.com/adobe/spacecat-audit-worker/issues/574)) ([870e6e3](https://github.com/adobe/spacecat-audit-worker/commit/870e6e30e8054703f5a9fbf9e34d587d6dd0edf2)) + ## [1.46.6](https://github.com/adobe/spacecat-audit-worker/compare/v1.46.5...v1.46.6) (2025-01-09) diff --git a/package-lock.json b/package-lock.json index 8d003d6c..a17aabbe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@adobe/spacecat-audit-worker", - "version": "1.46.6", + "version": "1.46.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@adobe/spacecat-audit-worker", - "version": "1.46.6", + "version": "1.46.7", "license": "Apache-2.0", "dependencies": { "@adobe/fetch": "4.1.11", diff --git a/package.json b/package.json index fd05a2bc..e99f5a82 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/spacecat-audit-worker", - "version": "1.46.6", + "version": "1.46.7", "description": "SpaceCat Audit Worker", "main": "src/index.js", "type": "module", From 128303ed706bbe1a19545cca2281d28acce0297b Mon Sep 17 00:00:00 2001 From: Andrei Paraschiv Date: Fri, 10 Jan 2025 15:16:26 +0200 Subject: [PATCH 3/5] fix: remove path containing accessible urls (#575) * fix: remove path containing accessible urls * fix: remove path containing accessible urls * fix: remove path containing accessible urls --- src/sitemap/handler.js | 1 - test/audits/sitemap.test.js | 25 ------------------------- 2 files changed, 26 deletions(-) diff --git a/src/sitemap/handler.js b/src/sitemap/handler.js index 6a00e77f..ec92c69b 100644 --- a/src/sitemap/handler.js +++ b/src/sitemap/handler.js @@ -355,7 +355,6 @@ export async function findSitemap(inputUrl) { return { success: true, reasons: [{ value: 'Sitemaps found and checked.' }], - paths: extractedPaths, url: inputUrl, details: { issues: notOkPagesFromSitemap }, }; diff --git a/test/audits/sitemap.test.js b/test/audits/sitemap.test.js index a5b1b337..d76b48a2 100644 --- a/test/audits/sitemap.test.js +++ b/test/audits/sitemap.test.js @@ -121,10 +121,6 @@ describe('Sitemap Audit', () => { issues: {}, }, success: true, - paths: { - [`${url}/sitemap_foo.xml`]: [`${url}/foo`, `${url}/bar`], - [`${url}/sitemap_bar.xml`]: [`${url}/baz`, `${url}/cux`], - }, reasons: [{ value: 'Sitemaps found and checked.', }], @@ -175,10 +171,6 @@ describe('Sitemap Audit', () => { issues: {}, }, success: true, - paths: { - [`${url}/sitemap_foo.xml`]: [`${url}/foo`, `${url}/bar`], - [`${url}/sitemap_bar.xml`]: [`${url}/baz`, `${url}/cux`], - }, reasons: [{ value: 'Sitemaps found and checked.', }], @@ -225,10 +217,6 @@ describe('Sitemap Audit', () => { issues: {}, }, success: true, - paths: { - [`${url}/sitemap_foo.txt`]: [`${url}/foo`, `${url}/bar`], - [`${url}/sitemap_bar.txt`]: [`${url}/baz`, `${url}/cux`], - }, reasons: [{ value: 'Sitemaps found and checked.', }], @@ -531,9 +519,6 @@ describe('Sitemap Audit', () => { const result = await findSitemap(url); expect(result.success).to.equal(true); - expect(result.paths).to.deep.equal({ - [`${url}/sitemap.xml`]: [`${url}/foo`, `${url}/bar`], - }); }); it('should fail when sitemap contents have a different URL than the base domain (regardless of www. or not)', async () => { @@ -617,9 +602,6 @@ describe('Sitemap Audit', () => { info: () => {}, }); expect(result.success).to.equal(true); - expect(result.paths).to.deep.equal({ - [`${url}/sitemap.xml`]: [`${url}/foo`, `${url}/bar`], - }); }); it('should return success when sitemap_index.xml is found', async () => { @@ -665,10 +647,6 @@ describe('Sitemap Audit', () => { const result = await findSitemap(url); expect(result.success).to.equal(true); - expect(result.paths).to.deep.equal({ - [`${url}/sitemap_foo.xml`]: [`${url}/foo`, `${url}/bar`], - [`${url}/sitemap_bar.xml`]: [`${url}/baz`, `${url}/cux`], - }); }); it('should return success when sitemap paths have www', async () => { @@ -690,9 +668,6 @@ describe('Sitemap Audit', () => { const result = await findSitemap(`${protocol}://www.${domain}`); expect(result.success).to.equal(true); - expect(result.paths).to.deep.equal({ - [`${url}/sitemap.xml`]: [`${protocol}://www.${domain}/foo`, `${protocol}://www.${domain}/bar`], - }); }); it('should return error when no sitemap is found', async () => { From 85b3fee0e0e93931f42ca08cd8239ccfcadcdb88 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Fri, 10 Jan 2025 13:18:12 +0000 Subject: [PATCH 4/5] chore(release): 1.46.8 [skip ci] ## [1.46.8](https://github.com/adobe/spacecat-audit-worker/compare/v1.46.7...v1.46.8) (2025-01-10) ### Bug Fixes * remove path containing accessible urls ([#575](https://github.com/adobe/spacecat-audit-worker/issues/575)) ([128303e](https://github.com/adobe/spacecat-audit-worker/commit/128303ed706bbe1a19545cca2281d28acce0297b)) --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a067d62b..31ec6d89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.46.8](https://github.com/adobe/spacecat-audit-worker/compare/v1.46.7...v1.46.8) (2025-01-10) + + +### Bug Fixes + +* remove path containing accessible urls ([#575](https://github.com/adobe/spacecat-audit-worker/issues/575)) ([128303e](https://github.com/adobe/spacecat-audit-worker/commit/128303ed706bbe1a19545cca2281d28acce0297b)) + ## [1.46.7](https://github.com/adobe/spacecat-audit-worker/compare/v1.46.6...v1.46.7) (2025-01-10) diff --git a/package-lock.json b/package-lock.json index a17aabbe..209cb32a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@adobe/spacecat-audit-worker", - "version": "1.46.7", + "version": "1.46.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@adobe/spacecat-audit-worker", - "version": "1.46.7", + "version": "1.46.8", "license": "Apache-2.0", "dependencies": { "@adobe/fetch": "4.1.11", diff --git a/package.json b/package.json index e99f5a82..5a679705 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@adobe/spacecat-audit-worker", - "version": "1.46.7", + "version": "1.46.8", "description": "SpaceCat Audit Worker", "main": "src/index.js", "type": "module", From 2ae677b877f42772624006bf528c687d9c72c014 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 11 Jan 2025 07:32:02 +0100 Subject: [PATCH 5/5] fix(deps): update adobe major to v2 (major) (#576) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(deps): update adobe major to v2 * fix(deps): update to data-access-2.0.0 --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dominique Jäggi --- package-lock.json | 711 +---------------------------- package.json | 2 +- test/audits/backlinks.test.js | 2 +- test/audits/forms.test.js | 3 +- test/audits/internal-links.test.js | 4 +- test/audits/site-detection.test.js | 10 +- test/common/audit.test.js | 22 +- 7 files changed, 25 insertions(+), 729 deletions(-) diff --git a/package-lock.json b/package-lock.json index 209cb32a..5384be8d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "@adobe/helix-universal": "5.0.8", "@adobe/helix-universal-logger": "3.0.23", "@adobe/spacecat-shared-ahrefs-client": "1.6.2", - "@adobe/spacecat-shared-data-access": "1.61.19", + "@adobe/spacecat-shared-data-access": "2.0.0", "@adobe/spacecat-shared-google-client": "1.4.3", "@adobe/spacecat-shared-http-utils": "1.9.3", "@adobe/spacecat-shared-rum-api-client": "2.18.0", @@ -2604,12 +2604,11 @@ } }, "node_modules/@adobe/spacecat-shared-data-access": { - "version": "1.61.19", - "resolved": "https://registry.npmjs.org/@adobe/spacecat-shared-data-access/-/spacecat-shared-data-access-1.61.19.tgz", - "integrity": "sha512-Alo/ZMmEwEkLuJ+9pjhrn90YyS7FBI0yVI8KBtk5rQ8F+hFMCGS3FX2pYqHtrEss9ycJrkkNt83bkShp96zsjg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@adobe/spacecat-shared-data-access/-/spacecat-shared-data-access-2.0.0.tgz", + "integrity": "sha512-N7E+hgGusJTieXFuaqWQnc5dvJsiZuNC0uhPts0x3NUIrdV9xeb7zwycWZ4hXjad4qcXK2hrpWbem3/EgtCwMw==", "license": "Apache-2.0", "dependencies": { - "@adobe/spacecat-shared-dynamo": "1.5.1", "@adobe/spacecat-shared-utils": "1.25.4", "@aws-sdk/client-dynamodb": "3.721.0", "@aws-sdk/lib-dynamodb": "3.721.0", @@ -3954,708 +3953,6 @@ "uuid": "dist/esm/bin/uuid" } }, - "node_modules/@adobe/spacecat-shared-dynamo": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/@adobe/spacecat-shared-dynamo/-/spacecat-shared-dynamo-1.5.1.tgz", - "integrity": "sha512-FoD8NP1ajXms7Rho8Jae9EWUtYTq2sx+pEabuR1JzITRPHTHtifc/iRT9/CWrfbGqg/mF36tttvqhB3Ba3SzEw==", - "license": "Apache-2.0", - "dependencies": { - "@adobe/spacecat-shared-utils": "1.25.1", - "@aws-sdk/client-dynamodb": "3.716.0", - "@aws-sdk/lib-dynamodb": "3.716.0", - "aws-xray-sdk": "3.10.2" - }, - "engines": { - "node": ">=20.0.0 <23.0.0", - "npm": ">=10.0.0 <12.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@adobe/spacecat-shared-utils": { - "version": "1.25.1", - "resolved": "https://registry.npmjs.org/@adobe/spacecat-shared-utils/-/spacecat-shared-utils-1.25.1.tgz", - "integrity": "sha512-f6ZzgfzpGYNTOcSlAKNEJf1Pf7FcTxzRcGqqMy+V8OovFsiEQ0jXuJGpbvzUiTYdwAIakTxNb/922m/JxlQB6w==", - "license": "Apache-2.0", - "dependencies": { - "@adobe/fetch": "4.1.11", - "@aws-sdk/client-s3": "3.717.0", - "@aws-sdk/client-secrets-manager": "3.716.0", - "@aws-sdk/client-sqs": "3.716.0", - "@json2csv/plainjs": "7.0.6", - "aws-xray-sdk": "3.10.2" - }, - "engines": { - "node": ">=20.0.0 <23.0.0", - "npm": ">=10.0.0 <12.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/client-s3": { - "version": "3.717.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-s3/-/client-s3-3.717.0.tgz", - "integrity": "sha512-jzaH8IskAXVnqlZ3/H/ROwrB2HCnq/atlN7Hi7FIfjWvMPf5nfcJKfzJ1MXFX0EQR5qO6X4TbK7rgi7Bjw9NjQ==", - "license": "Apache-2.0", - "dependencies": { - "@aws-crypto/sha1-browser": "5.2.0", - "@aws-crypto/sha256-browser": "5.2.0", - "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/client-sso-oidc": "3.716.0", - "@aws-sdk/client-sts": "3.716.0", - "@aws-sdk/core": "3.716.0", - "@aws-sdk/credential-provider-node": "3.716.0", - "@aws-sdk/middleware-bucket-endpoint": "3.714.0", - "@aws-sdk/middleware-expect-continue": "3.714.0", - "@aws-sdk/middleware-flexible-checksums": "3.717.0", - "@aws-sdk/middleware-host-header": "3.714.0", - "@aws-sdk/middleware-location-constraint": "3.714.0", - "@aws-sdk/middleware-logger": "3.714.0", - "@aws-sdk/middleware-recursion-detection": "3.714.0", - "@aws-sdk/middleware-sdk-s3": "3.716.0", - "@aws-sdk/middleware-ssec": "3.714.0", - "@aws-sdk/middleware-user-agent": "3.716.0", - "@aws-sdk/region-config-resolver": "3.714.0", - "@aws-sdk/signature-v4-multi-region": "3.716.0", - "@aws-sdk/types": "3.714.0", - "@aws-sdk/util-endpoints": "3.714.0", - "@aws-sdk/util-user-agent-browser": "3.714.0", - "@aws-sdk/util-user-agent-node": "3.716.0", - "@aws-sdk/xml-builder": "3.709.0", - "@smithy/config-resolver": "^3.0.13", - "@smithy/core": "^2.5.5", - "@smithy/eventstream-serde-browser": "^3.0.14", - "@smithy/eventstream-serde-config-resolver": "^3.0.11", - "@smithy/eventstream-serde-node": "^3.0.13", - "@smithy/fetch-http-handler": "^4.1.2", - "@smithy/hash-blob-browser": "^3.1.10", - "@smithy/hash-node": "^3.0.11", - "@smithy/hash-stream-node": "^3.1.10", - "@smithy/invalid-dependency": "^3.0.11", - "@smithy/md5-js": "^3.0.11", - "@smithy/middleware-content-length": "^3.0.13", - "@smithy/middleware-endpoint": "^3.2.6", - "@smithy/middleware-retry": "^3.0.31", - "@smithy/middleware-serde": "^3.0.11", - "@smithy/middleware-stack": "^3.0.11", - "@smithy/node-config-provider": "^3.1.12", - "@smithy/node-http-handler": "^3.3.2", - "@smithy/protocol-http": "^4.1.8", - "@smithy/smithy-client": "^3.5.1", - "@smithy/types": "^3.7.2", - "@smithy/url-parser": "^3.0.11", - "@smithy/util-base64": "^3.0.0", - "@smithy/util-body-length-browser": "^3.0.0", - "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.31", - "@smithy/util-defaults-mode-node": "^3.0.31", - "@smithy/util-endpoints": "^2.1.7", - "@smithy/util-middleware": "^3.0.11", - "@smithy/util-retry": "^3.0.11", - "@smithy/util-stream": "^3.3.2", - "@smithy/util-utf8": "^3.0.0", - "@smithy/util-waiter": "^3.2.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/client-secrets-manager": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-secrets-manager/-/client-secrets-manager-3.716.0.tgz", - "integrity": "sha512-j2JboOSR3PMoT5msr4uIMwkIm1owzkqgWI8i40IPDa1oeJXmZIx/xkCQq6Hxu5Ve1b2xtrw/8k1LN+TMCvuIfA==", - "license": "Apache-2.0", - "dependencies": { - "@aws-crypto/sha256-browser": "5.2.0", - "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/client-sso-oidc": "3.716.0", - "@aws-sdk/client-sts": "3.716.0", - "@aws-sdk/core": "3.716.0", - "@aws-sdk/credential-provider-node": "3.716.0", - "@aws-sdk/middleware-host-header": "3.714.0", - "@aws-sdk/middleware-logger": "3.714.0", - "@aws-sdk/middleware-recursion-detection": "3.714.0", - "@aws-sdk/middleware-user-agent": "3.716.0", - "@aws-sdk/region-config-resolver": "3.714.0", - "@aws-sdk/types": "3.714.0", - "@aws-sdk/util-endpoints": "3.714.0", - "@aws-sdk/util-user-agent-browser": "3.714.0", - "@aws-sdk/util-user-agent-node": "3.716.0", - "@smithy/config-resolver": "^3.0.13", - "@smithy/core": "^2.5.5", - "@smithy/fetch-http-handler": "^4.1.2", - "@smithy/hash-node": "^3.0.11", - "@smithy/invalid-dependency": "^3.0.11", - "@smithy/middleware-content-length": "^3.0.13", - "@smithy/middleware-endpoint": "^3.2.6", - "@smithy/middleware-retry": "^3.0.31", - "@smithy/middleware-serde": "^3.0.11", - "@smithy/middleware-stack": "^3.0.11", - "@smithy/node-config-provider": "^3.1.12", - "@smithy/node-http-handler": "^3.3.2", - "@smithy/protocol-http": "^4.1.8", - "@smithy/smithy-client": "^3.5.1", - "@smithy/types": "^3.7.2", - "@smithy/url-parser": "^3.0.11", - "@smithy/util-base64": "^3.0.0", - "@smithy/util-body-length-browser": "^3.0.0", - "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.31", - "@smithy/util-defaults-mode-node": "^3.0.31", - "@smithy/util-endpoints": "^2.1.7", - "@smithy/util-middleware": "^3.0.11", - "@smithy/util-retry": "^3.0.11", - "@smithy/util-utf8": "^3.0.0", - "@types/uuid": "^9.0.1", - "tslib": "^2.6.2", - "uuid": "^9.0.1" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/client-sqs": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sqs/-/client-sqs-3.716.0.tgz", - "integrity": "sha512-nDpnXvmo65dDGw+/c/c6e/ic9HUvJRayzs9Rc4DdatsnAZE71gcWoLUBupJ/IOkNwgoVau0TDs9SRlmsuDsm1w==", - "license": "Apache-2.0", - "dependencies": { - "@aws-crypto/sha256-browser": "5.2.0", - "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/client-sso-oidc": "3.716.0", - "@aws-sdk/client-sts": "3.716.0", - "@aws-sdk/core": "3.716.0", - "@aws-sdk/credential-provider-node": "3.716.0", - "@aws-sdk/middleware-host-header": "3.714.0", - "@aws-sdk/middleware-logger": "3.714.0", - "@aws-sdk/middleware-recursion-detection": "3.714.0", - "@aws-sdk/middleware-sdk-sqs": "3.716.0", - "@aws-sdk/middleware-user-agent": "3.716.0", - "@aws-sdk/region-config-resolver": "3.714.0", - "@aws-sdk/types": "3.714.0", - "@aws-sdk/util-endpoints": "3.714.0", - "@aws-sdk/util-user-agent-browser": "3.714.0", - "@aws-sdk/util-user-agent-node": "3.716.0", - "@smithy/config-resolver": "^3.0.13", - "@smithy/core": "^2.5.5", - "@smithy/fetch-http-handler": "^4.1.2", - "@smithy/hash-node": "^3.0.11", - "@smithy/invalid-dependency": "^3.0.11", - "@smithy/md5-js": "^3.0.11", - "@smithy/middleware-content-length": "^3.0.13", - "@smithy/middleware-endpoint": "^3.2.6", - "@smithy/middleware-retry": "^3.0.31", - "@smithy/middleware-serde": "^3.0.11", - "@smithy/middleware-stack": "^3.0.11", - "@smithy/node-config-provider": "^3.1.12", - "@smithy/node-http-handler": "^3.3.2", - "@smithy/protocol-http": "^4.1.8", - "@smithy/smithy-client": "^3.5.1", - "@smithy/types": "^3.7.2", - "@smithy/url-parser": "^3.0.11", - "@smithy/util-base64": "^3.0.0", - "@smithy/util-body-length-browser": "^3.0.0", - "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.31", - "@smithy/util-defaults-mode-node": "^3.0.31", - "@smithy/util-endpoints": "^2.1.7", - "@smithy/util-middleware": "^3.0.11", - "@smithy/util-retry": "^3.0.11", - "@smithy/util-utf8": "^3.0.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/client-sso": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso/-/client-sso-3.716.0.tgz", - "integrity": "sha512-5Nb0jJXce2TclbjG7WVPufwhgV1TRydz1QnsuBtKU0AdViEpr787YrZhPpGnNIM1Dx+R1H/tmAHZnOoohS6D8g==", - "license": "Apache-2.0", - "dependencies": { - "@aws-crypto/sha256-browser": "5.2.0", - "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.716.0", - "@aws-sdk/middleware-host-header": "3.714.0", - "@aws-sdk/middleware-logger": "3.714.0", - "@aws-sdk/middleware-recursion-detection": "3.714.0", - "@aws-sdk/middleware-user-agent": "3.716.0", - "@aws-sdk/region-config-resolver": "3.714.0", - "@aws-sdk/types": "3.714.0", - "@aws-sdk/util-endpoints": "3.714.0", - "@aws-sdk/util-user-agent-browser": "3.714.0", - "@aws-sdk/util-user-agent-node": "3.716.0", - "@smithy/config-resolver": "^3.0.13", - "@smithy/core": "^2.5.5", - "@smithy/fetch-http-handler": "^4.1.2", - "@smithy/hash-node": "^3.0.11", - "@smithy/invalid-dependency": "^3.0.11", - "@smithy/middleware-content-length": "^3.0.13", - "@smithy/middleware-endpoint": "^3.2.6", - "@smithy/middleware-retry": "^3.0.31", - "@smithy/middleware-serde": "^3.0.11", - "@smithy/middleware-stack": "^3.0.11", - "@smithy/node-config-provider": "^3.1.12", - "@smithy/node-http-handler": "^3.3.2", - "@smithy/protocol-http": "^4.1.8", - "@smithy/smithy-client": "^3.5.1", - "@smithy/types": "^3.7.2", - "@smithy/url-parser": "^3.0.11", - "@smithy/util-base64": "^3.0.0", - "@smithy/util-body-length-browser": "^3.0.0", - "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.31", - "@smithy/util-defaults-mode-node": "^3.0.31", - "@smithy/util-endpoints": "^2.1.7", - "@smithy/util-middleware": "^3.0.11", - "@smithy/util-retry": "^3.0.11", - "@smithy/util-utf8": "^3.0.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/client-sso-oidc": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.716.0.tgz", - "integrity": "sha512-lA4IB9FzR2KjH7EVCo+mHGFKqdViVyeBQEIX9oVratL/l7P0bMS1fMwgfHOc3ACazqNxBxDES7x08ZCp32y6Lw==", - "license": "Apache-2.0", - "dependencies": { - "@aws-crypto/sha256-browser": "5.2.0", - "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/core": "3.716.0", - "@aws-sdk/credential-provider-node": "3.716.0", - "@aws-sdk/middleware-host-header": "3.714.0", - "@aws-sdk/middleware-logger": "3.714.0", - "@aws-sdk/middleware-recursion-detection": "3.714.0", - "@aws-sdk/middleware-user-agent": "3.716.0", - "@aws-sdk/region-config-resolver": "3.714.0", - "@aws-sdk/types": "3.714.0", - "@aws-sdk/util-endpoints": "3.714.0", - "@aws-sdk/util-user-agent-browser": "3.714.0", - "@aws-sdk/util-user-agent-node": "3.716.0", - "@smithy/config-resolver": "^3.0.13", - "@smithy/core": "^2.5.5", - "@smithy/fetch-http-handler": "^4.1.2", - "@smithy/hash-node": "^3.0.11", - "@smithy/invalid-dependency": "^3.0.11", - "@smithy/middleware-content-length": "^3.0.13", - "@smithy/middleware-endpoint": "^3.2.6", - "@smithy/middleware-retry": "^3.0.31", - "@smithy/middleware-serde": "^3.0.11", - "@smithy/middleware-stack": "^3.0.11", - "@smithy/node-config-provider": "^3.1.12", - "@smithy/node-http-handler": "^3.3.2", - "@smithy/protocol-http": "^4.1.8", - "@smithy/smithy-client": "^3.5.1", - "@smithy/types": "^3.7.2", - "@smithy/url-parser": "^3.0.11", - "@smithy/util-base64": "^3.0.0", - "@smithy/util-body-length-browser": "^3.0.0", - "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.31", - "@smithy/util-defaults-mode-node": "^3.0.31", - "@smithy/util-endpoints": "^2.1.7", - "@smithy/util-middleware": "^3.0.11", - "@smithy/util-retry": "^3.0.11", - "@smithy/util-utf8": "^3.0.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@aws-sdk/client-sts": "^3.716.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/client-sts": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-sts/-/client-sts-3.716.0.tgz", - "integrity": "sha512-i4SVNsrdXudp8T4bkm7Fi3YWlRnvXCSwvNDqf6nLqSJxqr4CN3VlBELueDyjBK7TAt453/qSif+eNx+bHmwo4Q==", - "license": "Apache-2.0", - "dependencies": { - "@aws-crypto/sha256-browser": "5.2.0", - "@aws-crypto/sha256-js": "5.2.0", - "@aws-sdk/client-sso-oidc": "3.716.0", - "@aws-sdk/core": "3.716.0", - "@aws-sdk/credential-provider-node": "3.716.0", - "@aws-sdk/middleware-host-header": "3.714.0", - "@aws-sdk/middleware-logger": "3.714.0", - "@aws-sdk/middleware-recursion-detection": "3.714.0", - "@aws-sdk/middleware-user-agent": "3.716.0", - "@aws-sdk/region-config-resolver": "3.714.0", - "@aws-sdk/types": "3.714.0", - "@aws-sdk/util-endpoints": "3.714.0", - "@aws-sdk/util-user-agent-browser": "3.714.0", - "@aws-sdk/util-user-agent-node": "3.716.0", - "@smithy/config-resolver": "^3.0.13", - "@smithy/core": "^2.5.5", - "@smithy/fetch-http-handler": "^4.1.2", - "@smithy/hash-node": "^3.0.11", - "@smithy/invalid-dependency": "^3.0.11", - "@smithy/middleware-content-length": "^3.0.13", - "@smithy/middleware-endpoint": "^3.2.6", - "@smithy/middleware-retry": "^3.0.31", - "@smithy/middleware-serde": "^3.0.11", - "@smithy/middleware-stack": "^3.0.11", - "@smithy/node-config-provider": "^3.1.12", - "@smithy/node-http-handler": "^3.3.2", - "@smithy/protocol-http": "^4.1.8", - "@smithy/smithy-client": "^3.5.1", - "@smithy/types": "^3.7.2", - "@smithy/url-parser": "^3.0.11", - "@smithy/util-base64": "^3.0.0", - "@smithy/util-body-length-browser": "^3.0.0", - "@smithy/util-body-length-node": "^3.0.0", - "@smithy/util-defaults-mode-browser": "^3.0.31", - "@smithy/util-defaults-mode-node": "^3.0.31", - "@smithy/util-endpoints": "^2.1.7", - "@smithy/util-middleware": "^3.0.11", - "@smithy/util-retry": "^3.0.11", - "@smithy/util-utf8": "^3.0.0", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/core": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/core/-/core-3.716.0.tgz", - "integrity": "sha512-5DkUiTrbyzO8/W4g7UFEqRFpuhgizayHI/Zbh0wtFMcot8801nJV+MP/YMhdjimlvAr/OqYB08FbGsPyWppMTw==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.714.0", - "@smithy/core": "^2.5.5", - "@smithy/node-config-provider": "^3.1.12", - "@smithy/property-provider": "^3.1.11", - "@smithy/protocol-http": "^4.1.8", - "@smithy/signature-v4": "^4.2.4", - "@smithy/smithy-client": "^3.5.1", - "@smithy/types": "^3.7.2", - "@smithy/util-middleware": "^3.0.11", - "fast-xml-parser": "4.4.1", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/credential-provider-env": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-env/-/credential-provider-env-3.716.0.tgz", - "integrity": "sha512-JI2KQUnn2arICwP9F3CnqP1W3nAbm4+meQg/yOhp9X0DMzQiHrHRd4HIrK2vyVgi2/6hGhONY5uLF26yRTA7nQ==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/core": "3.716.0", - "@aws-sdk/types": "3.714.0", - "@smithy/property-provider": "^3.1.11", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/credential-provider-http": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-http/-/credential-provider-http-3.716.0.tgz", - "integrity": "sha512-CZ04pl2z7igQPysQyH2xKZHM3fLwkemxQbKOlje3TmiS1NwXvcKvERhp9PE/H23kOL7beTM19NMRog/Fka/rlw==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/core": "3.716.0", - "@aws-sdk/types": "3.714.0", - "@smithy/fetch-http-handler": "^4.1.2", - "@smithy/node-http-handler": "^3.3.2", - "@smithy/property-provider": "^3.1.11", - "@smithy/protocol-http": "^4.1.8", - "@smithy/smithy-client": "^3.5.1", - "@smithy/types": "^3.7.2", - "@smithy/util-stream": "^3.3.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/credential-provider-ini": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.716.0.tgz", - "integrity": "sha512-P37We2GtZvdROxiwP0zrpEL81/HuYK1qlYxp5VCj3uV+G4mG8UQN2gMIU/baYrpOQqa0h81RfyQGRFUjVaDVqw==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/core": "3.716.0", - "@aws-sdk/credential-provider-env": "3.716.0", - "@aws-sdk/credential-provider-http": "3.716.0", - "@aws-sdk/credential-provider-process": "3.716.0", - "@aws-sdk/credential-provider-sso": "3.716.0", - "@aws-sdk/credential-provider-web-identity": "3.716.0", - "@aws-sdk/types": "3.714.0", - "@smithy/credential-provider-imds": "^3.2.8", - "@smithy/property-provider": "^3.1.11", - "@smithy/shared-ini-file-loader": "^3.1.12", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@aws-sdk/client-sts": "^3.716.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/credential-provider-node": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-node/-/credential-provider-node-3.716.0.tgz", - "integrity": "sha512-FGQPK2uKfS53dVvoskN/s/t6m0Po24BGd1PzJdzHBFCOjxbZLM6+8mDMXeyi2hCLVVQOUcuW41kOgmJ0+zMbww==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/credential-provider-env": "3.716.0", - "@aws-sdk/credential-provider-http": "3.716.0", - "@aws-sdk/credential-provider-ini": "3.716.0", - "@aws-sdk/credential-provider-process": "3.716.0", - "@aws-sdk/credential-provider-sso": "3.716.0", - "@aws-sdk/credential-provider-web-identity": "3.716.0", - "@aws-sdk/types": "3.714.0", - "@smithy/credential-provider-imds": "^3.2.8", - "@smithy/property-provider": "^3.1.11", - "@smithy/shared-ini-file-loader": "^3.1.12", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/credential-provider-process": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-process/-/credential-provider-process-3.716.0.tgz", - "integrity": "sha512-0spcu2MWVVHSTHH3WE2E//ttUJPwXRM3BCp+WyI41xLzpNu1Fd8zjOrDpEo0SnGUzsSiRTIJWgkuu/tqv9NJ2A==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/core": "3.716.0", - "@aws-sdk/types": "3.714.0", - "@smithy/property-provider": "^3.1.11", - "@smithy/shared-ini-file-loader": "^3.1.12", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/credential-provider-sso": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.716.0.tgz", - "integrity": "sha512-J2IA3WuCpRGGoZm6VHZVFCnrxXP+41iUWb9Ct/1spljegTa1XjiaZ5Jf3+Ubj7WKiyvP9/dgz1L0bu2bYEjliw==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/client-sso": "3.716.0", - "@aws-sdk/core": "3.716.0", - "@aws-sdk/token-providers": "3.714.0", - "@aws-sdk/types": "3.714.0", - "@smithy/property-provider": "^3.1.11", - "@smithy/shared-ini-file-loader": "^3.1.12", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/credential-provider-web-identity": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.716.0.tgz", - "integrity": "sha512-vzgpWKs2gGXZGdbMKRFrMW4PqEFWkGvwWH2T7ZwQv9m+8lQ7P4Dk2uimqu0f37HZAbpn8HFMqRh4CaySjU354A==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/core": "3.716.0", - "@aws-sdk/types": "3.714.0", - "@smithy/property-provider": "^3.1.11", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@aws-sdk/client-sts": "^3.716.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/middleware-host-header": { - "version": "3.714.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-host-header/-/middleware-host-header-3.714.0.tgz", - "integrity": "sha512-6l68kjNrh5QC8FGX3I3geBDavWN5Tg1RLHJ2HLA8ByGBtJyCwnz3hEkKfaxn0bBx0hF9DzbfjEOUF6cDqy2Kjg==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.714.0", - "@smithy/protocol-http": "^4.1.8", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/middleware-logger": { - "version": "3.714.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-logger/-/middleware-logger-3.714.0.tgz", - "integrity": "sha512-RkqHlMvQWUaRklU1bMfUuBvdWwxgUtEqpADaHXlGVj3vtEY2UgBjy+57CveC4MByqKIunNvVHBBbjrGVtwY7Lg==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.714.0", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/middleware-recursion-detection": { - "version": "3.714.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.714.0.tgz", - "integrity": "sha512-AVU5ixnh93nqtsfgNc284oXsXaadyHGPHpql/jwgaaqQfEXjS/1/j3j9E/vpacfTTz2Vzo7hAOjnvrOXSEVDaA==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.714.0", - "@smithy/protocol-http": "^4.1.8", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/middleware-user-agent": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.716.0.tgz", - "integrity": "sha512-FpAtT6nNKrYdkDZndutEraiRMf+TgDzAGvniqRtZ/YTPA+gIsWrsn+TwMKINR81lFC3nQfb9deS5CFtxd021Ew==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/core": "3.716.0", - "@aws-sdk/types": "3.714.0", - "@aws-sdk/util-endpoints": "3.714.0", - "@smithy/core": "^2.5.5", - "@smithy/protocol-http": "^4.1.8", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/region-config-resolver": { - "version": "3.714.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/region-config-resolver/-/region-config-resolver-3.714.0.tgz", - "integrity": "sha512-HJzsQxgMOAzZrbf/YIqEx30or4tZK1oNAk6Wm6xecUQx+23JXIaePRu1YFUOLBBERQ4QBPpISFurZWBMZ5ibAw==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.714.0", - "@smithy/node-config-provider": "^3.1.12", - "@smithy/types": "^3.7.2", - "@smithy/util-config-provider": "^3.0.0", - "@smithy/util-middleware": "^3.0.11", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/token-providers": { - "version": "3.714.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/token-providers/-/token-providers-3.714.0.tgz", - "integrity": "sha512-vKN064aLE3kl+Zl16Ony3jltHnMddMBT7JRkP1L+lLywhA0PcAKxpdvComul/sTBWnbnwLnaS5NsDUhcWySH8A==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.714.0", - "@smithy/property-provider": "^3.1.11", - "@smithy/shared-ini-file-loader": "^3.1.12", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "@aws-sdk/client-sso-oidc": "^3.714.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/types": { - "version": "3.714.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/types/-/types-3.714.0.tgz", - "integrity": "sha512-ZjpP2gYbSFlxxaUDa1Il5AVvfggvUPbjzzB/l3q0gIE5Thd6xKW+yzEpt2mLZ5s5UaYSABZbF94g8NUOF4CVGA==", - "license": "Apache-2.0", - "dependencies": { - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/util-endpoints": { - "version": "3.714.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-endpoints/-/util-endpoints-3.714.0.tgz", - "integrity": "sha512-Xv+Z2lhe7w7ZZRsgBwBMZgGTVmS+dkkj2S13uNHAx9lhB5ovM8PhK5G/j28xYf6vIibeuHkRAbb7/ozdZIGR+A==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.714.0", - "@smithy/types": "^3.7.2", - "@smithy/util-endpoints": "^2.1.7", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/util-user-agent-browser": { - "version": "3.714.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.714.0.tgz", - "integrity": "sha512-OdJJ03cP9/MgIVToPJPCPUImbpZzTcwdIgbXC0tUQPJhbD7b7cB4LdnkhNHko+MptpOrCq4CPY/33EpOjRdofw==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/types": "3.714.0", - "@smithy/types": "^3.7.2", - "bowser": "^2.11.0", - "tslib": "^2.6.2" - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/@aws-sdk/util-user-agent-node": { - "version": "3.716.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.716.0.tgz", - "integrity": "sha512-3PqaXmQbxrtHKAsPCdp7kn5FrQktj8j3YyuNsqFZ8rWZeEQ88GWlsvE61PTsr2peYCKzpFqYVddef2x1axHU0w==", - "license": "Apache-2.0", - "dependencies": { - "@aws-sdk/middleware-user-agent": "3.716.0", - "@aws-sdk/types": "3.714.0", - "@smithy/node-config-provider": "^3.1.12", - "@smithy/types": "^3.7.2", - "tslib": "^2.6.2" - }, - "engines": { - "node": ">=16.0.0" - }, - "peerDependencies": { - "aws-crt": ">=1.0.0" - }, - "peerDependenciesMeta": { - "aws-crt": { - "optional": true - } - } - }, - "node_modules/@adobe/spacecat-shared-dynamo/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/@adobe/spacecat-shared-google-client": { "version": "1.4.3", "resolved": "https://registry.npmjs.org/@adobe/spacecat-shared-google-client/-/spacecat-shared-google-client-1.4.3.tgz", diff --git a/package.json b/package.json index 5a679705..63b1925a 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "@adobe/helix-universal": "5.0.8", "@adobe/helix-universal-logger": "3.0.23", "@adobe/spacecat-shared-ahrefs-client": "1.6.2", - "@adobe/spacecat-shared-data-access": "1.61.19", + "@adobe/spacecat-shared-data-access": "2.0.0", "@adobe/spacecat-shared-google-client": "1.4.3", "@adobe/spacecat-shared-http-utils": "1.9.3", "@adobe/spacecat-shared-rum-api-client": "2.18.0", diff --git a/test/audits/backlinks.test.js b/test/audits/backlinks.test.js index e264c353..ab4a146a 100644 --- a/test/audits/backlinks.test.js +++ b/test/audits/backlinks.test.js @@ -12,7 +12,7 @@ /* eslint-env mocha */ import { Configuration } from '@adobe/spacecat-shared-data-access'; -import ConfigurationSchema from '@adobe/spacecat-shared-data-access/src/v2/models/configuration/configuration.schema.js'; +import ConfigurationSchema from '@adobe/spacecat-shared-data-access/src/models/configuration/configuration.schema.js'; import { Config } from '@adobe/spacecat-shared-data-access/src/models/site/config.js'; import { expect, use } from 'chai'; import chaiAsPromised from 'chai-as-promised'; diff --git a/test/audits/forms.test.js b/test/audits/forms.test.js index 76ead095..4539a880 100644 --- a/test/audits/forms.test.js +++ b/test/audits/forms.test.js @@ -16,7 +16,6 @@ import { expect, use } from 'chai'; import sinon from 'sinon'; import sinonChai from 'sinon-chai'; import nock from 'nock'; -import { createSite } from '@adobe/spacecat-shared-data-access/src/models/site.js'; import { formsAuditRunner } from '../../src/forms-opportunities/handler.js'; import { MockContextBuilder } from '../shared.js'; import formVitalsData from '../fixtures/formvitalsdata.json' with { type: 'json' }; @@ -29,7 +28,7 @@ const sandbox = sinon.createSandbox(); const baseURL = 'https://example.com'; describe('Forms Vitals audit', () => { - const site = createSite({ baseURL }); + const site = { getBaseURL: () => baseURL }; const context = new MockContextBuilder() .withSandbox(sandbox) diff --git a/test/audits/internal-links.test.js b/test/audits/internal-links.test.js index 72871a62..bdc815b7 100644 --- a/test/audits/internal-links.test.js +++ b/test/audits/internal-links.test.js @@ -16,7 +16,7 @@ import { expect, use } from 'chai'; import sinon from 'sinon'; import sinonChai from 'sinon-chai'; import nock from 'nock'; -import { createSite } from '@adobe/spacecat-shared-data-access/src/models/site.js'; + import { internalLinksAuditRunner, convertToOpportunity } from '../../src/internal-links/handler.js'; import { internalLinksData, expectedOpportunity, expectedSuggestions } from '../fixtures/internal-links-data.js'; import { MockContextBuilder } from '../shared.js'; @@ -50,7 +50,7 @@ const baseURL = 'https://example.com'; const auditUrl = 'www.example.com'; describe('Broken internal links audit', () => { - const site = createSite({ baseURL }); + const site = { getBaseURL: () => baseURL }; const context = new MockContextBuilder() .withSandbox(sandbox) diff --git a/test/audits/site-detection.test.js b/test/audits/site-detection.test.js index 42342dd8..d1bdd03f 100644 --- a/test/audits/site-detection.test.js +++ b/test/audits/site-detection.test.js @@ -17,8 +17,6 @@ import sinon from 'sinon'; import sinonChai from 'sinon-chai'; import chaiAsPromised from 'chai-as-promised'; import nock from 'nock'; -import { createSite } from '@adobe/spacecat-shared-data-access/src/models/site.js'; -import { createSiteCandidate } from '@adobe/spacecat-shared-data-access/src/models/site-candidate.js'; import { readFileSync, readdirSync } from 'fs'; import { fileURLToPath } from 'url'; import { dirname, join } from 'path'; @@ -64,11 +62,11 @@ describe('site-detection runner tests', () => { beforeEach('setup', () => { sites = [ - createSite({ baseURL: 'https://spacecat1.com' }), - createSite({ baseURL: 'https://spacecat2.com' })]; + { getBaseURL: () => 'https://spacecat1.com' }, + { getBaseURL: () => 'https://spacecat2.com' }]; siteCandidates = [ - createSiteCandidate({ baseURL: 'https://spacecat3.com' }), - createSiteCandidate({ baseURL: 'https://spacecat4.com' }), + { getBaseURL: () => 'https://spacecat3.com' }, + { getBaseURL: () => 'https://spacecat4.com' }, ]; context.dataAccess.Site.all.resolves(sites); context.dataAccess.SiteCandidate.all.resolves(siteCandidates); diff --git a/test/common/audit.test.js b/test/common/audit.test.js index 62075b48..973cbe08 100755 --- a/test/common/audit.test.js +++ b/test/common/audit.test.js @@ -11,7 +11,7 @@ */ /* eslint-env mocha */ -import { createConfiguration } from '@adobe/spacecat-shared-data-access/src/models/configuration.js'; + import { expect, use } from 'chai'; import sinon from 'sinon'; import sinonChai from 'sinon-chai'; @@ -71,10 +71,11 @@ describe('Audit tests', () => { getIsLive: () => true, getIsError: () => false, }; - const configurationData = { - version: '1.0', - queues: {}, - handlers: { + configuration = { + getVersion: () => '1.0', + getQueues: () => { + }, + getHandlers: () => ({ dummy: { enabled: { sites: ['site-id', 'space.cat', site.getId()], @@ -83,10 +84,12 @@ describe('Audit tests', () => { enabledByDefault: false, dependencies: [], }, - }, - jobs: [], + }), + getJobs: () => [], + isHandlerEnabledForSite: () => true, + disableHandlerForSite: () => true, + disableHandlerForOrg: () => true, }; - configuration = createConfiguration(configurationData); }); afterEach('clean', () => { @@ -202,8 +205,7 @@ describe('Audit tests', () => { }); it('audit run skips when audit is disabled', async () => { - configuration.disableHandlerForSite('dummy', { getId: () => site.getId(), getOrganizationId: () => org.getId() }); - configuration.disableHandlerForOrg('dummy', org); + configuration.isHandlerEnabledForSite = sinon.stub().returns(false); const queueUrl = 'some-queue-url'; context.env = { AUDIT_RESULTS_QUEUE_URL: queueUrl }; context.dataAccess.Site.findById.withArgs(message.siteId).resolves(site);