From ca6c7c80ec0b8e77d4b03cd0411e5302de26b8ce Mon Sep 17 00:00:00 2001 From: Marc Roig Date: Thu, 2 May 2024 17:14:54 +0200 Subject: [PATCH] release: 4.24.1 to develop (#20248) * fix(admin): if were in EE mode wait for the EE routes to be loaded before rendering (#20238) * fix: issue 20138 (#20240) * v4.24.1 --------- Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com> Co-authored-by: Alexandre BODIN --- .github/actions/check-pr-status/package.json | 2 +- examples/getstarted/package.json | 22 +- examples/kitchensink-ts/package.json | 8 +- examples/kitchensink/package.json | 10 +- .../plugins/workspace-plugin/package.json | 2 +- lerna.json | 2 +- packages/admin-test-utils/package.json | 6 +- packages/cli/create-strapi-app/package.json | 8 +- .../cli/create-strapi-starter/package.json | 8 +- packages/core/admin/admin/src/App.tsx | 8 +- packages/core/admin/package.json | 22 +- packages/core/content-manager/package.json | 6 +- packages/core/content-releases/package.json | 12 +- .../core/content-type-builder/package.json | 12 +- packages/core/data-transfer/package.json | 10 +- packages/core/database/package.json | 8 +- .../core/database/src/query/helpers/where.ts | 5 + packages/core/email/package.json | 10 +- packages/core/helper-plugin/package.json | 10 +- packages/core/permissions/package.json | 8 +- packages/core/strapi/package.json | 36 +- packages/core/types/package.json | 14 +- packages/core/upload/package.json | 10 +- packages/core/utils/package.json | 8 +- packages/generators/app/package.json | 2 +- packages/generators/generators/package.json | 10 +- packages/plugins/cloud/package.json | 10 +- packages/plugins/color-picker/package.json | 6 +- packages/plugins/documentation/package.json | 8 +- packages/plugins/graphql/package.json | 14 +- packages/plugins/i18n/package.json | 12 +- packages/plugins/sentry/package.json | 6 +- .../plugins/users-permissions/package.json | 8 +- .../providers/audit-logs-local/package.json | 8 +- .../providers/email-amazon-ses/package.json | 8 +- packages/providers/email-mailgun/package.json | 8 +- .../providers/email-nodemailer/package.json | 6 +- .../providers/email-sendgrid/package.json | 8 +- .../providers/email-sendmail/package.json | 8 +- packages/providers/upload-aws-s3/package.json | 6 +- .../providers/upload-cloudinary/package.json | 8 +- packages/providers/upload-local/package.json | 8 +- packages/utils/api-tests/package.json | 2 +- .../utils/eslint-config-custom/package.json | 2 +- packages/utils/logger/package.json | 6 +- packages/utils/tsconfig/package.json | 2 +- packages/utils/typescript/package.json | 2 +- scripts/front/package.json | 2 +- .../core/strapi/deep-filtering.test.api.js | 105 +++++ tests/api/core/strapi/filtering.test.api.js | 106 +++++ yarn.lock | 366 +++++++++--------- 51 files changed, 603 insertions(+), 381 deletions(-) diff --git a/.github/actions/check-pr-status/package.json b/.github/actions/check-pr-status/package.json index 2ee2f6d5de..009c3fa2a6 100644 --- a/.github/actions/check-pr-status/package.json +++ b/.github/actions/check-pr-status/package.json @@ -1,6 +1,6 @@ { "name": "check-pr-status", - "version": "4.24.0", + "version": "4.24.1", "private": true, "license": "MIT", "main": "dist/index.js", diff --git a/examples/getstarted/package.json b/examples/getstarted/package.json index a6c28caf50..955fc73500 100644 --- a/examples/getstarted/package.json +++ b/examples/getstarted/package.json @@ -1,6 +1,6 @@ { "name": "getstarted", - "version": "4.24.0", + "version": "4.24.1", "private": true, "description": "A Strapi application.", "license": "SEE LICENSE IN LICENSE", @@ -14,16 +14,16 @@ }, "dependencies": { "@strapi/icons": "1.18.0", - "@strapi/plugin-color-picker": "4.24.0", - "@strapi/plugin-documentation": "4.24.0", - "@strapi/plugin-graphql": "4.24.0", - "@strapi/plugin-i18n": "4.24.0", - "@strapi/plugin-sentry": "4.24.0", - "@strapi/plugin-users-permissions": "4.24.0", - "@strapi/provider-email-mailgun": "4.24.0", - "@strapi/provider-upload-aws-s3": "4.24.0", - "@strapi/provider-upload-cloudinary": "4.24.0", - "@strapi/strapi": "4.24.0", + "@strapi/plugin-color-picker": "4.24.1", + "@strapi/plugin-documentation": "4.24.1", + "@strapi/plugin-graphql": "4.24.1", + "@strapi/plugin-i18n": "4.24.1", + "@strapi/plugin-sentry": "4.24.1", + "@strapi/plugin-users-permissions": "4.24.1", + "@strapi/provider-email-mailgun": "4.24.1", + "@strapi/provider-upload-aws-s3": "4.24.1", + "@strapi/provider-upload-cloudinary": "4.24.1", + "@strapi/strapi": "4.24.1", "better-sqlite3": "8.6.0", "lodash": "4.17.21", "mysql": "2.18.1", diff --git a/examples/kitchensink-ts/package.json b/examples/kitchensink-ts/package.json index a22e165303..e511ad7bbb 100644 --- a/examples/kitchensink-ts/package.json +++ b/examples/kitchensink-ts/package.json @@ -1,6 +1,6 @@ { "name": "kitchensink-ts", - "version": "4.24.0", + "version": "4.24.1", "private": true, "description": "A Strapi application", "license": "MIT", @@ -14,9 +14,9 @@ "strapi": "strapi" }, "dependencies": { - "@strapi/plugin-i18n": "4.24.0", - "@strapi/plugin-users-permissions": "4.24.0", - "@strapi/strapi": "4.24.0", + "@strapi/plugin-i18n": "4.24.1", + "@strapi/plugin-users-permissions": "4.24.1", + "@strapi/strapi": "4.24.1", "better-sqlite3": "8.6.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/kitchensink/package.json b/examples/kitchensink/package.json index 32d3b6a46c..8fce82e062 100644 --- a/examples/kitchensink/package.json +++ b/examples/kitchensink/package.json @@ -1,6 +1,6 @@ { "name": "kitchensink", - "version": "4.24.0", + "version": "4.24.1", "private": true, "description": "A Strapi application.", "license": "SEE LICENSE IN LICENSE", @@ -13,10 +13,10 @@ "strapi": "strapi" }, "dependencies": { - "@strapi/provider-email-mailgun": "4.24.0", - "@strapi/provider-upload-aws-s3": "4.24.0", - "@strapi/provider-upload-cloudinary": "4.24.0", - "@strapi/strapi": "4.24.0", + "@strapi/provider-email-mailgun": "4.24.1", + "@strapi/provider-upload-aws-s3": "4.24.1", + "@strapi/provider-upload-cloudinary": "4.24.1", + "@strapi/strapi": "4.24.1", "lodash": "4.17.21", "mysql": "2.18.1", "mysql2": "3.9.4", diff --git a/examples/plugins/workspace-plugin/package.json b/examples/plugins/workspace-plugin/package.json index 39f7cf35e8..d50ad69945 100644 --- a/examples/plugins/workspace-plugin/package.json +++ b/examples/plugins/workspace-plugin/package.json @@ -1,6 +1,6 @@ { "name": "strapi-plugin-workspace-plugin", - "version": "4.24.0", + "version": "4.24.1", "private": true, "description": "This is the description of my plugin.", "exports": { diff --git a/lerna.json b/lerna.json index b1f397e623..888fb6bc92 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "4.24.0", + "version": "4.24.1", "packages": ["packages/*", "examples/*"], "npmClient": "yarn", "useWorkspaces": true, diff --git a/packages/admin-test-utils/package.json b/packages/admin-test-utils/package.json index 09e83651a8..51b952c892 100644 --- a/packages/admin-test-utils/package.json +++ b/packages/admin-test-utils/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/admin-test-utils", - "version": "4.24.0", + "version": "4.24.1", "private": true, "description": "Test utilities for the Strapi administration panel", "license": "MIT", @@ -74,8 +74,8 @@ "@reduxjs/toolkit": "1.9.7", "@strapi/pack-up": "4.23.0", "@testing-library/jest-dom": "5.16.5", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "peerDependencies": { "@reduxjs/toolkit": "^1.9.7", diff --git a/packages/cli/create-strapi-app/package.json b/packages/cli/create-strapi-app/package.json index 124bc4164d..15902a18ae 100644 --- a/packages/cli/create-strapi-app/package.json +++ b/packages/cli/create-strapi-app/package.json @@ -1,6 +1,6 @@ { "name": "create-strapi-app", - "version": "4.24.0", + "version": "4.24.1", "description": "Generate a new Strapi application.", "keywords": [ "create-strapi-app", @@ -43,14 +43,14 @@ "watch": "pack-up watch" }, "dependencies": { - "@strapi/generate-new": "4.24.0", + "@strapi/generate-new": "4.24.1", "commander": "8.3.0", "inquirer": "8.2.5" }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/cli/create-strapi-starter/package.json b/packages/cli/create-strapi-starter/package.json index 67eacf0b03..d019f8fef0 100644 --- a/packages/cli/create-strapi-starter/package.json +++ b/packages/cli/create-strapi-starter/package.json @@ -1,6 +1,6 @@ { "name": "create-strapi-starter", - "version": "4.24.0", + "version": "4.24.1", "description": "Generate a new Strapi application.", "keywords": [ "create-strapi-starter", @@ -43,7 +43,7 @@ "watch": "pack-up watch" }, "dependencies": { - "@strapi/generate-new": "4.24.0", + "@strapi/generate-new": "4.24.1", "chalk": "4.1.2", "ci-info": "3.8.0", "commander": "8.3.0", @@ -54,8 +54,8 @@ }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/core/admin/admin/src/App.tsx b/packages/core/admin/admin/src/App.tsx index e6ab002c26..abc5318638 100644 --- a/packages/core/admin/admin/src/App.tsx +++ b/packages/core/admin/admin/src/App.tsx @@ -137,7 +137,13 @@ export const App = ({ authLogo, menuLogo, showReleaseNotification, showTutorials [uuid, telemetryPropertiesQuery.data] ); - if (initQuery.isLoading) { + /** + * `routes` will only be an array if EE mode is activated, + * therefore we need to ensure the lazy loading of EE routes + * has been complete otherwise the SSO repsonse URL will not be + * caught by the component and you won't be able to login with it. + */ + if (initQuery.isLoading || (Array.isArray(routes) && routes.length === 0)) { return ; } diff --git a/packages/core/admin/package.json b/packages/core/admin/package.json index 91084302e7..e5c913f291 100644 --- a/packages/core/admin/package.json +++ b/packages/core/admin/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/admin", - "version": "4.24.0", + "version": "4.24.1", "description": "Strapi Admin", "repository": { "type": "git", @@ -73,13 +73,13 @@ "@radix-ui/react-toolbar": "1.0.4", "@reduxjs/toolkit": "1.9.7", "@strapi/design-system": "1.18.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0", - "@strapi/permissions": "4.24.0", - "@strapi/provider-audit-logs-local": "4.24.0", - "@strapi/types": "4.24.0", - "@strapi/typescript-utils": "4.24.0", - "@strapi/utils": "4.24.0", + "@strapi/permissions": "4.24.1", + "@strapi/provider-audit-logs-local": "4.24.1", + "@strapi/types": "4.24.1", + "@strapi/typescript-utils": "4.24.1", + "@strapi/utils": "4.24.1", "@vitejs/plugin-react-swc": "3.5.0", "axios": "1.6.0", "bcryptjs": "2.4.3", @@ -169,11 +169,11 @@ "yup": "0.32.9" }, "devDependencies": { - "@strapi/admin-test-utils": "4.24.0", - "@strapi/data-transfer": "4.24.0", + "@strapi/admin-test-utils": "4.24.1", + "@strapi/data-transfer": "4.24.1", "@strapi/pack-up": "4.23.0", - "@strapi/plugin-content-manager": "4.24.0", - "@strapi/strapi": "4.24.0", + "@strapi/plugin-content-manager": "4.24.1", + "@strapi/strapi": "4.24.1", "@testing-library/dom": "9.2.0", "@testing-library/react": "14.0.0", "@testing-library/user-event": "14.4.3", diff --git a/packages/core/content-manager/package.json b/packages/core/content-manager/package.json index c3add1b82b..de0dc8ab82 100644 --- a/packages/core/content-manager/package.json +++ b/packages/core/content-manager/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/plugin-content-manager", - "version": "4.24.0", + "version": "4.24.1", "description": "A powerful UI to easily manage your data.", "repository": { "type": "git", @@ -49,8 +49,8 @@ }, "dependencies": { "@sindresorhus/slugify": "1.1.0", - "@strapi/types": "4.24.0", - "@strapi/utils": "4.24.0", + "@strapi/types": "4.24.1", + "@strapi/utils": "4.24.1", "koa": "2.13.4", "koa-bodyparser": "4.4.1", "lodash": "4.17.21", diff --git a/packages/core/content-releases/package.json b/packages/core/content-releases/package.json index 9174d82969..c910e237dd 100644 --- a/packages/core/content-releases/package.json +++ b/packages/core/content-releases/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/content-releases", - "version": "4.24.0", + "version": "4.24.1", "description": "Strapi plugin for organizing and releasing content", "repository": { "type": "git", @@ -56,10 +56,10 @@ "dependencies": { "@reduxjs/toolkit": "1.9.7", "@strapi/design-system": "1.18.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0", "@strapi/types": "workspace:*", - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "axios": "1.6.0", "date-fns": "2.30.0", "date-fns-tz": "2.0.0", @@ -71,10 +71,10 @@ "yup": "0.32.9" }, "devDependencies": { - "@strapi/admin": "4.24.0", - "@strapi/admin-test-utils": "4.24.0", + "@strapi/admin": "4.24.1", + "@strapi/admin-test-utils": "4.24.1", "@strapi/pack-up": "4.23.0", - "@strapi/strapi": "4.24.0", + "@strapi/strapi": "4.24.1", "@testing-library/react": "14.0.0", "@testing-library/user-event": "14.4.3", "@types/koa": "2.13.4", diff --git a/packages/core/content-type-builder/package.json b/packages/core/content-type-builder/package.json index b5fc7d147c..4a2eedb459 100644 --- a/packages/core/content-type-builder/package.json +++ b/packages/core/content-type-builder/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/plugin-content-type-builder", - "version": "4.24.0", + "version": "4.24.1", "description": "Strapi plugin to create content type", "repository": { "type": "git", @@ -59,10 +59,10 @@ "@reduxjs/toolkit": "1.9.7", "@sindresorhus/slugify": "1.1.0", "@strapi/design-system": "1.18.0", - "@strapi/generators": "4.24.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/generators": "4.24.1", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0", - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "fs-extra": "10.0.0", "immer": "9.0.19", "koa-bodyparser": "4.4.1", @@ -77,8 +77,8 @@ }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "@strapi/strapi": "4.24.0", - "@strapi/types": "4.24.0", + "@strapi/strapi": "4.24.1", + "@strapi/types": "4.24.1", "@testing-library/react": "14.0.0", "@testing-library/react-hooks": "8.0.1", "@testing-library/user-event": "14.4.3", diff --git a/packages/core/data-transfer/package.json b/packages/core/data-transfer/package.json index 5898887900..88ab15082f 100644 --- a/packages/core/data-transfer/package.json +++ b/packages/core/data-transfer/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/data-transfer", - "version": "4.24.0", + "version": "4.24.1", "description": "Data transfer capabilities for Strapi", "keywords": [ "strapi", @@ -40,10 +40,10 @@ "watch": "pack-up watch" }, "dependencies": { - "@strapi/logger": "4.24.0", - "@strapi/strapi": "4.24.0", - "@strapi/types": "4.24.0", - "@strapi/utils": "4.24.0", + "@strapi/logger": "4.24.1", + "@strapi/strapi": "4.24.1", + "@strapi/types": "4.24.1", + "@strapi/utils": "4.24.1", "chalk": "4.1.2", "cli-table3": "0.6.2", "commander": "8.3.0", diff --git a/packages/core/database/package.json b/packages/core/database/package.json index c03d062e4a..c3674fad51 100644 --- a/packages/core/database/package.json +++ b/packages/core/database/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/database", - "version": "4.24.0", + "version": "4.24.1", "description": "Strapi's database layer", "homepage": "https://strapi.io", "bugs": { @@ -39,7 +39,7 @@ "watch": "pack-up watch" }, "dependencies": { - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "date-fns": "2.30.0", "debug": "4.3.4", "fs-extra": "10.0.0", @@ -50,8 +50,8 @@ }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/core/database/src/query/helpers/where.ts b/packages/core/database/src/query/helpers/where.ts index 40210f394b..acde9d3d35 100644 --- a/packages/core/database/src/query/helpers/where.ts +++ b/packages/core/database/src/query/helpers/where.ts @@ -97,6 +97,11 @@ const processRelationWhere = (where: unknown, ctx: WhereCtx) => { if (operatorKeys.length === 1) { const operator = operatorKeys[0]; + + if (isOperatorOfType('group', operator)) { + return processWhere(where, ctx); + } + return { [idAlias]: { [operator]: processNested(where[operator], ctx) } }; } diff --git a/packages/core/email/package.json b/packages/core/email/package.json index ad65a0e2c1..a8db3e8bff 100644 --- a/packages/core/email/package.json +++ b/packages/core/email/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/plugin-email", - "version": "4.24.0", + "version": "4.24.1", "description": "Easily configure your Strapi application to send emails.", "repository": { "type": "git", @@ -53,10 +53,10 @@ }, "dependencies": { "@strapi/design-system": "1.18.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0", - "@strapi/provider-email-sendmail": "4.24.0", - "@strapi/utils": "4.24.0", + "@strapi/provider-email-sendmail": "4.24.1", + "@strapi/utils": "4.24.1", "lodash": "4.17.21", "prop-types": "^15.8.1", "react-intl": "6.4.1", @@ -65,7 +65,7 @@ }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "@strapi/types": "4.24.0", + "@strapi/types": "4.24.1", "@testing-library/react": "14.0.0", "@types/koa": "2.13.4", "@types/lodash": "^4.14.191", diff --git a/packages/core/helper-plugin/package.json b/packages/core/helper-plugin/package.json index 545f5a73a1..d49c25b85f 100644 --- a/packages/core/helper-plugin/package.json +++ b/packages/core/helper-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/helper-plugin", - "version": "4.24.0", + "version": "4.24.1", "description": "Helper for Strapi plugins development", "repository": { "type": "git", @@ -68,16 +68,16 @@ "@storybook/addon-mdx-gfm": "7.5.3", "@storybook/builder-vite": "7.5.3", "@storybook/react-vite": "7.5.3", - "@strapi/admin-test-utils": "4.24.0", + "@strapi/admin-test-utils": "4.24.1", "@strapi/design-system": "1.18.0", "@strapi/icons": "1.18.0", "@strapi/pack-up": "4.23.0", - "@strapi/types": "4.24.0", - "@strapi/utils": "4.24.0", + "@strapi/types": "4.24.1", + "@strapi/utils": "4.24.1", "@testing-library/react": "14.0.0", "@testing-library/user-event": "14.4.3", "cross-env": "^7.0.3", - "eslint-config-custom": "4.24.0", + "eslint-config-custom": "4.24.1", "eslint-plugin-storybook": "0.6.14", "msw": "1.3.0", "react": "^18.2.0", diff --git a/packages/core/permissions/package.json b/packages/core/permissions/package.json index 3ef84c67e6..b610524b11 100644 --- a/packages/core/permissions/package.json +++ b/packages/core/permissions/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/permissions", - "version": "4.24.0", + "version": "4.24.1", "description": "Strapi's permission layer.", "repository": { "type": "git", @@ -37,15 +37,15 @@ }, "dependencies": { "@casl/ability": "6.5.0", - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "lodash": "4.17.21", "qs": "6.11.1", "sift": "16.0.1" }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/core/strapi/package.json b/packages/core/strapi/package.json index 9786f3e32c..1db6046cac 100644 --- a/packages/core/strapi/package.json +++ b/packages/core/strapi/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/strapi", - "version": "4.24.0", + "version": "4.24.1", "description": "An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite", "keywords": [ "strapi", @@ -113,22 +113,22 @@ "dependencies": { "@koa/cors": "5.0.0", "@koa/router": "10.1.1", - "@strapi/admin": "4.24.0", - "@strapi/content-releases": "4.24.0", - "@strapi/data-transfer": "4.24.0", - "@strapi/database": "4.24.0", - "@strapi/generate-new": "4.24.0", - "@strapi/generators": "4.24.0", - "@strapi/logger": "4.24.0", + "@strapi/admin": "4.24.1", + "@strapi/content-releases": "4.24.1", + "@strapi/data-transfer": "4.24.1", + "@strapi/database": "4.24.1", + "@strapi/generate-new": "4.24.1", + "@strapi/generators": "4.24.1", + "@strapi/logger": "4.24.1", "@strapi/pack-up": "4.23.0", - "@strapi/permissions": "4.24.0", - "@strapi/plugin-content-manager": "4.24.0", - "@strapi/plugin-content-type-builder": "4.24.0", - "@strapi/plugin-email": "4.24.0", - "@strapi/plugin-upload": "4.24.0", - "@strapi/types": "4.24.0", - "@strapi/typescript-utils": "4.24.0", - "@strapi/utils": "4.24.0", + "@strapi/permissions": "4.24.1", + "@strapi/plugin-content-manager": "4.24.1", + "@strapi/plugin-content-type-builder": "4.24.1", + "@strapi/plugin-email": "4.24.1", + "@strapi/plugin-upload": "4.24.1", + "@strapi/types": "4.24.1", + "@strapi/typescript-utils": "4.24.1", + "@strapi/utils": "4.24.1", "bcryptjs": "2.4.3", "boxen": "5.1.2", "chalk": "4.1.2", @@ -194,9 +194,9 @@ "@types/node-schedule": "2.1.0", "@types/nodemon": "1.19.6", "@types/statuses": "2.0.1", - "eslint-config-custom": "4.24.0", + "eslint-config-custom": "4.24.1", "supertest": "6.3.3", - "tsconfig": "4.24.0" + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/core/types/package.json b/packages/core/types/package.json index d11e561aa0..3597543bcd 100644 --- a/packages/core/types/package.json +++ b/packages/core/types/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/types", - "version": "4.24.0", + "version": "4.24.1", "description": "Shared typescript types for Strapi internal use", "keywords": [ "strapi" @@ -46,10 +46,10 @@ "@casl/ability": "6.5.0", "@koa/cors": "5.0.0", "@koa/router": "10.1.1", - "@strapi/database": "4.24.0", - "@strapi/logger": "4.24.0", - "@strapi/permissions": "4.24.0", - "@strapi/utils": "4.24.0", + "@strapi/database": "4.24.1", + "@strapi/logger": "4.24.1", + "@strapi/permissions": "4.24.1", + "@strapi/utils": "4.24.1", "commander": "8.3.0", "https-proxy-agent": "5.0.1", "koa": "2.13.4", @@ -63,8 +63,8 @@ "@types/koa": "2.13.4", "@types/koa__router": "12.0.0", "@types/node-schedule": "2.1.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0", + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1", "typescript": "5.2.2" }, "engines": { diff --git a/packages/core/upload/package.json b/packages/core/upload/package.json index fcbfde7c53..534efd40fb 100644 --- a/packages/core/upload/package.json +++ b/packages/core/upload/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/plugin-upload", - "version": "4.24.0", + "version": "4.24.1", "description": "Makes it easy to upload images and files to your Strapi Application.", "license": "SEE LICENSE IN LICENSE", "author": { @@ -43,10 +43,10 @@ }, "dependencies": { "@strapi/design-system": "1.18.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0", - "@strapi/provider-upload-local": "4.24.0", - "@strapi/utils": "4.24.0", + "@strapi/provider-upload-local": "4.24.1", + "@strapi/utils": "4.24.1", "axios": "1.6.0", "byte-size": "7.0.1", "cropperjs": "1.6.0", @@ -71,7 +71,7 @@ }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "@strapi/strapi": "4.24.0", + "@strapi/strapi": "4.24.1", "@testing-library/dom": "9.2.0", "@testing-library/react": "14.0.0", "@testing-library/user-event": "14.4.3", diff --git a/packages/core/utils/package.json b/packages/core/utils/package.json index 2df220fd3e..d11d3d61f2 100644 --- a/packages/core/utils/package.json +++ b/packages/core/utils/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/utils", - "version": "4.24.0", + "version": "4.24.1", "description": "Shared utilities for the Strapi packages", "keywords": [ "strapi", @@ -53,13 +53,13 @@ }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "@strapi/types": "4.24.0", + "@strapi/types": "4.24.1", "@types/koa": "2.13.4", "@types/node": "18.18.4", - "eslint-config-custom": "4.24.0", + "eslint-config-custom": "4.24.1", "koa": "2.13.4", "koa-body": "4.2.0", - "tsconfig": "4.24.0" + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/generators/app/package.json b/packages/generators/app/package.json index 681290eea2..3bda6c3bbc 100644 --- a/packages/generators/app/package.json +++ b/packages/generators/app/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/generate-new", - "version": "4.24.0", + "version": "4.24.1", "description": "Generate a new Strapi application.", "keywords": [ "generate", diff --git a/packages/generators/generators/package.json b/packages/generators/generators/package.json index f8b144e214..e46247b787 100644 --- a/packages/generators/generators/package.json +++ b/packages/generators/generators/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/generators", - "version": "4.24.0", + "version": "4.24.1", "description": "Interactive API generator.", "keywords": [ "strapi", @@ -46,8 +46,8 @@ }, "dependencies": { "@sindresorhus/slugify": "1.1.0", - "@strapi/typescript-utils": "4.24.0", - "@strapi/utils": "4.24.0", + "@strapi/typescript-utils": "4.24.1", + "@strapi/utils": "4.24.1", "chalk": "4.1.2", "copyfiles": "2.4.1", "fs-extra": "10.0.0", @@ -57,8 +57,8 @@ }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/plugins/cloud/package.json b/packages/plugins/cloud/package.json index 5122e6499d..79175eb2c1 100644 --- a/packages/plugins/cloud/package.json +++ b/packages/plugins/cloud/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/plugin-cloud", - "version": "4.24.0", + "version": "4.24.1", "description": "Instructions to deploy your local project to Strapi Cloud", "license": "MIT", "author": { @@ -37,22 +37,22 @@ }, "dependencies": { "@strapi/design-system": "1.18.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0", "react-intl": "6.4.1" }, "devDependencies": { - "@strapi/strapi": "4.24.0", + "@strapi/strapi": "4.24.1", "@types/react": "18.2.39", "@types/react-dom": "18.2.17", "@types/react-router-dom": "^5.3.3", "@types/styled-components": "5.1.32", - "eslint-config-custom": "4.24.0", + "eslint-config-custom": "4.24.1", "react": "18.2.0", "react-dom": "18.2.0", "react-router-dom": "5.3.4", "styled-components": "5.3.3", - "tsconfig": "4.24.0", + "tsconfig": "4.24.1", "typescript": "5.2.2" }, "peerDependencies": { diff --git a/packages/plugins/color-picker/package.json b/packages/plugins/color-picker/package.json index b8eabe7651..1e7e4de660 100644 --- a/packages/plugins/color-picker/package.json +++ b/packages/plugins/color-picker/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/plugin-color-picker", - "version": "4.24.0", + "version": "4.24.1", "description": "Strapi maintained Custom Fields", "repository": { "type": "git", @@ -54,14 +54,14 @@ }, "dependencies": { "@strapi/design-system": "1.18.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0", "prop-types": "^15.8.1", "react-colorful": "5.6.1", "react-intl": "6.4.1" }, "devDependencies": { - "@strapi/strapi": "4.24.0", + "@strapi/strapi": "4.24.1", "@testing-library/react": "14.0.0", "@testing-library/user-event": "14.4.3", "@types/styled-components": "5.1.32", diff --git a/packages/plugins/documentation/package.json b/packages/plugins/documentation/package.json index 0375c60c9e..d6a0857ab7 100644 --- a/packages/plugins/documentation/package.json +++ b/packages/plugins/documentation/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/plugin-documentation", - "version": "4.24.0", + "version": "4.24.1", "description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.", "repository": { "type": "git", @@ -46,9 +46,9 @@ }, "dependencies": { "@strapi/design-system": "1.18.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0", - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "bcryptjs": "2.4.3", "cheerio": "^1.0.0-rc.12", "formik": "2.4.0", @@ -67,7 +67,7 @@ "devDependencies": { "@apidevtools/swagger-parser": "^10.1.0", "@strapi/pack-up": "4.23.0", - "@strapi/strapi": "4.24.0", + "@strapi/strapi": "4.24.1", "@testing-library/react": "14.0.0", "@testing-library/user-event": "14.4.3", "msw": "1.3.0", diff --git a/packages/plugins/graphql/package.json b/packages/plugins/graphql/package.json index 6cefaaffe2..4dad757e55 100644 --- a/packages/plugins/graphql/package.json +++ b/packages/plugins/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/plugin-graphql", - "version": "4.24.0", + "version": "4.24.1", "description": "Adds GraphQL endpoint with default API methods.", "repository": { "type": "git", @@ -51,9 +51,9 @@ "@graphql-tools/schema": "8.5.1", "@graphql-tools/utils": "^8.13.1", "@strapi/design-system": "1.18.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0", - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "apollo-server-core": "3.12.1", "apollo-server-koa": "3.10.0", "graphql": "^15.5.1", @@ -67,18 +67,18 @@ "pluralize": "8.0.0" }, "devDependencies": { - "@strapi/strapi": "4.24.0", - "@strapi/types": "4.24.0", + "@strapi/strapi": "4.24.1", + "@strapi/types": "4.24.1", "@types/graphql-depth-limit": "1.1.5", "@types/graphql-upload": "8.0.12", "cross-env": "^7.0.3", - "eslint-config-custom": "4.24.0", + "eslint-config-custom": "4.24.1", "koa": "2.13.4", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "5.3.4", "styled-components": "5.3.3", - "tsconfig": "4.24.0", + "tsconfig": "4.24.1", "typescript": "5.2.2" }, "peerDependencies": { diff --git a/packages/plugins/i18n/package.json b/packages/plugins/i18n/package.json index 83536848c4..18bd41501e 100644 --- a/packages/plugins/i18n/package.json +++ b/packages/plugins/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/plugin-i18n", - "version": "4.24.0", + "version": "4.24.1", "description": "This plugin enables to create, to read and to update content in different languages, both from the Admin Panel and from the API", "repository": { "type": "git", @@ -55,9 +55,9 @@ "dependencies": { "@reduxjs/toolkit": "1.9.7", "@strapi/design-system": "1.18.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0", - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "axios": "1.6.0", "formik": "2.4.0", "immer": "9.0.19", @@ -70,10 +70,10 @@ "yup": "0.32.9" }, "devDependencies": { - "@strapi/admin-test-utils": "4.24.0", + "@strapi/admin-test-utils": "4.24.1", "@strapi/pack-up": "4.23.0", - "@strapi/strapi": "4.24.0", - "@strapi/types": "4.24.0", + "@strapi/strapi": "4.24.1", + "@strapi/types": "4.24.1", "@testing-library/react": "14.0.0", "@testing-library/user-event": "14.4.3", "msw": "1.3.0", diff --git a/packages/plugins/sentry/package.json b/packages/plugins/sentry/package.json index 9f5ce10188..30b6d14e62 100644 --- a/packages/plugins/sentry/package.json +++ b/packages/plugins/sentry/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/plugin-sentry", - "version": "4.24.0", + "version": "4.24.1", "description": "Send Strapi error events to Sentry", "repository": { "type": "git", @@ -52,12 +52,12 @@ "dependencies": { "@sentry/node": "6.19.7", "@strapi/design-system": "1.18.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0" }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "@strapi/strapi": "4.24.0", + "@strapi/strapi": "4.24.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-router-dom": "5.3.4", diff --git a/packages/plugins/users-permissions/package.json b/packages/plugins/users-permissions/package.json index 31ab820d40..b05054f703 100644 --- a/packages/plugins/users-permissions/package.json +++ b/packages/plugins/users-permissions/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/plugin-users-permissions", - "version": "4.24.0", + "version": "4.24.1", "description": "Protect your API with a full-authentication process based on JWT", "repository": { "type": "git", @@ -47,9 +47,9 @@ }, "dependencies": { "@strapi/design-system": "1.18.0", - "@strapi/helper-plugin": "4.24.0", + "@strapi/helper-plugin": "4.24.1", "@strapi/icons": "1.18.0", - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "bcryptjs": "2.4.3", "formik": "2.4.0", "grant-koa": "5.4.8", @@ -69,7 +69,7 @@ }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "@strapi/strapi": "4.24.0", + "@strapi/strapi": "4.24.1", "@testing-library/dom": "9.2.0", "@testing-library/react": "14.0.0", "@testing-library/user-event": "14.4.3", diff --git a/packages/providers/audit-logs-local/package.json b/packages/providers/audit-logs-local/package.json index fbd8a899b5..e4cc8ff546 100644 --- a/packages/providers/audit-logs-local/package.json +++ b/packages/providers/audit-logs-local/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/provider-audit-logs-local", - "version": "4.24.0", + "version": "4.24.1", "description": "Local provider for strapi audit logs", "keywords": [ "audit-logs", @@ -42,9 +42,9 @@ }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "@strapi/types": "4.24.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "@strapi/types": "4.24.1", + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/providers/email-amazon-ses/package.json b/packages/providers/email-amazon-ses/package.json index 32342f32e1..e0dba0451a 100644 --- a/packages/providers/email-amazon-ses/package.json +++ b/packages/providers/email-amazon-ses/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/provider-email-amazon-ses", - "version": "4.24.0", + "version": "4.24.1", "description": "Amazon SES provider for strapi email", "keywords": [ "email", @@ -42,13 +42,13 @@ "watch": "pack-up watch" }, "dependencies": { - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "node-ses": "^3.0.3" }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/providers/email-mailgun/package.json b/packages/providers/email-mailgun/package.json index 331651d3d5..27d65c06dd 100644 --- a/packages/providers/email-mailgun/package.json +++ b/packages/providers/email-mailgun/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/provider-email-mailgun", - "version": "4.24.0", + "version": "4.24.1", "description": "Mailgun provider for strapi email plugin", "keywords": [ "email", @@ -44,14 +44,14 @@ "watch": "pack-up watch" }, "dependencies": { - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "form-data": "^4.0.0", "mailgun.js": "8.2.1" }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/providers/email-nodemailer/package.json b/packages/providers/email-nodemailer/package.json index fd71b20864..e40e9fee8e 100644 --- a/packages/providers/email-nodemailer/package.json +++ b/packages/providers/email-nodemailer/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/provider-email-nodemailer", - "version": "4.24.0", + "version": "4.24.1", "description": "Nodemailer provider for Strapi 3", "keywords": [ "strapi", @@ -61,8 +61,8 @@ "devDependencies": { "@strapi/pack-up": "4.23.0", "@types/nodemailer": "6.4.7", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/providers/email-sendgrid/package.json b/packages/providers/email-sendgrid/package.json index 4a41882b2f..b2144d978b 100644 --- a/packages/providers/email-sendgrid/package.json +++ b/packages/providers/email-sendgrid/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/provider-email-sendgrid", - "version": "4.24.0", + "version": "4.24.1", "description": "Sendgrid provider for strapi email", "keywords": [ "email", @@ -43,12 +43,12 @@ }, "dependencies": { "@sendgrid/mail": "7.7.0", - "@strapi/utils": "4.24.0" + "@strapi/utils": "4.24.1" }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/providers/email-sendmail/package.json b/packages/providers/email-sendmail/package.json index 642e3011df..4745a8a5d6 100644 --- a/packages/providers/email-sendmail/package.json +++ b/packages/providers/email-sendmail/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/provider-email-sendmail", - "version": "4.24.0", + "version": "4.24.1", "description": "Sendmail provider for strapi email", "keywords": [ "email", @@ -41,14 +41,14 @@ "watch": "pack-up watch" }, "dependencies": { - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "sendmail": "^1.6.1" }, "devDependencies": { "@strapi/pack-up": "4.23.0", "@types/sendmail": "1.4.4", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/providers/upload-aws-s3/package.json b/packages/providers/upload-aws-s3/package.json index 67072e01ec..fd08f0186a 100644 --- a/packages/providers/upload-aws-s3/package.json +++ b/packages/providers/upload-aws-s3/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/provider-upload-aws-s3", - "version": "4.24.0", + "version": "4.24.1", "description": "AWS S3 provider for strapi upload", "keywords": [ "upload", @@ -54,8 +54,8 @@ "devDependencies": { "@strapi/pack-up": "4.23.0", "@types/jest": "29.5.2", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/providers/upload-cloudinary/package.json b/packages/providers/upload-cloudinary/package.json index 3bfc62d1b0..bc87e2d543 100644 --- a/packages/providers/upload-cloudinary/package.json +++ b/packages/providers/upload-cloudinary/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/provider-upload-cloudinary", - "version": "4.24.0", + "version": "4.24.1", "description": "Cloudinary provider for strapi upload", "keywords": [ "upload", @@ -42,14 +42,14 @@ "watch": "pack-up watch" }, "dependencies": { - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "cloudinary": "^1.41.0", "into-stream": "^5.1.0" }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/providers/upload-local/package.json b/packages/providers/upload-local/package.json index a4a4b9cff0..519fba934b 100644 --- a/packages/providers/upload-local/package.json +++ b/packages/providers/upload-local/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/provider-upload-local", - "version": "4.24.0", + "version": "4.24.1", "description": "Local provider for strapi upload", "keywords": [ "upload", @@ -43,14 +43,14 @@ "watch": "pack-up watch" }, "dependencies": { - "@strapi/utils": "4.24.0", + "@strapi/utils": "4.24.1", "fs-extra": "10.0.0" }, "devDependencies": { "@strapi/pack-up": "4.23.0", "@types/jest": "29.5.2", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/utils/api-tests/package.json b/packages/utils/api-tests/package.json index 750841fdc1..a5b379e318 100644 --- a/packages/utils/api-tests/package.json +++ b/packages/utils/api-tests/package.json @@ -1,6 +1,6 @@ { "name": "api-tests", - "version": "4.24.0", + "version": "4.24.1", "private": true, "dependencies": { "dotenv": "14.2.0", diff --git a/packages/utils/eslint-config-custom/package.json b/packages/utils/eslint-config-custom/package.json index 8379b5b7c6..f906918b5f 100644 --- a/packages/utils/eslint-config-custom/package.json +++ b/packages/utils/eslint-config-custom/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-custom", - "version": "4.24.0", + "version": "4.24.1", "private": true, "main": "index.js" } diff --git a/packages/utils/logger/package.json b/packages/utils/logger/package.json index b0c0c31c14..d8435fff43 100644 --- a/packages/utils/logger/package.json +++ b/packages/utils/logger/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/logger", - "version": "4.24.0", + "version": "4.24.1", "description": "Strapi's logger", "homepage": "https://strapi.io", "bugs": { @@ -43,8 +43,8 @@ }, "devDependencies": { "@strapi/pack-up": "4.23.0", - "eslint-config-custom": "4.24.0", - "tsconfig": "4.24.0" + "eslint-config-custom": "4.24.1", + "tsconfig": "4.24.1" }, "engines": { "node": ">=18.0.0 <=20.x.x", diff --git a/packages/utils/tsconfig/package.json b/packages/utils/tsconfig/package.json index 4ab9e6547d..534e6faa82 100644 --- a/packages/utils/tsconfig/package.json +++ b/packages/utils/tsconfig/package.json @@ -1,6 +1,6 @@ { "name": "tsconfig", - "version": "4.24.0", + "version": "4.24.1", "private": true, "devDependencies": { "@tsconfig/node18": "18.2.2" diff --git a/packages/utils/typescript/package.json b/packages/utils/typescript/package.json index 024b0b0666..1676e4b5a7 100644 --- a/packages/utils/typescript/package.json +++ b/packages/utils/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@strapi/typescript-utils", - "version": "4.24.0", + "version": "4.24.1", "description": "Typescript support for Strapi", "keywords": [ "strapi", diff --git a/scripts/front/package.json b/scripts/front/package.json index 292acce975..1a09fd1195 100644 --- a/scripts/front/package.json +++ b/scripts/front/package.json @@ -1,6 +1,6 @@ { "name": "scripts-front", - "version": "4.24.0", + "version": "4.24.1", "private": true, "scripts": { "test:front": "jest --config jest.config.front.js" diff --git a/tests/api/core/strapi/deep-filtering.test.api.js b/tests/api/core/strapi/deep-filtering.test.api.js index cfa035ea62..6e50a0b3ef 100644 --- a/tests/api/core/strapi/deep-filtering.test.api.js +++ b/tests/api/core/strapi/deep-filtering.test.api.js @@ -152,6 +152,40 @@ describe('Deep Filtering API', () => { expect(res.body.data[0]).toMatchObject(data.collector[0]); }); + test('should return 2 results when deep filtering with nested $or', async () => { + const res = await rq({ + method: 'GET', + url: '/collectors', + qs: { + filters: { + cards: { + $or: [ + { + name: data.card[0].attributes.name, + }, + { + name: data.card[1].attributes.name, + }, + ], + }, + }, + }, + }); + + expect(res.body.meta.pagination).toMatchObject({ + ...pagination, + total: 2, + }); + expect(Array.isArray(res.body.data)).toBe(true); + expect(res.body.data.length).toBe(2); + expect(res.body.data).toEqual( + expect.arrayContaining([ + expect.objectContaining(data.collector[0]), + expect.objectContaining(data.collector[1]), + ]) + ); + }); + test('should return 2 results when deep filtering with $or', async () => { const res = await rq({ method: 'GET', @@ -187,6 +221,77 @@ describe('Deep Filtering API', () => { ]) ); }); + + test('should return a result when deep filtering with nested $and', async () => { + const res = await rq({ + method: 'GET', + url: '/collectors', + qs: { + filters: { + cards: { + $and: [ + { + name: { + $contains: 'HUGO', + }, + }, + { + name: { + $contains: 'LLORIS', + }, + }, + ], + }, + }, + }, + }); + + expect(res.body.meta.pagination).toMatchObject({ + ...pagination, + total: 2, + }); + expect(Array.isArray(res.body.data)).toBe(true); + expect(res.body.data.length).toBe(2); + expect(res.body.data).toEqual( + expect.arrayContaining([ + expect.objectContaining(data.collector[0]), + expect.objectContaining(data.collector[1]), + ]) + ); + }); + + test('should return no result when deep filtering with nested $and', async () => { + const res = await rq({ + method: 'GET', + url: '/collectors', + qs: { + filters: { + cards: { + $and: [ + { + name: { + $contains: 'HUGO', + }, + }, + { + name: { + $contains: 'UMTITI', + }, + }, + ], + }, + }, + }, + }); + + expect(res.body.meta.pagination).toMatchObject({ + ...pagination, + pageCount: 0, + total: 0, + }); + expect(Array.isArray(res.body.data)).toBe(true); + expect(res.body.data.length).toBe(0); + }); }); describe('Filter on a self manyWay relation', () => { diff --git a/tests/api/core/strapi/filtering.test.api.js b/tests/api/core/strapi/filtering.test.api.js index e21615e02e..b71bcff42e 100644 --- a/tests/api/core/strapi/filtering.test.api.js +++ b/tests/api/core/strapi/filtering.test.api.js @@ -115,6 +115,112 @@ describe('Filtering API', () => { }); describe('Basic filters', () => { + describe('Filter $and', () => { + test('Should return an array with matching entities', async () => { + const res = await rq({ + method: 'GET', + url: '/products', + qs: { + filters: { + $and: [ + { + name: 'Product 1', + }, + { + rank: 42, + }, + ], + }, + }, + }); + + expect(res.body.data).toEqual(expect.arrayContaining([data.product[0]])); + }); + + test('Should return an empty array when no match', async () => { + const res = await rq({ + method: 'GET', + url: '/products', + qs: { + filters: { + $and: [ + { + name: 'Product 1', + }, + { + rank: 43, + }, + ], + }, + }, + }); + + expect(res.body.data).toEqual([]); + }); + }); + + describe('Fitler $or', () => { + test('Should return an array with matching entities', async () => { + const res = await rq({ + method: 'GET', + url: '/products', + qs: { + filters: { + $or: [ + { + name: 'Product 1', + }, + { + rank: 82, + }, + ], + }, + }, + }); + + expect(res.body.data).toEqual(expect.arrayContaining([data.product[0], data.product[1]])); + }); + + test('Should return an empty array when no match', async () => { + const res = await rq({ + method: 'GET', + url: '/products', + qs: { + filters: { + $or: [ + { + name: 'Product 99', + }, + { + rank: 43, + }, + ], + }, + }, + }); + + expect(res.body.data).toEqual([]); + }); + }); + + describe('Filter $not', () => { + test('Should return an array with matching entities', async () => { + const res = await rq({ + method: 'GET', + url: '/products', + qs: { + filters: { + $not: { + name: 'Product 1', + }, + }, + }, + }); + + expect(res.body.data).toEqual(expect.arrayContaining(data.product.slice(1))); + }); + }); + describe('Filter equals', () => { test('Should be the default filter', async () => { const res = await rq({ diff --git a/yarn.lock b/yarn.lock index 337401c614..60650f2e4a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7778,7 +7778,7 @@ __metadata: languageName: node linkType: hard -"@strapi/admin-test-utils@npm:4.24.0, @strapi/admin-test-utils@workspace:*, @strapi/admin-test-utils@workspace:packages/admin-test-utils": +"@strapi/admin-test-utils@npm:4.24.1, @strapi/admin-test-utils@workspace:*, @strapi/admin-test-utils@workspace:packages/admin-test-utils": version: 0.0.0-use.local resolution: "@strapi/admin-test-utils@workspace:packages/admin-test-utils" dependencies: @@ -7786,9 +7786,9 @@ __metadata: "@reduxjs/toolkit": "npm:1.9.7" "@strapi/pack-up": "npm:4.23.0" "@testing-library/jest-dom": "npm:5.16.5" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" jest-styled-components: "npm:7.1.1" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" whatwg-fetch: "npm:3.6.2" peerDependencies: "@reduxjs/toolkit": ^1.9.7 @@ -7796,7 +7796,7 @@ __metadata: languageName: unknown linkType: soft -"@strapi/admin@npm:4.24.0, @strapi/admin@workspace:packages/core/admin": +"@strapi/admin@npm:4.24.1, @strapi/admin@workspace:packages/core/admin": version: 0.0.0-use.local resolution: "@strapi/admin@workspace:packages/core/admin" dependencies: @@ -7805,19 +7805,19 @@ __metadata: "@radix-ui/react-context": "npm:1.0.1" "@radix-ui/react-toolbar": "npm:1.0.4" "@reduxjs/toolkit": "npm:1.9.7" - "@strapi/admin-test-utils": "npm:4.24.0" - "@strapi/data-transfer": "npm:4.24.0" + "@strapi/admin-test-utils": "npm:4.24.1" + "@strapi/data-transfer": "npm:4.24.1" "@strapi/design-system": "npm:1.18.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/permissions": "npm:4.24.0" - "@strapi/plugin-content-manager": "npm:4.24.0" - "@strapi/provider-audit-logs-local": "npm:4.24.0" - "@strapi/strapi": "npm:4.24.0" - "@strapi/types": "npm:4.24.0" - "@strapi/typescript-utils": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/permissions": "npm:4.24.1" + "@strapi/plugin-content-manager": "npm:4.24.1" + "@strapi/provider-audit-logs-local": "npm:4.24.1" + "@strapi/strapi": "npm:4.24.1" + "@strapi/types": "npm:4.24.1" + "@strapi/typescript-utils": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@testing-library/dom": "npm:9.2.0" "@testing-library/react": "npm:14.0.0" "@testing-library/user-event": "npm:14.4.3" @@ -7941,20 +7941,20 @@ __metadata: languageName: unknown linkType: soft -"@strapi/content-releases@npm:4.24.0, @strapi/content-releases@workspace:packages/core/content-releases": +"@strapi/content-releases@npm:4.24.1, @strapi/content-releases@workspace:packages/core/content-releases": version: 0.0.0-use.local resolution: "@strapi/content-releases@workspace:packages/core/content-releases" dependencies: "@reduxjs/toolkit": "npm:1.9.7" - "@strapi/admin": "npm:4.24.0" - "@strapi/admin-test-utils": "npm:4.24.0" + "@strapi/admin": "npm:4.24.1" + "@strapi/admin-test-utils": "npm:4.24.1" "@strapi/design-system": "npm:1.18.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/strapi": "npm:4.24.0" + "@strapi/strapi": "npm:4.24.1" "@strapi/types": "workspace:*" - "@strapi/utils": "npm:4.24.0" + "@strapi/utils": "npm:4.24.1" "@testing-library/react": "npm:14.0.0" "@testing-library/user-event": "npm:14.4.3" "@types/koa": "npm:2.13.4" @@ -7985,15 +7985,15 @@ __metadata: languageName: unknown linkType: soft -"@strapi/data-transfer@npm:4.24.0, @strapi/data-transfer@workspace:packages/core/data-transfer": +"@strapi/data-transfer@npm:4.24.1, @strapi/data-transfer@workspace:packages/core/data-transfer": version: 0.0.0-use.local resolution: "@strapi/data-transfer@workspace:packages/core/data-transfer" dependencies: - "@strapi/logger": "npm:4.24.0" + "@strapi/logger": "npm:4.24.1" "@strapi/pack-up": "npm:4.23.0" - "@strapi/strapi": "npm:4.24.0" - "@strapi/types": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/strapi": "npm:4.24.1" + "@strapi/types": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@types/fs-extra": "npm:9.0.13" "@types/jest": "npm:29.5.2" "@types/koa": "npm:2.13.4" @@ -8028,20 +8028,20 @@ __metadata: languageName: unknown linkType: soft -"@strapi/database@npm:4.24.0, @strapi/database@workspace:packages/core/database": +"@strapi/database@npm:4.24.1, @strapi/database@workspace:packages/core/database": version: 0.0.0-use.local resolution: "@strapi/database@workspace:packages/core/database" dependencies: "@strapi/pack-up": "npm:4.23.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/utils": "npm:4.24.1" date-fns: "npm:2.30.0" debug: "npm:4.3.4" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" fs-extra: "npm:10.0.0" knex: "npm:2.5.0" lodash: "npm:4.17.21" semver: "npm:7.5.4" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" umzug: "npm:3.2.1" languageName: unknown linkType: soft @@ -8104,7 +8104,7 @@ __metadata: languageName: node linkType: hard -"@strapi/generate-new@npm:4.24.0, @strapi/generate-new@workspace:packages/generators/app": +"@strapi/generate-new@npm:4.24.1, @strapi/generate-new@workspace:packages/generators/app": version: 0.0.0-use.local resolution: "@strapi/generate-new@workspace:packages/generators/app" dependencies: @@ -8124,26 +8124,26 @@ __metadata: languageName: unknown linkType: soft -"@strapi/generators@npm:4.24.0, @strapi/generators@workspace:packages/generators/generators": +"@strapi/generators@npm:4.24.1, @strapi/generators@workspace:packages/generators/generators": version: 0.0.0-use.local resolution: "@strapi/generators@workspace:packages/generators/generators" dependencies: "@sindresorhus/slugify": "npm:1.1.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/typescript-utils": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/typescript-utils": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" chalk: "npm:4.1.2" copyfiles: "npm:2.4.1" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" fs-extra: "npm:10.0.0" node-plop: "npm:0.26.3" plop: "npm:2.7.6" pluralize: "npm:8.0.0" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" languageName: unknown linkType: soft -"@strapi/helper-plugin@npm:4.24.0, @strapi/helper-plugin@workspace:packages/core/helper-plugin": +"@strapi/helper-plugin@npm:4.24.1, @strapi/helper-plugin@workspace:packages/core/helper-plugin": version: 0.0.0-use.local resolution: "@strapi/helper-plugin@workspace:packages/core/helper-plugin" dependencies: @@ -8153,18 +8153,18 @@ __metadata: "@storybook/addon-mdx-gfm": "npm:7.5.3" "@storybook/builder-vite": "npm:7.5.3" "@storybook/react-vite": "npm:7.5.3" - "@strapi/admin-test-utils": "npm:4.24.0" + "@strapi/admin-test-utils": "npm:4.24.1" "@strapi/design-system": "npm:1.18.0" "@strapi/icons": "npm:1.18.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/types": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/types": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@testing-library/react": "npm:14.0.0" "@testing-library/user-event": "npm:14.4.3" axios: "npm:1.6.0" cross-env: "npm:^7.0.3" date-fns: "npm:2.30.0" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" eslint-plugin-storybook: "npm:0.6.14" formik: "npm:2.4.0" immer: "npm:9.0.19" @@ -8204,14 +8204,14 @@ __metadata: languageName: node linkType: hard -"@strapi/logger@npm:4.24.0, @strapi/logger@workspace:packages/utils/logger": +"@strapi/logger@npm:4.24.1, @strapi/logger@workspace:packages/utils/logger": version: 0.0.0-use.local resolution: "@strapi/logger@workspace:packages/utils/logger" dependencies: "@strapi/pack-up": "npm:4.23.0" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" lodash: "npm:4.17.21" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" winston: "npm:3.10.0" languageName: unknown linkType: soft @@ -8247,18 +8247,18 @@ __metadata: languageName: node linkType: hard -"@strapi/permissions@npm:4.24.0, @strapi/permissions@workspace:packages/core/permissions": +"@strapi/permissions@npm:4.24.1, @strapi/permissions@workspace:packages/core/permissions": version: 0.0.0-use.local resolution: "@strapi/permissions@workspace:packages/core/permissions" dependencies: "@casl/ability": "npm:6.5.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/utils": "npm:4.24.0" - eslint-config-custom: "npm:4.24.0" + "@strapi/utils": "npm:4.24.1" + eslint-config-custom: "npm:4.24.1" lodash: "npm:4.17.21" qs: "npm:6.11.1" sift: "npm:16.0.1" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" languageName: unknown linkType: soft @@ -8267,20 +8267,20 @@ __metadata: resolution: "@strapi/plugin-cloud@workspace:packages/plugins/cloud" dependencies: "@strapi/design-system": "npm:1.18.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" - "@strapi/strapi": "npm:4.24.0" + "@strapi/strapi": "npm:4.24.1" "@types/react": "npm:18.2.39" "@types/react-dom": "npm:18.2.17" "@types/react-router-dom": "npm:^5.3.3" "@types/styled-components": "npm:5.1.32" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" react: "npm:18.2.0" react-dom: "npm:18.2.0" react-intl: "npm:6.4.1" react-router-dom: "npm:5.3.4" styled-components: "npm:5.3.3" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" typescript: "npm:5.2.2" peerDependencies: "@strapi/strapi": ^4.4.0 @@ -8291,14 +8291,14 @@ __metadata: languageName: unknown linkType: soft -"@strapi/plugin-color-picker@npm:4.24.0, @strapi/plugin-color-picker@workspace:packages/plugins/color-picker": +"@strapi/plugin-color-picker@npm:4.24.1, @strapi/plugin-color-picker@workspace:packages/plugins/color-picker": version: 0.0.0-use.local resolution: "@strapi/plugin-color-picker@workspace:packages/plugins/color-picker" dependencies: "@strapi/design-system": "npm:1.18.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" - "@strapi/strapi": "npm:4.24.0" + "@strapi/strapi": "npm:4.24.1" "@testing-library/react": "npm:14.0.0" "@testing-library/user-event": "npm:14.4.3" "@types/styled-components": "npm:5.1.32" @@ -8319,14 +8319,14 @@ __metadata: languageName: unknown linkType: soft -"@strapi/plugin-content-manager@npm:4.24.0, @strapi/plugin-content-manager@workspace:packages/core/content-manager": +"@strapi/plugin-content-manager@npm:4.24.1, @strapi/plugin-content-manager@workspace:packages/core/content-manager": version: 0.0.0-use.local resolution: "@strapi/plugin-content-manager@workspace:packages/core/content-manager" dependencies: "@sindresorhus/slugify": "npm:1.1.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/types": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/types": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@types/jest": "npm:29.5.2" "@types/lodash": "npm:^4.14.191" koa: "npm:2.13.4" @@ -8336,20 +8336,20 @@ __metadata: languageName: unknown linkType: soft -"@strapi/plugin-content-type-builder@npm:4.24.0, @strapi/plugin-content-type-builder@workspace:packages/core/content-type-builder": +"@strapi/plugin-content-type-builder@npm:4.24.1, @strapi/plugin-content-type-builder@workspace:packages/core/content-type-builder": version: 0.0.0-use.local resolution: "@strapi/plugin-content-type-builder@workspace:packages/core/content-type-builder" dependencies: "@reduxjs/toolkit": "npm:1.9.7" "@sindresorhus/slugify": "npm:1.1.0" "@strapi/design-system": "npm:1.18.0" - "@strapi/generators": "npm:4.24.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/generators": "npm:4.24.1" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/strapi": "npm:4.24.0" - "@strapi/types": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/strapi": "npm:4.24.1" + "@strapi/types": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@testing-library/react": "npm:14.0.0" "@testing-library/react-hooks": "npm:8.0.1" "@testing-library/user-event": "npm:14.4.3" @@ -8380,17 +8380,17 @@ __metadata: languageName: unknown linkType: soft -"@strapi/plugin-documentation@npm:4.24.0, @strapi/plugin-documentation@workspace:packages/plugins/documentation": +"@strapi/plugin-documentation@npm:4.24.1, @strapi/plugin-documentation@workspace:packages/plugins/documentation": version: 0.0.0-use.local resolution: "@strapi/plugin-documentation@workspace:packages/plugins/documentation" dependencies: "@apidevtools/swagger-parser": "npm:^10.1.0" "@strapi/design-system": "npm:1.18.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/strapi": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/strapi": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@testing-library/react": "npm:14.0.0" "@testing-library/user-event": "npm:14.4.3" bcryptjs: "npm:2.4.3" @@ -8421,17 +8421,17 @@ __metadata: languageName: unknown linkType: soft -"@strapi/plugin-email@npm:4.24.0, @strapi/plugin-email@workspace:packages/core/email": +"@strapi/plugin-email@npm:4.24.1, @strapi/plugin-email@workspace:packages/core/email": version: 0.0.0-use.local resolution: "@strapi/plugin-email@workspace:packages/core/email" dependencies: "@strapi/design-system": "npm:1.18.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/provider-email-sendmail": "npm:4.24.0" - "@strapi/types": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/provider-email-sendmail": "npm:4.24.1" + "@strapi/types": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@testing-library/react": "npm:14.0.0" "@types/koa": "npm:2.13.4" "@types/lodash": "npm:^4.14.191" @@ -8455,24 +8455,24 @@ __metadata: languageName: unknown linkType: soft -"@strapi/plugin-graphql@npm:4.24.0, @strapi/plugin-graphql@workspace:packages/plugins/graphql": +"@strapi/plugin-graphql@npm:4.24.1, @strapi/plugin-graphql@workspace:packages/plugins/graphql": version: 0.0.0-use.local resolution: "@strapi/plugin-graphql@workspace:packages/plugins/graphql" dependencies: "@graphql-tools/schema": "npm:8.5.1" "@graphql-tools/utils": "npm:^8.13.1" "@strapi/design-system": "npm:1.18.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" - "@strapi/strapi": "npm:4.24.0" - "@strapi/types": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/strapi": "npm:4.24.1" + "@strapi/types": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@types/graphql-depth-limit": "npm:1.1.5" "@types/graphql-upload": "npm:8.0.12" apollo-server-core: "npm:3.12.1" apollo-server-koa: "npm:3.10.0" cross-env: "npm:^7.0.3" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" graphql: "npm:^15.5.1" graphql-depth-limit: "npm:^1.1.0" graphql-playground-middleware-koa: "npm:^1.6.21" @@ -8487,7 +8487,7 @@ __metadata: react-dom: "npm:^18.2.0" react-router-dom: "npm:5.3.4" styled-components: "npm:5.3.3" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" typescript: "npm:5.2.2" peerDependencies: "@strapi/strapi": ^4.0.0 @@ -8498,19 +8498,19 @@ __metadata: languageName: unknown linkType: soft -"@strapi/plugin-i18n@npm:4.24.0, @strapi/plugin-i18n@workspace:packages/plugins/i18n": +"@strapi/plugin-i18n@npm:4.24.1, @strapi/plugin-i18n@workspace:packages/plugins/i18n": version: 0.0.0-use.local resolution: "@strapi/plugin-i18n@workspace:packages/plugins/i18n" dependencies: "@reduxjs/toolkit": "npm:1.9.7" - "@strapi/admin-test-utils": "npm:4.24.0" + "@strapi/admin-test-utils": "npm:4.24.1" "@strapi/design-system": "npm:1.18.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/strapi": "npm:4.24.0" - "@strapi/types": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/strapi": "npm:4.24.1" + "@strapi/types": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@testing-library/react": "npm:14.0.0" "@testing-library/user-event": "npm:14.4.3" axios: "npm:1.6.0" @@ -8537,16 +8537,16 @@ __metadata: languageName: unknown linkType: soft -"@strapi/plugin-sentry@npm:4.24.0, @strapi/plugin-sentry@workspace:packages/plugins/sentry": +"@strapi/plugin-sentry@npm:4.24.1, @strapi/plugin-sentry@workspace:packages/plugins/sentry": version: 0.0.0-use.local resolution: "@strapi/plugin-sentry@workspace:packages/plugins/sentry" dependencies: "@sentry/node": "npm:6.19.7" "@strapi/design-system": "npm:1.18.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/strapi": "npm:4.24.0" + "@strapi/strapi": "npm:4.24.1" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" react-router-dom: "npm:5.3.4" @@ -8560,17 +8560,17 @@ __metadata: languageName: unknown linkType: soft -"@strapi/plugin-upload@npm:4.24.0, @strapi/plugin-upload@workspace:packages/core/upload": +"@strapi/plugin-upload@npm:4.24.1, @strapi/plugin-upload@workspace:packages/core/upload": version: 0.0.0-use.local resolution: "@strapi/plugin-upload@workspace:packages/core/upload" dependencies: "@strapi/design-system": "npm:1.18.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/provider-upload-local": "npm:4.24.0" - "@strapi/strapi": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/provider-upload-local": "npm:4.24.1" + "@strapi/strapi": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@testing-library/dom": "npm:9.2.0" "@testing-library/react": "npm:14.0.0" "@testing-library/user-event": "npm:14.4.3" @@ -8609,16 +8609,16 @@ __metadata: languageName: unknown linkType: soft -"@strapi/plugin-users-permissions@npm:4.24.0, @strapi/plugin-users-permissions@workspace:packages/plugins/users-permissions": +"@strapi/plugin-users-permissions@npm:4.24.1, @strapi/plugin-users-permissions@workspace:packages/plugins/users-permissions": version: 0.0.0-use.local resolution: "@strapi/plugin-users-permissions@workspace:packages/plugins/users-permissions" dependencies: "@strapi/design-system": "npm:1.18.0" - "@strapi/helper-plugin": "npm:4.24.0" + "@strapi/helper-plugin": "npm:4.24.1" "@strapi/icons": "npm:1.18.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/strapi": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/strapi": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@testing-library/dom": "npm:9.2.0" "@testing-library/react": "npm:14.0.0" "@testing-library/user-event": "npm:14.4.3" @@ -8652,14 +8652,14 @@ __metadata: languageName: unknown linkType: soft -"@strapi/provider-audit-logs-local@npm:4.24.0, @strapi/provider-audit-logs-local@workspace:packages/providers/audit-logs-local": +"@strapi/provider-audit-logs-local@npm:4.24.1, @strapi/provider-audit-logs-local@workspace:packages/providers/audit-logs-local": version: 0.0.0-use.local resolution: "@strapi/provider-audit-logs-local@workspace:packages/providers/audit-logs-local" dependencies: "@strapi/pack-up": "npm:4.23.0" - "@strapi/types": "npm:4.24.0" - eslint-config-custom: "npm:4.24.0" - tsconfig: "npm:4.24.0" + "@strapi/types": "npm:4.24.1" + eslint-config-custom: "npm:4.24.1" + tsconfig: "npm:4.24.1" languageName: unknown linkType: soft @@ -8668,23 +8668,23 @@ __metadata: resolution: "@strapi/provider-email-amazon-ses@workspace:packages/providers/email-amazon-ses" dependencies: "@strapi/pack-up": "npm:4.23.0" - "@strapi/utils": "npm:4.24.0" - eslint-config-custom: "npm:4.24.0" + "@strapi/utils": "npm:4.24.1" + eslint-config-custom: "npm:4.24.1" node-ses: "npm:^3.0.3" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" languageName: unknown linkType: soft -"@strapi/provider-email-mailgun@npm:4.24.0, @strapi/provider-email-mailgun@workspace:packages/providers/email-mailgun": +"@strapi/provider-email-mailgun@npm:4.24.1, @strapi/provider-email-mailgun@workspace:packages/providers/email-mailgun": version: 0.0.0-use.local resolution: "@strapi/provider-email-mailgun@workspace:packages/providers/email-mailgun" dependencies: "@strapi/pack-up": "npm:4.23.0" - "@strapi/utils": "npm:4.24.0" - eslint-config-custom: "npm:4.24.0" + "@strapi/utils": "npm:4.24.1" + eslint-config-custom: "npm:4.24.1" form-data: "npm:^4.0.0" mailgun.js: "npm:8.2.1" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" languageName: unknown linkType: soft @@ -8694,10 +8694,10 @@ __metadata: dependencies: "@strapi/pack-up": "npm:4.23.0" "@types/nodemailer": "npm:6.4.7" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" lodash: "npm:4.17.21" nodemailer: "npm:6.9.1" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" languageName: unknown linkType: soft @@ -8707,26 +8707,26 @@ __metadata: dependencies: "@sendgrid/mail": "npm:7.7.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/utils": "npm:4.24.0" - eslint-config-custom: "npm:4.24.0" - tsconfig: "npm:4.24.0" + "@strapi/utils": "npm:4.24.1" + eslint-config-custom: "npm:4.24.1" + tsconfig: "npm:4.24.1" languageName: unknown linkType: soft -"@strapi/provider-email-sendmail@npm:4.24.0, @strapi/provider-email-sendmail@workspace:packages/providers/email-sendmail": +"@strapi/provider-email-sendmail@npm:4.24.1, @strapi/provider-email-sendmail@workspace:packages/providers/email-sendmail": version: 0.0.0-use.local resolution: "@strapi/provider-email-sendmail@workspace:packages/providers/email-sendmail" dependencies: "@strapi/pack-up": "npm:4.23.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/utils": "npm:4.24.1" "@types/sendmail": "npm:1.4.4" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" sendmail: "npm:^1.6.1" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" languageName: unknown linkType: soft -"@strapi/provider-upload-aws-s3@npm:4.24.0, @strapi/provider-upload-aws-s3@workspace:packages/providers/upload-aws-s3": +"@strapi/provider-upload-aws-s3@npm:4.24.1, @strapi/provider-upload-aws-s3@workspace:packages/providers/upload-aws-s3": version: 0.0.0-use.local resolution: "@strapi/provider-upload-aws-s3@workspace:packages/providers/upload-aws-s3" dependencies: @@ -8736,61 +8736,61 @@ __metadata: "@aws-sdk/types": "npm:3.433.0" "@strapi/pack-up": "npm:4.23.0" "@types/jest": "npm:29.5.2" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" lodash: "npm:4.17.21" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" languageName: unknown linkType: soft -"@strapi/provider-upload-cloudinary@npm:4.24.0, @strapi/provider-upload-cloudinary@workspace:packages/providers/upload-cloudinary": +"@strapi/provider-upload-cloudinary@npm:4.24.1, @strapi/provider-upload-cloudinary@workspace:packages/providers/upload-cloudinary": version: 0.0.0-use.local resolution: "@strapi/provider-upload-cloudinary@workspace:packages/providers/upload-cloudinary" dependencies: "@strapi/pack-up": "npm:4.23.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/utils": "npm:4.24.1" cloudinary: "npm:^1.41.0" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" into-stream: "npm:^5.1.0" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" languageName: unknown linkType: soft -"@strapi/provider-upload-local@npm:4.24.0, @strapi/provider-upload-local@workspace:packages/providers/upload-local": +"@strapi/provider-upload-local@npm:4.24.1, @strapi/provider-upload-local@workspace:packages/providers/upload-local": version: 0.0.0-use.local resolution: "@strapi/provider-upload-local@workspace:packages/providers/upload-local" dependencies: "@strapi/pack-up": "npm:4.23.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/utils": "npm:4.24.1" "@types/jest": "npm:29.5.2" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" fs-extra: "npm:10.0.0" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" languageName: unknown linkType: soft -"@strapi/strapi@npm:4.24.0, @strapi/strapi@workspace:packages/core/strapi": +"@strapi/strapi@npm:4.24.1, @strapi/strapi@workspace:packages/core/strapi": version: 0.0.0-use.local resolution: "@strapi/strapi@workspace:packages/core/strapi" dependencies: "@koa/cors": "npm:5.0.0" "@koa/router": "npm:10.1.1" - "@strapi/admin": "npm:4.24.0" - "@strapi/content-releases": "npm:4.24.0" - "@strapi/data-transfer": "npm:4.24.0" - "@strapi/database": "npm:4.24.0" - "@strapi/generate-new": "npm:4.24.0" - "@strapi/generators": "npm:4.24.0" - "@strapi/logger": "npm:4.24.0" + "@strapi/admin": "npm:4.24.1" + "@strapi/content-releases": "npm:4.24.1" + "@strapi/data-transfer": "npm:4.24.1" + "@strapi/database": "npm:4.24.1" + "@strapi/generate-new": "npm:4.24.1" + "@strapi/generators": "npm:4.24.1" + "@strapi/logger": "npm:4.24.1" "@strapi/pack-up": "npm:4.23.0" - "@strapi/permissions": "npm:4.24.0" - "@strapi/plugin-content-manager": "npm:4.24.0" - "@strapi/plugin-content-type-builder": "npm:4.24.0" - "@strapi/plugin-email": "npm:4.24.0" - "@strapi/plugin-upload": "npm:4.24.0" + "@strapi/permissions": "npm:4.24.1" + "@strapi/plugin-content-manager": "npm:4.24.1" + "@strapi/plugin-content-type-builder": "npm:4.24.1" + "@strapi/plugin-email": "npm:4.24.1" + "@strapi/plugin-upload": "npm:4.24.1" "@strapi/ts-zen": "npm:^0.2.0" - "@strapi/types": "npm:4.24.0" - "@strapi/typescript-utils": "npm:4.24.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/types": "npm:4.24.1" + "@strapi/typescript-utils": "npm:4.24.1" + "@strapi/utils": "npm:4.24.1" "@types/bcryptjs": "npm:2.4.3" "@types/configstore": "npm:5.0.1" "@types/delegates": "npm:1.0.0" @@ -8818,7 +8818,7 @@ __metadata: debug: "npm:4.3.4" delegates: "npm:1.0.0" dotenv: "npm:14.2.0" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" execa: "npm:5.1.1" fs-extra: "npm:10.0.0" get-latest-version: "npm:5.1.0" @@ -8852,7 +8852,7 @@ __metadata: semver: "npm:7.5.4" statuses: "npm:2.0.1" supertest: "npm:6.3.3" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" typescript: "npm:5.2.2" yalc: "npm:1.0.0-pre.53" yup: "npm:0.32.9" @@ -8871,35 +8871,35 @@ __metadata: languageName: node linkType: hard -"@strapi/types@npm:4.24.0, @strapi/types@workspace:*, @strapi/types@workspace:packages/core/types": +"@strapi/types@npm:4.24.1, @strapi/types@workspace:*, @strapi/types@workspace:packages/core/types": version: 0.0.0-use.local resolution: "@strapi/types@workspace:packages/core/types" dependencies: "@casl/ability": "npm:6.5.0" "@koa/cors": "npm:5.0.0" "@koa/router": "npm:10.1.1" - "@strapi/database": "npm:4.24.0" - "@strapi/logger": "npm:4.24.0" + "@strapi/database": "npm:4.24.1" + "@strapi/logger": "npm:4.24.1" "@strapi/pack-up": "npm:4.23.0" - "@strapi/permissions": "npm:4.24.0" + "@strapi/permissions": "npm:4.24.1" "@strapi/ts-zen": "npm:^0.2.0" - "@strapi/utils": "npm:4.24.0" + "@strapi/utils": "npm:4.24.1" "@types/jest": "npm:29.5.2" "@types/koa": "npm:2.13.4" "@types/koa__router": "npm:12.0.0" "@types/node-schedule": "npm:2.1.0" commander: "npm:8.3.0" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" https-proxy-agent: "npm:5.0.1" koa: "npm:2.13.4" node-fetch: "npm:2.7.0" node-schedule: "npm:2.1.0" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" typescript: "npm:5.2.2" languageName: unknown linkType: soft -"@strapi/typescript-utils@npm:4.24.0, @strapi/typescript-utils@workspace:packages/utils/typescript": +"@strapi/typescript-utils@npm:4.24.1, @strapi/typescript-utils@workspace:packages/utils/typescript": version: 0.0.0-use.local resolution: "@strapi/typescript-utils@workspace:packages/utils/typescript" dependencies: @@ -8944,23 +8944,23 @@ __metadata: languageName: node linkType: hard -"@strapi/utils@npm:4.24.0, @strapi/utils@workspace:packages/core/utils": +"@strapi/utils@npm:4.24.1, @strapi/utils@workspace:packages/core/utils": version: 0.0.0-use.local resolution: "@strapi/utils@workspace:packages/core/utils" dependencies: "@sindresorhus/slugify": "npm:1.1.0" "@strapi/pack-up": "npm:4.23.0" - "@strapi/types": "npm:4.24.0" + "@strapi/types": "npm:4.24.1" "@types/koa": "npm:2.13.4" "@types/node": "npm:18.18.4" date-fns: "npm:2.30.0" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" http-errors: "npm:1.8.1" koa: "npm:2.13.4" koa-body: "npm:4.2.0" lodash: "npm:4.17.21" p-map: "npm:4.0.0" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" yup: "npm:0.32.9" languageName: unknown linkType: soft @@ -14368,12 +14368,12 @@ __metadata: version: 0.0.0-use.local resolution: "create-strapi-app@workspace:packages/cli/create-strapi-app" dependencies: - "@strapi/generate-new": "npm:4.24.0" + "@strapi/generate-new": "npm:4.24.1" "@strapi/pack-up": "npm:4.23.0" commander: "npm:8.3.0" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" inquirer: "npm:8.2.5" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" bin: create-strapi-app: ./bin/index.js languageName: unknown @@ -14383,17 +14383,17 @@ __metadata: version: 0.0.0-use.local resolution: "create-strapi-starter@workspace:packages/cli/create-strapi-starter" dependencies: - "@strapi/generate-new": "npm:4.24.0" + "@strapi/generate-new": "npm:4.24.1" "@strapi/pack-up": "npm:4.23.0" chalk: "npm:4.1.2" ci-info: "npm:3.8.0" commander: "npm:8.3.0" - eslint-config-custom: "npm:4.24.0" + eslint-config-custom: "npm:4.24.1" execa: "npm:5.1.1" fs-extra: "npm:10.0.0" inquirer: "npm:8.2.5" ora: "npm:5.4.1" - tsconfig: "npm:4.24.0" + tsconfig: "npm:4.24.1" bin: create-strapi-starter: ./bin/index.js languageName: unknown @@ -16193,7 +16193,7 @@ __metadata: languageName: node linkType: hard -"eslint-config-custom@npm:4.24.0, eslint-config-custom@workspace:packages/utils/eslint-config-custom": +"eslint-config-custom@npm:4.24.1, eslint-config-custom@workspace:packages/utils/eslint-config-custom": version: 0.0.0-use.local resolution: "eslint-config-custom@workspace:packages/utils/eslint-config-custom" languageName: unknown @@ -18014,16 +18014,16 @@ __metadata: resolution: "getstarted@workspace:examples/getstarted" dependencies: "@strapi/icons": "npm:1.18.0" - "@strapi/plugin-color-picker": "npm:4.24.0" - "@strapi/plugin-documentation": "npm:4.24.0" - "@strapi/plugin-graphql": "npm:4.24.0" - "@strapi/plugin-i18n": "npm:4.24.0" - "@strapi/plugin-sentry": "npm:4.24.0" - "@strapi/plugin-users-permissions": "npm:4.24.0" - "@strapi/provider-email-mailgun": "npm:4.24.0" - "@strapi/provider-upload-aws-s3": "npm:4.24.0" - "@strapi/provider-upload-cloudinary": "npm:4.24.0" - "@strapi/strapi": "npm:4.24.0" + "@strapi/plugin-color-picker": "npm:4.24.1" + "@strapi/plugin-documentation": "npm:4.24.1" + "@strapi/plugin-graphql": "npm:4.24.1" + "@strapi/plugin-i18n": "npm:4.24.1" + "@strapi/plugin-sentry": "npm:4.24.1" + "@strapi/plugin-users-permissions": "npm:4.24.1" + "@strapi/provider-email-mailgun": "npm:4.24.1" + "@strapi/provider-upload-aws-s3": "npm:4.24.1" + "@strapi/provider-upload-cloudinary": "npm:4.24.1" + "@strapi/strapi": "npm:4.24.1" better-sqlite3: "npm:8.6.0" lodash: "npm:4.17.21" mysql: "npm:2.18.1" @@ -21219,9 +21219,9 @@ __metadata: version: 0.0.0-use.local resolution: "kitchensink-ts@workspace:examples/kitchensink-ts" dependencies: - "@strapi/plugin-i18n": "npm:4.24.0" - "@strapi/plugin-users-permissions": "npm:4.24.0" - "@strapi/strapi": "npm:4.24.0" + "@strapi/plugin-i18n": "npm:4.24.1" + "@strapi/plugin-users-permissions": "npm:4.24.1" + "@strapi/strapi": "npm:4.24.1" better-sqlite3: "npm:8.6.0" react: "npm:^18.2.0" react-dom: "npm:^18.2.0" @@ -21234,10 +21234,10 @@ __metadata: version: 0.0.0-use.local resolution: "kitchensink@workspace:examples/kitchensink" dependencies: - "@strapi/provider-email-mailgun": "npm:4.24.0" - "@strapi/provider-upload-aws-s3": "npm:4.24.0" - "@strapi/provider-upload-cloudinary": "npm:4.24.0" - "@strapi/strapi": "npm:4.24.0" + "@strapi/provider-email-mailgun": "npm:4.24.1" + "@strapi/provider-upload-aws-s3": "npm:4.24.1" + "@strapi/provider-upload-cloudinary": "npm:4.24.1" + "@strapi/strapi": "npm:4.24.1" lodash: "npm:4.17.21" mysql: "npm:2.18.1" mysql2: "npm:3.9.4" @@ -29908,7 +29908,7 @@ __metadata: languageName: node linkType: hard -"tsconfig@npm:4.24.0, tsconfig@workspace:packages/utils/tsconfig": +"tsconfig@npm:4.24.1, tsconfig@workspace:packages/utils/tsconfig": version: 0.0.0-use.local resolution: "tsconfig@workspace:packages/utils/tsconfig" dependencies: