iot-device-simulator icon indicating copy to clipboard operation
iot-device-simulator copied to clipboard

Replace deprecated 'uuid/v4' requires

Open peterhinson opened this issue 3 years ago • 1 comments

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.

peterhinson avatar Jul 24 '20 01:07 peterhinson

lgtm

f00f avatar May 03 '21 14:05 f00f