node-opcua-buffer-utils 2.183.0 → 2.184.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/buffer_utils.d.ts +1 -0
- package/dist/buffer_utils.d.ts.map +1 -0
- package/dist/buffer_utils.js +1 -4
- package/dist/buffer_utils.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1 -17
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/dist/buffer_utils.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buffer_utils.d.ts","sourceRoot":"","sources":["../source/buffer_utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAStD"}
|
package/dist/buffer_utils.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/***
|
|
3
2
|
* @module node-opcua-buffer-utils
|
|
4
3
|
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.makeBuffer = makeBuffer;
|
|
7
4
|
/**
|
|
8
5
|
|
|
9
6
|
* turn a string make of hexadecimal bytes into a buffer
|
|
@@ -14,7 +11,7 @@ exports.makeBuffer = makeBuffer;
|
|
|
14
11
|
* @param listOfBytes
|
|
15
12
|
* @return {Buffer}
|
|
16
13
|
*/
|
|
17
|
-
function makeBuffer(listOfBytes) {
|
|
14
|
+
export function makeBuffer(listOfBytes) {
|
|
18
15
|
const l = listOfBytes.split(" ");
|
|
19
16
|
const b = Buffer.allocUnsafe(l.length);
|
|
20
17
|
let i = 0;
|
package/dist/buffer_utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buffer_utils.js","sourceRoot":"","sources":["../source/buffer_utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"buffer_utils.js","sourceRoot":"","sources":["../source/buffer_utils.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;GASG;AACH,MAAM,UAAU,UAAU,CAAC,WAAmB;IAC1C,MAAM,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACjC,MAAM,CAAC,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IACvC,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;QAChB,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,KAAK,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;QACrC,CAAC,IAAI,CAAC,CAAC;IACX,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,CAAC;AACb,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,mBAAmB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
1
|
/***
|
|
18
2
|
* @module node-opcua-buffer-utils
|
|
19
3
|
*/
|
|
20
|
-
|
|
4
|
+
export * from "./buffer_utils.js";
|
|
21
5
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,mBAAmB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-buffer-utils",
|
|
3
|
-
"
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "2.184.1",
|
|
4
5
|
"description": "pure nodejs OPCUA SDK - module buffer-utils",
|
|
5
6
|
"main": "./dist/index.js",
|
|
6
7
|
"types": "./dist/index.d.ts",
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
"node": ">=22.13.0"
|
|
17
18
|
},
|
|
18
19
|
"devDependencies": {
|
|
19
|
-
"node-opcua-benchmarker": "2.
|
|
20
|
+
"node-opcua-benchmarker": "2.184.1"
|
|
20
21
|
},
|
|
21
22
|
"repository": {
|
|
22
23
|
"type": "git",
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
"internet of things"
|
|
32
33
|
],
|
|
33
34
|
"homepage": "http://node-opcua.github.io/",
|
|
34
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "29af4e8ac45f585e7b0d8cff9c799b4f0f2f0985",
|
|
35
36
|
"files": [
|
|
36
37
|
"dist",
|
|
37
38
|
"source"
|