mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 15:13:21 +00:00
Merge branch 'main' into patch-1
This commit is contained in:
commit
0d73979b84
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.4.0",
|
||||
"version": "4.4.1",
|
||||
"main": "dist/index.js",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "getstarted",
|
||||
"private": true,
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "A Strapi application.",
|
||||
"scripts": {
|
||||
"develop": "strapi develop",
|
||||
@ -12,16 +12,16 @@
|
||||
"strapi": "strapi"
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/plugin-color-picker": "4.4.0",
|
||||
"@strapi/plugin-documentation": "4.4.0",
|
||||
"@strapi/plugin-graphql": "4.4.0",
|
||||
"@strapi/plugin-i18n": "4.4.0",
|
||||
"@strapi/plugin-sentry": "4.4.0",
|
||||
"@strapi/plugin-users-permissions": "4.4.0",
|
||||
"@strapi/provider-email-mailgun": "4.4.0",
|
||||
"@strapi/provider-upload-aws-s3": "4.4.0",
|
||||
"@strapi/provider-upload-cloudinary": "4.4.0",
|
||||
"@strapi/strapi": "4.4.0",
|
||||
"@strapi/plugin-color-picker": "4.4.1",
|
||||
"@strapi/plugin-documentation": "4.4.1",
|
||||
"@strapi/plugin-graphql": "4.4.1",
|
||||
"@strapi/plugin-i18n": "4.4.1",
|
||||
"@strapi/plugin-sentry": "4.4.1",
|
||||
"@strapi/plugin-users-permissions": "4.4.1",
|
||||
"@strapi/provider-email-mailgun": "4.4.1",
|
||||
"@strapi/provider-upload-aws-s3": "4.4.1",
|
||||
"@strapi/provider-upload-cloudinary": "4.4.1",
|
||||
"@strapi/strapi": "4.4.1",
|
||||
"@vscode/sqlite3": "5.0.8",
|
||||
"better-sqlite3": "7.4.6",
|
||||
"lodash": "4.17.21",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "kitchensink-ts",
|
||||
"private": true,
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "A Strapi application",
|
||||
"scripts": {
|
||||
"develop": "strapi develop",
|
||||
@ -10,9 +10,9 @@
|
||||
"strapi": "strapi"
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/plugin-i18n": "4.4.0",
|
||||
"@strapi/plugin-users-permissions": "4.4.0",
|
||||
"@strapi/strapi": "4.4.0",
|
||||
"@strapi/plugin-i18n": "4.4.1",
|
||||
"@strapi/plugin-users-permissions": "4.4.1",
|
||||
"@strapi/strapi": "4.4.1",
|
||||
"better-sqlite3": "7.4.6"
|
||||
},
|
||||
"author": {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "kitchensink",
|
||||
"private": true,
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "A Strapi application.",
|
||||
"scripts": {
|
||||
"develop": "strapi develop",
|
||||
@ -12,10 +12,10 @@
|
||||
"strapi": "strapi"
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/provider-email-mailgun": "4.4.0",
|
||||
"@strapi/provider-upload-aws-s3": "4.4.0",
|
||||
"@strapi/provider-upload-cloudinary": "4.4.0",
|
||||
"@strapi/strapi": "4.4.0",
|
||||
"@strapi/provider-email-mailgun": "4.4.1",
|
||||
"@strapi/provider-upload-aws-s3": "4.4.1",
|
||||
"@strapi/provider-upload-cloudinary": "4.4.1",
|
||||
"@strapi/strapi": "4.4.1",
|
||||
"lodash": "4.17.21",
|
||||
"mysql": "2.18.1",
|
||||
"passport-google-oauth2": "0.2.0",
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"packages": [
|
||||
"packages/*",
|
||||
"examples/*"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/admin-test-utils",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"private": true,
|
||||
"description": "Test utilities for the Strapi administration panel",
|
||||
"license": "MIT",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "create-strapi-app",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Generate a new Strapi application.",
|
||||
"keywords": [
|
||||
"create-strapi-app",
|
||||
@ -38,7 +38,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/generate-new": "4.4.0",
|
||||
"@strapi/generate-new": "4.4.1",
|
||||
"commander": "6.1.0",
|
||||
"inquirer": "8.2.4"
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "create-strapi-starter",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.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.4.0",
|
||||
"@strapi/generate-new": "4.4.1",
|
||||
"chalk": "4.1.1",
|
||||
"ci-info": "3.3.2",
|
||||
"commander": "7.1.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/admin",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Strapi Admin",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -51,13 +51,13 @@
|
||||
"@fortawesome/free-solid-svg-icons": "^5.15.3",
|
||||
"@fortawesome/react-fontawesome": "^0.2.0",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "0.5.7",
|
||||
"@strapi/babel-plugin-switch-ee-ce": "4.4.0",
|
||||
"@strapi/babel-plugin-switch-ee-ce": "4.4.1",
|
||||
"@strapi/design-system": "1.2.3",
|
||||
"@strapi/helper-plugin": "4.4.0",
|
||||
"@strapi/helper-plugin": "4.4.1",
|
||||
"@strapi/icons": "1.2.3",
|
||||
"@strapi/permissions": "4.4.0",
|
||||
"@strapi/typescript-utils": "4.4.0",
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/permissions": "4.4.1",
|
||||
"@strapi/typescript-utils": "4.4.1",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"axios": "0.27.2",
|
||||
"babel-loader": "8.2.5",
|
||||
"babel-plugin-styled-components": "2.0.2",
|
||||
|
||||
@ -4,6 +4,7 @@ const path = require('path');
|
||||
const execa = require('execa');
|
||||
const _ = require('lodash');
|
||||
const { exists } = require('fs-extra');
|
||||
const { env } = require('@strapi/utils');
|
||||
const { ValidationError } = require('@strapi/utils').errors;
|
||||
const { isUsingTypeScript } = require('@strapi/typescript-utils');
|
||||
// eslint-disable-next-line node/no-extraneous-require
|
||||
@ -93,11 +94,13 @@ module.exports = {
|
||||
const useTypescriptOnAdmin = await isUsingTypeScript(
|
||||
path.join(strapi.dirs.app.root, 'src', 'admin')
|
||||
);
|
||||
const isHostedOnStrapiCloud = env('STRAPI_HOSTING', null) === 'strapi.cloud';
|
||||
|
||||
return {
|
||||
data: {
|
||||
useTypescriptOnServer,
|
||||
useTypescriptOnAdmin,
|
||||
isHostedOnStrapiCloud,
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-content-manager",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.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.4.0",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { useIntl } from 'react-intl';
|
||||
import { Typography } from '@strapi/design-system/Typography';
|
||||
import upperFirst from 'lodash/upperFirst';
|
||||
import { Stack } from '@strapi/design-system/Stack';
|
||||
import { Typography } from '@strapi/design-system/Typography';
|
||||
|
||||
import { getTrad } from '../../utils';
|
||||
|
||||
import getModalTitleSubHeader from './getModalTitleSubHeader';
|
||||
|
||||
const FormModalSubHeader = ({
|
||||
@ -23,25 +26,33 @@ const FormModalSubHeader = ({
|
||||
: { id: getTrad(`attribute.${attributeType}`) };
|
||||
|
||||
return (
|
||||
<Typography as="h2" variant="beta">
|
||||
{formatMessage(
|
||||
{
|
||||
id: getModalTitleSubHeader({
|
||||
actionType,
|
||||
forTarget,
|
||||
kind,
|
||||
<Stack direction="column" alignItems="flex-start" paddingBottom={2} gap={1}>
|
||||
<Typography as="h2" variant="beta">
|
||||
{formatMessage(
|
||||
{
|
||||
id: getModalTitleSubHeader({
|
||||
actionType,
|
||||
forTarget,
|
||||
kind,
|
||||
step,
|
||||
modalType,
|
||||
}),
|
||||
defaultMessage: 'Add new field',
|
||||
},
|
||||
{
|
||||
type: upperFirst(formatMessage(intlLabel)),
|
||||
name: upperFirst(attributeName),
|
||||
step,
|
||||
modalType,
|
||||
}),
|
||||
defaultMessage: 'Add new field',
|
||||
},
|
||||
{
|
||||
type: upperFirst(formatMessage(intlLabel)),
|
||||
name: upperFirst(attributeName),
|
||||
step,
|
||||
}
|
||||
)}
|
||||
</Typography>
|
||||
}
|
||||
)}
|
||||
</Typography>
|
||||
<Typography variant="pi" textColor="neutral600">
|
||||
{formatMessage({
|
||||
id: getTrad(`attribute.${attributeType}.description`),
|
||||
defaultMessage: 'A type for modeling data',
|
||||
})}
|
||||
</Typography>
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-content-type-builder",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Strapi plugin to create content type",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -28,9 +28,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@sindresorhus/slugify": "1.1.0",
|
||||
"@strapi/generators": "4.4.0",
|
||||
"@strapi/helper-plugin": "4.4.0",
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/generators": "4.4.1",
|
||||
"@strapi/helper-plugin": "4.4.1",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"fs-extra": "10.0.0",
|
||||
"lodash": "4.17.21",
|
||||
"pluralize": "^8.0.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/database",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Strapi's database layer",
|
||||
"homepage": "https://strapi.io",
|
||||
"bugs": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-email",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Easily configure your Strapi application to send emails.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -26,12 +26,12 @@
|
||||
"test:front:watch:ce": "cross-env IS_EE=false jest --config ./jest.config.front.js --watchAll"
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/provider-email-sendmail": "4.4.0",
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/provider-email-sendmail": "4.4.1",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@strapi/helper-plugin": "4.4.0",
|
||||
"@strapi/helper-plugin": "4.4.1",
|
||||
"@testing-library/react": "12.1.4"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/helper-plugin",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Helper for Strapi plugins development",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/permissions",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Strapi's permission layer.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -25,7 +25,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@casl/ability": "5.4.4",
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"lodash": "4.17.21",
|
||||
"sift": "16.0.0"
|
||||
},
|
||||
|
||||
@ -7,6 +7,7 @@ const isDocker = require('is-docker');
|
||||
const fetch = require('node-fetch');
|
||||
const ciEnv = require('ci-info');
|
||||
const { isUsingTypeScriptSync } = require('@strapi/typescript-utils');
|
||||
const { env } = require('@strapi/utils');
|
||||
const ee = require('../../utils/ee');
|
||||
const machineID = require('../../utils/machine-id');
|
||||
const stringifyDeep = require('./stringify-deep');
|
||||
@ -54,6 +55,7 @@ module.exports = (strapi) => {
|
||||
projectType: isEE ? 'Enterprise' : 'Community',
|
||||
useTypescriptOnServer: isUsingTypeScriptSync(serverRootPath),
|
||||
useTypescriptOnAdmin: isUsingTypeScriptSync(adminRootPath),
|
||||
isHostedOnStrapiCloud: env('STRAPI_HOSTING', null) === 'strapi.cloud',
|
||||
};
|
||||
|
||||
addPackageJsonStrapiMetadata(anonymousMetadata, strapi);
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/strapi",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.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",
|
||||
@ -80,18 +80,18 @@
|
||||
"dependencies": {
|
||||
"@koa/cors": "3.4.1",
|
||||
"@koa/router": "10.1.1",
|
||||
"@strapi/admin": "4.4.0",
|
||||
"@strapi/database": "4.4.0",
|
||||
"@strapi/generate-new": "4.4.0",
|
||||
"@strapi/generators": "4.4.0",
|
||||
"@strapi/logger": "4.4.0",
|
||||
"@strapi/permissions": "4.4.0",
|
||||
"@strapi/plugin-content-manager": "4.4.0",
|
||||
"@strapi/plugin-content-type-builder": "4.4.0",
|
||||
"@strapi/plugin-email": "4.4.0",
|
||||
"@strapi/plugin-upload": "4.4.0",
|
||||
"@strapi/typescript-utils": "4.4.0",
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/admin": "4.4.1",
|
||||
"@strapi/database": "4.4.1",
|
||||
"@strapi/generate-new": "4.4.1",
|
||||
"@strapi/generators": "4.4.1",
|
||||
"@strapi/logger": "4.4.1",
|
||||
"@strapi/permissions": "4.4.1",
|
||||
"@strapi/plugin-content-manager": "4.4.1",
|
||||
"@strapi/plugin-content-type-builder": "4.4.1",
|
||||
"@strapi/plugin-email": "4.4.1",
|
||||
"@strapi/plugin-upload": "4.4.1",
|
||||
"@strapi/typescript-utils": "4.4.1",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"bcryptjs": "2.4.3",
|
||||
"boxen": "5.1.2",
|
||||
"chalk": "4.1.2",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-upload",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Makes it easy to upload images and files to your Strapi Application.",
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"author": {
|
||||
@ -23,9 +23,9 @@
|
||||
"test:front:watch:ce": "cross-env IS_EE=false jest --config ./jest.config.front.js --watchAll"
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/helper-plugin": "4.4.0",
|
||||
"@strapi/provider-upload-local": "4.4.0",
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/helper-plugin": "4.4.1",
|
||||
"@strapi/provider-upload-local": "4.4.1",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"byte-size": "7.0.1",
|
||||
"cropperjs": "1.5.12",
|
||||
"date-fns": "2.29.2",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/utils",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Shared utilities for the Strapi packages",
|
||||
"keywords": [
|
||||
"strapi",
|
||||
|
||||
@ -65,6 +65,7 @@ const getProperties = (scope, error) => ({
|
||||
useYarn: scope.useYarn,
|
||||
useTypescriptOnServer: scope.useTypescript,
|
||||
useTypescriptOnAdmin: scope.useTypescript,
|
||||
isHostedOnStrapiCloud: process.env.STRAPI_HOSTING === 'strapi.cloud',
|
||||
noRun: (scope.runQuickstartApp !== true).toString(),
|
||||
});
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/generate-new",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Generate a new Strapi application.",
|
||||
"keywords": [
|
||||
"generate",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/generators",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.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.4.0",
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/typescript-utils": "4.4.1",
|
||||
"@strapi/utils": "4.4.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.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Strapi maintained Custom Fields",
|
||||
"strapi": {
|
||||
"name": "color-picker",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-documentation",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -24,8 +24,8 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/helper-plugin": "4.4.0",
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/helper-plugin": "4.4.1",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"bcryptjs": "2.4.3",
|
||||
"cheerio": "^1.0.0-rc.12",
|
||||
"fs-extra": "10.0.0",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-graphql",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Adds GraphQL endpoint with default API methods.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -29,7 +29,7 @@
|
||||
"dependencies": {
|
||||
"@graphql-tools/schema": "8.1.2",
|
||||
"@graphql-tools/utils": "^8.10.0",
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"apollo-server-core": "3.1.2",
|
||||
"apollo-server-koa": "3.10.0",
|
||||
"glob": "^7.1.7",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-i18n",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.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",
|
||||
@ -24,7 +24,7 @@
|
||||
"test:unit": "jest --verbose"
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"lodash": "4.17.21"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-sentry",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Send Strapi error events to Sentry",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/plugin-users-permissions",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Protect your API with a full-authentication process based on JWT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@ -27,8 +27,8 @@
|
||||
"test:front:watch:ce": "cross-env IS_EE=false jest --config ./jest.config.front.js --watchAll"
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/helper-plugin": "4.4.0",
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/helper-plugin": "4.4.1",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"bcryptjs": "2.4.3",
|
||||
"grant-koa": "5.4.8",
|
||||
"jsonwebtoken": "^8.1.0",
|
||||
|
||||
@ -25,7 +25,7 @@ module.exports = ({ strapi }) => ({
|
||||
*/
|
||||
async findPublicPermissions() {
|
||||
return strapi.entityService.findMany('plugin::users-permissions.permission', {
|
||||
where: PUBLIC_ROLE_FILTER,
|
||||
filters: PUBLIC_ROLE_FILTER,
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
@ -45,9 +45,9 @@ describe('Auth API', () => {
|
||||
body: {},
|
||||
});
|
||||
|
||||
expect(res.statusCode).toBe(400);
|
||||
expect(res.body.error.name).toBe('ApplicationError');
|
||||
expect(res.body.error.message).toBe('You must be authenticated to reset your password');
|
||||
expect(res.statusCode).toBe(403);
|
||||
expect(res.body.error.name).toBe('ForbiddenError');
|
||||
expect(res.body.error.message).toBe('Forbidden');
|
||||
});
|
||||
|
||||
test('Fails on invalid confirmation password', async () => {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-email-amazon-ses",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Amazon SES provider for strapi email",
|
||||
"keywords": [
|
||||
"email",
|
||||
@ -36,7 +36,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"node-ses": "^3.0.3"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-email-mailgun",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Mailgun provider for strapi email plugin",
|
||||
"keywords": [
|
||||
"email",
|
||||
@ -36,7 +36,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"form-data": "^4.0.0",
|
||||
"mailgun.js": "5.2.2"
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-email-nodemailer",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Nodemailer provider for Strapi 3",
|
||||
"keywords": [
|
||||
"strapi",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-email-sendgrid",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Sendgrid provider for strapi email",
|
||||
"keywords": [
|
||||
"email",
|
||||
@ -37,7 +37,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@sendgrid/mail": "7.7.0",
|
||||
"@strapi/utils": "4.4.0"
|
||||
"@strapi/utils": "4.4.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.19.1 <=18.x.x",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-email-sendmail",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Sendmail provider for strapi email",
|
||||
"keywords": [
|
||||
"email",
|
||||
@ -35,7 +35,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"sendmail": "^1.6.1"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-upload-aws-s3",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "AWS S3 provider for strapi upload",
|
||||
"keywords": [
|
||||
"upload",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-upload-cloudinary",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Cloudinary provider for strapi upload",
|
||||
"keywords": [
|
||||
"upload",
|
||||
@ -36,7 +36,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"cloudinary": "^1.30.1",
|
||||
"into-stream": "^5.1.0"
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/provider-upload-local",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Local provider for strapi upload",
|
||||
"keywords": [
|
||||
"upload",
|
||||
@ -35,7 +35,7 @@
|
||||
"test": "echo \"no tests yet\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@strapi/utils": "4.4.0",
|
||||
"@strapi/utils": "4.4.1",
|
||||
"fs-extra": "10.0.0"
|
||||
},
|
||||
"engines": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/babel-plugin-switch-ee-ce",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.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.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Strapi's logger",
|
||||
"homepage": "https://strapi.io",
|
||||
"bugs": {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@strapi/typescript-utils",
|
||||
"version": "4.4.0",
|
||||
"version": "4.4.1",
|
||||
"description": "Typescript support for Strapi",
|
||||
"keywords": [
|
||||
"strapi",
|
||||
|
||||
@ -22348,9 +22348,9 @@ vm-browserify@^1.0.1, vm-browserify@^1.1.2:
|
||||
integrity sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==
|
||||
|
||||
vm2@^3.9.8:
|
||||
version "3.9.10"
|
||||
resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.9.10.tgz#c66543096b5c44c8861a6465805c23c7cc996a44"
|
||||
integrity sha512-AuECTSvwu2OHLAZYhG716YzwodKCIJxB6u1zG7PgSQwIgAlEaoXH52bxdcvT8GkGjnYK7r7yWDW0m0sOsPuBjQ==
|
||||
version "3.9.11"
|
||||
resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.9.11.tgz#a880f510a606481719ec3f9803b940c5805a06fe"
|
||||
integrity sha512-PFG8iJRSjvvBdisowQ7iVF580DXb1uCIiGaXgm7tynMR1uTBlv7UJlB1zdv5KJ+Tmq1f0Upnj3fayoEOPpCBKg==
|
||||
dependencies:
|
||||
acorn "^8.7.0"
|
||||
acorn-walk "^8.2.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user