node-opcua-basic-types 2.97.0 → 2.98.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.
package/dist/utils.js CHANGED
@@ -1,20 +1,20 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getRandomInt = void 0;
4
- /***
5
- * @module node-opcua-basic-types
6
- */
7
- /**
8
- * return a random integer value in the range of min inclusive and max exclusive
9
- * @method getRandomInt
10
- * @param min
11
- * @param max
12
- * @return {*}
13
- * @private
14
- */
15
- function getRandomInt(min, max) {
16
- // note : Math.random() returns a random number between 0 (inclusive) and 1 (exclusive):
17
- return Math.floor(Math.random() * (max - min)) + min;
18
- }
19
- exports.getRandomInt = getRandomInt;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRandomInt = void 0;
4
+ /***
5
+ * @module node-opcua-basic-types
6
+ */
7
+ /**
8
+ * return a random integer value in the range of min inclusive and max exclusive
9
+ * @method getRandomInt
10
+ * @param min
11
+ * @param max
12
+ * @return {*}
13
+ * @private
14
+ */
15
+ function getRandomInt(min, max) {
16
+ // note : Math.random() returns a random number between 0 (inclusive) and 1 (exclusive):
17
+ return Math.floor(Math.random() * (max - min)) + min;
18
+ }
19
+ exports.getRandomInt = getRandomInt;
20
20
  //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "node-opcua-basic-types",
3
- "version": "2.97.0",
4
- "description": "pure nodejs OPCUA SDK - module -basic-types",
3
+ "version": "2.98.1",
4
+ "description": "pure nodejs OPCUA SDK - module basic-types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "scripts": {
@@ -11,18 +11,18 @@
11
11
  "lint": "eslint source/*.ts"
12
12
  },
13
13
  "dependencies": {
14
- "node-opcua-assert": "2.88.0",
15
- "node-opcua-binary-stream": "2.90.1",
16
- "node-opcua-buffer-utils": "2.90.1",
17
- "node-opcua-date-time": "2.90.1",
18
- "node-opcua-guid": "2.88.0",
19
- "node-opcua-nodeid": "2.97.0",
20
- "node-opcua-status-code": "2.90.1"
14
+ "node-opcua-assert": "2.98.1",
15
+ "node-opcua-binary-stream": "2.98.1",
16
+ "node-opcua-buffer-utils": "2.98.1",
17
+ "node-opcua-date-time": "2.98.1",
18
+ "node-opcua-guid": "2.98.1",
19
+ "node-opcua-nodeid": "2.98.1",
20
+ "node-opcua-status-code": "2.98.1"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/node": "18.15.0",
24
- "node-opcua-benchmarker": "2.90.1",
25
- "node-opcua-debug": "2.90.1",
23
+ "@types/node": "18.15.11",
24
+ "node-opcua-benchmarker": "2.98.1",
25
+ "node-opcua-debug": "2.98.1",
26
26
  "should": "^13.2.3"
27
27
  },
28
28
  "author": "Etienne Rossignon",
@@ -40,5 +40,9 @@
40
40
  "internet of things"
41
41
  ],
42
42
  "homepage": "http://node-opcua.github.io/",
43
- "gitHead": "19c96bda0810d2dec73dd1c2427546be40908646"
43
+ "gitHead": "e4d73afdfcccb3491423149d9b9785888f4ebb3c",
44
+ "files": [
45
+ "dist",
46
+ "source"
47
+ ]
44
48
  }
package/nyc.config.js DELETED
@@ -1,16 +0,0 @@
1
- module.exports = {
2
- "extension": [
3
- ".ts",
4
- ".tsx"
5
- ],
6
- "all": true,
7
- "include": [
8
- "dist/**/*.js",
9
- "source/**/*.ts",
10
-
11
- ],
12
- "exclude": [
13
- "**/*.spec.js"
14
- ],
15
- "check-coverage": true
16
- };