diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 8f94f6b248fe82..83e39eed0d2922 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -737,6 +737,14 @@ Type: Runtime internal mechanics of the `REPLServer` itself, and is therefore not necessary in user space. + +### DEP00XX: Top-level `this` bound to `module.exports` + +Type: Documentation-only + +Assigning properties to the top-level `this` as an alternative +to `module.exports` is deprecated. Developers should use `exports` +or `module.exports` instead. [`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size [`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array