mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
Merge branch 'releases/4.8.1'
This commit is contained in:
commit
2ec4bf2bd1
2
.github/actions/check-pr-status/package.json
vendored
2
.github/actions/check-pr-status/package.json
vendored
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "check-pr-status",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"main": "dist/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "getstarted",
|
||||
"private": true,
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "A Strapi application.",
|
||||
"scripts": {
|
||||
"develop": "strapi develop",
|
||||
@ -13,16 +13,16 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/icons": "1.6.5",
|
||||
"@strapi/plugin-color-picker": "4.8.0",
|
||||
"@strapi/plugin-documentation": "4.8.0",
|
||||
"@strapi/plugin-graphql": "4.8.0",
|
||||
"@strapi/plugin-i18n": "4.8.0",
|
||||
"@strapi/plugin-sentry": "4.8.0",
|
||||
"@strapi/plugin-users-permissions": "4.8.0",
|
||||
"@strapi/provider-email-mailgun": "4.8.0",
|
||||
"@strapi/provider-upload-aws-s3": "4.8.0",
|
||||
"@strapi/provider-upload-cloudinary": "4.8.0",
|
||||
"@strapi/strapi": "4.8.0",
|
||||
"@strapi/plugin-color-picker": "4.8.1",
|
||||
"@strapi/plugin-documentation": "4.8.1",
|
||||
"@strapi/plugin-graphql": "4.8.1",
|
||||
"@strapi/plugin-i18n": "4.8.1",
|
||||
"@strapi/plugin-sentry": "4.8.1",
|
||||
"@strapi/plugin-users-permissions": "4.8.1",
|
||||
"@strapi/provider-email-mailgun": "4.8.1",
|
||||
"@strapi/provider-upload-aws-s3": "4.8.1",
|
||||
"@strapi/provider-upload-cloudinary": "4.8.1",
|
||||
"@strapi/strapi": "4.8.1",
|
||||
"@vscode/sqlite3": "5.1.2",
|
||||
"better-sqlite3": "8.0.1",
|
||||
"lodash": "4.17.21",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "kitchensink-ts",
|
||||
"private": true,
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "A Strapi application",
|
||||
"scripts": {
|
||||
"develop": "strapi develop",
|
||||
@ -10,9 +10,9 @@
|
||||
"strapi": "strapi"
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/plugin-i18n": "4.8.0",
|
||||
"@strapi/plugin-users-permissions": "4.8.0",
|
||||
"@strapi/strapi": "4.8.0",
|
||||
"@strapi/plugin-i18n": "4.8.1",
|
||||
"@strapi/plugin-users-permissions": "4.8.1",
|
||||
"@strapi/strapi": "4.8.1",
|
||||
"better-sqlite3": "8.0.1"
|
||||
},
|
||||
"author": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "kitchensink",
|
||||
"private": true,
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "A Strapi application.",
|
||||
"scripts": {
|
||||
"develop": "strapi develop",
|
||||
@ -12,10 +12,10 @@
|
||||
"strapi": "strapi"
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/provider-email-mailgun": "4.8.0",
|
||||
"@strapi/provider-upload-aws-s3": "4.8.0",
|
||||
"@strapi/provider-upload-cloudinary": "4.8.0",
|
||||
"@strapi/strapi": "4.8.0",
|
||||
"@strapi/provider-email-mailgun": "4.8.1",
|
||||
"@strapi/provider-upload-aws-s3": "4.8.1",
|
||||
"@strapi/provider-upload-cloudinary": "4.8.1",
|
||||
"@strapi/strapi": "4.8.1",
|
||||
"lodash": "4.17.21",
|
||||
"mysql": "2.18.1",
|
||||
"passport-google-oauth2": "0.2.0",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"packages": [
|
||||
"packages/*",
|
||||
"examples/*"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/admin-test-utils",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"private": true,
|
||||
"description": "Test utilities for the Strapi administration panel",
|
||||
"license": "MIT",
|
||||
|
@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "create-strapi-app",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Generate a new Strapi application.",
|
||||
"dependencies": {
|
||||
"@strapi/generate-new": "4.8.0",
|
||||
"@strapi/generate-new": "4.8.1",
|
||||
"commander": "8.3.0",
|
||||
"inquirer": "8.2.5"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "create-strapi-starter",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Generate a new Strapi application.",
|
||||
"keywords": [
|
||||
"create-strapi-starter",
|
||||
@ -38,7 +38,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/generate-new": "4.8.0",
|
||||
"@strapi/generate-new": "4.8.1",
|
||||
"chalk": "4.1.2",
|
||||
"ci-info": "3.8.0",
|
||||
"commander": "8.3.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/admin",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Strapi Admin",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -46,15 +46,15 @@
|
||||
"@casl/ability": "^5.4.3",
|
||||
"@fingerprintjs/fingerprintjs": "3.3.6",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
|
||||
"@strapi/babel-plugin-switch-ee-ce": "4.8.0",
|
||||
"@strapi/data-transfer": "4.8.0",
|
||||
"@strapi/babel-plugin-switch-ee-ce": "4.8.1",
|
||||
"@strapi/data-transfer": "4.8.1",
|
||||
"@strapi/design-system": "1.6.5",
|
||||
"@strapi/helper-plugin": "4.8.0",
|
||||
"@strapi/helper-plugin": "4.8.1",
|
||||
"@strapi/icons": "1.6.5",
|
||||
"@strapi/permissions": "4.8.0",
|
||||
"@strapi/provider-audit-logs-local": "4.8.0",
|
||||
"@strapi/typescript-utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/permissions": "4.8.1",
|
||||
"@strapi/provider-audit-logs-local": "4.8.1",
|
||||
"@strapi/typescript-utils": "4.8.1",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"axios": "1.2.2",
|
||||
"babel-loader": "^9.1.2",
|
||||
"babel-plugin-styled-components": "2.0.2",
|
||||
|
@ -174,13 +174,29 @@ describe('User Controller', () => {
|
||||
pagination,
|
||||
}));
|
||||
|
||||
const state = {
|
||||
userAbility: {
|
||||
can: jest.fn(),
|
||||
cannot: jest.fn(() => false),
|
||||
},
|
||||
};
|
||||
|
||||
const sanitizeUser = jest.fn((user) => user);
|
||||
const ctx = createContext({});
|
||||
ctx.state = state;
|
||||
|
||||
const createPermissionsManager = jest.fn(() => ({
|
||||
ability: state.userAbility,
|
||||
sanitizeQuery: (query) => query,
|
||||
}));
|
||||
|
||||
global.strapi = {
|
||||
admin: {
|
||||
services: {
|
||||
user: { findPage, sanitizeUser },
|
||||
permission: {
|
||||
createPermissionsManager,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
@ -199,13 +215,30 @@ describe('User Controller', () => {
|
||||
pagination,
|
||||
}));
|
||||
|
||||
const state = {
|
||||
userAbility: {
|
||||
can: jest.fn(),
|
||||
cannot: jest.fn(() => false),
|
||||
},
|
||||
};
|
||||
|
||||
const sanitizeUser = jest.fn((user) => user);
|
||||
const ctx = createContext({ query: { _q: 'foo' } });
|
||||
|
||||
ctx.state = state;
|
||||
|
||||
const createPermissionsManager = jest.fn(() => ({
|
||||
ability: state.userAbility,
|
||||
sanitizeQuery: (query) => query,
|
||||
}));
|
||||
|
||||
global.strapi = {
|
||||
admin: {
|
||||
services: {
|
||||
user: { findPage, sanitizeUser },
|
||||
permission: {
|
||||
createPermissionsManager,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
@ -379,7 +379,7 @@ describe('Admin User CRUD (api)', () => {
|
||||
method: 'GET',
|
||||
qs: {
|
||||
filters: {
|
||||
email: testData.user.email,
|
||||
username: testData.user.username,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-content-manager",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "A powerful UI to easily manage your data.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -24,7 +24,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@sindresorhus/slugify": "1.1.0",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -23,6 +23,9 @@ describe('Single Types', () => {
|
||||
create: jest.fn(() => false),
|
||||
},
|
||||
buildReadQuery: jest.fn((query) => query),
|
||||
sanitizedQuery: {
|
||||
read: (q) => q,
|
||||
},
|
||||
};
|
||||
|
||||
global.strapi = {
|
||||
@ -101,6 +104,9 @@ describe('Single Types', () => {
|
||||
sanitizeCreateInput: (obj) => obj,
|
||||
sanitizeOutput: (obj) => obj,
|
||||
buildReadQuery: jest.fn((query) => query),
|
||||
sanitizedQuery: {
|
||||
update: (q) => q,
|
||||
},
|
||||
};
|
||||
|
||||
const createFn = jest.fn(() => ({}));
|
||||
@ -215,6 +221,9 @@ describe('Single Types', () => {
|
||||
},
|
||||
sanitizeOutput: jest.fn((obj) => obj),
|
||||
buildReadQuery: jest.fn((query) => query),
|
||||
sanitizedQuery: {
|
||||
delete: (q) => q,
|
||||
},
|
||||
};
|
||||
|
||||
const deleteFn = jest.fn(() => ({}));
|
||||
@ -309,6 +318,9 @@ describe('Single Types', () => {
|
||||
},
|
||||
sanitizeOutput: jest.fn((obj) => obj),
|
||||
buildReadQuery: jest.fn((query) => query),
|
||||
sanitizedQuery: {
|
||||
publish: (q) => q,
|
||||
},
|
||||
};
|
||||
|
||||
const publishFn = jest.fn(() => ({}));
|
||||
@ -403,6 +415,9 @@ describe('Single Types', () => {
|
||||
},
|
||||
sanitizeOutput: jest.fn((obj) => obj),
|
||||
buildReadQuery: jest.fn((query) => query),
|
||||
sanitizedQuery: {
|
||||
unpublish: (q) => q,
|
||||
},
|
||||
};
|
||||
|
||||
const unpublishFn = jest.fn(() => ({}));
|
||||
|
@ -64,7 +64,7 @@ const createPermissionChecker =
|
||||
|
||||
// Sanitized queries shortcuts
|
||||
Object.keys(ACTIONS).forEach((action) => {
|
||||
sanitizedQuery[action] = (query) => sanitizedQuery(query, action);
|
||||
sanitizedQuery[action] = (query) => sanitizedQuery(query, ACTIONS[action]);
|
||||
});
|
||||
|
||||
// Permission utils shortcuts
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-content-type-builder",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Strapi plugin to create content type",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -29,11 +29,11 @@
|
||||
"dependencies": {
|
||||
"@sindresorhus/slugify": "1.1.0",
|
||||
"@strapi/design-system": "1.6.5",
|
||||
"@strapi/generators": "4.8.0",
|
||||
"@strapi/helper-plugin": "4.8.0",
|
||||
"@strapi/generators": "4.8.1",
|
||||
"@strapi/helper-plugin": "4.8.1",
|
||||
"@strapi/icons": "1.6.5",
|
||||
"@strapi/strapi": "4.8.0",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/strapi": "4.8.1",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"fs-extra": "10.0.0",
|
||||
"immer": "9.0.19",
|
||||
"lodash": "4.17.21",
|
||||
@ -49,7 +49,7 @@
|
||||
"yup": "^0.32.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@strapi/admin": "4.8.0",
|
||||
"@strapi/admin": "4.8.1",
|
||||
"@testing-library/react": "12.1.4",
|
||||
"@testing-library/react-hooks": "8.0.1",
|
||||
"history": "^4.9.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/data-transfer",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Data transfer capabilities for Strapi",
|
||||
"keywords": [
|
||||
"strapi",
|
||||
@ -39,8 +39,8 @@
|
||||
"lib": "./lib"
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/logger": "4.8.0",
|
||||
"@strapi/strapi": "4.8.0",
|
||||
"@strapi/logger": "4.8.1",
|
||||
"@strapi/strapi": "4.8.1",
|
||||
"chalk": "4.1.2",
|
||||
"fs-extra": "10.0.0",
|
||||
"lodash": "4.17.21",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/database",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Strapi's database layer",
|
||||
"homepage": "https://strapi.io",
|
||||
"bugs": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-email",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Easily configure your Strapi application to send emails.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -28,15 +28,15 @@
|
||||
"dependencies": {
|
||||
"@strapi/design-system": "1.6.5",
|
||||
"@strapi/icons": "1.6.5",
|
||||
"@strapi/provider-email-sendmail": "4.8.0",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/provider-email-sendmail": "4.8.1",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"lodash": "4.17.21",
|
||||
"prop-types": "^15.7.2",
|
||||
"react-intl": "6.2.8",
|
||||
"yup": "^0.32.9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@strapi/helper-plugin": "4.8.0",
|
||||
"@strapi/helper-plugin": "4.8.1",
|
||||
"@testing-library/react": "12.1.4",
|
||||
"msw": "1.0.0",
|
||||
"react": "^17.0.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/helper-plugin",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Helper for Strapi plugins development",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/permissions",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Strapi's permission layer.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -25,7 +25,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@casl/ability": "5.4.4",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"lodash": "4.17.21",
|
||||
"sift": "16.0.0"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/strapi",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.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",
|
||||
@ -81,19 +81,19 @@
|
||||
"dependencies": {
|
||||
"@koa/cors": "3.4.3",
|
||||
"@koa/router": "10.1.1",
|
||||
"@strapi/admin": "4.8.0",
|
||||
"@strapi/data-transfer": "4.8.0",
|
||||
"@strapi/database": "4.8.0",
|
||||
"@strapi/generate-new": "4.8.0",
|
||||
"@strapi/generators": "4.8.0",
|
||||
"@strapi/logger": "4.8.0",
|
||||
"@strapi/permissions": "4.8.0",
|
||||
"@strapi/plugin-content-manager": "4.8.0",
|
||||
"@strapi/plugin-content-type-builder": "4.8.0",
|
||||
"@strapi/plugin-email": "4.8.0",
|
||||
"@strapi/plugin-upload": "4.8.0",
|
||||
"@strapi/typescript-utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/admin": "4.8.1",
|
||||
"@strapi/data-transfer": "4.8.1",
|
||||
"@strapi/database": "4.8.1",
|
||||
"@strapi/generate-new": "4.8.1",
|
||||
"@strapi/generators": "4.8.1",
|
||||
"@strapi/logger": "4.8.1",
|
||||
"@strapi/permissions": "4.8.1",
|
||||
"@strapi/plugin-content-manager": "4.8.1",
|
||||
"@strapi/plugin-content-type-builder": "4.8.1",
|
||||
"@strapi/plugin-email": "4.8.1",
|
||||
"@strapi/plugin-upload": "4.8.1",
|
||||
"@strapi/typescript-utils": "4.8.1",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"bcryptjs": "2.4.3",
|
||||
"boxen": "5.1.2",
|
||||
"chalk": "4.1.2",
|
||||
|
@ -16,7 +16,10 @@ const data = { product: [] };
|
||||
|
||||
const getProductDataFields = (fields) => {
|
||||
return data.product.map((product) => {
|
||||
return { ...product, attributes: _.pick(product.attributes, fields) };
|
||||
return {
|
||||
...product,
|
||||
attributes: fields.length > 0 ? _.pick(product.attributes, fields) : product.attributes,
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-upload",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Makes it easy to upload images and files to your Strapi Application.",
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"author": {
|
||||
@ -24,10 +24,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/design-system": "1.6.5",
|
||||
"@strapi/helper-plugin": "4.8.0",
|
||||
"@strapi/helper-plugin": "4.8.1",
|
||||
"@strapi/icons": "1.6.5",
|
||||
"@strapi/provider-upload-local": "4.8.0",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/provider-upload-local": "4.8.1",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"axios": "1.2.2",
|
||||
"byte-size": "7.0.1",
|
||||
"cropperjs": "1.5.12",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/utils",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Shared utilities for the Strapi packages",
|
||||
"keywords": [
|
||||
"strapi",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/generate-new",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Generate a new Strapi application.",
|
||||
"keywords": [
|
||||
"generate",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/generators",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Interactive API generator.",
|
||||
"keywords": [
|
||||
"strapi",
|
||||
@ -30,8 +30,8 @@
|
||||
"main": "lib/index.js",
|
||||
"dependencies": {
|
||||
"@sindresorhus/slugify": "1.1.0",
|
||||
"@strapi/typescript-utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/typescript-utils": "4.8.1",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"chalk": "4.1.2",
|
||||
"fs-extra": "10.0.0",
|
||||
"node-plop": "0.26.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-color-picker",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Strapi maintained Custom Fields",
|
||||
"strapi": {
|
||||
"name": "color-picker",
|
||||
@ -10,7 +10,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/design-system": "1.6.5",
|
||||
"@strapi/helper-plugin": "4.8.0",
|
||||
"@strapi/helper-plugin": "4.8.1",
|
||||
"@strapi/icons": "1.6.5",
|
||||
"prop-types": "^15.7.2",
|
||||
"react-colorful": "5.6.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-documentation",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -25,9 +25,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/design-system": "1.6.5",
|
||||
"@strapi/helper-plugin": "4.8.0",
|
||||
"@strapi/helper-plugin": "4.8.1",
|
||||
"@strapi/icons": "1.6.5",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"bcryptjs": "2.4.3",
|
||||
"cheerio": "^1.0.0-rc.12",
|
||||
"formik": "2.2.9",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-graphql",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Adds GraphQL endpoint with default API methods.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -30,9 +30,9 @@
|
||||
"@graphql-tools/schema": "8.5.1",
|
||||
"@graphql-tools/utils": "^8.12.0",
|
||||
"@strapi/design-system": "1.6.5",
|
||||
"@strapi/helper-plugin": "4.8.0",
|
||||
"@strapi/helper-plugin": "4.8.1",
|
||||
"@strapi/icons": "1.6.5",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"apollo-server-core": "3.11.1",
|
||||
"apollo-server-koa": "3.10.0",
|
||||
"glob": "^7.1.7",
|
||||
|
@ -1,7 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
const { entries, mapValues, omit } = require('lodash/fp');
|
||||
const { idArg, nonNull } = require('nexus');
|
||||
const {
|
||||
pagination: { withDefaultPagination },
|
||||
contentTypes: { hasDraftAndPublish },
|
||||
@ -38,7 +37,7 @@ module.exports = ({ strapi }) => {
|
||||
// Collection Types
|
||||
if (kind === 'collectionType') {
|
||||
if (!multiple) {
|
||||
return { id: nonNull(idArg()) };
|
||||
return { id: 'ID' };
|
||||
}
|
||||
|
||||
const params = {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-i18n",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.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",
|
||||
@ -25,9 +25,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/design-system": "1.6.5",
|
||||
"@strapi/helper-plugin": "4.8.0",
|
||||
"@strapi/helper-plugin": "4.8.1",
|
||||
"@strapi/icons": "1.6.5",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"formik": "2.2.9",
|
||||
"immer": "9.0.19",
|
||||
"lodash": "4.17.21",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-sentry",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Send Strapi error events to Sentry",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -26,7 +26,7 @@
|
||||
"dependencies": {
|
||||
"@sentry/node": "6.19.7",
|
||||
"@strapi/design-system": "1.6.5",
|
||||
"@strapi/helper-plugin": "4.8.0",
|
||||
"@strapi/helper-plugin": "4.8.1",
|
||||
"@strapi/icons": "1.6.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-users-permissions",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Protect your API with a full-authentication process based on JWT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -28,9 +28,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/design-system": "1.6.5",
|
||||
"@strapi/helper-plugin": "4.8.0",
|
||||
"@strapi/helper-plugin": "4.8.1",
|
||||
"@strapi/icons": "1.6.5",
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"bcryptjs": "2.4.3",
|
||||
"formik": "2.2.9",
|
||||
"grant-koa": "5.4.8",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-audit-logs-local",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Local provider for strapi audit logs",
|
||||
"keywords": [
|
||||
"audit-logs",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-email-amazon-ses",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Amazon SES provider for strapi email",
|
||||
"keywords": [
|
||||
"email",
|
||||
@ -36,7 +36,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"node-ses": "^3.0.3"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-email-mailgun",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Mailgun provider for strapi email plugin",
|
||||
"keywords": [
|
||||
"email",
|
||||
@ -36,7 +36,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"form-data": "^4.0.0",
|
||||
"mailgun.js": "5.2.2"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-email-nodemailer",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Nodemailer provider for Strapi 3",
|
||||
"keywords": [
|
||||
"strapi",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-email-sendgrid",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Sendgrid provider for strapi email",
|
||||
"keywords": [
|
||||
"email",
|
||||
@ -37,7 +37,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@sendgrid/mail": "7.7.0",
|
||||
"@strapi/utils": "4.8.0"
|
||||
"@strapi/utils": "4.8.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.19.1 <=18.x.x",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-email-sendmail",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Sendmail provider for strapi email",
|
||||
"keywords": [
|
||||
"email",
|
||||
@ -35,7 +35,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"sendmail": "^1.6.1"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-upload-aws-s3",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "AWS S3 provider for strapi upload",
|
||||
"keywords": [
|
||||
"upload",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-upload-cloudinary",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Cloudinary provider for strapi upload",
|
||||
"keywords": [
|
||||
"upload",
|
||||
@ -36,7 +36,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"cloudinary": "^1.33.0",
|
||||
"into-stream": "^5.1.0"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-upload-local",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Local provider for strapi upload",
|
||||
"keywords": [
|
||||
"upload",
|
||||
@ -35,7 +35,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/utils": "4.8.0",
|
||||
"@strapi/utils": "4.8.1",
|
||||
"fs-extra": "10.0.0"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/babel-plugin-switch-ee-ce",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"private": false,
|
||||
"description": "Babel plugin to switch from CE to EE at runtime",
|
||||
"repository": "git://github.com/strapi/strapi.git",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/logger",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Strapi's logger",
|
||||
"homepage": "https://strapi.io",
|
||||
"bugs": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/typescript-utils",
|
||||
"version": "4.8.0",
|
||||
"version": "4.8.1",
|
||||
"description": "Typescript support for Strapi",
|
||||
"keywords": [
|
||||
"strapi",
|
||||
|
Loading…
x
Reference in New Issue
Block a user