diff --git a/package-lock.json b/package-lock.json index 693368bee8..fe7d26cda0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2356,11 +2356,11 @@ } }, "node_modules/@babel/runtime": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.9.tgz", - "integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.7.tgz", + "integrity": "sha512-FjoyLe754PMiYsFaN5C94ttGiOmBNYTf6pLr4xXHAT5uctHb092PBszndLDR5XA/jghQvn4n7JMHl7dmTgbm9w==", "dependencies": { - "regenerator-runtime": "^0.13.4" + "regenerator-runtime": "^0.14.0" }, "engines": { "node": ">=6.9.0" @@ -2379,6 +2379,11 @@ "node": ">=6.9.0" } }, + "node_modules/@babel/runtime/node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + }, "node_modules/@babel/template": { "version": "7.16.7", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", @@ -15253,16 +15258,17 @@ } }, "node_modules/@wordpress/api-fetch": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.4.0.tgz", - "integrity": "sha512-JdxMcVNDZjxcfWzzdMIaEIOezaMYgaG7hhJIdX7+VHKTwHRhLuo6CLMfJL/viVWpVt6xohpPEkfQzKiWgMn/4g==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-7.14.0.tgz", + "integrity": "sha512-BrQbF/CVF+un1KToBXr9UpebPS9gvW6vqVV7dc1Atsh3uiLeesU0GOwJ0Z+ZzAr8vNQx8pjFRWZGp7xdO+hygA==", "dependencies": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.7.0", - "@wordpress/url": "^3.8.0" + "@babel/runtime": "7.25.7", + "@wordpress/i18n": "*", + "@wordpress/url": "*" }, "engines": { - "node": ">=12" + "node": ">=18.12.0", + "npm": ">=8.19.2" } }, "node_modules/@wordpress/autop": { @@ -15374,6 +15380,19 @@ "react-dom": "^17.0.0" } }, + "node_modules/@wordpress/block-editor/node_modules/@wordpress/api-fetch": { + "version": "6.55.0", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.55.0.tgz", + "integrity": "sha512-1HrCUsJdeRY5Y0IjplotINwqMRO81e7O7VhBScuKk7iOuDm/E1ioKv2uLGnPNWziYu+Zf025byxOqVzXDyM2gw==", + "dependencies": { + "@babel/runtime": "^7.16.0", + "@wordpress/i18n": "^4.58.0", + "@wordpress/url": "^3.59.0" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@wordpress/block-editor/node_modules/@wordpress/icons": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-8.3.0.tgz", @@ -15735,6 +15754,19 @@ "puppeteer-core": ">=11" } }, + "node_modules/@wordpress/e2e-test-utils/node_modules/@wordpress/api-fetch": { + "version": "6.55.0", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.55.0.tgz", + "integrity": "sha512-1HrCUsJdeRY5Y0IjplotINwqMRO81e7O7VhBScuKk7iOuDm/E1ioKv2uLGnPNWziYu+Zf025byxOqVzXDyM2gw==", + "dependencies": { + "@babel/runtime": "^7.16.0", + "@wordpress/i18n": "^4.58.0", + "@wordpress/url": "^3.59.0" + }, + "engines": { + "node": ">=12" + } + }, "node_modules/@wordpress/e2e-test-utils/node_modules/form-data": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", @@ -15973,9 +16005,9 @@ } }, "node_modules/@wordpress/hooks": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.7.0.tgz", - "integrity": "sha512-lBTfLEmQVdnuDJZqaHqjU2pEfy2IyBIVlJsvBuvUFVbDIW+tqP2Hbs/3nHWNNNo9A3RFhAG3cW/eNH0alBSAvQ==", + "version": "3.58.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.58.0.tgz", + "integrity": "sha512-9LB0ZHnZRQlORttux9t/xbAskF+dk2ujqzPGsVzc92mSKpQP3K2a5Wy74fUnInguB1vLUNHT6nrNdkVom5qX1Q==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -15995,15 +16027,14 @@ } }, "node_modules/@wordpress/i18n": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.7.0.tgz", - "integrity": "sha512-+v/Xf+zhftUrmX+vaIpQTP5LY8GFKPY5hkmhPGEuFfIjytY7LfT6xNU7LCaoBj+m94RNoPlK/PTtCHYDAQhqzg==", + "version": "4.58.0", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.58.0.tgz", + "integrity": "sha512-VfvS3BWv/RDjRKD6PscIcvYfWKnGJcI/DEqyDgUMhxCM6NRwoL478CsUKTiGJIymeyRodNRfprdcF086DpGKYw==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/hooks": "^3.7.0", + "@wordpress/hooks": "^3.58.0", "gettext-parser": "^1.3.1", - "lodash": "^4.17.21", - "memize": "^1.1.0", + "memize": "^2.1.0", "sprintf-js": "^1.1.1", "tannin": "^1.2.0" }, @@ -16014,6 +16045,11 @@ "node": ">=12" } }, + "node_modules/@wordpress/i18n/node_modules/memize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/memize/-/memize-2.1.0.tgz", + "integrity": "sha512-yywVJy8ctVlN5lNPxsep5urnZ6TTclwPEyigM9M3Bi8vseJBOfqNrGWN/r8NzuIt3PovM323W04blJfGQfQSVg==" + }, "node_modules/@wordpress/i18n/node_modules/sprintf-js": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", @@ -16244,12 +16280,12 @@ } }, "node_modules/@wordpress/url": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.8.0.tgz", - "integrity": "sha512-gmmij9MEIzpCg88fLG6tGY0pI9vg6uImQIgZTNArkYeYMEGXXYbRxOAHM8fQ8usPrTFjlgxl+OaZcKcsx0/MSw==", + "version": "3.59.0", + "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.59.0.tgz", + "integrity": "sha512-GxvoMjYCav0w4CiX0i0h3qflrE/9rhLIZg5aPCQjbrBdwTxYR3Exfw0IJYcmVaTKXQOUU8fOxlDxULsbLmKe9w==", "dependencies": { "@babel/runtime": "^7.16.0", - "lodash": "^4.17.21" + "remove-accents": "^0.5.0" }, "engines": { "node": ">=12" @@ -38670,6 +38706,11 @@ "resolved": "https://registry.npmjs.org/rememo/-/rememo-3.0.0.tgz", "integrity": "sha512-eWtut/7pqMRnSccbexb647iPjN7ir6Tmf4RG92ZVlykFEkHqGYy9tWnpHH3I+FS+WQ6lQ1i1iDgarYzGKgTcRQ==" }, + "node_modules/remove-accents": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.5.0.tgz", + "integrity": "sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==" + }, "node_modules/remove-trailing-separator": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", @@ -46173,7 +46214,7 @@ "dependencies": { "@googleforcreators/tracking": "*", "@web-stories-wp/glider": "*", - "@wordpress/api-fetch": "^6.0.1", + "@wordpress/api-fetch": "^7.14.0", "@wordpress/block-editor": "^8.1.0", "@wordpress/blocks": "^11.0.0", "@wordpress/components": "^19.4.0", @@ -46477,7 +46518,7 @@ "@googleforcreators/tracking": "*", "@googleforcreators/url": "*", "@web-stories-wp/wp-utils": "*", - "@wordpress/api-fetch": "^6.0.1", + "@wordpress/api-fetch": "^7.14.0", "@wordpress/dom-ready": "^3.3.1", "flagged": "^2.0.3", "opentype.js": "^1.3.4", @@ -46513,7 +46554,7 @@ "@googleforcreators/tracking": "*", "@googleforcreators/url": "*", "@web-stories-wp/wp-utils": "*", - "@wordpress/api-fetch": "^6.0.1", + "@wordpress/api-fetch": "^7.14.0", "@wordpress/dom-ready": "^3.3.1", "flagged": "^2.0.3", "polished": "^4.2.2", @@ -48047,11 +48088,18 @@ } }, "@babel/runtime": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.9.tgz", - "integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==", + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.7.tgz", + "integrity": "sha512-FjoyLe754PMiYsFaN5C94ttGiOmBNYTf6pLr4xXHAT5uctHb092PBszndLDR5XA/jghQvn4n7JMHl7dmTgbm9w==", "requires": { - "regenerator-runtime": "^0.13.4" + "regenerator-runtime": "^0.14.0" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==" + } } }, "@babel/runtime-corejs3": { @@ -58227,7 +58275,7 @@ "@googleforcreators/tracking": "*", "@testing-library/react": "^12.1.5", "@web-stories-wp/glider": "*", - "@wordpress/api-fetch": "^6.0.1", + "@wordpress/api-fetch": "^7.14.0", "@wordpress/block-editor": "^8.1.0", "@wordpress/blocks": "^11.0.0", "@wordpress/components": "^19.4.0", @@ -58296,7 +58344,7 @@ "@testing-library/react-hooks": "^8.0.0", "@testing-library/user-event": "^14.1.0", "@web-stories-wp/wp-utils": "*", - "@wordpress/api-fetch": "^6.0.1", + "@wordpress/api-fetch": "^7.14.0", "@wordpress/dom-ready": "^3.3.1", "flagged": "^2.0.3", "opentype.js": "^1.3.4", @@ -58324,7 +58372,7 @@ "@testing-library/react": "^12.1.5", "@testing-library/react-hooks": "^8.0.0", "@web-stories-wp/wp-utils": "*", - "@wordpress/api-fetch": "^6.0.1", + "@wordpress/api-fetch": "^7.14.0", "@wordpress/dom-ready": "^3.3.1", "flagged": "^2.0.3", "mockdate": "^3.0.5", @@ -58646,13 +58694,13 @@ } }, "@wordpress/api-fetch": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.4.0.tgz", - "integrity": "sha512-JdxMcVNDZjxcfWzzdMIaEIOezaMYgaG7hhJIdX7+VHKTwHRhLuo6CLMfJL/viVWpVt6xohpPEkfQzKiWgMn/4g==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-7.14.0.tgz", + "integrity": "sha512-BrQbF/CVF+un1KToBXr9UpebPS9gvW6vqVV7dc1Atsh3uiLeesU0GOwJ0Z+ZzAr8vNQx8pjFRWZGp7xdO+hygA==", "requires": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.7.0", - "@wordpress/url": "^3.8.0" + "@babel/runtime": "7.25.7", + "@wordpress/i18n": "*", + "@wordpress/url": "*" } }, "@wordpress/autop": { @@ -58743,6 +58791,16 @@ "traverse": "^0.6.6" }, "dependencies": { + "@wordpress/api-fetch": { + "version": "6.55.0", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.55.0.tgz", + "integrity": "sha512-1HrCUsJdeRY5Y0IjplotINwqMRO81e7O7VhBScuKk7iOuDm/E1ioKv2uLGnPNWziYu+Zf025byxOqVzXDyM2gw==", + "requires": { + "@babel/runtime": "^7.16.0", + "@wordpress/i18n": "^4.58.0", + "@wordpress/url": "^3.59.0" + } + }, "@wordpress/icons": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/@wordpress/icons/-/icons-8.3.0.tgz", @@ -59027,6 +59085,16 @@ "node-fetch": "^2.6.0" }, "dependencies": { + "@wordpress/api-fetch": { + "version": "6.55.0", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.55.0.tgz", + "integrity": "sha512-1HrCUsJdeRY5Y0IjplotINwqMRO81e7O7VhBScuKk7iOuDm/E1ioKv2uLGnPNWziYu+Zf025byxOqVzXDyM2gw==", + "requires": { + "@babel/runtime": "^7.16.0", + "@wordpress/i18n": "^4.58.0", + "@wordpress/url": "^3.59.0" + } + }, "form-data": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", @@ -59176,9 +59244,9 @@ } }, "@wordpress/hooks": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.7.0.tgz", - "integrity": "sha512-lBTfLEmQVdnuDJZqaHqjU2pEfy2IyBIVlJsvBuvUFVbDIW+tqP2Hbs/3nHWNNNo9A3RFhAG3cW/eNH0alBSAvQ==", + "version": "3.58.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.58.0.tgz", + "integrity": "sha512-9LB0ZHnZRQlORttux9t/xbAskF+dk2ujqzPGsVzc92mSKpQP3K2a5Wy74fUnInguB1vLUNHT6nrNdkVom5qX1Q==", "requires": { "@babel/runtime": "^7.16.0" } @@ -59192,19 +59260,23 @@ } }, "@wordpress/i18n": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.7.0.tgz", - "integrity": "sha512-+v/Xf+zhftUrmX+vaIpQTP5LY8GFKPY5hkmhPGEuFfIjytY7LfT6xNU7LCaoBj+m94RNoPlK/PTtCHYDAQhqzg==", + "version": "4.58.0", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.58.0.tgz", + "integrity": "sha512-VfvS3BWv/RDjRKD6PscIcvYfWKnGJcI/DEqyDgUMhxCM6NRwoL478CsUKTiGJIymeyRodNRfprdcF086DpGKYw==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/hooks": "^3.7.0", + "@wordpress/hooks": "^3.58.0", "gettext-parser": "^1.3.1", - "lodash": "^4.17.21", - "memize": "^1.1.0", + "memize": "^2.1.0", "sprintf-js": "^1.1.1", "tannin": "^1.2.0" }, "dependencies": { + "memize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/memize/-/memize-2.1.0.tgz", + "integrity": "sha512-yywVJy8ctVlN5lNPxsep5urnZ6TTclwPEyigM9M3Bi8vseJBOfqNrGWN/r8NzuIt3PovM323W04blJfGQfQSVg==" + }, "sprintf-js": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", @@ -59366,12 +59438,12 @@ } }, "@wordpress/url": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.8.0.tgz", - "integrity": "sha512-gmmij9MEIzpCg88fLG6tGY0pI9vg6uImQIgZTNArkYeYMEGXXYbRxOAHM8fQ8usPrTFjlgxl+OaZcKcsx0/MSw==", + "version": "3.59.0", + "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.59.0.tgz", + "integrity": "sha512-GxvoMjYCav0w4CiX0i0h3qflrE/9rhLIZg5aPCQjbrBdwTxYR3Exfw0IJYcmVaTKXQOUU8fOxlDxULsbLmKe9w==", "requires": { "@babel/runtime": "^7.16.0", - "lodash": "^4.17.21" + "remove-accents": "^0.5.0" } }, "@wordpress/viewport": { @@ -76695,6 +76767,11 @@ "resolved": "https://registry.npmjs.org/rememo/-/rememo-3.0.0.tgz", "integrity": "sha512-eWtut/7pqMRnSccbexb647iPjN7ir6Tmf4RG92ZVlykFEkHqGYy9tWnpHH3I+FS+WQ6lQ1i1iDgarYzGKgTcRQ==" }, + "remove-accents": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.5.0.tgz", + "integrity": "sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==" + }, "remove-trailing-separator": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", diff --git a/packages/stories-block/package.json b/packages/stories-block/package.json index 2b9e75ebf6..e3f9509e90 100644 --- a/packages/stories-block/package.json +++ b/packages/stories-block/package.json @@ -32,7 +32,7 @@ "dependencies": { "@googleforcreators/tracking": "*", "@web-stories-wp/glider": "*", - "@wordpress/api-fetch": "^6.0.1", + "@wordpress/api-fetch": "^7.14.0", "@wordpress/block-editor": "^8.1.0", "@wordpress/blocks": "^11.0.0", "@wordpress/components": "^19.4.0", diff --git a/packages/wp-dashboard/package.json b/packages/wp-dashboard/package.json index 1884cda046..4acd3878f6 100644 --- a/packages/wp-dashboard/package.json +++ b/packages/wp-dashboard/package.json @@ -41,7 +41,7 @@ "@googleforcreators/tracking": "*", "@googleforcreators/url": "*", "@web-stories-wp/wp-utils": "*", - "@wordpress/api-fetch": "^6.0.1", + "@wordpress/api-fetch": "^7.14.0", "@wordpress/dom-ready": "^3.3.1", "flagged": "^2.0.3", "opentype.js": "^1.3.4", diff --git a/packages/wp-story-editor/package.json b/packages/wp-story-editor/package.json index b19a3d8a3c..830ca8afed 100644 --- a/packages/wp-story-editor/package.json +++ b/packages/wp-story-editor/package.json @@ -40,7 +40,7 @@ "@googleforcreators/tracking": "*", "@googleforcreators/url": "*", "@web-stories-wp/wp-utils": "*", - "@wordpress/api-fetch": "^6.0.1", + "@wordpress/api-fetch": "^7.14.0", "@wordpress/dom-ready": "^3.3.1", "flagged": "^2.0.3", "polished": "^4.2.2",