
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@vtex/intl-container
Advanced tools
A React component for loading i18n translations and intl locale data
A React component for loading i18n translations and intl locale data
import React, { Component } from "react";
import Page from "./Page";
import createIntlContainer from "intl-container";
const IntlContainer = createIntlContainer({
importIntl: () => import("intl"),
importIntlLocale: locale => import("intl/locale-data/" + locale),
importReactIntl: locale => import("react-intl/locale-data/" + locale),
importCountryCodes: locale =>
import("i18n-iso-countries/langs/" + locale + ".json"),
importTranslation: locale => import("./i18n/" + locale)
});
export default class App extends Component {
render() {
return (
<IntlContainer locale={this.props.locale}>
<Page />
</IntlContainer>
);
}
}
<div/>
)[3.0.0] - 2020-02-14
react-intl
to 3.9.1
i18n-iso-countries
to 4.3.1
importReactIntl
parameter.FAQs
A React component for loading i18n translations and intl locale data
We found that @vtex/intl-container demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.