Socket
Socket
Sign inDemoInstall

@akemona-org/strapi-plugin-i18n

Package Overview
Dependencies
47
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.7.4 to 3.7.5

2

admin/src/components/CheckboxConfirmation/index.js

@@ -5,3 +5,3 @@ import React, { useState } from 'react';

import { Checkbox, Text } from '@buffetjs/core';
import { ModalConfirm } from 'strapi-helper-plugin';
import { ModalConfirm } from '@akemona-org/strapi-helper-plugin';
import { getTrad } from '../../utils';

@@ -8,0 +8,0 @@ import Wrapper from './Wrapper';

@@ -16,3 +16,3 @@ import React, { useState } from 'react';

request,
} from 'strapi-helper-plugin';
} from '@akemona-org/strapi-helper-plugin';
import { getTrad } from '../../utils';

@@ -19,0 +19,0 @@ import { cleanData, generateOptions } from './utils';

import {
contentManagementUtilRemoveFieldsFromData,
formatComponentData,
} from 'strapi-helper-plugin';
} from '@akemona-org/strapi-helper-plugin';
import removePasswordAndRelationsFieldFromData from './removePasswordAndRelationsFieldFromData';

@@ -6,0 +6,0 @@

import { get } from 'lodash';
import { getType, getOtherInfos } from 'strapi-helper-plugin';
import { getType, getOtherInfos } from '@akemona-org/strapi-helper-plugin';

@@ -4,0 +4,0 @@ const removePasswordAndRelationsFieldFromData = (data, contentTypeSchema, componentSchema) => {

@@ -5,3 +5,6 @@ import React, { useMemo } from 'react';

import { useParams } from 'react-router-dom';
import { useContentManagerEditViewDataManager, useQueryParams } from 'strapi-helper-plugin';
import {
useContentManagerEditViewDataManager,
useQueryParams,
} from '@akemona-org/strapi-helper-plugin';
import selectI18NLocales from '../../selectors/selectI18nLocales';

@@ -8,0 +11,0 @@ import useContentTypePermissions from '../../hooks/useContentTypePermissions';

@@ -8,3 +8,7 @@ import React from 'react';

import { useTheme } from 'styled-components';
import { DropdownIndicator, BaselineAlignment, selectStyles } from 'strapi-helper-plugin';
import {
DropdownIndicator,
BaselineAlignment,
selectStyles,
} from '@akemona-org/strapi-helper-plugin';
import { useHistory } from 'react-router-dom';

@@ -11,0 +15,0 @@ import { stringify } from 'qs';

@@ -8,3 +8,3 @@ import React from 'react';

import { Flex, Text } from '@buffetjs/core';
import { RelationDPState } from 'strapi-helper-plugin';
import { RelationDPState } from '@akemona-org/strapi-helper-plugin';
import { getTrad } from '../../utils';

@@ -11,0 +11,0 @@

import React, { useState } from 'react';
import { useIntl } from 'react-intl';
import { EmptyState, ListButton } from 'strapi-helper-plugin';
import { EmptyState, ListButton } from '@akemona-org/strapi-helper-plugin';
import { List } from '@buffetjs/custom';

@@ -5,0 +5,0 @@ import { Button } from '@buffetjs/core';

import React, { useState } from 'react';
import { useSelector, useDispatch } from 'react-redux';
import { Picker, Padded, Text, Flex } from '@buffetjs/core';
import { Carret, useQueryParams } from 'strapi-helper-plugin';
import { Carret, useQueryParams } from '@akemona-org/strapi-helper-plugin';
import { useRouteMatch } from 'react-router-dom';

@@ -6,0 +6,0 @@ import styled from 'styled-components';

@@ -5,3 +5,3 @@ import React from 'react';

import { useIntl } from 'react-intl';
import { BaselineAlignment } from 'strapi-helper-plugin';
import { BaselineAlignment } from '@akemona-org/strapi-helper-plugin';
import { getTrad } from '../../utils';

@@ -8,0 +8,0 @@

@@ -9,3 +9,7 @@ import React from 'react';

import { useTheme } from 'styled-components';
import { BaselineAlignment, selectStyles, DropdownIndicator } from 'strapi-helper-plugin';
import {
BaselineAlignment,
selectStyles,
DropdownIndicator,
} from '@akemona-org/strapi-helper-plugin';
import { useFormikContext } from 'formik';

@@ -12,0 +16,0 @@ import { getTrad } from '../../utils';

import React, { useRef } from 'react';
import PropTypes from 'prop-types';
import { Modal, ModalFooter, TabPanel, useUser } from 'strapi-helper-plugin';
import { Modal, ModalFooter, TabPanel, useUser } from '@akemona-org/strapi-helper-plugin';
import { useIntl } from 'react-intl';

@@ -5,0 +5,0 @@ import { Button } from '@buffetjs/core';

import React from 'react';
import PropTypes from 'prop-types';
import { Text } from '@buffetjs/core';
import { ModalConfirm } from 'strapi-helper-plugin';
import { ModalConfirm } from '@akemona-org/strapi-helper-plugin';
import { useIntl } from 'react-intl';

@@ -6,0 +6,0 @@ import useDeleteLocale from '../../hooks/useDeleteLocale';

@@ -6,3 +6,3 @@ import React from 'react';

import { useIntl } from 'react-intl';
import { BaselineAlignment } from 'strapi-helper-plugin';
import { BaselineAlignment } from '@akemona-org/strapi-helper-plugin';
import { getTrad } from '../../utils';

@@ -9,0 +9,0 @@

@@ -9,3 +9,7 @@ import React from 'react';

import { useTheme } from 'styled-components';
import { BaselineAlignment, selectStyles, DropdownIndicator } from 'strapi-helper-plugin';
import {
BaselineAlignment,
selectStyles,
DropdownIndicator,
} from '@akemona-org/strapi-helper-plugin';
import { useFormikContext } from 'formik';

@@ -12,0 +16,0 @@ import { getTrad } from '../../utils';

import React, { useRef } from 'react';
import PropTypes from 'prop-types';
import { Modal, ModalFooter, TabPanel, useGlobalContext } from 'strapi-helper-plugin';
import { Modal, ModalFooter, TabPanel, useGlobalContext } from '@akemona-org/strapi-helper-plugin';
import { useIntl } from 'react-intl';

@@ -5,0 +5,0 @@ import { Button } from '@buffetjs/core';

@@ -12,3 +12,3 @@ import React from 'react';

TabsPanel,
} from 'strapi-helper-plugin';
} from '@akemona-org/strapi-helper-plugin';
import { useIntl } from 'react-intl';

@@ -15,0 +15,0 @@ import { getTrad } from '../utils';

import React from 'react';
import { useUserPermissions } from 'strapi-helper-plugin';
import { useUserPermissions } from '@akemona-org/strapi-helper-plugin';
import { useIntl } from 'react-intl';

@@ -4,0 +4,0 @@ import LocaleSettingsPage from './LocaleSettingsPage';

import React, { useState } from 'react';
import PropTypes from 'prop-types';
import { useIntl } from 'react-intl';
import { BaselineAlignment } from 'strapi-helper-plugin';
import { BaselineAlignment } from '@akemona-org/strapi-helper-plugin';
import { Header } from '@buffetjs/custom';

@@ -6,0 +6,0 @@ import { Button } from '@buffetjs/core';

@@ -9,3 +9,3 @@ /* eslint-disable react/prop-types */

import { Provider } from 'react-redux';
import { request, useUserPermissions } from 'strapi-helper-plugin';
import { request, useUserPermissions } from '@akemona-org/strapi-helper-plugin';
import { fireEvent, render, screen, within, waitFor } from '@testing-library/react';

@@ -36,3 +36,3 @@ import { ThemeProvider } from 'styled-components';

// but it bugs somehow when run with jest
jest.mock('strapi-helper-plugin', () => ({
jest.mock('@akemona-org/strapi-helper-plugin', () => ({
EmptyState: ({ title, description }) => (

@@ -39,0 +39,0 @@ <div data-testid="empty-list">

import { useState } from 'react';
import { request } from 'strapi-helper-plugin';
import { request } from '@akemona-org/strapi-helper-plugin';
import { useDispatch } from 'react-redux';

@@ -4,0 +4,0 @@ import get from 'lodash/get';

import { useQuery } from 'react-query';
import { request } from 'strapi-helper-plugin';
import { request } from '@akemona-org/strapi-helper-plugin';

@@ -4,0 +4,0 @@ const fetchDefaultLocalesList = async () => {

import { useState } from 'react';
import { request } from 'strapi-helper-plugin';
import { request } from '@akemona-org/strapi-helper-plugin';
import { useDispatch } from 'react-redux';

@@ -4,0 +4,0 @@ import { getTrad } from '../../utils';

import { useState } from 'react';
import { request } from 'strapi-helper-plugin';
import { request } from '@akemona-org/strapi-helper-plugin';
import { useDispatch } from 'react-redux';

@@ -4,0 +4,0 @@ import { getTrad } from '../../utils';

import { useEffect } from 'react';
import { request } from 'strapi-helper-plugin';
import { request } from '@akemona-org/strapi-helper-plugin';
import { useSelector, useDispatch } from 'react-redux';

@@ -4,0 +4,0 @@ import { RESOLVE_LOCALES } from '../constants';

@@ -9,3 +9,3 @@ import get from 'lodash/get';

contentManagementUtilRemoveFieldsFromData,
} from 'strapi-helper-plugin';
} from '@akemona-org/strapi-helper-plugin';
import pluginId from '../pluginId';

@@ -12,0 +12,0 @@

import addCommonFieldsToInitialDataMiddleware from '../addCommonFieldsToInitialDataMiddleware';
jest.mock('strapi-helper-plugin', () => ({
jest.mock('@akemona-org/strapi-helper-plugin', () => ({
request: () => ({

@@ -5,0 +5,0 @@ nonLocalizedFields: { common: 'test' },

@@ -6,3 +6,3 @@ {

},
"version": "3.7.4",
"version": "3.7.5",
"description": "This plugin enables to create, to read and to update content in different languages, both from the Admin Panel and from the API",

@@ -16,3 +16,3 @@ "strapi": {

"dependencies": {
"@akemona-org/strapi-utils": "3.7.4",
"@akemona-org/strapi-utils": "3.7.5",
"lodash": "4.17.21",

@@ -32,3 +32,3 @@ "p-map": "4.0.0",

"license": "SEE LICENSE IN LICENSE",
"gitHead": "a627972678ce3f460d6b1786adb976f1d3a7c35d"
"gitHead": "c248936761bebd2fe75189c248a761c95a091fe0"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc