New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/react-i18n

Package Overview
Dependencies
Maintainers
13
Versions
289
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-i18n - npm Package Compare versions

Comparing version 0.11.8 to 0.11.9

6

CHANGELOG.md

@@ -11,2 +11,8 @@ # Changelog

## [0.11.9] - 2019-03-29
### Fixed
- Fixed an issue where the Babel plugin would return `Module` objects instead of the actual translation dictionaries [#618](https://github.com/Shopify/quilt/pull/618)
## [0.11.7] - 2019-03-27

@@ -13,0 +19,0 @@

2

dist/babel-plugin.js

@@ -17,3 +17,3 @@ "use strict";

var id = _a.id, fallbackID = _a.fallbackID, decoratorName = _a.decoratorName;
return template(decoratorName + "({\n id: '" + id + "',\n fallback: " + fallbackID + ",\n async translations(locale) {\n return await import(/* webpackChunkName: \"" + id + "-i18n\", webpackMode: \"lazy-once\" */ `./translations/${locale}.json`);\n },\n })", {
return template(decoratorName + "({\n id: '" + id + "',\n fallback: " + fallbackID + ",\n async translations(locale) {\n const dictionary = await import(/* webpackChunkName: \"" + id + "-i18n\", webpackMode: \"lazy-once\" */ `./translations/${locale}.json`);\n return dictionary && dictionary.default;\n },\n })", {
sourceType: 'module',

@@ -20,0 +20,0 @@ plugins: ['dynamicImport'],

{
"name": "@shopify/react-i18n",
"version": "0.11.8",
"version": "0.11.9",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "i18n utilities for React handling translations, formatting, and more.",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc