@nordicsemiconductor/firmware-ci-runner-aws 7.0.508 → 7.0.509

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ exports.schedulaFOTA = void 0;
4
4
  const client_iot_1 = require("@aws-sdk/client-iot");
5
5
  const firmware_ci_device_helpers_1 = require("@nordicsemiconductor/firmware-ci-device-helpers");
6
6
  const fs_1 = require("fs");
7
- const uuid_1 = require("uuid");
7
+ const node_crypto_1 = require("node:crypto");
8
8
  const schedulaFOTA = async ({ deviceId, iot, fotaFile, fotaFileName, region, bucketName, appVersion, }) => {
9
9
  const { progress } = (0, firmware_ci_device_helpers_1.log)({ prefixes: ['FOTA', deviceId] });
10
10
  const { thingArn } = await iot.send(new client_iot_1.DescribeThingCommand({
@@ -25,7 +25,7 @@ const schedulaFOTA = async ({ deviceId, iot, fotaFile, fotaFileName, region, buc
25
25
  fwversion: `${appVersion}-upgraded`,
26
26
  targetBoard: '9160DK',
27
27
  };
28
- const jobId = (0, uuid_1.v4)();
28
+ const jobId = (0, node_crypto_1.randomUUID)();
29
29
  await iot.send(new client_iot_1.CreateJobCommand({
30
30
  jobId,
31
31
  targets: [thingArn],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordicsemiconductor/firmware-ci-runner-aws",
3
- "version": "7.0.508",
3
+ "version": "7.0.509",
4
4
  "description": "Exposes real nRF9160 hardware to be used for end-to-end tests. Runs on AWS.",
5
5
  "bin": "./cli/index.js",
6
6
  "scripts": {
@@ -41,8 +41,7 @@
41
41
  "node-fetch": "3.3.0",
42
42
  "semver": "7.3.8",
43
43
  "serialport": "10.5.0",
44
- "shell-quote": "1.7.4",
45
- "uuid": "9.0.0"
44
+ "shell-quote": "1.7.4"
46
45
  },
47
46
  "devDependencies": {
48
47
  "@nordicsemiconductor/asset-tracker-cloud-code-style": "11.0.160",
@@ -52,7 +51,6 @@
52
51
  "@types/semver": "7.3.13",
53
52
  "@types/serialport": "8.0.2",
54
53
  "@types/shell-quote": "1.7.1",
55
- "@types/uuid": "9.0.0",
56
54
  "chalk": "5.2.0"
57
55
  },
58
56
  "lint-staged": {