
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@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
The npm package @vtex/intl-container receives a total of 1 weekly downloads. As such, @vtex/intl-container popularity was classified as not popular.
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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
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.