@nordicsemiconductor/firmware-ci-runner-azure 3.1.1 → 3.1.2-remove-uuid.1

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.
Files changed (2) hide show
  1. package/dist/run.js +2 -2
  2. package/package.json +2 -4
package/dist/run.js CHANGED
@@ -6,10 +6,10 @@ const storage_blob_1 = require("@azure/storage-blob");
6
6
  const firmware_ci_device_helpers_1 = require("@nordicsemiconductor/firmware-ci-device-helpers");
7
7
  const azure_iothub_1 = require("azure-iothub");
8
8
  const fs_1 = require("fs");
9
+ const node_crypto_1 = require("node:crypto");
9
10
  const path = require("path");
10
11
  const semver = require("semver");
11
12
  const url_1 = require("url");
12
- const uuid_1 = require("uuid");
13
13
  const exec_1 = require("./exec");
14
14
  const run = ({ port, target, }) => {
15
15
  const { debug, progress, warn, error, success } = (0, firmware_ci_device_helpers_1.log)();
@@ -202,7 +202,7 @@ const run = ({ port, target, }) => {
202
202
  path: url.pathname.slice(1),
203
203
  },
204
204
  fwFragmentSize: 1800,
205
- jobId: (0, uuid_1.v4)(),
205
+ jobId: (0, node_crypto_1.randomUUID)(),
206
206
  },
207
207
  },
208
208
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nordicsemiconductor/firmware-ci-runner-azure",
3
- "version": "3.1.1",
3
+ "version": "3.1.2-remove-uuid.1",
4
4
  "description": "Runs firmware on a real device connected to Azure IoT hub.",
5
5
  "main": "./dist/export.js",
6
6
  "bin": "./cli/index.js",
@@ -34,8 +34,7 @@
34
34
  "@serialport/parser-readline": "10.5.0",
35
35
  "azure-iothub": "1.16.1",
36
36
  "semver": "7.3.8",
37
- "serialport": "10.5.0",
38
- "uuid": "9.0.0"
37
+ "serialport": "10.5.0"
39
38
  },
40
39
  "devDependencies": {
41
40
  "@nordicsemiconductor/asset-tracker-cloud-code-style": "11.0.160",
@@ -44,7 +43,6 @@
44
43
  "@types/node": "18.11.17",
45
44
  "@types/semver": "7.3.13",
46
45
  "@types/serialport": "8.0.2",
47
- "@types/uuid": "9.0.0",
48
46
  "chalk": "5.2.0",
49
47
  "jest": "29.3.1"
50
48
  },