Socket
Socket
Sign inDemoInstall

terra-base

Package Overview
Dependencies
Maintainers
7
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-base - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

5

CHANGELOG.md

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

2.8.0 - (November 28, 2017)
------------------
### Changed
* componentWillReceiveProps will now compare locale instead of props.
2.7.0 - (November 16, 2017)

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

2

docs/DEPENDENCIES.md

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

| prop-types | ^15.5.8 | -- | Runtime type checking for React props and similar objects. |
| terra-i18n | ^1.10.1 | ^15.4.2 | The terra-i18n component provides the internationalization to the React component. Terra supports the following locales: 'de' 'es' 'en' 'en-US' 'en-GB', 'fi-FI', 'fr', 'pt'. All locales related files are loading on demand. |
| terra-i18n | ^1.11.0 | ^15.4.2 | The terra-i18n component provides the internationalization to the React component. Terra supports the following locales: 'de' 'es' 'en' 'en-US' 'en-GB', 'fi-FI', 'fr', 'pt'. All locales related files are loading on demand. |
| terra-mixins | ^1.11.1 | -- | terra-mixins |

@@ -11,0 +11,0 @@

@@ -90,4 +90,3 @@ 'use strict';

value: function componentWillReceiveProps(nextProps) {
if (this.props === nextProps) return;
if (nextProps.locale !== undefined) {
if (nextProps.locale !== undefined && nextProps.locale !== this.props.locale) {
(0, _terraI18n.i18nLoader)(nextProps.locale, this.setState, this);

@@ -133,5 +132,4 @@ }

Base.propTypes = propTypes;
Base.defaultProps = defaultProps;
exports.default = Base;
{
"name": "terra-base",
"main": "lib/Base.js",
"version": "2.7.0",
"version": "2.8.0",
"description": "The base component sets minimal global styles for an application.",

@@ -34,3 +34,3 @@ "repository": {

"prop-types": "^15.5.8",
"terra-i18n": "^1.11.0",
"terra-i18n": "^1.12.0",
"terra-mixins": "^1.11.1"

@@ -37,0 +37,0 @@ },

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