node-opcua-address-space 2.186.3 → 2.186.7

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.
@@ -2,7 +2,7 @@
2
2
  * @module node-opcua-address-space
3
3
  */
4
4
 
5
- import chalk from "chalk";
5
+ import chalk, { Chalk } from "chalk";
6
6
  import {
7
7
  type BaseNode,
8
8
  type CloneExtraInfo,
@@ -284,11 +284,11 @@ export class UAObjectImpl<T extends UAObjectEvents & ListenerSignature<T> = UAOb
284
284
  }
285
285
 
286
286
  // A colourless chalk for `inspect(node, { colors: false })`. Not a Proxy over `chalk`
287
- // returning the identity for every property: chalk 4 defines each style (`cyan`, ...)
287
+ // returning the identity for every property: chalk defines each style (`cyan`, ...)
288
288
  // on first use as a non-writable, non-configurable own data property, after which a
289
289
  // Proxy `get` trap returning anything else violates the Proxy invariant and throws a
290
290
  // TypeError. Node's own `warnMaxListenersExceeded` inspects the emitter without
291
291
  // colours, so that TypeError surfaced inside `node.on("event", ...)` when an eleventh
292
292
  // event MonitoredItem was created on the Server object, and killed the server process
293
293
  // (CTT A and C Refresh Err_004).
294
- const plainChalk = new chalk.Instance({ level: 0 });
294
+ const plainChalk = new Chalk({ level: 0 });
@@ -2,7 +2,7 @@
2
2
  * @module node-opcua-address-space
3
3
  */
4
4
  import { types } from "node:util";
5
- import chalk from "chalk";
5
+ import chalk, { Chalk } from "chalk";
6
6
  import type {
7
7
  BindVariableOptions,
8
8
  CloneFilter,
@@ -107,7 +107,7 @@ const doDebug = checkDebugFlag("ua_variable_impl");
107
107
  const errorLog = make_errorLog("ua_variable_impl");
108
108
 
109
109
  // a colourless chalk; see ua_object_impl.ts for why it is not a Proxy over `chalk`
110
- const plainChalk = new chalk.Instance({ level: 0 });
110
+ const plainChalk = new Chalk({ level: 0 });
111
111
 
112
112
  export function adjust_accessLevel(accessLevel: string | number | AccessLevelFlag | null | undefined): AccessLevelFlag {
113
113
  const flag = makeAccessLevelFlag(accessLevel ?? "CurrentRead | CurrentWrite");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "node-opcua-address-space",
3
3
  "type": "module",
4
- "version": "2.186.3",
4
+ "version": "2.186.7",
5
5
  "description": "pure nodejs OPCUA SDK - module address-space",
6
6
  "main": "./dist/api/index.js",
7
7
  "types": "./dist/api/index.d.ts",
@@ -21,50 +21,50 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@types/semver": "7.8.0",
24
- "chalk": "4.1.2",
24
+ "chalk": "6.0.1",
25
25
  "dequeue": "^1.0.5",
26
- "node-opcua-address-space-base": "2.186.3",
27
- "node-opcua-assert": "2.184.0",
28
- "node-opcua-basic-types": "2.186.1",
29
- "node-opcua-binary-stream": "2.186.1",
30
- "node-opcua-client-dynamic-extension-object": "2.186.1",
26
+ "node-opcua-address-space-base": "2.186.7",
27
+ "node-opcua-assert": "2.186.7",
28
+ "node-opcua-basic-types": "2.186.7",
29
+ "node-opcua-binary-stream": "2.186.7",
30
+ "node-opcua-client-dynamic-extension-object": "2.186.7",
31
31
  "node-opcua-constants": "2.185.0",
32
- "node-opcua-crypto": "6.0.0",
33
- "node-opcua-data-access": "2.186.1",
34
- "node-opcua-data-model": "2.186.1",
35
- "node-opcua-data-value": "2.186.1",
36
- "node-opcua-date-time": "2.186.1",
37
- "node-opcua-debug": "2.184.0",
38
- "node-opcua-enum": "2.186.1",
39
- "node-opcua-extension-object": "2.186.1",
40
- "node-opcua-factory": "2.186.1",
41
- "node-opcua-nodeid": "2.186.1",
42
- "node-opcua-nodeset-ua": "2.186.3",
43
- "node-opcua-numeric-range": "2.186.1",
44
- "node-opcua-object-registry": "2.184.0",
45
- "node-opcua-pseudo-session": "2.186.1",
46
- "node-opcua-service-browse": "2.186.1",
47
- "node-opcua-service-call": "2.186.1",
48
- "node-opcua-service-history": "2.186.1",
49
- "node-opcua-service-translate-browse-path": "2.186.1",
50
- "node-opcua-service-write": "2.186.1",
51
- "node-opcua-status-code": "2.186.1",
52
- "node-opcua-types": "2.186.1",
53
- "node-opcua-utils": "2.186.1",
54
- "node-opcua-variant": "2.186.1",
55
- "node-opcua-xml2json": "2.186.1",
32
+ "node-opcua-crypto": "6.1.2",
33
+ "node-opcua-data-access": "2.186.7",
34
+ "node-opcua-data-model": "2.186.7",
35
+ "node-opcua-data-value": "2.186.7",
36
+ "node-opcua-date-time": "2.186.7",
37
+ "node-opcua-debug": "2.186.7",
38
+ "node-opcua-enum": "2.186.7",
39
+ "node-opcua-extension-object": "2.186.7",
40
+ "node-opcua-factory": "2.186.7",
41
+ "node-opcua-nodeid": "2.186.7",
42
+ "node-opcua-nodeset-ua": "2.186.7",
43
+ "node-opcua-numeric-range": "2.186.7",
44
+ "node-opcua-object-registry": "2.186.7",
45
+ "node-opcua-pseudo-session": "2.186.7",
46
+ "node-opcua-service-browse": "2.186.7",
47
+ "node-opcua-service-call": "2.186.7",
48
+ "node-opcua-service-history": "2.186.7",
49
+ "node-opcua-service-translate-browse-path": "2.186.7",
50
+ "node-opcua-service-write": "2.186.7",
51
+ "node-opcua-status-code": "2.186.7",
52
+ "node-opcua-types": "2.186.7",
53
+ "node-opcua-utils": "2.186.7",
54
+ "node-opcua-variant": "2.186.7",
55
+ "node-opcua-xml2json": "2.186.7",
56
56
  "semver": "^7.8.5",
57
57
  "thenify-ex": "4.4.0",
58
58
  "xml-writer": "^1.7.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "humanize": "0.0.9",
62
- "node-opcua-benchmarker": "2.186.1",
63
- "node-opcua-leak-detector": "2.184.1",
62
+ "node-opcua-benchmarker": "2.186.7",
63
+ "node-opcua-leak-detector": "2.186.7",
64
64
  "node-opcua-nodesets": "2.185.0",
65
- "node-opcua-packet-analyzer": "2.186.1",
66
- "node-opcua-schemas": "2.186.1",
67
- "node-opcua-service-filter": "2.186.3",
65
+ "node-opcua-packet-analyzer": "2.186.7",
66
+ "node-opcua-schemas": "2.186.7",
67
+ "node-opcua-service-filter": "2.186.7",
68
68
  "node-opcua-test-fixtures": "2.184.0",
69
69
  "node-opcua-test-helpers": "2.184.0"
70
70
  },
@@ -83,7 +83,7 @@
83
83
  "internet of things"
84
84
  ],
85
85
  "homepage": "http://node-opcua.github.io/",
86
- "gitHead": "eac695d8b3148ea74ad52da8b2ab244372862306",
86
+ "gitHead": "8a4f79f3ff854bf6bed6dce299ad56809093aa5b",
87
87
  "files": [
88
88
  "dist",
89
89
  "distHelpers",