diff --git a/package-lock.json b/package-lock.json index 3a5718d..68f79a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -67,9 +67,9 @@ } }, "node_modules/@authup/core-http-kit": { - "version": "1.0.0-beta.19", - "resolved": "https://registry.npmjs.org/@authup/core-http-kit/-/core-http-kit-1.0.0-beta.19.tgz", - "integrity": "sha512-Utlg6U2JPMsYmXcj2OTzH35V2WUk52KoPDrtGxPYAjJzsGftHjXe+zty3/lSuE9Rc3HYcwBw6yHSHTxtMruUrQ==", + "version": "1.0.0-beta.22", + "resolved": "https://registry.npmjs.org/@authup/core-http-kit/-/core-http-kit-1.0.0-beta.22.tgz", + "integrity": "sha512-fdyOYvU9ad0rqpXanCgSRfTceYRtY14mv4lxRNGon4MC4fL1nrsL4TcYOKgUBUYSn6ClCLL12g1Y1He2Vtg6/Q==", "dependencies": { "@hapic/oauth2": "^2.4.2", "@hapic/vault": "^2.3.3", @@ -77,16 +77,16 @@ "rapiq": "^0.9.0" }, "peerDependencies": { - "@authup/core-kit": "^1.0.0-beta.18", - "@authup/kit": "^1.0.0-beta.18" + "@authup/core-kit": "^1.0.0-beta.22", + "@authup/kit": "^1.0.0-beta.22" } }, "node_modules/@authup/core-kit": { - "version": "1.0.0-beta.19", - "resolved": "https://registry.npmjs.org/@authup/core-kit/-/core-kit-1.0.0-beta.19.tgz", - "integrity": "sha512-Fbs0qlJSilO2IDWRyhORpPdXDQ6akzUg7kHKr9Khgi9DdxLWlFW+/RfRYBVNIPrVzs2ht1n1r83lY2d/avYS3Q==", + "version": "1.0.0-beta.22", + "resolved": "https://registry.npmjs.org/@authup/core-kit/-/core-kit-1.0.0-beta.22.tgz", + "integrity": "sha512-ODFaS8mFJ/FLXA7p7pIb062fWji3sjCQq/Jx0LVtJ2qu9fMJxlWPhhXBn2faBkH2ZDIVogyc0K7BuGZR5Yj/4A==", "dependencies": { - "@authup/kit": "^1.0.0-beta.19" + "@authup/kit": "^1.0.0-beta.22" }, "peerDependencies": { "@hapic/oauth2": "^2.4.2", @@ -96,16 +96,19 @@ } }, "node_modules/@authup/kit": { - "version": "1.0.0-beta.19", - "resolved": "https://registry.npmjs.org/@authup/kit/-/kit-1.0.0-beta.19.tgz", - "integrity": "sha512-N50yYJI5QgpEf25YJmMxH/jGnWVe3OKHgJVD6zDe9INOI19FTnq16FbNAJgZ68DOAICe5mKsaeRjjkh0KNcDgg==", + "version": "1.0.0-beta.22", + "resolved": "https://registry.npmjs.org/@authup/kit/-/kit-1.0.0-beta.22.tgz", + "integrity": "sha512-rpigRZxVuWHIozhrBL9+zE43ts3xpbkyq8OVd32AiAwZzdqnR0lcRK+XPQoCRsxd88LYxDZZRyqUtqiEeU7O6w==", "dependencies": { "@ebec/http": "^2.3.0", - "@posva/event-emitter": "^1.0.2", "@ucast/mongo2js": "^1.3.4", + "@validup/adapter-zod": "^0.1.7", "destr": "^2.0.3", "nanoid": "^3.3.4", - "smob": "^1.5.0" + "pathtrace": "^1.1.0", + "smob": "^1.5.0", + "validup": "^0.1.7", + "zod": "^3.23.8" } }, "node_modules/@authup/server-core-plugin-http": { @@ -154,6 +157,17 @@ "@authup/kit": "^1.0.0-beta.18" } }, + "node_modules/@authup/server-kit/node_modules/redis-extension": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/redis-extension/-/redis-extension-1.5.0.tgz", + "integrity": "sha512-zz4gzyUIp8xJLDSXD8PKbyIL/hS85l7fbUhDiSoDgO8vi4CICw3o5Q/k8ilniinvN3Ub6iPVrjeeHzyzWGF3vg==", + "peer": true, + "dependencies": { + "ioredis": "^5.4.0", + "node-schedule": "^2.1.1", + "smob": "^1.5.0" + } + }, "node_modules/@babel/code-frame": { "version": "7.24.7", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", @@ -1354,6 +1368,14 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, + "node_modules/@isaacs/ttlcache": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@isaacs/ttlcache/-/ttlcache-1.4.1.tgz", + "integrity": "sha512-RQgQ4uQ+pLbqXfOmieB91ejmLwvSgv9nLx6sT6sD83s7umBypgg+OIBOBbEUiJXrfpnp9j0mRhYYdzp9uqq3lA==", + "engines": { + "node": ">=12" + } + }, "node_modules/@istanbuljs/load-nyc-config": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", @@ -2781,14 +2803,6 @@ "node": ">=14" } }, - "node_modules/@posva/event-emitter": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@posva/event-emitter/-/event-emitter-1.0.2.tgz", - "integrity": "sha512-KLmSFhpPwQs35s69AgA3viUkqLKYwNYI6gN3dua90qtuGvxTMlpqFKDCIUNNEQHvgbFcZ40IanYvhQ0QZE6lSw==", - "funding": { - "url": "https://github.com/sponsors/posva" - } - }, "node_modules/@privateaim/core-http-kit": { "version": "0.8.0", "resolved": "https://registry.npmjs.org/@privateaim/core-http-kit/-/core-http-kit-0.8.0.tgz", @@ -2801,23 +2815,23 @@ } }, "node_modules/@privateaim/core-kit": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@privateaim/core-kit/-/core-kit-0.8.0.tgz", - "integrity": "sha512-Rj807ohBSJbNsZ+hkxtGOE5ikgyirkeyHbvtWEqa6ydYdqkCndVsWtxIj3BU9W8Uaf8thkg3IpMsVloAssJWZw==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@privateaim/core-kit/-/core-kit-0.8.4.tgz", + "integrity": "sha512-QztCgF6/8j/tXLOaC9Lzm8XJ0QtcmM72M/V9QEqbGckhhE/hN+UXK1q9f995JQC/674ESrXSBx30ipJUWMafPg==", "peerDependencies": { - "@authup/core-kit": "^1.0.0-beta.19", - "@privateaim/kit": "^0.8.0" + "@authup/core-kit": "^1.0.0-beta.22", + "@privateaim/kit": "^0.8.4" } }, "node_modules/@privateaim/kit": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@privateaim/kit/-/kit-0.8.0.tgz", - "integrity": "sha512-fQOx5UQUyLG4rCnTzzFNnHGx4ezkvikyq5f4MHsxqf95gZ45AWtoOckqy5Vry7xkGZp1SfsuiR4CH6Y8YEz06Q==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@privateaim/kit/-/kit-0.8.4.tgz", + "integrity": "sha512-JMFaXEmSECvJDW38wxW2CyepPp2KJK9RYzRicTXnYtz/3Rtk3/r+CgtwRrY+9N3AkX9YPVoBhJCFDFLGvCzmUA==", "dependencies": { "nanoid": "^3.3.4" }, "peerDependencies": { - "@authup/core-kit": "^1.0.0-beta.19" + "@authup/core-kit": "^1.0.0-beta.22" } }, "node_modules/@privateaim/pdp": { @@ -2858,25 +2872,26 @@ } }, "node_modules/@privateaim/server-kit": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@privateaim/server-kit/-/server-kit-0.8.0.tgz", - "integrity": "sha512-NIr6weHFz7UMW6mUZ86IMVRh5BUy4mcNxuVLXqq2TcgumQdPEUg4A25uKEZSUdDtnabDY7sl4wdiuzT16ZoIpw==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@privateaim/server-kit/-/server-kit-0.8.4.tgz", + "integrity": "sha512-VrjfDl8wcoeB8XKleLe2XBXGn4FcbrCybbE2erocuMP18OUKdqwHUtPII8kY0rQS6rBKbWmmvQCacr7dpdFFww==", "dependencies": { "@ebec/http": "^2.3.0", - "@privateaim/core-kit": "^0.8.0", - "@privateaim/kit": "^0.8.0", + "@isaacs/ttlcache": "^1.4.1", + "@privateaim/core-kit": "^0.8.4", + "@privateaim/kit": "^0.8.4", "@socket.io/redis-emitter": "^5.1.0", "envix": "^1.5.0", "hapic": "^2.5.1", "singa": "^1.0.0", - "winston": "^3.13.0" + "winston": "^3.14.1" }, "peerDependencies": { - "@authup/core-http-kit": "^1.0.0-beta.19", + "@authup/core-http-kit": "^1.0.0-beta.22", "@hapic/vault": "^2.3.4", "amqp-extension": "^4.0.0-beta.3", - "redis-extension": "^1.5.0", - "typeorm-extension": "^3.5.1" + "redis-extension": "^2.0.0", + "typeorm-extension": "^3.6.2" } }, "node_modules/@rollup/plugin-node-resolve": { @@ -4126,11 +4141,11 @@ } }, "node_modules/@validup/adapter-zod": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@validup/adapter-zod/-/adapter-zod-0.1.3.tgz", - "integrity": "sha512-IjGQFy4poOhmQtMDe5Vf+uQM8HghWDUBwJDsd9I/WwuTADt0r6rDDaZC+SCY2v4X88kXbM0q7hRkNxAi9h4OXw==", + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/@validup/adapter-zod/-/adapter-zod-0.1.7.tgz", + "integrity": "sha512-RDzEPoWNW81H+El0fYj1QE89sYrZWw0oNoHapAxXKyUDCRJGN3hT4/Ge195INnGuUvU51ja+I5c70TOOWDShaw==", "dependencies": { - "validup": "^0.1.3" + "validup": "^0.1.7" }, "engines": { "node": ">=18.0.0" @@ -10196,6 +10211,8 @@ "version": "1.21.6", "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.6.tgz", "integrity": "sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==", + "dev": true, + "peer": true, "bin": { "jiti": "bin/jiti.js" } @@ -10495,16 +10512,35 @@ } }, "node_modules/locter": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/locter/-/locter-2.1.0.tgz", - "integrity": "sha512-QUPPtb6CQ3hOacDZq2kc6KMzYn9z6r9B2RtFJTBD9nqxmyQJVYnTNZNqY6Z5NcJfwsGEgJLddnfFpofg7EJMDg==", + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/locter/-/locter-2.1.4.tgz", + "integrity": "sha512-3Q+ENHAMY8X033Ak6p+UyMEm5NrWz+fwvUVuNvxcgUJMbnXA2pZokCPJU79iCH6hB95QrBpV99zjtdqYiX/HTw==", "dependencies": { "destr": "^2.0.3", "ebec": "^2.3.0", "fast-glob": "^3.3.2", "flat": "^5.0.2", - "jiti": "^1.21.0", - "yaml": "^2.4.1" + "jiti": "^2.3.3", + "yaml": "^2.5.1" + } + }, + "node_modules/locter/node_modules/jiti": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/jiti/-/jiti-2.3.3.tgz", + "integrity": "sha512-EX4oNDwcXSivPrw2qKH2LB5PoFxEvgtv2JgwW0bU858HoLQ+kutSvjLMUqBd0PeJYEinLWhoI9Ol0eYMqj/wNQ==", + "bin": { + "jiti": "lib/jiti-cli.mjs" + } + }, + "node_modules/locter/node_modules/yaml": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.6.0.tgz", + "integrity": "sha512-a6ae//JvKDEra2kdi1qzCyrJW/WZCgFi8ydDV+eXExl95t+5R+ijnqHJbz9tmMh8FUjx3iv2fCQ4dclAQlO2UQ==", + "bin": { + "yaml": "bin.mjs" + }, + "engines": { + "node": ">= 14" } }, "node_modules/lodash": { @@ -11940,6 +11976,11 @@ "node": ">=8" } }, + "node_modules/pathtrace": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/pathtrace/-/pathtrace-1.1.0.tgz", + "integrity": "sha512-sO7psFweUFkhFYZZ/mUc1fFZHJJi/WnC+EOuyE/YEZn8nMTY6CxAz8XcLoySwMNfYF5Kjb5AE89hzOH3xVzERw==" + }, "node_modules/picocolors": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", @@ -12340,11 +12381,12 @@ } }, "node_modules/redis-extension": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/redis-extension/-/redis-extension-1.5.0.tgz", - "integrity": "sha512-zz4gzyUIp8xJLDSXD8PKbyIL/hS85l7fbUhDiSoDgO8vi4CICw3o5Q/k8ilniinvN3Ub6iPVrjeeHzyzWGF3vg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/redis-extension/-/redis-extension-2.0.0.tgz", + "integrity": "sha512-B+1RCukFCiPedYyI/Pbv1ME7xjRBqQoj0RnVsgfJVmiRXJtH6XqqF4GbPYuO5N32A2AQXD0E7rlkCL71xLTVqw==", + "peer": true, "dependencies": { - "ioredis": "^5.4.0", + "ioredis": "^5.4.1", "node-schedule": "^2.1.1", "smob": "^1.5.0" } @@ -13885,14 +13927,14 @@ } }, "node_modules/typeorm-extension": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/typeorm-extension/-/typeorm-extension-3.6.0.tgz", - "integrity": "sha512-v2mothqX5/0nxK4eGrk+h2tR/+kpyeLJhWVviDOvPJ5zE8AgJyrhOX4lj0qpa+a/BokhJjusSSXF+aRX9DQNtQ==", + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/typeorm-extension/-/typeorm-extension-3.6.2.tgz", + "integrity": "sha512-ao3gWO3afJAFaj901HxEJ1y5b7Cl4N/kRwHgre5Ni/jC4FrpZhM0Pq+DLIG3uGlc0E89bL8P1NUGKyvylSYbDA==", "dependencies": { "@faker-js/faker": "^8.4.1", "consola": "^3.2.3", "envix": "^1.5.0", - "locter": "^2.1.0", + "locter": "^2.1.3", "pascal-case": "^3.1.2", "rapiq": "^0.9.0", "reflect-metadata": "^0.2.2", @@ -14193,10 +14235,11 @@ } }, "node_modules/validup": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/validup/-/validup-0.1.3.tgz", - "integrity": "sha512-ACfBvDNVJqTJ73Qqgl8kY+OdAABVm2bNsDQXlhq/exo3Ke7iQajl+wCdOdRG9I9qf6XOvmySfAZW+rUGZxa2ZA==", + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/validup/-/validup-0.1.7.tgz", + "integrity": "sha512-s4HqxKHBZMe2YukL+NrnDnDqND/ajUxXCdjwYpT8lkI8eNtnGde/7ABiW06r04LpBQlMJmrkhvjrXKdIOj7NoA==", "dependencies": { + "pathtrace": "^1.0.0", "smob": "^1.5.0" }, "engines": { @@ -14279,15 +14322,15 @@ } }, "node_modules/winston": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/winston/-/winston-3.13.0.tgz", - "integrity": "sha512-rwidmA1w3SE4j0E5MuIufFhyJPBDG7Nu71RkZor1p2+qHvJSZ9GYDA81AyleQcZbh/+V6HjeBdfnTZJm9rSeQQ==", + "version": "3.15.0", + "resolved": "https://registry.npmjs.org/winston/-/winston-3.15.0.tgz", + "integrity": "sha512-RhruH2Cj0bV0WgNL+lOfoUBI4DVfdUNjVnJGVovWZmrcKtrFTTRzgXYK2O9cymSGjrERCtaAeHwMNnUWXlwZow==", "dependencies": { "@colors/colors": "^1.6.0", "@dabh/diagnostics": "^2.0.2", "async": "^3.2.3", "is-stream": "^2.0.0", - "logform": "^2.4.0", + "logform": "^2.6.0", "one-time": "^1.0.0", "readable-stream": "^3.4.0", "safe-stable-stringify": "^2.3.1", @@ -14503,6 +14546,7 @@ "version": "2.4.5", "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.4.5.tgz", "integrity": "sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==", + "dev": true, "bin": { "yaml": "bin.mjs" }, @@ -14679,7 +14723,7 @@ "@privateaim/kit": "^0.8.0", "@privateaim/policy-kit": "^0.0.0", "@privateaim/server-http-kit": "^0.8.0", - "@privateaim/server-kit": "^0.8.0", + "@privateaim/server-kit": "^0.8.4", "@routup/basic": "^1.4.0", "@routup/decorators": "^3.4.0", "@validup/adapter-routup": "^0.1.4", @@ -14703,6 +14747,16 @@ "testcontainers": "^10.11.0" } }, + "packages/decision-point/node_modules/redis-extension": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/redis-extension/-/redis-extension-1.5.0.tgz", + "integrity": "sha512-zz4gzyUIp8xJLDSXD8PKbyIL/hS85l7fbUhDiSoDgO8vi4CICw3o5Q/k8ilniinvN3Ub6iPVrjeeHzyzWGF3vg==", + "dependencies": { + "ioredis": "^5.4.0", + "node-schedule": "^2.1.1", + "smob": "^1.5.0" + } + }, "packages/kit": { "name": "@privateaim/policy-kit", "version": "0.0.0", diff --git a/packages/decision-point/package.json b/packages/decision-point/package.json index ee02f3d..5312ed9 100644 --- a/packages/decision-point/package.json +++ b/packages/decision-point/package.json @@ -18,7 +18,7 @@ "@privateaim/kit": "^0.8.0", "@privateaim/policy-kit": "^0.0.0", "@privateaim/core-http-kit": "^0.8.0", - "@privateaim/server-kit": "^0.8.0", + "@privateaim/server-kit": "^0.8.4", "@privateaim/server-http-kit": "^0.8.0", "@routup/basic": "^1.4.0", "@routup/decorators": "^3.4.0",