From af1ba11e4670006b964d78fcdfe33844e22eab63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20Bj=C3=B6rklund?= <9413089+JimmyBjorklund@users.noreply.github.com> Date: Mon, 5 Feb 2024 10:40:48 +0100 Subject: [PATCH 1/3] Fixed build issuee can only be default-imported using the 'esModuleInterop' flag --- lib/outgoing_message.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/outgoing_message.ts b/lib/outgoing_message.ts index b8926ae6..5c3054fa 100644 --- a/lib/outgoing_message.ts +++ b/lib/outgoing_message.ts @@ -6,7 +6,7 @@ * See the included LICENSE file for more details. */ -import BufferListStream from 'bl' +import { BufferListStream } from 'bl' import { CoapPacket, CoapRequestParams, OptionValue } from '../models/models' import { genAck, toCode, setOption } from './helpers' import RetrySend from './retry_send' diff --git a/package.json b/package.json index 79987d08..ee6e4566 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "coap-packet": "^1.1.1", "debug": "^4.3.4", "fastseries": "^2.0.0", - "lru-cache": "^10.0.3", + "lru-cache": "^10.2.0", "readable-stream": "^4.2.0" }, "engines": { From 7323526727aaf71cd54503dc694ce2819edc3336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20Bj=C3=B6rklund?= <9413089+JimmyBjorklund@users.noreply.github.com> Date: Wed, 7 Feb 2024 08:54:21 +0100 Subject: [PATCH 2/3] Accroding to https://github.com/isaacs types is not to be used any more --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index ee6e4566..64f50529 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,6 @@ "typescript": "^5.2.2" }, "dependencies": { - "@types/lru-cache": "^7.10.10", "bl": "^6.0.0", "@types/readable-stream": "^2.3.15", "capitalize": "^2.0.4", From 23895168526f29b858a5c67771fa0ac493cc4b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20Bj=C3=B6rklund?= <9413089+JimmyBjorklund@users.noreply.github.com> Date: Tue, 26 Mar 2024 09:38:51 +0100 Subject: [PATCH 3/3] Try to force rebuild of merger --- lib/outgoing_message.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/outgoing_message.ts b/lib/outgoing_message.ts index 5c3054fa..469ac30e 100644 --- a/lib/outgoing_message.ts +++ b/lib/outgoing_message.ts @@ -14,6 +14,7 @@ import { SegmentedTransmission } from './segmentation' import IncomingMessage from './incoming_message' import { OptionName, Packet } from 'coap-packet' + export default class OutgoingMessage extends BufferListStream { _packet: Packet _ackTimer: NodeJS.Timeout | null