diff --git a/package-lock.json b/package-lock.json index 374fb843c..bc60fd23d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3420,8 +3420,9 @@ } }, "node_modules/coap": { - "version": "1.4.0", - "license": "MIT", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/coap/-/coap-1.4.1.tgz", + "integrity": "sha512-6WXEyXFEMWSBhnv97Tj6tdo8BQ2IMFFo8kH5dy8LCWLb5wxM4yv1gk/Sheu1n4h2eoGlmCjNipnz9MplTl2Gtg==", "dependencies": { "@types/readable-stream": "^4.0.14", "bl": "^6.0.12", @@ -3429,7 +3430,7 @@ "coap-packet": "^1.1.1", "debug": "^4.3.5", "fastseries": "^2.0.0", - "lru-cache": "^10.2.2", + "lru-cache": "^11.0.2", "readable-stream": "^4.5.2" }, "engines": { @@ -3472,6 +3473,14 @@ "node": ">=0.8.x" } }, + "node_modules/coap/node_modules/lru-cache": { + "version": "11.0.2", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.2.tgz", + "integrity": "sha512-123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA==", + "engines": { + "node": "20 || >=22" + } + }, "node_modules/coap/node_modules/readable-stream": { "version": "4.5.2", "license": "MIT", @@ -11624,7 +11633,7 @@ "license": "EPL-2.0 OR W3C-20150513", "dependencies": { "@node-wot/core": "0.8.17", - "coap": "^1.4.0", + "coap": "^1.4.1", "dns-packet": "^5.2.2", "multicast-dns": "^7.2.5", "node-coap-client": "1.0.8", diff --git a/packages/binding-coap/package.json b/packages/binding-coap/package.json index 8a8ace666..d8c403c13 100644 --- a/packages/binding-coap/package.json +++ b/packages/binding-coap/package.json @@ -15,7 +15,7 @@ "types": "dist/coap.d.ts", "dependencies": { "@node-wot/core": "0.8.17", - "coap": "^1.4.0", + "coap": "^1.4.1", "dns-packet": "^5.2.2", "multicast-dns": "^7.2.5", "node-coap-client": "1.0.8", diff --git a/packages/binding-coap/tsconfig.json b/packages/binding-coap/tsconfig.json index fc0d758dc..e9fa7c062 100644 --- a/packages/binding-coap/tsconfig.json +++ b/packages/binding-coap/tsconfig.json @@ -1,12 +1,6 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - /* - * coap library is depending to lru-cache 10.2.2 - * which suffers from a bug that causes error in the compiler. - * see https: //github.com/isaacs/node-lru-cache/issues/354 - */ - "skipLibCheck": true, "outDir": "dist", "rootDir": "src" },