
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
ra-auth-cognito-language-english
Advanced tools
English translations for [ra-auth-cognito](https://www.npmjs.com/package/ra-auth-cognito).
English translations for ra-auth-cognito.
npm install ra-auth-cognito-language-english
# or
yarn add ra-auth-cognito-language-english
// in i18nProvider.js
import { raAuthCognitoEnglishMessages } from 'ra-auth-cognito-language-english';
import { mergeTranslations } from 'react-admin';
import polyglotI18nProvider from 'ra-i18n-polyglot';
import englishMessages from 'ra-language-english';
const allEnglishMessages = mergeTranslations(
englishMessages,
raAuthCognitoEnglishMessages
);
export const i18nProvider = polyglotI18nProvider(
locale => allEnglishMessages,
'en'
);
// in App.js
import { Admin, Resource, ListGuesser } from 'react-admin';
import { authRoutes } from 'ra-auth-cognito';
import { dataProvider } from './dataProvider';
import { authProvider } from './authProvider';
import { i18nProvider } from './i18nProvider';
export const MyAdmin = () => (
<Admin
dataProvider={dataProvider}
authProvider={authProvider}
i18nProvider={i18nProvider}
customRoutes={authRoutes}
>
<Resource name="posts" list={ListGuesser} />
<Resource name="authors" list={ListGuesser} />
</Admin>
);
FAQs
English translations for [ra-auth-cognito](https://www.npmjs.com/package/ra-auth-cognito).
The npm package ra-auth-cognito-language-english receives a total of 398 weekly downloads. As such, ra-auth-cognito-language-english popularity was classified as not popular.
We found that ra-auth-cognito-language-english demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.