From bdef8102d533459de7b5677735a3ab2a2e1f240c Mon Sep 17 00:00:00 2001 From: Alexandre Boyer <33391039+ng-galien@users.noreply.github.com> Date: Mon, 1 Jan 2024 14:29:53 +0100 Subject: [PATCH] Update package-lock.json, package.json, and source files, adding new dependencies Added "@types/node-red" to the list of devDependencies. Also updated package-lock.json with newly resolved and installed packages. The source files also have added typescript and Node-RED elements for better debugging and error handling capabilities. This will enhance the project's development experience and reliability. --- package-lock.json | 209 +++++++++++++++++++++++++++++++++++++++++ package.json | 1 + src/pulsar-config.html | 10 +- src/pulsar-config.js | 20 +++- 4 files changed, 237 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4ad192d..7eabb2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "uuid": "^9.0.1" }, "devDependencies": { + "@types/node-red": "^1.3.4", "axios": "^1.6.3", "chai": "^4.3.10", "chai-wait-for": "^1.1.0", @@ -619,12 +620,46 @@ "node": ">=14.16" } }, + "node_modules/@types/ace": { + "version": "0.0.52", + "resolved": "https://registry.npmjs.org/@types/ace/-/ace-0.0.52.tgz", + "integrity": "sha512-YPF9S7fzpuyrxru+sG/rrTpZkC6gpHBPF14W3x70kqVOD+ks6jkYLapk4yceh36xej7K4HYxcyz9ZDQ2lTvwgQ==", + "dev": true + }, + "node_modules/@types/body-parser": { + "version": "1.19.5", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", + "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==", + "dev": true, + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, "node_modules/@types/chai": { "version": "4.3.11", "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.11.tgz", "integrity": "sha512-qQR1dr2rGIHYlJulmr8Ioq3De0Le9E4MJ5AiaeAETJJpndT1uUNHsGFK3L/UIu+rbkQSdj8J/w2bCsBZc/Y5fQ==", "dev": true }, + "node_modules/@types/connect": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/cors": { + "version": "2.8.17", + "resolved": "https://registry.npmjs.org/@types/cors/-/cors-2.8.17.tgz", + "integrity": "sha512-8CGDvrBj1zgo2qE+oS3pOCyYNqCPryMWY2bGfwA0dcfopWGgxs+78df0Rs3rc9THP4JkOhLsAa+15VdpAqkcUA==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/docker-modem": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/@types/docker-modem/-/docker-modem-3.0.6.tgz", @@ -645,12 +680,57 @@ "@types/node": "*" } }, + "node_modules/@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "dev": true, + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "4.17.41", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.41.tgz", + "integrity": "sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA==", + "dev": true, + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, "node_modules/@types/http-cache-semantics": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz", "integrity": "sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==", "dev": true }, + "node_modules/@types/http-errors": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz", + "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==", + "dev": true + }, + "node_modules/@types/jquery": { + "version": "3.5.29", + "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.29.tgz", + "integrity": "sha512-oXQQC9X9MOPRrMhPHHOsXqeQDnWeCDT3PelUIg/Oy8FAbzSZtFHRjc7IpbfFVmpLtJ+UOoywpRsuO5Jxjybyeg==", + "dev": true, + "dependencies": { + "@types/sizzle": "*" + } + }, + "node_modules/@types/mime": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", + "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==", + "dev": true + }, "node_modules/@types/node": { "version": "20.10.6", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.6.tgz", @@ -660,12 +740,141 @@ "undici-types": "~5.26.4" } }, + "node_modules/@types/node-red": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@types/node-red/-/node-red-1.3.4.tgz", + "integrity": "sha512-lYN8pk70zW8685g2kB4V3k8V5flqBmFkwPJYLlhabOHwFjQK8oUDp34WUuKaU+0R542lDblzGDuTFbXOpAdt9Q==", + "dev": true, + "dependencies": { + "@types/express": "*", + "@types/node-red__editor-api": "*", + "@types/node-red__editor-client": "*", + "@types/node-red__registry": "*", + "@types/node-red__runtime": "*", + "@types/node-red__util": "*" + } + }, + "node_modules/@types/node-red__editor-api": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/@types/node-red__editor-api/-/node-red__editor-api-1.3.4.tgz", + "integrity": "sha512-HgILTymtz15ausXNEw757A0b39QTgYS9XoIekfZsJqFrSUb/DquqSjPX2wsh4BXtpUd1GTHAmoqFDR0dlOjoEA==", + "dev": true, + "dependencies": { + "@types/express": "*", + "@types/node-red__runtime": "*" + } + }, + "node_modules/@types/node-red__editor-client": { + "version": "1.3.10", + "resolved": "https://registry.npmjs.org/@types/node-red__editor-client/-/node-red__editor-client-1.3.10.tgz", + "integrity": "sha512-beZm3C5NrG61gFYsQeJqVByRUztoSuyhkbHcbZ48P6J2rCTzwxT/u+f+0nWeYhu484oNhhspKPmKS5PsWJsfcg==", + "dev": true, + "dependencies": { + "@types/ace": "*", + "@types/jquery": "*", + "@types/node-red__registry": "*", + "@types/node-red__runtime": "*", + "@types/node-red__util": "*" + } + }, + "node_modules/@types/node-red__registry": { + "version": "1.3.9", + "resolved": "https://registry.npmjs.org/@types/node-red__registry/-/node-red__registry-1.3.9.tgz", + "integrity": "sha512-gF1WXu+r2zzczorO52nT1f1GmhxmlJS8Vh1y1E1mrocYrkJwszMyApcD9D5tZPIfl05+FAv8RwesdQC7h+3EJw==", + "dev": true, + "dependencies": { + "@types/express": "*", + "@types/node-red__runtime": "*", + "@types/node-red__util": "*" + } + }, + "node_modules/@types/node-red__runtime": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/@types/node-red__runtime/-/node-red__runtime-1.3.6.tgz", + "integrity": "sha512-+8INog9wQIPth/YmmShmUIdTDILdwnuxzHXYUdAiKPuUyZIrjfvoxnmQiI+NYTZxUN/jw65td+0+4N503xliqQ==", + "dev": true, + "dependencies": { + "@types/cors": "*", + "@types/express": "*", + "@types/node-red__editor-api": "*", + "@types/node-red__util": "*", + "@types/passport": "*" + } + }, + "node_modules/@types/node-red__util": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/@types/node-red__util/-/node-red__util-1.3.6.tgz", + "integrity": "sha512-6CdRWezhVNHd84Zc63m/L78Bg0KXgX+dGUAYckARmDBPg4+Tn6H1vKM63H0i1xs+HmUrkqjKonKJKuU9Kni+zA==", + "dev": true, + "dependencies": { + "@types/node-red__registry": "*", + "@types/node-red__runtime": "*", + "jsonata": "1.8.3" + } + }, + "node_modules/@types/node-red__util/node_modules/jsonata": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/jsonata/-/jsonata-1.8.3.tgz", + "integrity": "sha512-r6ztI6ohbpRo77AxBm6vMs3aHZi2L2PaakW7TCPwSkeGcuAZ/SxXGLWH2Npwqq5+YBM/fg/g0EXg/pI9HvXQ8Q==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, "node_modules/@types/normalize-package-data": { "version": "2.4.4", "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", "dev": true }, + "node_modules/@types/passport": { + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/@types/passport/-/passport-1.0.16.tgz", + "integrity": "sha512-FD0qD5hbPWQzaM0wHUnJ/T0BBCJBxCeemtnCwc/ThhTg3x9jfrAcRUmj5Dopza+MfFS9acTe3wk7rcVnRIp/0A==", + "dev": true, + "dependencies": { + "@types/express": "*" + } + }, + "node_modules/@types/qs": { + "version": "6.9.11", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.11.tgz", + "integrity": "sha512-oGk0gmhnEJK4Yyk+oI7EfXsLayXatCWPHary1MtcmbAifkobT9cM9yutG/hZKIseOU0MqbIwQ/u2nn/Gb+ltuQ==", + "dev": true + }, + "node_modules/@types/range-parser": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==", + "dev": true + }, + "node_modules/@types/send": { + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", + "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==", + "dev": true, + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.5.tgz", + "integrity": "sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==", + "dev": true, + "dependencies": { + "@types/http-errors": "*", + "@types/mime": "*", + "@types/node": "*" + } + }, + "node_modules/@types/sizzle": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.8.tgz", + "integrity": "sha512-0vWLNK2D5MT9dg0iOo8GlKguPAU02QjmZitPEsXRuJXU/OGIOt9vT9Fc26wtYuavLxtO45v9PGleoL9Z0k1LHg==", + "dev": true + }, "node_modules/@types/ssh2": { "version": "1.11.18", "resolved": "https://registry.npmjs.org/@types/ssh2/-/ssh2-1.11.18.tgz", diff --git a/package.json b/package.json index cb40d16..a4244e8 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "uuid": "^9.0.1" }, "devDependencies": { + "@types/node-red": "^1.3.4", "axios": "^1.6.3", "chai": "^4.3.10", "chai-wait-for": "^1.1.0", diff --git a/src/pulsar-config.html b/src/pulsar-config.html index 5e38b81..8923b1b 100644 --- a/src/pulsar-config.html +++ b/src/pulsar-config.html @@ -1,5 +1,13 @@ +