From d8424114e5e0c71e14b6cc704f93313efb9d85a9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:42:40 +0000 Subject: [PATCH 1/4] fix(deps): update all non-major dependencies Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- mongoose/package-lock.json | 62 +++++----- mongoose/package.json | 4 +- prisma/package-lock.json | 238 ++++++++++++++++++------------------- prisma/package.json | 4 +- 4 files changed, 154 insertions(+), 154 deletions(-) diff --git a/mongoose/package-lock.json b/mongoose/package-lock.json index 22e3ed8..ff4ed47 100644 --- a/mongoose/package-lock.json +++ b/mongoose/package-lock.json @@ -9,8 +9,8 @@ "version": "0.1.2", "license": "Apache-2.0", "dependencies": { - "@cerbos/core": "^0.18.0", - "@cerbos/grpc": "^0.18.0" + "@cerbos/core": "^0.19.0", + "@cerbos/grpc": "^0.19.0" }, "devDependencies": { "@types/jest": "^29.0.3", @@ -695,32 +695,32 @@ "peer": true }, "node_modules/@bufbuild/protobuf": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.1.0.tgz", - "integrity": "sha512-+2Mx67Y3skJ4NCD/qNSdBJNWtu6x6Qr53jeNg+QcwiL6mt0wK+3jwHH2x1p7xaYH6Ve2JKOVn0OxU35WsmqI9A==", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.2.2.tgz", + "integrity": "sha512-UNtPCbrwrenpmrXuRwn9jYpPoweNXj8X5sMvYgsqYyaH8jQ6LfUJSk3dJLnBK+6sfYPrF4iAIo5sd5HQ+tg75A==", "license": "(Apache-2.0 AND BSD-3-Clause)" }, "node_modules/@cerbos/core": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/@cerbos/core/-/core-0.18.1.tgz", - "integrity": "sha512-TIL0LKt8wWLJOX0XxpyNpLUepYlIZp7N19nLfASQ7wEMUgUnELjIEd5nYs9jGWdXOClgKz3VyIkWlpiqPtZfAQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@cerbos/core/-/core-0.19.0.tgz", + "integrity": "sha512-no/ova4WC+S/nraaeMy6tjOLS15LHVWinqtwcG7na1LnnBY8CDu9MCrwSE2wobWDOydEx7IKqR3tLiPL+ykRow==", "license": "Apache-2.0", "dependencies": { - "uuid": "^10.0.0" + "uuid": "^11.0.3" }, "engines": { "node": ">= 18" } }, "node_modules/@cerbos/grpc": { - "version": "0.18.3", - "resolved": "https://registry.npmjs.org/@cerbos/grpc/-/grpc-0.18.3.tgz", - "integrity": "sha512-xQL8fV8Q1bGqDVp+pK/lmlBlMsOrakexDxATxLqswkJ39FiiVBUbPrQbkZeE1NRS/NUo+lTn8tYzCqzCbwSEjQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@cerbos/grpc/-/grpc-0.19.0.tgz", + "integrity": "sha512-p2tTJTfI3D4uRdQ0lGryJ68ZM6XEkLx0k+MuVIzse1gN54siiPdr3/DsfeDXcHABVaPH+HEnY6RHCxZTW2UgWw==", "license": "Apache-2.0", "dependencies": { - "@bufbuild/protobuf": "^2.1.0", - "@cerbos/core": "^0.18.1", - "@grpc/grpc-js": "^1.11.3" + "@bufbuild/protobuf": "^2.2.2", + "@cerbos/core": "^0.19.0", + "@grpc/grpc-js": "^1.12.2" }, "engines": { "node": ">= 18" @@ -749,9 +749,9 @@ } }, "node_modules/@grpc/grpc-js": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.11.3.tgz", - "integrity": "sha512-i9UraDzFHMR+Iz/MhFLljT+fCpgxZ3O6CxwGJ8YuNYHJItIHUzKJpW2LvoFZNnGPwqc9iWy9RAucxV0JoR9aUQ==", + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.12.3.tgz", + "integrity": "sha512-iaxAZnANdCwMNpJlyhkI1W1jQZIDZKFNtU2OpQDdgd+pBcU3t7G+PT7svobkW4WSZTdis+CVV6y8KIwu83HDYQ==", "license": "Apache-2.0", "dependencies": { "@grpc/proto-loader": "^0.7.13", @@ -1361,9 +1361,9 @@ } }, "node_modules/@types/jest": { - "version": "29.5.13", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.13.tgz", - "integrity": "sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==", + "version": "29.5.14", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz", + "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==", "dev": true, "license": "MIT", "dependencies": { @@ -1372,9 +1372,9 @@ } }, "node_modules/@types/node": { - "version": "20.16.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.7.tgz", - "integrity": "sha512-QkDQjAY3gkvJNcZOWwzy3BN34RweT0OQ9zJyvLCU0kSK22dO2QYh/NHGfbEAYylPYzRB1/iXcojS79wOg5gFSw==", + "version": "20.17.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.9.tgz", + "integrity": "sha512-0JOXkRyLanfGPE2QRCwgxhzlBAvaRdCNMcvbd7jFfpmD4eEXll7LRwy5ymJmyeZqk7Nh7eD2LeUyQ68BbndmXw==", "license": "MIT", "dependencies": { "undici-types": "~6.19.2" @@ -4247,9 +4247,9 @@ } }, "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, "license": "Apache-2.0", "bin": { @@ -4298,16 +4298,16 @@ } }, "node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.3.tgz", + "integrity": "sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], "license": "MIT", "bin": { - "uuid": "dist/bin/uuid" + "uuid": "dist/esm/bin/uuid" } }, "node_modules/v8-compile-cache-lib": { diff --git a/mongoose/package.json b/mongoose/package.json index be96383..8771df6 100644 --- a/mongoose/package.json +++ b/mongoose/package.json @@ -30,7 +30,7 @@ "typescript": "^5.0.0" }, "dependencies": { - "@cerbos/core": "^0.18.0", - "@cerbos/grpc": "^0.18.0" + "@cerbos/core": "^0.19.0", + "@cerbos/grpc": "^0.19.0" } } diff --git a/prisma/package-lock.json b/prisma/package-lock.json index ce96b0e..bfbf96e 100644 --- a/prisma/package-lock.json +++ b/prisma/package-lock.json @@ -9,8 +9,8 @@ "version": "1.1.1", "license": "Apache-2.0", "dependencies": { - "@cerbos/core": "^0.18.0", - "@cerbos/grpc": "^0.18.0" + "@cerbos/core": "^0.19.0", + "@cerbos/grpc": "^0.19.0" }, "devDependencies": { "@prisma/client": "^5.0.0", @@ -710,29 +710,29 @@ "peer": true }, "node_modules/@bufbuild/protobuf": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.1.0.tgz", - "integrity": "sha512-+2Mx67Y3skJ4NCD/qNSdBJNWtu6x6Qr53jeNg+QcwiL6mt0wK+3jwHH2x1p7xaYH6Ve2JKOVn0OxU35WsmqI9A==" + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.2.2.tgz", + "integrity": "sha512-UNtPCbrwrenpmrXuRwn9jYpPoweNXj8X5sMvYgsqYyaH8jQ6LfUJSk3dJLnBK+6sfYPrF4iAIo5sd5HQ+tg75A==" }, "node_modules/@cerbos/core": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/@cerbos/core/-/core-0.18.1.tgz", - "integrity": "sha512-TIL0LKt8wWLJOX0XxpyNpLUepYlIZp7N19nLfASQ7wEMUgUnELjIEd5nYs9jGWdXOClgKz3VyIkWlpiqPtZfAQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@cerbos/core/-/core-0.19.0.tgz", + "integrity": "sha512-no/ova4WC+S/nraaeMy6tjOLS15LHVWinqtwcG7na1LnnBY8CDu9MCrwSE2wobWDOydEx7IKqR3tLiPL+ykRow==", "dependencies": { - "uuid": "^10.0.0" + "uuid": "^11.0.3" }, "engines": { "node": ">= 18" } }, "node_modules/@cerbos/grpc": { - "version": "0.18.3", - "resolved": "https://registry.npmjs.org/@cerbos/grpc/-/grpc-0.18.3.tgz", - "integrity": "sha512-xQL8fV8Q1bGqDVp+pK/lmlBlMsOrakexDxATxLqswkJ39FiiVBUbPrQbkZeE1NRS/NUo+lTn8tYzCqzCbwSEjQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@cerbos/grpc/-/grpc-0.19.0.tgz", + "integrity": "sha512-p2tTJTfI3D4uRdQ0lGryJ68ZM6XEkLx0k+MuVIzse1gN54siiPdr3/DsfeDXcHABVaPH+HEnY6RHCxZTW2UgWw==", "dependencies": { - "@bufbuild/protobuf": "^2.1.0", - "@cerbos/core": "^0.18.1", - "@grpc/grpc-js": "^1.11.3" + "@bufbuild/protobuf": "^2.2.2", + "@cerbos/core": "^0.19.0", + "@grpc/grpc-js": "^1.12.2" }, "engines": { "node": ">= 18" @@ -761,9 +761,9 @@ } }, "node_modules/@grpc/grpc-js": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.11.3.tgz", - "integrity": "sha512-i9UraDzFHMR+Iz/MhFLljT+fCpgxZ3O6CxwGJ8YuNYHJItIHUzKJpW2LvoFZNnGPwqc9iWy9RAucxV0JoR9aUQ==", + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.12.3.tgz", + "integrity": "sha512-iaxAZnANdCwMNpJlyhkI1W1jQZIDZKFNtU2OpQDdgd+pBcU3t7G+PT7svobkW4WSZTdis+CVV6y8KIwu83HDYQ==", "dependencies": { "@grpc/proto-loader": "^0.7.13", "@js-sdsl/ordered-map": "^4.4.2" @@ -1172,9 +1172,9 @@ } }, "node_modules/@prisma/client": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.20.0.tgz", - "integrity": "sha512-CLv55ZuMuUawMsxoqxGtLT3bEZoa2W8L3Qnp6rDIFWy+ZBrUcOFKdoeGPSnbBqxc3SkdxJrF+D1veN/WNynZYA==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.22.0.tgz", + "integrity": "sha512-M0SVXfyHnQREBKxCgyo7sffrKttwE6R8PMq330MIUF0pTwjUhLbW84pFDlf06B27XyCR++VtjugEnIHdr07SVA==", "dev": true, "hasInstallScript": true, "engines": { @@ -1190,48 +1190,48 @@ } }, "node_modules/@prisma/debug": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@prisma/debug/-/debug-5.20.0.tgz", - "integrity": "sha512-oCx79MJ4HSujokA8S1g0xgZUGybD4SyIOydoHMngFYiwEwYDQ5tBQkK5XoEHuwOYDKUOKRn/J0MEymckc4IgsQ==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/@prisma/debug/-/debug-5.22.0.tgz", + "integrity": "sha512-AUt44v3YJeggO2ZU5BkXI7M4hu9BF2zzH2iF2V5pyXT/lRTyWiElZ7It+bRH1EshoMRxHgpYg4VB6rCM+mG5jQ==", "dev": true }, "node_modules/@prisma/engines": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.20.0.tgz", - "integrity": "sha512-DtqkP+hcZvPEbj8t8dK5df2b7d3B8GNauKqaddRRqQBBlgkbdhJkxhoJTrOowlS3vaRt2iMCkU0+CSNn0KhqAQ==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.22.0.tgz", + "integrity": "sha512-UNjfslWhAt06kVL3CjkuYpHAWSO6L4kDCVPegV6itt7nD1kSJavd3vhgAEhjglLJJKEdJ7oIqDJ+yHk6qO8gPA==", "dev": true, "hasInstallScript": true, "dependencies": { - "@prisma/debug": "5.20.0", - "@prisma/engines-version": "5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284", - "@prisma/fetch-engine": "5.20.0", - "@prisma/get-platform": "5.20.0" + "@prisma/debug": "5.22.0", + "@prisma/engines-version": "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2", + "@prisma/fetch-engine": "5.22.0", + "@prisma/get-platform": "5.22.0" } }, "node_modules/@prisma/engines-version": { - "version": "5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284", - "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284.tgz", - "integrity": "sha512-Lg8AS5lpi0auZe2Mn4gjuCg081UZf88k3cn0RCwHgR+6cyHHpttPZBElJTHf83ZGsRNAmVCZCfUGA57WB4u4JA==", + "version": "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2", + "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2.tgz", + "integrity": "sha512-2PTmxFR2yHW/eB3uqWtcgRcgAbG1rwG9ZriSvQw+nnb7c4uCr3RAcGMb6/zfE88SKlC1Nj2ziUvc96Z379mHgQ==", "dev": true }, "node_modules/@prisma/fetch-engine": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-5.20.0.tgz", - "integrity": "sha512-JVcaPXC940wOGpCOwuqQRTz6I9SaBK0c1BAyC1pcz9xBi+dzFgUu3G/p9GV1FhFs9OKpfSpIhQfUJE9y00zhqw==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-5.22.0.tgz", + "integrity": "sha512-bkrD/Mc2fSvkQBV5EpoFcZ87AvOgDxbG99488a5cexp5Ccny+UM6MAe/UFkUC0wLYD9+9befNOqGiIJhhq+HbA==", "dev": true, "dependencies": { - "@prisma/debug": "5.20.0", - "@prisma/engines-version": "5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284", - "@prisma/get-platform": "5.20.0" + "@prisma/debug": "5.22.0", + "@prisma/engines-version": "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2", + "@prisma/get-platform": "5.22.0" } }, "node_modules/@prisma/get-platform": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-5.20.0.tgz", - "integrity": "sha512-8/+CehTZZNzJlvuryRgc77hZCWrUDYd/PmlZ7p2yNXtmf2Una4BWnTbak3us6WVdqoz5wmptk6IhsXdG2v5fmA==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-5.22.0.tgz", + "integrity": "sha512-pHhpQdr1UPFpt+zFfnPazhulaZYCUqeIcPpJViYoq9R+D/yw4fjE+CtnsnKzPYm0ddUbeXUzjGVGIRVgPDCk4Q==", "dev": true, "dependencies": { - "@prisma/debug": "5.20.0" + "@prisma/debug": "5.22.0" } }, "node_modules/@protobufjs/aspromise": { @@ -1418,9 +1418,9 @@ } }, "node_modules/@types/jest": { - "version": "29.5.13", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.13.tgz", - "integrity": "sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==", + "version": "29.5.14", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz", + "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==", "dev": true, "dependencies": { "expect": "^29.0.0", @@ -1428,9 +1428,9 @@ } }, "node_modules/@types/node": { - "version": "20.16.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.7.tgz", - "integrity": "sha512-QkDQjAY3gkvJNcZOWwzy3BN34RweT0OQ9zJyvLCU0kSK22dO2QYh/NHGfbEAYylPYzRB1/iXcojS79wOg5gFSw==", + "version": "20.17.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.9.tgz", + "integrity": "sha512-0JOXkRyLanfGPE2QRCwgxhzlBAvaRdCNMcvbd7jFfpmD4eEXll7LRwy5ymJmyeZqk7Nh7eD2LeUyQ68BbndmXw==", "dependencies": { "undici-types": "~6.19.2" } @@ -3550,13 +3550,13 @@ } }, "node_modules/prisma": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/prisma/-/prisma-5.20.0.tgz", - "integrity": "sha512-6obb3ucKgAnsGS9x9gLOe8qa51XxvJ3vLQtmyf52CTey1Qcez3A6W6ROH5HIz5Q5bW+0VpmZb8WBohieMFGpig==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/prisma/-/prisma-5.22.0.tgz", + "integrity": "sha512-vtpjW3XuYCSnMsNVBjLMNkTj6OZbudcPPTPYHqX0CJfpcdWciI1dM8uHETwmDxxiqEwCIE6WvXucWUetJgfu/A==", "dev": true, "hasInstallScript": true, "dependencies": { - "@prisma/engines": "5.20.0" + "@prisma/engines": "5.22.0" }, "bin": { "prisma": "build/index.js" @@ -4057,9 +4057,9 @@ } }, "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -4102,15 +4102,15 @@ } }, "node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.3.tgz", + "integrity": "sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==", "funding": [ "https://github.com/sponsors/broofa", "https://github.com/sponsors/ctavan" ], "bin": { - "uuid": "dist/bin/uuid" + "uuid": "dist/esm/bin/uuid" } }, "node_modules/v8-compile-cache-lib": { @@ -4805,26 +4805,26 @@ "peer": true }, "@bufbuild/protobuf": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.1.0.tgz", - "integrity": "sha512-+2Mx67Y3skJ4NCD/qNSdBJNWtu6x6Qr53jeNg+QcwiL6mt0wK+3jwHH2x1p7xaYH6Ve2JKOVn0OxU35WsmqI9A==" + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.2.2.tgz", + "integrity": "sha512-UNtPCbrwrenpmrXuRwn9jYpPoweNXj8X5sMvYgsqYyaH8jQ6LfUJSk3dJLnBK+6sfYPrF4iAIo5sd5HQ+tg75A==" }, "@cerbos/core": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/@cerbos/core/-/core-0.18.1.tgz", - "integrity": "sha512-TIL0LKt8wWLJOX0XxpyNpLUepYlIZp7N19nLfASQ7wEMUgUnELjIEd5nYs9jGWdXOClgKz3VyIkWlpiqPtZfAQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@cerbos/core/-/core-0.19.0.tgz", + "integrity": "sha512-no/ova4WC+S/nraaeMy6tjOLS15LHVWinqtwcG7na1LnnBY8CDu9MCrwSE2wobWDOydEx7IKqR3tLiPL+ykRow==", "requires": { - "uuid": "^10.0.0" + "uuid": "^11.0.3" } }, "@cerbos/grpc": { - "version": "0.18.3", - "resolved": "https://registry.npmjs.org/@cerbos/grpc/-/grpc-0.18.3.tgz", - "integrity": "sha512-xQL8fV8Q1bGqDVp+pK/lmlBlMsOrakexDxATxLqswkJ39FiiVBUbPrQbkZeE1NRS/NUo+lTn8tYzCqzCbwSEjQ==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/@cerbos/grpc/-/grpc-0.19.0.tgz", + "integrity": "sha512-p2tTJTfI3D4uRdQ0lGryJ68ZM6XEkLx0k+MuVIzse1gN54siiPdr3/DsfeDXcHABVaPH+HEnY6RHCxZTW2UgWw==", "requires": { - "@bufbuild/protobuf": "^2.1.0", - "@cerbos/core": "^0.18.1", - "@grpc/grpc-js": "^1.11.3" + "@bufbuild/protobuf": "^2.2.2", + "@cerbos/core": "^0.19.0", + "@grpc/grpc-js": "^1.12.2" } }, "@cspotcode/source-map-support": { @@ -4849,9 +4849,9 @@ } }, "@grpc/grpc-js": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.11.3.tgz", - "integrity": "sha512-i9UraDzFHMR+Iz/MhFLljT+fCpgxZ3O6CxwGJ8YuNYHJItIHUzKJpW2LvoFZNnGPwqc9iWy9RAucxV0JoR9aUQ==", + "version": "1.12.3", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.12.3.tgz", + "integrity": "sha512-iaxAZnANdCwMNpJlyhkI1W1jQZIDZKFNtU2OpQDdgd+pBcU3t7G+PT7svobkW4WSZTdis+CVV6y8KIwu83HDYQ==", "requires": { "@grpc/proto-loader": "^0.7.13", "@js-sdsl/ordered-map": "^4.4.2" @@ -5176,54 +5176,54 @@ "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==" }, "@prisma/client": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.20.0.tgz", - "integrity": "sha512-CLv55ZuMuUawMsxoqxGtLT3bEZoa2W8L3Qnp6rDIFWy+ZBrUcOFKdoeGPSnbBqxc3SkdxJrF+D1veN/WNynZYA==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/@prisma/client/-/client-5.22.0.tgz", + "integrity": "sha512-M0SVXfyHnQREBKxCgyo7sffrKttwE6R8PMq330MIUF0pTwjUhLbW84pFDlf06B27XyCR++VtjugEnIHdr07SVA==", "dev": true, "requires": {} }, "@prisma/debug": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@prisma/debug/-/debug-5.20.0.tgz", - "integrity": "sha512-oCx79MJ4HSujokA8S1g0xgZUGybD4SyIOydoHMngFYiwEwYDQ5tBQkK5XoEHuwOYDKUOKRn/J0MEymckc4IgsQ==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/@prisma/debug/-/debug-5.22.0.tgz", + "integrity": "sha512-AUt44v3YJeggO2ZU5BkXI7M4hu9BF2zzH2iF2V5pyXT/lRTyWiElZ7It+bRH1EshoMRxHgpYg4VB6rCM+mG5jQ==", "dev": true }, "@prisma/engines": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.20.0.tgz", - "integrity": "sha512-DtqkP+hcZvPEbj8t8dK5df2b7d3B8GNauKqaddRRqQBBlgkbdhJkxhoJTrOowlS3vaRt2iMCkU0+CSNn0KhqAQ==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/@prisma/engines/-/engines-5.22.0.tgz", + "integrity": "sha512-UNjfslWhAt06kVL3CjkuYpHAWSO6L4kDCVPegV6itt7nD1kSJavd3vhgAEhjglLJJKEdJ7oIqDJ+yHk6qO8gPA==", "dev": true, "requires": { - "@prisma/debug": "5.20.0", - "@prisma/engines-version": "5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284", - "@prisma/fetch-engine": "5.20.0", - "@prisma/get-platform": "5.20.0" + "@prisma/debug": "5.22.0", + "@prisma/engines-version": "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2", + "@prisma/fetch-engine": "5.22.0", + "@prisma/get-platform": "5.22.0" } }, "@prisma/engines-version": { - "version": "5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284", - "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284.tgz", - "integrity": "sha512-Lg8AS5lpi0auZe2Mn4gjuCg081UZf88k3cn0RCwHgR+6cyHHpttPZBElJTHf83ZGsRNAmVCZCfUGA57WB4u4JA==", + "version": "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2", + "resolved": "https://registry.npmjs.org/@prisma/engines-version/-/engines-version-5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2.tgz", + "integrity": "sha512-2PTmxFR2yHW/eB3uqWtcgRcgAbG1rwG9ZriSvQw+nnb7c4uCr3RAcGMb6/zfE88SKlC1Nj2ziUvc96Z379mHgQ==", "dev": true }, "@prisma/fetch-engine": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-5.20.0.tgz", - "integrity": "sha512-JVcaPXC940wOGpCOwuqQRTz6I9SaBK0c1BAyC1pcz9xBi+dzFgUu3G/p9GV1FhFs9OKpfSpIhQfUJE9y00zhqw==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/@prisma/fetch-engine/-/fetch-engine-5.22.0.tgz", + "integrity": "sha512-bkrD/Mc2fSvkQBV5EpoFcZ87AvOgDxbG99488a5cexp5Ccny+UM6MAe/UFkUC0wLYD9+9befNOqGiIJhhq+HbA==", "dev": true, "requires": { - "@prisma/debug": "5.20.0", - "@prisma/engines-version": "5.20.0-12.06fc58a368dc7be9fbbbe894adf8d445d208c284", - "@prisma/get-platform": "5.20.0" + "@prisma/debug": "5.22.0", + "@prisma/engines-version": "5.22.0-44.605197351a3c8bdd595af2d2a9bc3025bca48ea2", + "@prisma/get-platform": "5.22.0" } }, "@prisma/get-platform": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-5.20.0.tgz", - "integrity": "sha512-8/+CehTZZNzJlvuryRgc77hZCWrUDYd/PmlZ7p2yNXtmf2Una4BWnTbak3us6WVdqoz5wmptk6IhsXdG2v5fmA==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/@prisma/get-platform/-/get-platform-5.22.0.tgz", + "integrity": "sha512-pHhpQdr1UPFpt+zFfnPazhulaZYCUqeIcPpJViYoq9R+D/yw4fjE+CtnsnKzPYm0ddUbeXUzjGVGIRVgPDCk4Q==", "dev": true, "requires": { - "@prisma/debug": "5.20.0" + "@prisma/debug": "5.22.0" } }, "@protobufjs/aspromise": { @@ -5410,9 +5410,9 @@ } }, "@types/jest": { - "version": "29.5.13", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.13.tgz", - "integrity": "sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg==", + "version": "29.5.14", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.14.tgz", + "integrity": "sha512-ZN+4sdnLUbo8EVvVc2ao0GFW6oVrQRPn4K2lglySj7APvSrgzxHiNNK99us4WDMi57xxA2yggblIAMNhXOotLQ==", "dev": true, "requires": { "expect": "^29.0.0", @@ -5420,9 +5420,9 @@ } }, "@types/node": { - "version": "20.16.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.7.tgz", - "integrity": "sha512-QkDQjAY3gkvJNcZOWwzy3BN34RweT0OQ9zJyvLCU0kSK22dO2QYh/NHGfbEAYylPYzRB1/iXcojS79wOg5gFSw==", + "version": "20.17.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.9.tgz", + "integrity": "sha512-0JOXkRyLanfGPE2QRCwgxhzlBAvaRdCNMcvbd7jFfpmD4eEXll7LRwy5ymJmyeZqk7Nh7eD2LeUyQ68BbndmXw==", "requires": { "undici-types": "~6.19.2" } @@ -7045,12 +7045,12 @@ } }, "prisma": { - "version": "5.20.0", - "resolved": "https://registry.npmjs.org/prisma/-/prisma-5.20.0.tgz", - "integrity": "sha512-6obb3ucKgAnsGS9x9gLOe8qa51XxvJ3vLQtmyf52CTey1Qcez3A6W6ROH5HIz5Q5bW+0VpmZb8WBohieMFGpig==", + "version": "5.22.0", + "resolved": "https://registry.npmjs.org/prisma/-/prisma-5.22.0.tgz", + "integrity": "sha512-vtpjW3XuYCSnMsNVBjLMNkTj6OZbudcPPTPYHqX0CJfpcdWciI1dM8uHETwmDxxiqEwCIE6WvXucWUetJgfu/A==", "dev": true, "requires": { - "@prisma/engines": "5.20.0", + "@prisma/engines": "5.22.0", "fsevents": "2.3.3" } }, @@ -7385,9 +7385,9 @@ "peer": true }, "typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true }, "undici-types": { @@ -7407,9 +7407,9 @@ } }, "uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==" + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.3.tgz", + "integrity": "sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==" }, "v8-compile-cache-lib": { "version": "3.0.1", diff --git a/prisma/package.json b/prisma/package.json index 56af82a..e9c1d80 100644 --- a/prisma/package.json +++ b/prisma/package.json @@ -30,7 +30,7 @@ "typescript": "^5.0.0" }, "dependencies": { - "@cerbos/core": "^0.18.0", - "@cerbos/grpc": "^0.18.0" + "@cerbos/core": "^0.19.0", + "@cerbos/grpc": "^0.19.0" } } From 0a47717d83772eb70f0548e6aff01bdf93d49bfa Mon Sep 17 00:00:00 2001 From: Andrew Haines Date: Mon, 9 Dec 2024 13:06:02 +0000 Subject: [PATCH 2/4] Fix tests Signed-off-by: Andrew Haines --- policies/resource.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/policies/resource.yaml b/policies/resource.yaml index 22e36c2..a1415e0 100644 --- a/policies/resource.yaml +++ b/policies/resource.yaml @@ -35,6 +35,12 @@ resourcePolicy: match: expr: request.resource.attr.aBool == true + - actions: + - "explicit-deny" + effect: EFFECT_ALLOW + roles: + - USER + - actions: - "ne" effect: EFFECT_ALLOW From 4e13817ded754f317897347efafbd690137e184b Mon Sep 17 00:00:00 2001 From: Andrew Haines Date: Mon, 9 Dec 2024 13:07:44 +0000 Subject: [PATCH 3/4] Test against Node.js v22 Signed-off-by: Andrew Haines --- .github/workflows/mongoose.yaml | 2 +- .github/workflows/prisma.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mongoose.yaml b/.github/workflows/mongoose.yaml index 04587ff..b9eea16 100644 --- a/.github/workflows/mongoose.yaml +++ b/.github/workflows/mongoose.yaml @@ -18,7 +18,7 @@ jobs: matrix: cerbos-version: ["latest"] mongodb-version: ["4.4", "5.0", "6.0", "7.0"] - node-version: ["18", "20"] + node-version: ["18", "20", "22"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/prisma.yaml b/.github/workflows/prisma.yaml index 24ab6d5..33b1179 100644 --- a/.github/workflows/prisma.yaml +++ b/.github/workflows/prisma.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: cerbos-version: ["latest"] - node-version: ["18", "20"] + node-version: ["18", "20", "22"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 From 973777f5419e66d1a9421bf0d789c527fd3d4ba8 Mon Sep 17 00:00:00 2001 From: Andrew Haines Date: Mon, 9 Dec 2024 13:10:19 +0000 Subject: [PATCH 4/4] Test against MongoDB v8.0 Signed-off-by: Andrew Haines --- .github/workflows/mongoose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mongoose.yaml b/.github/workflows/mongoose.yaml index b9eea16..d37bfc8 100644 --- a/.github/workflows/mongoose.yaml +++ b/.github/workflows/mongoose.yaml @@ -17,7 +17,7 @@ jobs: strategy: matrix: cerbos-version: ["latest"] - mongodb-version: ["4.4", "5.0", "6.0", "7.0"] + mongodb-version: ["4.4", "5.0", "6.0", "7.0", "8.0"] node-version: ["18", "20", "22"] runs-on: ubuntu-latest steps: