From edfb8225f488f03f5280822340908331a9a14362 Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Thu, 1 Aug 2024 11:45:21 +0300 Subject: [PATCH] Upgrade deps to include several fixes in middleware packages --- package-lock.json | 219 ++++++++++++++++------------------------------ package.json | 14 +-- 2 files changed, 80 insertions(+), 153 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1babd65..b80f8ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,22 +10,22 @@ "license": "MIT", "dependencies": { "current-module-paths": "^1.1.1", - "lws": "^4.1.4", + "lws": "^4.1.5", "lws-basic-auth": "^2.0.0", "lws-blacklist": "^3.0.0", - "lws-body-parser": "^3.0.0", + "lws-body-parser": "^3.0.1", "lws-compress": "^3.1.0", - "lws-conditional-get": "^2.0.0", + "lws-conditional-get": "^3.0.0", "lws-cors": "^4.2.1", "lws-index": "^3.1.1", "lws-json": "^2.0.0", - "lws-log": "^2.0.0", + "lws-log": "^3.0.0", "lws-mime": "^2.0.0", "lws-range": "^4.0.1", "lws-request-monitor": "^2.0.0", - "lws-rewrite": "^3.1.1", - "lws-spa": "^4.1.0", - "lws-static": "^3.1.0" + "lws-rewrite": "^4.0.0", + "lws-spa": "^4.1.1", + "lws-static": "^3.1.1" }, "bin": { "ws": "bin/cli.js" @@ -39,12 +39,12 @@ } }, "node_modules/@75lb/deep-merge": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@75lb/deep-merge/-/deep-merge-1.1.1.tgz", - "integrity": "sha512-xvgv6pkMGBA6GwdyJbNAnDmfAIR/DfWhrj9jgWh3TY7gRm3KO46x/GPjRg6wJ0nOepwqrNxFfojebh0Df4h4Tw==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@75lb/deep-merge/-/deep-merge-1.1.2.tgz", + "integrity": "sha512-08K9ou5VNbheZFxM5tDWoqjA3ImC50DiuuJ2tj1yEPRfkp8lLLg6XAaJ4On+a0yAXor/8ay5gHnAIshRM44Kpw==", "license": "MIT", "dependencies": { - "lodash.assignwith": "^4.2.0", + "lodash": "^4.17.21", "typical": "^7.1.1" }, "engines": { @@ -197,12 +197,12 @@ } }, "node_modules/@tootallnate/once": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz", - "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", "license": "MIT", "engines": { - "node": ">= 6" + "node": ">= 10" } }, "node_modules/accepts": { @@ -270,12 +270,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/any-promise": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", - "license": "MIT" - }, "node_modules/array-back": { "version": "6.2.2", "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.2.tgz", @@ -323,9 +317,9 @@ } }, "node_modules/byte-size": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/byte-size/-/byte-size-8.1.1.tgz", - "integrity": "sha512-tUkzZWK0M/qdoLEqikxBWe4kumyuwjl3HO6zHTr4yEI23EojPtLYXdG1+AQY7MN0cGyNDvEaJ8wiYQm6P2bPxg==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/byte-size/-/byte-size-9.0.0.tgz", + "integrity": "sha512-xrJ8Hki7eQ6xew55mM6TG9zHI852OoAHcPfduWWtR6yxk2upTuIZy13VioRBDyHReHDdbeDPifUboeNkK/sXXA==", "license": "MIT", "engines": { "node": ">=12.17" @@ -596,9 +590,9 @@ } }, "node_modules/debug": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", - "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.6.tgz", + "integrity": "sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==", "license": "MIT", "dependencies": { "ms": "2.1.2" @@ -1005,12 +999,12 @@ } }, "node_modules/http-proxy-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz", - "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", "license": "MIT", "dependencies": { - "@tootallnate/once": "1", + "@tootallnate/once": "2", "agent-base": "6", "debug": "4" }, @@ -1271,13 +1265,12 @@ } }, "node_modules/koa-etag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/koa-etag/-/koa-etag-3.0.0.tgz", - "integrity": "sha512-HYU1zIsH4S9xOlUZGuZIP1PIiJ0EkBXgwL8PjFECb/pUYmAee8gfcvIovregBMYxECDhLulEWT2+ZRsA/lczCQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/koa-etag/-/koa-etag-4.0.0.tgz", + "integrity": "sha512-1cSdezCkBWlyuB9l6c/IFoe1ANCDdPBxkDkRiaIup40xpUub6U/wwRXoKBZw/O5BifX9OlqAjYnDyzM6+l+TAg==", "license": "MIT", "dependencies": { - "etag": "^1.3.0", - "mz": "^2.1.0" + "etag": "^1.8.1" } }, "node_modules/koa-is-json": { @@ -1318,29 +1311,14 @@ } }, "node_modules/koa-route": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/koa-route/-/koa-route-3.2.0.tgz", - "integrity": "sha512-8FsuWw/L+CUWJfpgN6vrlYUDNTheEinG8Zkm97GyuLJNyWjCVUs9p10Ih3jTIWwmDVQcz6827l0RKadAS5ibqA==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/koa-route/-/koa-route-4.0.1.tgz", + "integrity": "sha512-ytLrdDPF/qTMh20BxZCNpIUY329SoGu84xjGYeNsp/jkGT3OpZfkuK646sDScVJQ9XdsLXJVMml1dXMA5EIuxQ==", "license": "MIT", "dependencies": { "debug": "*", "methods": "~1.1.0", - "path-to-regexp": "^1.2.0" - } - }, - "node_modules/koa-route/node_modules/isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==", - "license": "MIT" - }, - "node_modules/koa-route/node_modules/path-to-regexp": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", - "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", - "license": "MIT", - "dependencies": { - "isarray": "0.0.1" + "path-to-regexp": "^6.2.1" } }, "node_modules/koa-send": { @@ -1391,10 +1369,10 @@ "node": ">=12.20" } }, - "node_modules/lodash.assignwith": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.assignwith/-/lodash.assignwith-4.2.0.tgz", - "integrity": "sha512-ZznplvbvtjK2gMvnQ1BR/zqPFZmS6jbK4p+6Up4xcRYA7yMIwxHCfbTcrYxXKzzqLsQ05eJPVznEW3tuwV7k1g==", + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "license": "MIT" }, "node_modules/lodash.camelcase": { @@ -1410,15 +1388,15 @@ "license": "MIT" }, "node_modules/lws": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/lws/-/lws-4.1.4.tgz", - "integrity": "sha512-Wo2jbQBdfPM9fW0NxLbCcA9uDjNYzZ8+rNUWuw0Yec3ai7CM+61l8pQiMnP4HxJ5maUC6S7pUcf7oXbJlDO9kQ==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lws/-/lws-4.1.5.tgz", + "integrity": "sha512-MGRogJgMXFuurf5VOUKOoBeBYYlmxvaxNX/q5SJC/GzHxAqLxcQ4I21NrGkZVmCdSladgyEyC1tm/s0sT1OMPQ==", "license": "MIT", "dependencies": { - "@75lb/deep-merge": "^1.1.1", + "@75lb/deep-merge": "^1.1.2", "ansi-escape-sequences": "^6.2.2", "array-back": "^6.2.2", - "byte-size": "^8.1.1", + "byte-size": "^9.0.0", "command-line-args": "^6.0.0", "command-line-usage": "^7.0.3", "create-mixin": "^3.0.0", @@ -1472,12 +1450,12 @@ } }, "node_modules/lws-body-parser": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lws-body-parser/-/lws-body-parser-3.0.0.tgz", - "integrity": "sha512-led36Um61ppeQoMTG7yvphn+NQPMbzuFuGUYD09eEx1UT7e8bsaLw1gkBZB9vAIkeTlXRbXjPmOqlm26eUzhfg==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/lws-body-parser/-/lws-body-parser-3.0.1.tgz", + "integrity": "sha512-HUlTGYukWRXnmAFlpJhaJWSFsfkOP4fC9fjEiYeyI0kTy0/SaMLwcLzi5hQ/eriLZNGuF+PqnhBMtOys6nPdfw==", "license": "MIT", "dependencies": { - "koa-bodyparser": "^4.3.0" + "koa-bodyparser": "^4.4.1" }, "engines": { "node": ">=12.17" @@ -1496,16 +1474,16 @@ } }, "node_modules/lws-conditional-get": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lws-conditional-get/-/lws-conditional-get-2.0.0.tgz", - "integrity": "sha512-U05yDlFJKIYa7gJZYfnc1HIEuXbKpDJztgkvNYyxCqJC28j/k9ORoNnFNOIHpBh/jlPJgV8x7uH34mIxFAryWA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lws-conditional-get/-/lws-conditional-get-3.0.0.tgz", + "integrity": "sha512-/O+JSIB889kIYgo8QFyJJayW3W0BMRc8zPHE6F5FBGtdqpsl+UsKZHFiSmJSTRn/1HGgnmcXQz2UpbB1PQYVSw==", "license": "MIT", "dependencies": { "koa-conditional-get": "^2.0.0", - "koa-etag": "^3.0.0" + "koa-etag": "^4.0.0" }, "engines": { - "node": ">=10" + "node": ">=12.17" } }, "node_modules/lws-cors": { @@ -1545,16 +1523,16 @@ } }, "node_modules/lws-log": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lws-log/-/lws-log-2.0.0.tgz", - "integrity": "sha512-YveoazSZ0Qb1Tljdm8G8yn9c+mAMXgvLMACZzh5aZIk7p8YJwiXf9r1S+xY7wbXEcKG629KfVO0B5G5gRFcyDQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lws-log/-/lws-log-3.0.0.tgz", + "integrity": "sha512-I0P5dcZkR97GQ92lyJHQlCZ6eRDota+4OQrEoVXSJQD1Dc8CFxy0+4ELYJke6RwEWmr0BwU65C1cCcSC1w5NFA==", "license": "MIT", "dependencies": { "koa-morgan": "^1.0.1", "stream-log-stats": "^3.0.2" }, "engines": { - "node": ">=10" + "node": ">=12" } }, "node_modules/lws-mime": { @@ -1600,37 +1578,28 @@ } }, "node_modules/lws-rewrite": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lws-rewrite/-/lws-rewrite-3.1.1.tgz", - "integrity": "sha512-cOeaPXIlLUVLxS6BZ52QzZVzI8JjCzlWD4RWizB5Hd+0YGO0SPa3Vgk7CIghtAOsSdjtXg/wSOap2H1h+tw8BQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/lws-rewrite/-/lws-rewrite-4.0.0.tgz", + "integrity": "sha512-I9rNDyAuy/1Wz2WMWTqjxFMlUTr8CugdHlUCjIudQkt04YnRdhP32iAoRnVnLsgP1UOiM44dxTW2EomQHHfirw==", "license": "MIT", "dependencies": { - "array-back": "^4.0.1", - "http-proxy-agent": "^4.0.1", - "https-proxy-agent": "^5.0.0", - "koa-route": "^3.2.0", - "path-to-regexp": "^6.1.0" + "array-back": "^6.2.2", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.1", + "koa-route": "^4.0.1", + "path-to-regexp": "^6.2.2" }, "bin": { "lws-rewrite": "bin/cli.js" }, "engines": { - "node": ">=10" - } - }, - "node_modules/lws-rewrite/node_modules/array-back": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", - "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", - "license": "MIT", - "engines": { - "node": ">=8" + "node": ">=12.17" } }, "node_modules/lws-spa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/lws-spa/-/lws-spa-4.1.0.tgz", - "integrity": "sha512-B1YhxAY02EYu7J9dKBQMpYRwOd4iOtKK3TDdUR2GnJ4nsnvoxsJnMUpg8yxGmWZ6NI8itdUdQJlwqKg/Gji/vQ==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lws-spa/-/lws-spa-4.1.1.tgz", + "integrity": "sha512-v032GXet8j818l6vUyAlQm1HfcxPVM+Flvxptv6EcDveUJqvfNX5j1bo9PqKB8HbyEScek5OH8guFAqrSOwBNw==", "license": "MIT", "dependencies": { "koa-send": "^5.0.1" @@ -1640,9 +1609,9 @@ } }, "node_modules/lws-static": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lws-static/-/lws-static-3.1.0.tgz", - "integrity": "sha512-0fWZRluPda0raMEzTd2mY/REWsa5LxDz03j+Zer8yhFfbicJGaocTK1jOlRo/H5UEDImBdfSDZGlrmzMaF9Xcg==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/lws-static/-/lws-static-3.1.1.tgz", + "integrity": "sha512-4Xb6rE4gVp2ZmuiVYwvFaSsMUbQ8CwxSxzHzfK6URFz4g3vVT8+e+ekGlItp8ePf9w7u9l96HU7+QDswsmwhCg==", "license": "MIT", "dependencies": { "koa-static": "^5.0.0" @@ -1772,17 +1741,6 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "license": "MIT" }, - "node_modules/mz": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", - "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", - "license": "MIT", - "dependencies": { - "any-promise": "^1.0.0", - "object-assign": "^4.0.1", - "thenify-all": "^1.0.0" - } - }, "node_modules/negotiator": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", @@ -1831,15 +1789,6 @@ "url": "https://opencollective.com/node-fetch" } }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/object-inspect": { "version": "1.13.2", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", @@ -2475,12 +2424,11 @@ } }, "node_modules/table-layout": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-4.1.0.tgz", - "integrity": "sha512-AfbFMOsAZDoaQq2sDF/F7PSTxnTBexr4cuArFW1bMl07tFbB+HBwKpnw99To3ffcjRFe12dEoyckiNz1+qCSng==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-4.1.1.tgz", + "integrity": "sha512-iK5/YhZxq5GO5z8wb0bY1317uDF3Zjpha0QFFLA8/trAoiLbQD0HUbMesEaxyzUgDxi2QlcbM8IvqOlEjgoXBA==", "license": "MIT", "dependencies": { - "@75lb/deep-merge": "^1.1.1", "array-back": "^6.2.2", "wordwrapjs": "^5.1.0" }, @@ -2527,27 +2475,6 @@ "node": ">=12.17" } }, - "node_modules/thenify": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", - "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", - "license": "MIT", - "dependencies": { - "any-promise": "^1.0.0" - } - }, - "node_modules/thenify-all": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", - "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", - "license": "MIT", - "dependencies": { - "thenify": ">= 3.1.0 < 4" - }, - "engines": { - "node": ">=0.8" - } - }, "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", diff --git a/package.json b/package.json index b2b9583..734f22a 100644 --- a/package.json +++ b/package.json @@ -49,22 +49,22 @@ ], "dependencies": { "current-module-paths": "^1.1.1", - "lws": "^4.1.4", + "lws": "^4.1.5", "lws-basic-auth": "^2.0.0", "lws-blacklist": "^3.0.0", - "lws-body-parser": "^3.0.0", + "lws-body-parser": "^3.0.1", "lws-compress": "^3.1.0", - "lws-conditional-get": "^2.0.0", + "lws-conditional-get": "^3.0.0", "lws-cors": "^4.2.1", "lws-index": "^3.1.1", "lws-json": "^2.0.0", - "lws-log": "^2.0.0", + "lws-log": "^3.0.0", "lws-mime": "^2.0.0", "lws-range": "^4.0.1", "lws-request-monitor": "^2.0.0", - "lws-rewrite": "^3.1.1", - "lws-spa": "^4.1.0", - "lws-static": "^3.1.0" + "lws-rewrite": "^4.0.0", + "lws-spa": "^4.1.1", + "lws-static": "^3.1.1" }, "devDependencies": { "node-fetch": "^3.3.2",