node-opcua-packet-assembler
Advanced tools
Comparing version 2.85.0 to 2.86.0
@@ -18,3 +18,3 @@ /// <reference types="node" /> | ||
} | ||
export declare type ReadChunkFuncType = (data: Buffer) => PacketInfo; | ||
export type ReadChunkFuncType = (data: Buffer) => PacketInfo; | ||
export interface PacketAssemblerOptions { | ||
@@ -21,0 +21,0 @@ readChunkFunc: ReadChunkFuncType; |
@@ -82,6 +82,6 @@ "use strict"; | ||
if (size1 > 0) { | ||
const chunk1 = data.slice(0, size1); | ||
const chunk1 = data.subarray(0, size1); | ||
this.feed(chunk1); | ||
} | ||
const chunk2 = data.slice(size1); | ||
const chunk2 = data.subarray(size1); | ||
if (chunk2.length > 0) { | ||
@@ -88,0 +88,0 @@ this.feed(chunk2); |
{ | ||
"name": "node-opcua-packet-assembler", | ||
"version": "2.85.0", | ||
"version": "2.86.0", | ||
"description": "pure nodejs OPCUA SDK - module -packet-assembler", | ||
@@ -16,3 +16,3 @@ "main": "./dist/index.js", | ||
"node-opcua-assert": "2.77.0", | ||
"node-opcua-debug": "2.85.0" | ||
"node-opcua-debug": "2.86.0" | ||
}, | ||
@@ -36,3 +36,3 @@ "devDependencies": { | ||
"homepage": "http://node-opcua.github.io/", | ||
"gitHead": "68498fcf7b20ea9f7bd66e8529c546221daf5d52" | ||
"gitHead": "36afc46fe2c91aa5664a8c5418f4db5a354670c3" | ||
} |
@@ -133,6 +133,6 @@ import { EventEmitter } from "events"; | ||
if (size1 > 0) { | ||
const chunk1 = data.slice(0, size1); | ||
const chunk1 = data.subarray(0, size1); | ||
this.feed(chunk1); | ||
} | ||
const chunk2 = data.slice(size1); | ||
const chunk2 = data.subarray(size1); | ||
if (chunk2.length > 0) { | ||
@@ -139,0 +139,0 @@ this.feed(chunk2); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19748
+ Addednode-opcua-buffer-utils@2.86.0(transitive)
+ Addednode-opcua-debug@2.86.0(transitive)
- Removednode-opcua-buffer-utils@2.85.0(transitive)
- Removednode-opcua-debug@2.85.0(transitive)
Updatednode-opcua-debug@2.86.0