diff options
author | Beni von Cheni <benjaminlchen@gmail.com> | 2018-12-11 02:05:18 -0500 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-03-07 00:21:08 +0100 |
commit | 53d4e04be59bdc34ea0d8db994e7607b8af7d790 (patch) | |
tree | fd431913ab8b5ae973f0b14e1a78d798d09a8ca7 /test/async-hooks/test-zlib.zlib-binding.deflate.js | |
parent | 80209cc4c991d4392f776a887c06f84c1319923b (diff) | |
download | android-node-v8-53d4e04be59bdc34ea0d8db994e7607b8af7d790.tar.gz android-node-v8-53d4e04be59bdc34ea0d8db994e7607b8af7d790.tar.bz2 android-node-v8-53d4e04be59bdc34ea0d8db994e7607b8af7d790.zip |
lib: migrate process.binding to internalBinding
Migrate various modules from using process.binding to internalBinding.
PR-URL: https://github.com/nodejs/node/pull/24952
Refs: https://github.com/nodejs/node/issues/22160
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'test/async-hooks/test-zlib.zlib-binding.deflate.js')
-rw-r--r-- | test/async-hooks/test-zlib.zlib-binding.deflate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/async-hooks/test-zlib.zlib-binding.deflate.js b/test/async-hooks/test-zlib.zlib-binding.deflate.js index 972052b2d5..21fd0af7da 100644 --- a/test/async-hooks/test-zlib.zlib-binding.deflate.js +++ b/test/async-hooks/test-zlib.zlib-binding.deflate.js @@ -11,7 +11,7 @@ const hooks = initHooks(); hooks.enable(); const { internalBinding } = require('internal/test/binding'); const { Zlib } = internalBinding('zlib'); -const constants = process.binding('constants').zlib; +const constants = internalBinding('constants').zlib; const handle = new Zlib(constants.DEFLATE); |