iot-device-simulator
iot-device-simulator copied to clipboard
Replace deprecated 'uuid/v4' requires
The uuid package has dropped support for deep requires in v8. As a result, building the project or executing run-unit-tests.sh on a fresh clone fails with import errors. This PR updates the depreciated const uuidV4 = require('uuid/v4') statements with the recommended const { v4: uuidV4 } = require('uuid') form.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
lgtm