Socket
Socket
Sign inDemoInstall

terra-i18n

Package Overview
Dependencies
Maintainers
10
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-i18n - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

lib/defaultIntlLoaders.js

5

CHANGELOG.md

@@ -7,2 +7,7 @@ Changelog

2.4.0 - (April 5, 2018)
------------------
### Fixed
* Transpile defaultIntlLoaders and defaultTranslationsLoaders.
2.3.0 - (March 30, 2018)

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

@@ -7,3 +7,7 @@ # Dependency Information

| classnames | ^2.2.5 | -- | A simple utility for conditionally joining classNames together |
| commander | ^2.9.0 | -- | the complete solution for node.js command-line programs |
| fs-extra | ^5.0.0 | -- | fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf. |
| glob | ^7.1.1 | -- | a little globber |
| intl | ^1.2.5 | -- | Polyfill the ECMA-402 Intl API (except collation) |
| lodash.startcase | ^4.4.0 | -- | The lodash method `_.startCase` exported as a module. |
| prop-types | ^15.5.8 | -- | Runtime type checking for React props and similar objects. |

@@ -16,2 +20,3 @@ | react-intl | ^2.4.0 | ^0.14.9 \|\| ^15.0.0 \|\| ^16.0.0 | Internationalize React apps. This library provides React components and an API to format dates, numbers, and strings, including pluralization and handling translations. |

| babel-jest | ^19.0.0 | -- | [Babel](https://github.com/babel/babel) [jest](https://github.com/facebook/jest) plugin |
| memory-fs | ^0.4.1 | -- | A simple in-memory filesystem. Holds data in a javascript object. |

@@ -18,0 +23,0 @@ ## peerDependencies

2

package.json
{
"name": "terra-i18n",
"main": "lib/I18n.js",
"version": "2.3.0",
"version": "2.4.0",
"description": "The terra-i18n package provides on-demand internationalization of React components.",

@@ -6,0 +6,0 @@ "repository": {

@@ -24,3 +24,3 @@ const fse = require('fs-extra');

const intlLoaderPath = path.resolve('./node_modules', 'intlLoaders.js');
const intlLoaders = 'module.exports = require(\'../loaders/defaultIntlLoaders\');';
const intlLoaders = 'module.exports = require(\'../lib/defaultIntlLoaders\');';
fse.writeFileSync(intlLoaderPath, intlLoaders);

@@ -30,3 +30,3 @@

const translationsPath = path.resolve('./node_modules', 'translationsLoaders.js');
const translationLoaders = 'module.exports = require(\'../loaders/defaultTranslationsLoaders\');';
const translationLoaders = 'module.exports = require(\'../lib/defaultTranslationsLoaders\');';
fse.writeFileSync(translationsPath, translationLoaders);
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