diff --git a/package-lock.json b/package-lock.json index 49db6d625c4..a76fb7dc240 100644 --- a/package-lock.json +++ b/package-lock.json @@ -111,7 +111,7 @@ "@woocommerce/e2e-utils": "0.2.0", "@woocommerce/eslint-plugin": "2.2.0", "@woocommerce/woocommerce-rest-api": "1.0.1", - "@wordpress/api-fetch": "6.21.0", + "@wordpress/api-fetch": "6.47.0", "@wordpress/babel-preset-default": "7.28.0", "@wordpress/base-styles": "4.35.0", "@wordpress/block-editor": "8.2.0", @@ -13084,20 +13084,6 @@ "dev": true, "optional": true }, - "node_modules/@types/wordpress__editor/node_modules/@wordpress/api-fetch": { - "version": "6.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.41.0.tgz", - "integrity": "sha512-IrwfTrdKFz+fwPbhd5RedaR3aGNVJIshWhKkL2Six8Mcc+h257RFIzESghywyk5YJ8HDIKElTO05Vge+rBPK3Q==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.44.0", - "@wordpress/url": "^3.45.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@types/wordpress__editor/node_modules/@wordpress/autop": { "version": "3.44.0", "resolved": "https://registry.npmjs.org/@wordpress/autop/-/autop-3.44.0.tgz", @@ -14722,20 +14708,6 @@ "@types/react": "^17" } }, - "node_modules/@woocommerce/data/node_modules/@wordpress/api-fetch": { - "version": "6.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.41.0.tgz", - "integrity": "sha512-IrwfTrdKFz+fwPbhd5RedaR3aGNVJIshWhKkL2Six8Mcc+h257RFIzESghywyk5YJ8HDIKElTO05Vge+rBPK3Q==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.44.0", - "@wordpress/url": "^3.45.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@woocommerce/data/node_modules/@wordpress/autop": { "version": "3.44.0", "resolved": "https://registry.npmjs.org/@wordpress/autop/-/autop-3.44.0.tgz", @@ -15833,21 +15805,41 @@ } }, "node_modules/@wordpress/api-fetch": { - "version": "6.21.0", - "license": "GPL-2.0-or-later", + "version": "6.47.0", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.47.0.tgz", + "integrity": "sha512-NA/jWDXoVtJmiVBYhlxts2UrgKJpJM+zTGzLCfRQCZUzpJYm3LonB8x+uCQ78nEyxCY397Esod3jnbquYjOr0Q==", "dependencies": { "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.24.0", - "@wordpress/url": "^3.25.0" + "@wordpress/i18n": "^4.50.0", + "@wordpress/url": "^3.51.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@wordpress/api-fetch/node_modules/@wordpress/i18n": { + "version": "4.50.0", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.50.0.tgz", + "integrity": "sha512-FkA2se6HMQm4eFC+/kTWvWQqs51VxpZuvY2MlWUp/L1r1d/dMBHXu049x86+/+6yk3ZNqiK5h6j6Z76dvPHZ4w==", + "dependencies": { + "@babel/runtime": "^7.16.0", + "@wordpress/hooks": "^3.50.0", + "gettext-parser": "^1.3.1", + "memize": "^2.1.0", + "sprintf-js": "^1.1.1", + "tannin": "^1.2.0" + }, + "bin": { + "pot-to-php": "tools/pot-to-php.js" }, "engines": { "node": ">=12" } }, "node_modules/@wordpress/api-fetch/node_modules/@wordpress/url": { - "version": "3.45.0", - "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.45.0.tgz", - "integrity": "sha512-SYVFNuhotfxpDloGXcut4XvXYHtqhTDJT7UZ/LvXBwVFFxtXyey+Ej8h7FuDqnakbkWauUp0cmD0iDHMhtb9sw==", + "version": "3.51.0", + "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.51.0.tgz", + "integrity": "sha512-OjucjlP1763gfKbe8lv/k3RCisyX8AfNBrhASk7JqxAj6rFhb1ZZO7YmAgB2m+WoGB5v7fkOli0FZyDqISdYyg==", "dependencies": { "@babel/runtime": "^7.16.0", "remove-accents": "^0.5.0" @@ -15856,9 +15848,15 @@ "node": ">=12" } }, + "node_modules/@wordpress/api-fetch/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/api-fetch/node_modules/remove-accents": { "version": "0.5.0", - "license": "MIT" + "resolved": "https://registry.npmjs.org/remove-accents/-/remove-accents-0.5.0.tgz", + "integrity": "sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A==" }, "node_modules/@wordpress/autop": { "version": "3.16.0", @@ -17077,20 +17075,6 @@ "@playwright/test": ">=1" } }, - "node_modules/@wordpress/e2e-test-utils-playwright/node_modules/@wordpress/api-fetch": { - "version": "6.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.41.0.tgz", - "integrity": "sha512-IrwfTrdKFz+fwPbhd5RedaR3aGNVJIshWhKkL2Six8Mcc+h257RFIzESghywyk5YJ8HDIKElTO05Vge+rBPK3Q==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.44.0", - "@wordpress/url": "^3.45.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@wordpress/e2e-test-utils-playwright/node_modules/@wordpress/url": { "version": "3.45.0", "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.45.0.tgz", @@ -17122,20 +17106,6 @@ "dev": true, "license": "MIT" }, - "node_modules/@wordpress/e2e-test-utils/node_modules/@wordpress/api-fetch": { - "version": "6.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.41.0.tgz", - "integrity": "sha512-IrwfTrdKFz+fwPbhd5RedaR3aGNVJIshWhKkL2Six8Mcc+h257RFIzESghywyk5YJ8HDIKElTO05Vge+rBPK3Q==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.44.0", - "@wordpress/url": "^3.45.0" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@wordpress/e2e-test-utils/node_modules/@wordpress/url": { "version": "3.45.0", "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.45.0.tgz", @@ -18980,9 +18950,9 @@ } }, "node_modules/@wordpress/hooks": { - "version": "3.45.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.45.0.tgz", - "integrity": "sha512-cqd5Dv4lp4S5UAip2/bMm2TZiFxs7/sKNq9/73BlKFSmc9hgqgkmcctfER+nVxiYafUNGATyQmDRpJU6R3NaDw==", + "version": "3.50.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.50.0.tgz", + "integrity": "sha512-YIhwT1y0ss7Byfz46NBx08EUmXzWMu+g5DCY7FMuDNhwxSEoZMB8edKMiwNmFk4mFKBCnXM1d5FeONUPIUkJwg==", "dependencies": { "@babel/runtime": "^7.16.0" }, @@ -56615,17 +56585,6 @@ "dev": true, "optional": true }, - "@wordpress/api-fetch": { - "version": "6.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.41.0.tgz", - "integrity": "sha512-IrwfTrdKFz+fwPbhd5RedaR3aGNVJIshWhKkL2Six8Mcc+h257RFIzESghywyk5YJ8HDIKElTO05Vge+rBPK3Q==", - "dev": true, - "requires": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.44.0", - "@wordpress/url": "^3.45.0" - } - }, "@wordpress/autop": { "version": "3.44.0", "resolved": "https://registry.npmjs.org/@wordpress/autop/-/autop-3.44.0.tgz", @@ -57827,17 +57786,6 @@ "@types/react": "^17" } }, - "@wordpress/api-fetch": { - "version": "6.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.41.0.tgz", - "integrity": "sha512-IrwfTrdKFz+fwPbhd5RedaR3aGNVJIshWhKkL2Six8Mcc+h257RFIzESghywyk5YJ8HDIKElTO05Vge+rBPK3Q==", - "dev": true, - "requires": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.44.0", - "@wordpress/url": "^3.45.0" - } - }, "@wordpress/autop": { "version": "3.44.0", "resolved": "https://registry.npmjs.org/@wordpress/autop/-/autop-3.44.0.tgz", @@ -58726,24 +58674,46 @@ } }, "@wordpress/api-fetch": { - "version": "6.21.0", + "version": "6.47.0", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.47.0.tgz", + "integrity": "sha512-NA/jWDXoVtJmiVBYhlxts2UrgKJpJM+zTGzLCfRQCZUzpJYm3LonB8x+uCQ78nEyxCY397Esod3jnbquYjOr0Q==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.24.0", - "@wordpress/url": "^3.25.0" + "@wordpress/i18n": "^4.50.0", + "@wordpress/url": "^3.51.0" }, "dependencies": { + "@wordpress/i18n": { + "version": "4.50.0", + "resolved": "https://registry.npmjs.org/@wordpress/i18n/-/i18n-4.50.0.tgz", + "integrity": "sha512-FkA2se6HMQm4eFC+/kTWvWQqs51VxpZuvY2MlWUp/L1r1d/dMBHXu049x86+/+6yk3ZNqiK5h6j6Z76dvPHZ4w==", + "requires": { + "@babel/runtime": "^7.16.0", + "@wordpress/hooks": "^3.50.0", + "gettext-parser": "^1.3.1", + "memize": "^2.1.0", + "sprintf-js": "^1.1.1", + "tannin": "^1.2.0" + } + }, "@wordpress/url": { - "version": "3.45.0", - "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.45.0.tgz", - "integrity": "sha512-SYVFNuhotfxpDloGXcut4XvXYHtqhTDJT7UZ/LvXBwVFFxtXyey+Ej8h7FuDqnakbkWauUp0cmD0iDHMhtb9sw==", + "version": "3.51.0", + "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.51.0.tgz", + "integrity": "sha512-OjucjlP1763gfKbe8lv/k3RCisyX8AfNBrhASk7JqxAj6rFhb1ZZO7YmAgB2m+WoGB5v7fkOli0FZyDqISdYyg==", "requires": { "@babel/runtime": "^7.16.0", "remove-accents": "^0.5.0" } }, + "memize": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/memize/-/memize-2.1.0.tgz", + "integrity": "sha512-yywVJy8ctVlN5lNPxsep5urnZ6TTclwPEyigM9M3Bi8vseJBOfqNrGWN/r8NzuIt3PovM323W04blJfGQfQSVg==" + }, "remove-accents": { - "version": "0.5.0" + "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==" } } }, @@ -59737,17 +59707,6 @@ "node-fetch": "^2.6.0" }, "dependencies": { - "@wordpress/api-fetch": { - "version": "6.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.41.0.tgz", - "integrity": "sha512-IrwfTrdKFz+fwPbhd5RedaR3aGNVJIshWhKkL2Six8Mcc+h257RFIzESghywyk5YJ8HDIKElTO05Vge+rBPK3Q==", - "dev": true, - "requires": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.44.0", - "@wordpress/url": "^3.45.0" - } - }, "@wordpress/url": { "version": "3.45.0", "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.45.0.tgz", @@ -59789,17 +59748,6 @@ "mime": "^3.0.0" }, "dependencies": { - "@wordpress/api-fetch": { - "version": "6.41.0", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-6.41.0.tgz", - "integrity": "sha512-IrwfTrdKFz+fwPbhd5RedaR3aGNVJIshWhKkL2Six8Mcc+h257RFIzESghywyk5YJ8HDIKElTO05Vge+rBPK3Q==", - "dev": true, - "requires": { - "@babel/runtime": "^7.16.0", - "@wordpress/i18n": "^4.44.0", - "@wordpress/url": "^3.45.0" - } - }, "@wordpress/url": { "version": "3.45.0", "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.45.0.tgz", @@ -61045,9 +60993,9 @@ } }, "@wordpress/hooks": { - "version": "3.45.0", - "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.45.0.tgz", - "integrity": "sha512-cqd5Dv4lp4S5UAip2/bMm2TZiFxs7/sKNq9/73BlKFSmc9hgqgkmcctfER+nVxiYafUNGATyQmDRpJU6R3NaDw==", + "version": "3.50.0", + "resolved": "https://registry.npmjs.org/@wordpress/hooks/-/hooks-3.50.0.tgz", + "integrity": "sha512-YIhwT1y0ss7Byfz46NBx08EUmXzWMu+g5DCY7FMuDNhwxSEoZMB8edKMiwNmFk4mFKBCnXM1d5FeONUPIUkJwg==", "requires": { "@babel/runtime": "^7.16.0" } diff --git a/package.json b/package.json index f699dc33584..0f3662f331c 100644 --- a/package.json +++ b/package.json @@ -166,7 +166,7 @@ "@woocommerce/e2e-utils": "0.2.0", "@woocommerce/eslint-plugin": "2.2.0", "@woocommerce/woocommerce-rest-api": "1.0.1", - "@wordpress/api-fetch": "6.21.0", + "@wordpress/api-fetch": "6.47.0", "@wordpress/babel-preset-default": "7.28.0", "@wordpress/base-styles": "4.35.0", "@wordpress/block-editor": "8.2.0",