diff --git a/package-lock.json b/package-lock.json index aa93b546b0..9ca0446af4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,6 +35,7 @@ "@wpmedia/header-nav-chain-block": "file:blocks/header-nav-chain-block", "@wpmedia/headline-block": "file:blocks/headline-block", "@wpmedia/htmlbox-block": "file:blocks/htmlbox-block", + "@wpmedia/identity-block": "file:blocks/identity-block", "@wpmedia/large-manual-promo-block": "file:blocks/large-manual-promo-block", "@wpmedia/large-promo-block": "file:blocks/large-promo-block", "@wpmedia/lead-art-block": "file:blocks/lead-art-block", @@ -70,6 +71,7 @@ "@wpmedia/story-feed-sections-content-source-block": "file:blocks/story-feed-sections-content-source-block", "@wpmedia/story-feed-tag-content-source-block": "file:blocks/story-feed-tag-content-source-block", "@wpmedia/subheadline-block": "file:blocks/subheadline-block", + "@wpmedia/subscriptions-block": "file:blocks/subscriptions-block", "@wpmedia/tag-title-block": "file:blocks/tag-title-block", "@wpmedia/tags-content-source-block": "file:blocks/tags-content-source-block", "@wpmedia/top-table-list-block": "file:blocks/top-table-list-block", @@ -99,7 +101,7 @@ "@stripe/stripe-js": "^2.1.9", "@testing-library/jest-dom": "^6.1.4", "@testing-library/react": "^14.0.0", - "@wpmedia/arc-themes-components": "arc-themes-release-version-2.1.1", + "@wpmedia/arc-themes-components": "arc-themes-release-version-2.1.2", "algoliasearch": "^4.20.0", "babel-eslint": "^10.0.2", "babel-jest": "^29.7.0", @@ -142,10 +144,12 @@ } }, "blocks/ad-taboola-block": { + "name": "@wpmedia/ad-taboola-block", "version": "5.16.0", "license": "CC-BY-NC-ND" }, "blocks/ads-block": { + "name": "@wpmedia/ads-block", "version": "5.20.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -157,6 +161,7 @@ } }, "blocks/alert-bar-block": { + "name": "@wpmedia/alert-bar-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -168,6 +173,7 @@ } }, "blocks/alert-bar-content-source-block": { + "name": "@wpmedia/alert-bar-content-source-block", "version": "5.14.1", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -175,6 +181,7 @@ } }, "blocks/article-body-block": { + "name": "@wpmedia/article-body-block", "version": "5.17.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -187,6 +194,7 @@ } }, "blocks/article-tag-block": { + "name": "@wpmedia/article-tag-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -195,6 +203,7 @@ } }, "blocks/author-bio-block": { + "name": "@wpmedia/author-bio-block", "version": "5.18.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -203,6 +212,7 @@ } }, "blocks/author-content-source-block": { + "name": "@wpmedia/author-content-source-block", "version": "5.14.1", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -214,6 +224,7 @@ } }, "blocks/byline-block": { + "name": "@wpmedia/byline-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -221,6 +232,7 @@ } }, "blocks/card-list-block": { + "name": "@wpmedia/card-list-block", "version": "5.18.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -229,6 +241,7 @@ } }, "blocks/collections-content-source-block": { + "name": "@wpmedia/collections-content-source-block", "version": "5.14.1", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -240,6 +253,7 @@ } }, "blocks/commerce-product-content-source-block": { + "name": "@wpmedia/commerce-product-content-source-block", "version": "0.1.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -247,6 +261,7 @@ } }, "blocks/content-api-source-block": { + "name": "@wpmedia/content-api-source-block", "version": "5.14.1", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -258,6 +273,7 @@ } }, "blocks/date-block": { + "name": "@wpmedia/date-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -265,10 +281,12 @@ } }, "blocks/default-output-block": { + "name": "@wpmedia/default-output-block", "version": "5.17.0", "license": "CC-BY-NC-ND-4.0" }, "blocks/divider-block": { + "name": "@wpmedia/divider-block", "version": "0.1.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -276,6 +294,7 @@ } }, "blocks/double-chain-block": { + "name": "@wpmedia/double-chain-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -284,6 +303,7 @@ } }, "blocks/extra-large-manual-promo-block": { + "name": "@wpmedia/extra-large-manual-promo-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -292,6 +312,7 @@ } }, "blocks/extra-large-promo-block": { + "name": "@wpmedia/extra-large-promo-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -300,6 +321,7 @@ } }, "blocks/footer-block": { + "name": "@wpmedia/footer-block", "version": "5.18.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -308,6 +330,7 @@ } }, "blocks/full-author-bio-block": { + "name": "@wpmedia/full-author-bio-block", "version": "5.19.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -316,6 +339,7 @@ } }, "blocks/gallery-block": { + "name": "@wpmedia/gallery-block", "version": "5.17.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -324,10 +348,12 @@ } }, "blocks/global-phrases-block": { + "name": "@wpmedia/global-phrases-block", "version": "5.17.0", "license": "ISC" }, "blocks/header-block": { + "name": "@wpmedia/header-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -335,6 +361,7 @@ } }, "blocks/header-nav-chain-block": { + "name": "@wpmedia/header-nav-chain-block", "version": "5.22.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -347,6 +374,7 @@ } }, "blocks/headline-block": { + "name": "@wpmedia/headline-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -354,10 +382,23 @@ } }, "blocks/htmlbox-block": { + "name": "@wpmedia/htmlbox-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0" }, + "blocks/identity-block": { + "version": "5.20.0", + "license": "CC-BY-NC-ND-4.0", + "dependencies": { + "@arc-fusion/prop-types": "^0.1.5", + "@arc-publishing/sdk-identity": "^1.79.0" + }, + "peerDependencies": { + "@wpmedia/arc-themes-components": "*" + } + }, "blocks/large-manual-promo-block": { + "name": "@wpmedia/large-manual-promo-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -366,6 +407,7 @@ } }, "blocks/large-promo-block": { + "name": "@wpmedia/large-promo-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -374,6 +416,7 @@ } }, "blocks/lead-art-block": { + "name": "@wpmedia/lead-art-block", "version": "5.17.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -381,6 +424,7 @@ } }, "blocks/links-bar-block": { + "name": "@wpmedia/links-bar-block", "version": "5.17.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -389,6 +433,7 @@ } }, "blocks/masthead-block": { + "name": "@wpmedia/masthead-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -396,6 +441,7 @@ } }, "blocks/medium-manual-promo-block": { + "name": "@wpmedia/medium-manual-promo-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -404,6 +450,7 @@ } }, "blocks/medium-promo-block": { + "name": "@wpmedia/medium-promo-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -412,6 +459,7 @@ } }, "blocks/numbered-list-block": { + "name": "@wpmedia/numbered-list-block", "version": "5.17.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -420,6 +468,7 @@ } }, "blocks/overline-block": { + "name": "@wpmedia/overline-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -427,6 +476,7 @@ } }, "blocks/product-assortment-carousel-block": { + "name": "@wpmedia/product-assortment-carousel-block", "version": "0.1.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -435,6 +485,7 @@ } }, "blocks/product-content-block": { + "name": "@wpmedia/product-content-block", "version": "0.1.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -443,6 +494,7 @@ } }, "blocks/product-information-block": { + "name": "@wpmedia/product-information-block", "version": "0.1.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -451,6 +503,7 @@ } }, "blocks/quad-chain-block": { + "name": "@wpmedia/quad-chain-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -459,6 +512,7 @@ } }, "blocks/quilted-image-block": { + "name": "@wpmedia/quilted-image-block", "version": "0.1.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -467,6 +521,7 @@ } }, "blocks/related-content-content-source-block": { + "name": "@wpmedia/related-content-content-source-block", "version": "5.14.1", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -478,6 +533,7 @@ } }, "blocks/results-list-block": { + "name": "@wpmedia/results-list-block", "version": "5.18.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -486,6 +542,7 @@ } }, "blocks/right-rail-advanced-block": { + "name": "@wpmedia/right-rail-advanced-block", "version": "5.17.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -493,6 +550,7 @@ } }, "blocks/right-rail-block": { + "name": "@wpmedia/right-rail-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -500,6 +558,7 @@ } }, "blocks/search-content-source-block": { + "name": "@wpmedia/search-content-source-block", "version": "5.14.1", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -511,6 +570,7 @@ } }, "blocks/search-results-list-block": { + "name": "@wpmedia/search-results-list-block", "version": "5.18.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -519,6 +579,7 @@ } }, "blocks/section-title-block": { + "name": "@wpmedia/section-title-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -527,6 +588,7 @@ } }, "blocks/share-bar-block": { + "name": "@wpmedia/share-bar-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -535,6 +597,7 @@ } }, "blocks/signing-service-content-source-block": { + "name": "@wpmedia/signing-service-content-source-block", "version": "0.1.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -542,6 +605,7 @@ } }, "blocks/simple-list-block": { + "name": "@wpmedia/simple-list-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -550,6 +614,7 @@ } }, "blocks/single-chain-block": { + "name": "@wpmedia/single-chain-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -558,6 +623,7 @@ } }, "blocks/single-column-layout-block": { + "name": "@wpmedia/single-column-layout-block", "version": "0.1.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -566,6 +632,7 @@ } }, "blocks/site-hierarchy-content-block": { + "name": "@wpmedia/site-hierarchy-content-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -573,6 +640,7 @@ } }, "blocks/small-manual-promo-block": { + "name": "@wpmedia/small-manual-promo-block", "version": "5.17.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -580,6 +648,7 @@ } }, "blocks/small-promo-block": { + "name": "@wpmedia/small-promo-block", "version": "5.17.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -588,6 +657,7 @@ } }, "blocks/story-carousel-block": { + "name": "@wpmedia/story-carousel-block", "version": "0.1.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -596,6 +666,7 @@ } }, "blocks/story-feed-author-content-source-block": { + "name": "@wpmedia/story-feed-author-content-source-block", "version": "5.14.1", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -607,6 +678,7 @@ } }, "blocks/story-feed-query-content-source-block": { + "name": "@wpmedia/story-feed-query-content-source-block", "version": "5.14.1", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -618,6 +690,7 @@ } }, "blocks/story-feed-sections-content-source-block": { + "name": "@wpmedia/story-feed-sections-content-source-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -629,6 +702,7 @@ } }, "blocks/story-feed-tag-content-source-block": { + "name": "@wpmedia/story-feed-tag-content-source-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -640,6 +714,7 @@ } }, "blocks/subheadline-block": { + "name": "@wpmedia/subheadline-block", "version": "5.15.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -647,7 +722,42 @@ "@wpmedia/arc-themes-components": "*" } }, + "blocks/subscriptions-block": { + "version": "5.20.0", + "license": "CC-BY-NC-ND-4.0", + "dependencies": { + "@arc-fusion/prop-types": "^0.1.5", + "@arc-publishing/sdk-identity": "^1.55.0", + "@arc-publishing/sdk-sales": "^1.55.0", + "@stripe/react-stripe-js": "^1.6.0", + "@stripe/stripe-js": "^1.22.0", + "is-url": "^1.2.4" + }, + "peerDependencies": { + "@wpmedia/arc-themes-components": "*", + "@wpmedia/identity-block": "^5.20.0" + } + }, + "blocks/subscriptions-block/node_modules/@stripe/react-stripe-js": { + "version": "1.16.5", + "resolved": "https://registry.npmjs.org/@stripe/react-stripe-js/-/react-stripe-js-1.16.5.tgz", + "integrity": "sha512-lVPW3IfwdacyS22pP+nBB6/GNFRRhT/4jfgAK6T2guQmtzPwJV1DogiGGaBNhiKtSY18+yS8KlHSu+PvZNclvQ==", + "dependencies": { + "prop-types": "^15.7.2" + }, + "peerDependencies": { + "@stripe/stripe-js": "^1.44.1", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "blocks/subscriptions-block/node_modules/@stripe/stripe-js": { + "version": "1.54.2", + "resolved": "https://registry.npmjs.org/@stripe/stripe-js/-/stripe-js-1.54.2.tgz", + "integrity": "sha512-R1PwtDvUfs99cAjfuQ/WpwJ3c92+DAMy9xGApjqlWQMj0FKQabUAys2swfTRNzuYAYJh7NqK2dzcYVNkKLEKUg==" + }, "blocks/tag-title-block": { + "name": "@wpmedia/tag-title-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -655,6 +765,7 @@ } }, "blocks/tags-content-source-block": { + "name": "@wpmedia/tags-content-source-block", "version": "5.14.1", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -662,6 +773,7 @@ } }, "blocks/top-table-list-block": { + "name": "@wpmedia/top-table-list-block", "version": "5.19.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -670,6 +782,7 @@ } }, "blocks/triple-chain-block": { + "name": "@wpmedia/triple-chain-block", "version": "5.16.0", "license": "CC-BY-NC-ND-4.0", "peerDependencies": { @@ -678,6 +791,7 @@ } }, "blocks/unpublished-content-source-block": { + "name": "@wpmedia/unpublished-content-source-block", "version": "5.14.1", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -689,6 +803,7 @@ } }, "blocks/video-player-block": { + "name": "@wpmedia/video-player-block", "version": "5.17.0", "license": "CC-BY-NC-ND-4.0", "dependencies": { @@ -868,7 +983,26 @@ "version": "1.79.0", "resolved": "https://registry.npmjs.org/@arc-publishing/sdk-identity/-/sdk-identity-1.79.0.tgz", "integrity": "sha512-eblhb/AMa2uKr3/sWphlonIw5gKrz2KigUYnQDU2riWZn9Z+EECmQsbpbZbkWGDaTXrtkEX3DRqBIPJsPaEsXg==", - "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@arc-publishing/sdk-sales": { + "version": "1.79.0", + "resolved": "https://registry.npmjs.org/@arc-publishing/sdk-sales/-/sdk-sales-1.79.0.tgz", + "integrity": "sha512-xZRBd+uGAhp814NDFHCdddcUsrdMfusn7h6z58l9RcQd60Vrwp9eMByY4q26uCKMXX8fOtPKr3iN2gULYtCc7g==", + "dependencies": { + "@arc-publishing/sdk-identity": "^1.79.0", + "@arc-publishing/sdk-subs-core": "^1.79.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@arc-publishing/sdk-subs-core": { + "version": "1.79.0", + "resolved": "https://registry.npmjs.org/@arc-publishing/sdk-subs-core/-/sdk-subs-core-1.79.0.tgz", + "integrity": "sha512-MwdTIK0lL7OaHawd99Ucp2pWsCHA+OiJ+psR9dge3hZriPank3pVAgqOjjxSwFDl9k1Q9GeBMyZN3zrJAI2yAg==", "engines": { "node": ">=8" } @@ -8746,6 +8880,10 @@ "resolved": "blocks/htmlbox-block", "link": true }, + "node_modules/@wpmedia/identity-block": { + "resolved": "blocks/identity-block", + "link": true + }, "node_modules/@wpmedia/large-manual-promo-block": { "resolved": "blocks/large-manual-promo-block", "link": true @@ -8886,6 +9024,10 @@ "resolved": "blocks/subheadline-block", "link": true }, + "node_modules/@wpmedia/subscriptions-block": { + "resolved": "blocks/subscriptions-block", + "link": true + }, "node_modules/@wpmedia/tag-title-block": { "resolved": "blocks/tag-title-block", "link": true @@ -13278,9 +13420,9 @@ } }, "node_modules/eslint-plugin-jest": { - "version": "27.4.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.4.3.tgz", - "integrity": "sha512-7S6SmmsHsgIm06BAGCAxL+ABd9/IB3MWkz2pudj6Qqor2y1qQpWPfuFU4SG9pWj4xDjF0e+D7Llh5useuSzAZw==", + "version": "27.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.6.0.tgz", + "integrity": "sha512-MTlusnnDMChbElsszJvrwD1dN3x6nZl//s4JD23BxB6MgR66TZlL064su24xEIS3VACfAoHV1vgyMgPw8nkdng==", "dev": true, "dependencies": { "@typescript-eslint/utils": "^5.10.0" @@ -16864,6 +17006,11 @@ "upper-case": "^1.1.0" } }, + "node_modules/is-url": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-url/-/is-url-1.2.4.tgz", + "integrity": "sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==" + }, "node_modules/is-weakmap": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.1.tgz",