The underlying cause was the dependency on isArrayBufferView in the util/types module of Node.js. To resolve this issue and avoid future conflicts with direct imports of Node.js modules, we decided to declare isArrayBufferView as a native function, thus eliminating the need to import it directly from util/types.
This change implements isArrayBufferView as an auxiliary function in the code, ensuring that the previous functionality remains intact while resolving the module import error.
Description
This pull request addresses a module import error encountered when installing the library in a project. The error manifested as follows:
The underlying cause was the dependency on isArrayBufferView in the util/types module of Node.js. To resolve this issue and avoid future conflicts with direct imports of Node.js modules, we decided to declare isArrayBufferView as a native function, thus eliminating the need to import it directly from util/types.
This change implements isArrayBufferView as an auxiliary function in the code, ensuring that the previous functionality remains intact while resolving the module import error.
Requirements Checklist