@mcma/core 0.15.0 → 0.16.0

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.
@@ -3,9 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConfigVariables = void 0;
4
4
  const mcma_exception_1 = require("./mcma-exception");
5
5
  class ConfigVariables {
6
+ static instance;
7
+ static getInstance() {
8
+ if (!this.instance) {
9
+ this.instance = new ConfigVariables();
10
+ }
11
+ return this.instance;
12
+ }
13
+ _keys;
14
+ _vars;
6
15
  constructor(variables) {
7
16
  if (!variables) {
8
- variables = process === null || process === void 0 ? void 0 : process.env;
17
+ variables = process?.env;
9
18
  }
10
19
  this._keys = variables ? Object.keys(variables) : [];
11
20
  this._vars = {};
@@ -13,12 +22,6 @@ class ConfigVariables {
13
22
  this._vars[key.toUpperCase()] = variables[key];
14
23
  }
15
24
  }
16
- static getInstance() {
17
- if (!this.instance) {
18
- this.instance = new ConfigVariables();
19
- }
20
- return this.instance;
21
- }
22
25
  keys() {
23
26
  return this._keys;
24
27
  }
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConsoleLoggerProvider = void 0;
4
4
  const console_logger_1 = require("./console-logger");
5
5
  class ConsoleLoggerProvider {
6
+ source;
6
7
  constructor(source) {
7
8
  this.source = source;
8
9
  }
@@ -3,6 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LogEvent = void 0;
4
4
  const util = require("util");
5
5
  class LogEvent {
6
+ type;
7
+ level;
8
+ source;
9
+ requestId;
10
+ timestamp;
11
+ message;
12
+ tracker;
6
13
  constructor(type, level, source, requestId, timestamp, message, tracker) {
7
14
  this.type = type;
8
15
  this.level = level;
@@ -13,7 +20,6 @@ class LogEvent {
13
20
  this.tracker = tracker;
14
21
  }
15
22
  flatten() {
16
- var _a, _b, _c, _d, _e;
17
23
  let message = this.message;
18
24
  if (message instanceof Error) {
19
25
  if (this.message.stack) {
@@ -30,13 +36,13 @@ class LogEvent {
30
36
  requestId: this.requestId,
31
37
  timestamp: this.timestamp,
32
38
  message,
33
- trackerId: (_a = this.tracker) === null || _a === void 0 ? void 0 : _a.id,
34
- trackerLabel: (_b = this.tracker) === null || _b === void 0 ? void 0 : _b.label,
39
+ trackerId: this.tracker?.id,
40
+ trackerLabel: this.tracker?.label,
35
41
  };
36
- if ((_c = this.tracker) === null || _c === void 0 ? void 0 : _c.custom) {
37
- for (const key of Object.keys((_d = this.tracker) === null || _d === void 0 ? void 0 : _d.custom)) {
42
+ if (this.tracker?.custom) {
43
+ for (const key of Object.keys(this.tracker?.custom)) {
38
44
  const trackerCustomKey = key.substring(0, 1).toUpperCase() + key.substring(1);
39
- const trackerCustomValue = (_e = this.tracker) === null || _e === void 0 ? void 0 : _e.custom[key];
45
+ const trackerCustomValue = this.tracker?.custom[key];
40
46
  switch (trackerCustomKey) {
41
47
  case "Id":
42
48
  case "Label":
@@ -21,9 +21,12 @@ var LogType;
21
21
  LogType["Debug"] = "DEBUG";
22
22
  })(LogType = exports.LogType || (exports.LogType = {}));
23
23
  class Logger {
24
+ _source;
25
+ _requestId;
26
+ _tracker;
24
27
  constructor(source, requestId, tracker) {
25
28
  this._source = source;
26
- this._requestId = requestId !== null && requestId !== void 0 ? requestId : (0, uuid_1.v4)();
29
+ this._requestId = requestId ?? (0, uuid_1.v4)();
27
30
  this._tracker = tracker;
28
31
  }
29
32
  get source() {
@@ -35,6 +38,7 @@ class Logger {
35
38
  get tracker() {
36
39
  return this._tracker;
37
40
  }
41
+ static System;
38
42
  buildLogEvent(level, type, message, ...optionalParams) {
39
43
  if (optionalParams.length) {
40
44
  if (typeof message === "string") {
@@ -2,6 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.McmaException = void 0;
4
4
  class McmaException extends Error {
5
+ message;
6
+ cause;
7
+ context;
8
+ originalStack;
5
9
  constructor(message, cause, context) {
6
10
  super(message);
7
11
  this.message = message;
@@ -13,7 +17,6 @@ class McmaException extends Error {
13
17
  this.stack = this.toString(true);
14
18
  }
15
19
  toString(includeDetails = false) {
16
- var _a;
17
20
  let ret = "";
18
21
  let c = this;
19
22
  while (c) {
@@ -24,7 +27,7 @@ class McmaException extends Error {
24
27
  ret += c.stack;
25
28
  }
26
29
  else {
27
- ret += "Error: " + ((_a = c.message) !== null && _a !== void 0 ? _a : c);
30
+ ret += "Error: " + (c.message ?? c);
28
31
  }
29
32
  if (includeDetails && c.context) {
30
33
  ret += "\nContext:\n" + JSON.stringify(c.context, null, 2);
@@ -6,17 +6,21 @@ const mcma_tracker_1 = require("./mcma-tracker");
6
6
  const notification_endpoint_1 = require("./notification-endpoint");
7
7
  const utils_1 = require("../utils");
8
8
  class JobAssignment extends job_base_1.JobBase {
9
+ jobId;
10
+ tracker;
11
+ notificationEndpoint;
9
12
  constructor(properties) {
10
13
  super("JobAssignment", properties);
14
+ this.jobId = properties.jobId;
15
+ if (typeof properties.tracker === "object") {
16
+ this.tracker = new mcma_tracker_1.McmaTracker(properties.tracker);
17
+ }
18
+ if (typeof properties.notificationEndpoint === "object") {
19
+ this.notificationEndpoint = new notification_endpoint_1.NotificationEndpoint(properties.notificationEndpoint);
20
+ }
11
21
  utils_1.Utils.checkProperty(this, "jobId", "url");
12
22
  utils_1.Utils.checkProperty(this, "tracker", "object", false);
13
23
  utils_1.Utils.checkProperty(this, "notificationEndpoint", "object", false);
14
- if (typeof this.notificationEndpoint === "object") {
15
- this.notificationEndpoint = new notification_endpoint_1.NotificationEndpoint(this.notificationEndpoint);
16
- }
17
- if (typeof this.tracker === "object") {
18
- this.tracker = new mcma_tracker_1.McmaTracker(this.tracker);
19
- }
20
24
  }
21
25
  }
22
26
  exports.JobAssignment = JobAssignment;
@@ -6,16 +6,22 @@ const mcma_resource_1 = require("./mcma-resource");
6
6
  const problem_detail_1 = require("./problem-detail");
7
7
  const utils_1 = require("../utils");
8
8
  class JobBase extends mcma_resource_1.McmaResource {
9
+ status;
10
+ error;
11
+ jobOutput;
12
+ progress;
9
13
  constructor(type, properties) {
10
14
  super(type, properties);
15
+ this.status = properties.status;
16
+ if (typeof properties.error === "object") {
17
+ this.error = new problem_detail_1.ProblemDetail(properties.error);
18
+ }
19
+ this.jobOutput = new job_parameter_bag_1.JobParameterBag(properties.jobOutput);
20
+ this.progress = properties.progress;
11
21
  utils_1.Utils.checkProperty(this, "status", "string", false);
12
22
  utils_1.Utils.checkProperty(this, "error", "object", false);
13
23
  utils_1.Utils.checkProperty(this, "jobOutput", "object", false);
14
24
  utils_1.Utils.checkProperty(this, "progress", "number", false);
15
- if (typeof this.error === "object") {
16
- this.error = new problem_detail_1.ProblemDetail(this.error);
17
- }
18
- this.jobOutput = new job_parameter_bag_1.JobParameterBag(properties.jobOutput);
19
25
  }
20
26
  }
21
27
  exports.JobBase = JobBase;
@@ -4,12 +4,18 @@ exports.JobExecution = void 0;
4
4
  const job_base_1 = require("./job-base");
5
5
  const utils_1 = require("../utils");
6
6
  class JobExecution extends job_base_1.JobBase {
7
+ jobAssignmentId;
8
+ actualStartDate;
9
+ actualEndDate;
10
+ actualDuration;
7
11
  constructor(properties) {
8
12
  super("JobExecution", properties);
13
+ this.jobAssignmentId = properties.jobAssignmentId;
14
+ this.actualStartDate = utils_1.Utils.ensureValidDateOrUndefined(properties.actualStartDate);
15
+ this.actualEndDate = utils_1.Utils.ensureValidDateOrUndefined(properties.actualEndDate);
16
+ this.actualDuration = properties.actualDuration;
9
17
  utils_1.Utils.checkProperty(this, "jobAssignmentId", "url", false);
10
18
  utils_1.Utils.checkProperty(this, "actualDuration", "number", false);
11
- this.actualStartDate = utils_1.Utils.ensureValidDateOrUndefined(this.actualStartDate);
12
- this.actualEndDate = utils_1.Utils.ensureValidDateOrUndefined(this.actualEndDate);
13
19
  }
14
20
  }
15
21
  exports.JobExecution = JobExecution;
@@ -4,7 +4,9 @@ exports.JobParameterBag = void 0;
4
4
  const mcma_object_1 = require("./mcma-object");
5
5
  class JobParameterBag extends mcma_object_1.McmaObject {
6
6
  constructor(properties) {
7
- super("JobParameterBag", properties);
7
+ super("JobParameterBag");
8
+ Object.assign(this, properties);
9
+ this["@type"] = "JobParameterBag";
8
10
  }
9
11
  }
10
12
  exports.JobParameterBag = JobParameterBag;
@@ -4,8 +4,12 @@ exports.JobParameter = void 0;
4
4
  const mcma_object_1 = require("./mcma-object");
5
5
  const utils_1 = require("../utils");
6
6
  class JobParameter extends mcma_object_1.McmaObject {
7
+ parameterName;
8
+ parameterType;
7
9
  constructor(properties) {
8
- super("JobParameter", properties);
10
+ super("JobParameter");
11
+ this.parameterName = properties.parameterName;
12
+ this.parameterType = properties.parameterType;
9
13
  utils_1.Utils.checkProperty(this, "parameterName", "string");
10
14
  utils_1.Utils.checkProperty(this, "parameterType", "string");
11
15
  }
@@ -5,21 +5,20 @@ const mcma_resource_1 = require("./mcma-resource");
5
5
  const job_parameter_1 = require("./job-parameter");
6
6
  const utils_1 = require("../utils");
7
7
  class JobProfile extends mcma_resource_1.McmaResource {
8
+ name;
9
+ inputParameters;
10
+ outputParameters;
11
+ optionalInputParameters;
8
12
  constructor(properties) {
9
13
  super("JobProfile", properties);
14
+ this.name = properties.name;
15
+ this.inputParameters = properties.inputParameters?.map(p => new job_parameter_1.JobParameter(p));
16
+ this.optionalInputParameters = properties.optionalInputParameters?.map(p => new job_parameter_1.JobParameter(p));
17
+ this.outputParameters = properties.outputParameters?.map(p => new job_parameter_1.JobParameter(p));
10
18
  utils_1.Utils.checkProperty(this, "name", "string", true);
11
19
  utils_1.Utils.checkProperty(this, "inputParameters", "Array", false);
12
20
  utils_1.Utils.checkProperty(this, "outputParameters", "Array", false);
13
21
  utils_1.Utils.checkProperty(this, "optionalInputParameters", "Array", false);
14
- if (Array.isArray(this.inputParameters)) {
15
- this.inputParameters = this.inputParameters.map(ip => new job_parameter_1.JobParameter(ip));
16
- }
17
- if (Array.isArray(this.optionalInputParameters)) {
18
- this.optionalInputParameters = this.optionalInputParameters.map(ip => new job_parameter_1.JobParameter(ip));
19
- }
20
- if (Array.isArray(this.outputParameters)) {
21
- this.outputParameters = this.outputParameters.map(ip => new job_parameter_1.JobParameter(ip));
22
- }
23
22
  }
24
23
  }
25
24
  exports.JobProfile = JobProfile;
@@ -7,22 +7,32 @@ const mcma_tracker_1 = require("../mcma-tracker");
7
7
  const notification_endpoint_1 = require("../notification-endpoint");
8
8
  const utils_1 = require("../../utils");
9
9
  class Job extends job_base_1.JobBase {
10
+ parentId;
11
+ jobProfileId;
12
+ jobInput;
13
+ timeout;
14
+ deadline;
15
+ tracker;
16
+ notificationEndpoint;
10
17
  constructor(type, properties) {
11
18
  super(type, properties);
19
+ this.parentId = properties.parentId;
20
+ this.jobProfileId = properties.jobProfileId;
21
+ this.jobInput = new job_parameter_bag_1.JobParameterBag(properties.jobInput);
22
+ this.timeout = properties.timeout;
23
+ this.deadline = utils_1.Utils.ensureValidDateOrUndefined(properties.deadline);
24
+ if (typeof properties.tracker === "object") {
25
+ this.tracker = new mcma_tracker_1.McmaTracker(properties.tracker);
26
+ }
27
+ if (typeof properties.notificationEndpoint === "object") {
28
+ this.notificationEndpoint = new notification_endpoint_1.NotificationEndpoint(properties.notificationEndpoint);
29
+ }
12
30
  utils_1.Utils.checkProperty(this, "parentId", "string", false);
13
31
  utils_1.Utils.checkProperty(this, "jobProfileId", "url", true);
14
32
  utils_1.Utils.checkProperty(this, "jobInput", "object", false);
15
33
  utils_1.Utils.checkProperty(this, "timeout", "number", false);
16
34
  utils_1.Utils.checkProperty(this, "tracker", "object", false);
17
35
  utils_1.Utils.checkProperty(this, "notificationEndpoint", "object", false);
18
- this.jobInput = new job_parameter_bag_1.JobParameterBag(properties.jobInput);
19
- this.deadline = utils_1.Utils.ensureValidDateOrUndefined(this.deadline);
20
- if (typeof this.notificationEndpoint === "object") {
21
- this.notificationEndpoint = new notification_endpoint_1.NotificationEndpoint(this.notificationEndpoint);
22
- }
23
- if (typeof this.tracker === "object") {
24
- this.tracker = new mcma_tracker_1.McmaTracker(this.tracker);
25
- }
26
36
  }
27
37
  }
28
38
  exports.Job = Job;
@@ -2,7 +2,8 @@ import { McmaObject, McmaObjectProperties } from "./mcma-object";
2
2
  export interface LocatorProperties extends McmaObjectProperties {
3
3
  url: string;
4
4
  }
5
- export declare abstract class Locator extends McmaObject implements LocatorProperties {
5
+ export declare class Locator extends McmaObject implements LocatorProperties {
6
6
  url: string;
7
- protected constructor(type: string, properties?: LocatorProperties);
7
+ constructor(properties: LocatorProperties);
8
+ constructor(type: string, properties: LocatorProperties);
8
9
  }
@@ -4,8 +4,14 @@ exports.Locator = void 0;
4
4
  const mcma_object_1 = require("./mcma-object");
5
5
  const utils_1 = require("../utils");
6
6
  class Locator extends mcma_object_1.McmaObject {
7
- constructor(type, properties) {
8
- super(type, properties);
7
+ url;
8
+ constructor(typeOrProperties, properties) {
9
+ if (!properties && typeof typeOrProperties !== "string") {
10
+ properties = typeOrProperties;
11
+ typeOrProperties = "Locator";
12
+ }
13
+ super(typeOrProperties);
14
+ this.url = properties.url;
9
15
  utils_1.Utils.checkProperty(this, "url", "string", true);
10
16
  }
11
17
  }
@@ -3,5 +3,5 @@ export interface McmaObjectProperties {
3
3
  }
4
4
  export declare class McmaObject implements McmaObjectProperties {
5
5
  ["@type"]: string;
6
- constructor(type: string, properties?: McmaObjectProperties);
6
+ constructor(type: string);
7
7
  }
@@ -2,10 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.McmaObject = void 0;
4
4
  class McmaObject {
5
- constructor(type, properties) {
6
- if (properties) {
7
- Object.assign(this, properties);
8
- }
5
+ ["@type"];
6
+ constructor(type) {
9
7
  this["@type"] = type;
10
8
  }
11
9
  }
@@ -3,4 +3,4 @@ export interface McmaResourceConstructor<T extends McmaResource> {
3
3
  new (...args: any[]): T;
4
4
  name: string;
5
5
  }
6
- export declare type McmaResourceType<T extends McmaResource> = string | McmaResourceConstructor<T>;
6
+ export type McmaResourceType<T extends McmaResource> = string | McmaResourceConstructor<T>;
@@ -17,10 +17,18 @@ function onResourceUpsert(resource, id) {
17
17
  }
18
18
  exports.onResourceUpsert = onResourceUpsert;
19
19
  class McmaResource extends mcma_object_1.McmaObject {
20
+ id;
21
+ dateCreated;
22
+ dateModified;
23
+ custom;
20
24
  constructor(type, properties) {
21
- super(type, properties);
22
- this.dateCreated = utils_1.Utils.ensureValidDateOrUndefined(this.dateCreated);
23
- this.dateModified = utils_1.Utils.ensureValidDateOrUndefined(this.dateModified);
25
+ super(type);
26
+ this.id = properties.id;
27
+ this.dateCreated = utils_1.Utils.ensureValidDateOrUndefined(properties.dateCreated);
28
+ this.dateModified = utils_1.Utils.ensureValidDateOrUndefined(properties.dateModified);
29
+ if (typeof properties.custom === "object" && Object.keys(properties.custom).length > 0) {
30
+ this.custom = Object.assign({}, properties.custom);
31
+ }
24
32
  }
25
33
  }
26
34
  exports.McmaResource = McmaResource;
@@ -4,8 +4,16 @@ exports.McmaTracker = void 0;
4
4
  const mcma_object_1 = require("./mcma-object");
5
5
  const utils_1 = require("../utils");
6
6
  class McmaTracker extends mcma_object_1.McmaObject {
7
+ id;
8
+ label;
9
+ custom;
7
10
  constructor(properties) {
8
- super("McmaTracker", properties);
11
+ super("McmaTracker");
12
+ this.id = properties.id;
13
+ this.label = properties.label;
14
+ if (typeof properties.custom === "object" && Object.keys(properties.custom).length > 0) {
15
+ this.custom = Object.assign({}, properties.custom);
16
+ }
9
17
  utils_1.Utils.checkProperty(this, "id", "string", true);
10
18
  utils_1.Utils.checkProperty(this, "label", "string", true);
11
19
  utils_1.Utils.checkProperty(this, "custom", "object", false);
@@ -4,8 +4,10 @@ exports.NotificationEndpoint = void 0;
4
4
  const mcma_object_1 = require("./mcma-object");
5
5
  const utils_1 = require("../utils");
6
6
  class NotificationEndpoint extends mcma_object_1.McmaObject {
7
+ httpEndpoint;
7
8
  constructor(properties) {
8
- super("NotificationEndpoint", properties);
9
+ super("NotificationEndpoint");
10
+ this.httpEndpoint = properties.httpEndpoint;
9
11
  utils_1.Utils.checkProperty(this, "httpEndpoint", "url", true);
10
12
  }
11
13
  }
@@ -4,8 +4,12 @@ exports.Notification = void 0;
4
4
  const mcma_object_1 = require("./mcma-object");
5
5
  const utils_1 = require("../utils");
6
6
  class Notification extends mcma_object_1.McmaObject {
7
+ source;
8
+ content;
7
9
  constructor(properties) {
8
- super("Notification", properties);
10
+ super("Notification");
11
+ this.source = properties.source;
12
+ this.content = properties.content;
9
13
  utils_1.Utils.checkProperty(this, "source", "string", false);
10
14
  utils_1.Utils.checkProperty(this, "content", "object", true);
11
15
  }
@@ -12,5 +12,5 @@ export declare class ProblemDetail extends McmaObject implements ProblemDetailPr
12
12
  detail?: string;
13
13
  instance?: string;
14
14
  [key: string]: any;
15
- constructor(properties?: ProblemDetailProperties);
15
+ constructor(properties: ProblemDetailProperties);
16
16
  }
@@ -4,8 +4,17 @@ exports.ProblemDetail = void 0;
4
4
  const mcma_object_1 = require("./mcma-object");
5
5
  const utils_1 = require("../utils");
6
6
  class ProblemDetail extends mcma_object_1.McmaObject {
7
+ type;
8
+ title;
9
+ detail;
10
+ instance;
7
11
  constructor(properties) {
8
- super("ProblemDetail", properties);
12
+ super("ProblemDetail");
13
+ this.type = properties.type;
14
+ this.title = properties.title;
15
+ this.detail = properties.detail;
16
+ this.instance = properties.instance;
17
+ Object.assign(this, properties);
9
18
  utils_1.Utils.checkProperty(this, "type", "string", true);
10
19
  utils_1.Utils.checkProperty(this, "title", "string", true);
11
20
  utils_1.Utils.checkProperty(this, "detail", "string", false);
@@ -4,8 +4,14 @@ exports.ResourceEndpoint = void 0;
4
4
  const mcma_object_1 = require("./mcma-object");
5
5
  const utils_1 = require("../utils");
6
6
  class ResourceEndpoint extends mcma_object_1.McmaObject {
7
+ resourceType;
8
+ httpEndpoint;
9
+ authType;
7
10
  constructor(properties) {
8
- super("ResourceEndpoint", properties);
11
+ super("ResourceEndpoint");
12
+ this.resourceType = properties.resourceType;
13
+ this.httpEndpoint = properties.httpEndpoint;
14
+ this.authType = properties.authType;
9
15
  utils_1.Utils.checkProperty(this, "resourceType", "string", true);
10
16
  utils_1.Utils.checkProperty(this, "httpEndpoint", "url", true);
11
17
  utils_1.Utils.checkProperty(this, "authType", "string", false);
@@ -5,16 +5,25 @@ const mcma_resource_1 = require("./mcma-resource");
5
5
  const resource_endpoint_1 = require("./resource-endpoint");
6
6
  const utils_1 = require("../utils");
7
7
  class Service extends mcma_resource_1.McmaResource {
8
+ name;
9
+ resources;
10
+ authType;
11
+ jobType;
12
+ jobProfileIds;
8
13
  constructor(properties) {
9
14
  super("Service", properties);
15
+ this.name = properties.name;
16
+ this.resources = properties.resources?.map(re => new resource_endpoint_1.ResourceEndpoint(re));
17
+ this.authType = properties.authType;
18
+ this.jobType = properties.jobType;
19
+ if (Array.isArray(properties.jobProfileIds)) {
20
+ this.jobProfileIds = [...properties.jobProfileIds];
21
+ }
10
22
  utils_1.Utils.checkProperty(this, "name", "string", true);
11
23
  utils_1.Utils.checkProperty(this, "resources", "Array", true);
12
24
  utils_1.Utils.checkProperty(this, "authType", "string", false);
13
25
  utils_1.Utils.checkProperty(this, "jobType", "string", false);
14
26
  utils_1.Utils.checkProperty(this, "jobProfileIds", "Array", false);
15
- for (let i = 0; i < this.resources.length; i++) {
16
- this.resources[i] = new resource_endpoint_1.ResourceEndpoint(this.resources[i]);
17
- }
18
27
  }
19
28
  }
20
29
  exports.Service = Service;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@mcma/core",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Node module with type definitions and helper utils for the EBU MCMA framework",
5
5
  "engines": {
6
- "node": "^16.0.0"
6
+ "node": "^18.0.0"
7
7
  },
8
8
  "type": "commonjs",
9
9
  "main": "dist/index.js",
@@ -29,11 +29,11 @@
29
29
  },
30
30
  "homepage": "https://github.com/ebu/mcma-libraries/mcma-core-nodejs#readme",
31
31
  "dependencies": {
32
- "uuid": "^7.0.3"
32
+ "uuid": "^9.0.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@types/node": "^16.11.60",
36
- "@types/uuid": "^7.0.4",
35
+ "@types/node": "^18.15.10",
36
+ "@types/uuid": "^9.0.1",
37
37
  "jasmine": "^3.4.0"
38
38
  }
39
39
  }