| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -37,7 +37,8 @@ const { | |||
| 37 | 37 | const { | |
| 38 | 38 | assertCrypto, | |
| 39 | 39 | customInspectSymbol: kInspect, | |
| 40 | - promisify | ||
| 40 | + kEmptyObject, | ||
| 41 | + promisify, | ||
| 41 | 42 | } = require('internal/util'); | |
| 42 | 43 | ||
| 43 | 44 | assertCrypto(); | |
@@ -3332,7 +3333,7 @@ function getPackedSettings(settings) { | |||
| 3332 | 3333 | return binding.packSettings(); | |
| 3333 | 3334 | } | |
| 3334 | 3335 | ||
| 3335 | - function getUnpackedSettings(buf, options = {}) { | ||
| 3336 | + function getUnpackedSettings(buf, options = kEmptyObject) { | ||
| 3336 | 3337 | if (!isArrayBufferView(buf) || buf.length === undefined) { | |
| 3337 | 3338 | throw new ERR_INVALID_ARG_TYPE('buf', | |
| 3338 | 3339 | ['Buffer', 'TypedArray'], buf); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments