Newly released Node.js v24 is based on v8 13.6 which introduces new warnings during native module compilation.
nan.h(1173,27): warning C4996: 'v8::String::WriteUtf8': Use WriteUtf8V2 instead
nan.h(2423,18): warning C4996: 'node::Encode': was declared deprecated
The exact line numbers are conditional and there is more code that uses deprecated methods.
Although it does not affect my native node modules there is also a reported error for some modules when compiling against Node.js v24 #996 as well as this potential issue #995
It appears that Node.js team is now pushing to update v8 engine regularly as there is already a PR to bump it to 13.7 in main. The warnings may soon become errors with the release of Node.js v25.
Newly released Node.js v24 is based on v8 13.6 which introduces new warnings during native module compilation.
The exact line numbers are conditional and there is more code that uses deprecated methods.
Although it does not affect my native node modules there is also a reported error for some modules when compiling against Node.js v24 #996 as well as this potential issue #995
It appears that Node.js team is now pushing to update v8 engine regularly as there is already a PR to bump it to 13.7 in main. The warnings may soon become errors with the release of Node.js v25.