You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
npm warn deprecated [email protected]:
Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]:
This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]:
Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]:
Use your platform's native atob() and btoa() methods instead
npm warn deprecated [email protected]:
Use your platform's native DOMException instead
npm warn deprecated [email protected]:
core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
Step-by-step reproduction instructions
Go to the ‘@wordpress/scripts’ installation folder.
temporarily modernised package.json by running 'ncu' and 'ncu -u'.
run 'npm install'.
Screenshots, screen recording, code snippet
No response
Environment info
System:
OS: macOS 14.5
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
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.
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
The text was updated successfully, but these errors were encountered: