diff --git a/package-lock.json b/package-lock.json index 99d9435a1ecc3..80317039b1f09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43034,22 +43034,6 @@ "postcss": "^8.2.15" } }, - "node_modules/postcss-urlrebase": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/postcss-urlrebase/-/postcss-urlrebase-1.3.0.tgz", - "integrity": "sha512-LOFN43n1IewKriXiypMNNinXeptttSyGGRLPbBMdQzuTvvCEo5mz/gG06y/HqrkN7p3ayHQf2R2bTBv639FOaQ==", - "dependencies": { - "postcss-value-parser": "^4.2.0" - }, - "peerDependencies": { - "postcss": "^8.3.0" - } - }, - "node_modules/postcss-urlrebase/node_modules/postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" - }, "node_modules/postcss-value-parser": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", @@ -53422,7 +53406,7 @@ "memize": "^2.1.0", "postcss": "^8.4.21", "postcss-prefixwrap": "^1.41.0", - "postcss-urlrebase": "^1.0.0", + "postcss-urlrebase": "^1.4.0", "react-autosize-textarea": "^7.1.0", "react-easy-crop": "^5.0.6", "remove-accents": "^0.5.0" @@ -53436,6 +53420,24 @@ "react-dom": "^18.0.0" } }, + "packages/block-editor/node_modules/postcss-urlrebase": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/postcss-urlrebase/-/postcss-urlrebase-1.4.0.tgz", + "integrity": "sha512-rRaxMmWvXrn8Rk1PqsxmaJwldRHsr0WbbASKKCZYxXwotHkM/5X/6IrwaEe8pdzpbNGCEY86yhYMN0MhgOkADA==", + "license": "MIT", + "dependencies": { + "postcss-value-parser": "^4.2.0" + }, + "peerDependencies": { + "postcss": "^8.3.0" + } + }, + "packages/block-editor/node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", + "license": "MIT" + }, "packages/block-editor/node_modules/react-easy-crop": { "version": "5.0.6", "resolved": "https://registry.npmjs.org/react-easy-crop/-/react-easy-crop-5.0.6.tgz", @@ -68816,12 +68818,25 @@ "memize": "^2.1.0", "postcss": "^8.4.21", "postcss-prefixwrap": "^1.41.0", - "postcss-urlrebase": "^1.0.0", + "postcss-urlrebase": "^1.4.0", "react-autosize-textarea": "^7.1.0", "react-easy-crop": "^5.0.6", "remove-accents": "^0.5.0" }, "dependencies": { + "postcss-urlrebase": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/postcss-urlrebase/-/postcss-urlrebase-1.4.0.tgz", + "integrity": "sha512-rRaxMmWvXrn8Rk1PqsxmaJwldRHsr0WbbASKKCZYxXwotHkM/5X/6IrwaEe8pdzpbNGCEY86yhYMN0MhgOkADA==", + "requires": { + "postcss-value-parser": "^4.2.0" + } + }, + "postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, "react-easy-crop": { "version": "5.0.6", "resolved": "https://registry.npmjs.org/react-easy-crop/-/react-easy-crop-5.0.6.tgz", @@ -89337,21 +89352,6 @@ "postcss-selector-parser": "^6.0.5" } }, - "postcss-urlrebase": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/postcss-urlrebase/-/postcss-urlrebase-1.3.0.tgz", - "integrity": "sha512-LOFN43n1IewKriXiypMNNinXeptttSyGGRLPbBMdQzuTvvCEo5mz/gG06y/HqrkN7p3ayHQf2R2bTBv639FOaQ==", - "requires": { - "postcss-value-parser": "^4.2.0" - }, - "dependencies": { - "postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" - } - } - }, "postcss-value-parser": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", diff --git a/packages/block-editor/package.json b/packages/block-editor/package.json index 7e16ca0e3f6f0..4ee20e892d4d4 100644 --- a/packages/block-editor/package.json +++ b/packages/block-editor/package.json @@ -74,7 +74,7 @@ "memize": "^2.1.0", "postcss": "^8.4.21", "postcss-prefixwrap": "^1.41.0", - "postcss-urlrebase": "^1.0.0", + "postcss-urlrebase": "^1.4.0", "react-autosize-textarea": "^7.1.0", "react-easy-crop": "^5.0.6", "remove-accents": "^0.5.0" diff --git a/patches/README.md b/patches/README.md index 70b5fce2a37f4..8149c96950057 100644 --- a/patches/README.md +++ b/patches/README.md @@ -29,10 +29,3 @@ No notes. ### `patches/react-native+0.73.3.patch` No notes. - -### `patches/postcss-urlrebase+1.3.0.patch` - -This package uses a `URL` global value but imports the Node.js `URL` type. Remove the -Node.js-specific type import to use the global URL type available in both browsers and Node.js. - -This fixes a type issue where some Gutenberg packages use postcss in the browser. diff --git a/patches/postcss-urlrebase+1.3.0.patch b/patches/postcss-urlrebase+1.3.0.patch deleted file mode 100644 index 3ba02c0e8f218..0000000000000 --- a/patches/postcss-urlrebase+1.3.0.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff --git a/node_modules/postcss-urlrebase/index.d.ts b/node_modules/postcss-urlrebase/index.d.ts -index 88b25d0..441ace4 100644 ---- a/node_modules/postcss-urlrebase/index.d.ts -+++ b/node_modules/postcss-urlrebase/index.d.ts -@@ -1,6 +1,5 @@ - declare module 'rebaseUrl' { - import { PluginCreator } from 'postcss'; -- import { URL } from 'url'; - - interface RebaseUrlOptions { - /**