Open stein2nd opened 5 months ago
I left a comment about the upgrade of the css-loader package in #62496 but I feel that it should also be mentioned here as this issue is about upgrading packages:
The css-loader package upgrade is especially important as it would bring in the new getJson function which would allow a plugin's webpack to be configured so that in the case of using SCSS modules it could export a JSON file containing the mapping of the original css class names with the hashed names.
From the Javascript side it's not a problem as we can import the module and use the classes, but this is required for dynamic blocks as there is no other way from PHP to know and use css classes when they are hashed.
Reference to the getJson function: https://webpack.js.org/loaders/css-loader/#getjson
Description
For verification, I temporarily modernised package.json by running 'ncu' and 'ncu -u' under the ‘@wordpress/scripts’ installation folder.
When ’npm install' was executed, a deprecated warning for an internal module was displayed.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
System:
Binaries:
npmPackages:
Please confirm that you have searched existing issues in the repo.
No
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No