When I deploy functions to Cloud Functions I get this warning:
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @manifoldco/[email protected]: This package has changed to openapi-typescript
I have installed the latest version with npm install uuid
and I still get the messages. When I looked deep in to node_modules
folder, I saw that there are many uuid
folders inside and their version is different. For example:
../functions/node_modules/firebase-tools/node_modules/istanbul-lib-processinfo/node_modules/uuid/package.json
is 3.4.0
../functions/node_modules/firebase-tools/node_modules/@types/uuid/package.json
is 8.3.1
../ReactFirebase/functions/node_modules/firebase-tools/node_modules/uuid/package.json
is 8.3.2
../functions/node_modules/firebase-tools/node_modules/request/node_modules/uuid/package.json
is 3.4.0
Apparentaly the older version is used here. How can I update them all to the same version?
Note: I have deleted the whole project and re-configured firebase from beginning and it is still the same.