Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

terra-i18n

Package Overview
Dependencies
Maintainers
9
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 4.33.0 to 4.34.0

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Changelog

## 4.34.0 - (December 8, 2020)
* Changed
* Update wdio tests to remove deprecated Terra.it helpers
## 4.33.0 - (September 29, 2020)

@@ -7,0 +12,0 @@

4

lib/terra-dev-site/doc/example/I18nDemo.js
"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
Object.defineProperty(exports, "__esModule", {

@@ -16,4 +18,2 @@ value: true

function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -20,0 +20,0 @@

"use strict";
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
Object.defineProperty(exports, "__esModule", {

@@ -24,4 +26,2 @@ value: true

function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -28,0 +28,0 @@

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

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

},
"gitHead": "95141beff02c3e36ad8e83433fdda3881fcc083a"
"gitHead": "a831aafb7547ff092f55bb322c2800129e51fdf9"
}

@@ -5,21 +5,17 @@ // Add Portuguese-Guinea-Bissau, Zulu & Zulu-South African locales as test locales (supported by intl)

Terra.describeViewports('I18n', ['medium'], () => {
describe('Initial Load', () => {
before(() => {
browser.url('/#/raw/tests/terra-i-18-n/i-18-n/default-i-18-n');
browser.waitForVisible('select');
});
it('should display tests initial load', () => {
browser.url('/raw/tests/terra-i-18-n/i-18-n/default-i-18-n');
browser.waitForVisible('select');
Terra.it.matchesScreenshot();
Terra.validates.element('initial load');
});
testLocales.forEach((locale) => {
describe(`${locale} Locale`, () => {
before(() => {
browser.waitForVisible('select');
browser.element('select').selectByValue(locale);
});
it(`should display message in ${locale}`, () => {
browser.waitForVisible('select');
browser.element('select').selectByValue(locale);
Terra.it.matchesScreenshot();
Terra.validates.screenshot(`${locale} locale`);
});
});
});
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