node-opcua-buffer-utils 2.125.0 → 2.128.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.
package/dist/buffer_utils.d.ts
CHANGED
package/dist/buffer_utils.js
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
* @module node-opcua-buffer-utils
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.createFastUninitializedBuffer = void 0;
|
|
7
|
+
exports.makeBuffer = makeBuffer;
|
|
8
|
+
exports.clone_buffer = clone_buffer;
|
|
7
9
|
//
|
|
8
10
|
// note: new Buffer(size)# is deprecated since: v6.0. and is replaced with Buffer.allocUnsafe
|
|
9
11
|
// to ensure backward compatibility we have to replace
|
|
@@ -34,11 +36,9 @@ function makeBuffer(listOfBytes) {
|
|
|
34
36
|
});
|
|
35
37
|
return b;
|
|
36
38
|
}
|
|
37
|
-
exports.makeBuffer = makeBuffer;
|
|
38
39
|
function clone_buffer(buffer) {
|
|
39
40
|
const clone = exports.createFastUninitializedBuffer(buffer.length);
|
|
40
41
|
buffer.copy(clone, 0, 0);
|
|
41
42
|
return clone;
|
|
42
43
|
}
|
|
43
|
-
exports.clone_buffer = clone_buffer;
|
|
44
44
|
//# sourceMappingURL=buffer_utils.js.map
|
package/dist/buffer_utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buffer_utils.js","sourceRoot":"","sources":["../source/buffer_utils.ts"],"names":[],"mappings":";AAAA;;GAEG;;;
|
|
1
|
+
{"version":3,"file":"buffer_utils.js","sourceRoot":"","sources":["../source/buffer_utils.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAuBH,gCASC;AAED,oCAIC;AApCD,EAAE;AACF,8FAA8F;AAC9F,4DAA4D;AAC5D,kEAAkE;AAClE,EAAE;AACF,iFAAiF;AACjF,2BAA2B;AAC3B,EAAE;AACF,qCAAqC;AACxB,QAAA,6BAA6B,GAAG,MAAM,CAAC,WAAW,CAAC;AAEhE;;;;;;;;;GASG;AACH,SAAgB,UAAU,CAAC,WAAmB;IAC1C,MAAM,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACjC,MAAM,CAAC,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;IAC1D,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;AAED,SAAgB,YAAY,CAAC,MAAc;IACvC,MAAM,KAAK,GAAG,OAAO,CAAC,6BAA6B,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACnE,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACzB,OAAO,KAAK,CAAC;AACjB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-buffer-utils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.128.0",
|
|
4
4
|
"description": "pure nodejs OPCUA SDK - module buffer-utils",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"author": "Etienne Rossignon",
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"node-opcua-benchmarker": "2.
|
|
16
|
+
"node-opcua-benchmarker": "2.128.0"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"internet of things"
|
|
29
29
|
],
|
|
30
30
|
"homepage": "http://node-opcua.github.io/",
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "67a73af6b831d8651a0e66ceb295f159cab4386b",
|
|
32
32
|
"files": [
|
|
33
33
|
"dist",
|
|
34
34
|
"source"
|