Socket
Socket
Sign inDemoInstall

terra-i18n

Package Overview
Dependencies
Maintainers
7
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.40.0 to 4.41.0

5

CHANGELOG.md

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

## 4.41.0 - (November 13, 2023)
* Changed
* Minor dependency version bump
## 4.40.0 - (February 15, 2023)

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

7

lib/i18nLoader.js

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

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } /* eslint-disable global-require, import/no-named-as-default */
var permitParams = function permitParams(callback) {

@@ -17,3 +17,3 @@ if (typeof callback !== 'function') {

};
var _default = function _default(locale, callback, scope) {
var _default = exports.default = function _default(locale, callback, scope) {
permitParams(callback);

@@ -54,3 +54,2 @@

};
/* eslint-enable global-require, import/no-named-as-default */
exports.default = _default;
/* eslint-enable global-require, import/no-named-as-default */

@@ -36,3 +36,2 @@ "use strict";

I18nProvider.propTypes = propTypes;
var _default = I18nProvider;
exports.default = _default;
var _default = exports.default = I18nProvider;

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

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); } /* eslint-disable import/no-unresolved, compat/compat, no-console */
var supportedIntlConstructors = function supportedIntlConstructors() {

@@ -52,3 +52,3 @@ /**

};
var loadIntl = function loadIntl(locale) {
var loadIntl = exports.loadIntl = function loadIntl(locale) {
var fallbackLocale = locale.split('-').length > 1 ? locale.split('-')[0] : false;

@@ -78,5 +78,3 @@ try {

};
exports.loadIntl = loadIntl;
var _default = loadIntl;
/* eslint-enable import/no-unresolved, compat/compat, no-console */
exports.default = _default;
var _default = exports.default = loadIntl;
/* eslint-enable import/no-unresolved, compat/compat, no-console */

@@ -42,4 +42,3 @@ "use strict";

};
var _default = loadTranslations;
/* eslint-enable import/no-unresolved, no-console */
exports.default = _default;
var _default = exports.default = loadTranslations;
/* eslint-enable import/no-unresolved, no-console */
{
"name": "terra-i18n",
"main": "lib/I18n.js",
"version": "4.40.0",
"version": "4.41.0",
"description": "The terra-i18n package provides on-demand internationalization of React components.",
"author": "Cerner Corporation",
"repository": {

@@ -11,15 +11,21 @@ "type": "git",

},
"bugs": {
"url": "https://github.com/cerner/terra-core/issues"
},
"homepage": "https://github.com/cerner/terra-core#readme",
"license": "Apache-2.0",
"keywords": [
"Cerner",
"I18n",
"Terra",
"terra-i18n",
"I18n",
"UI"
],
"author": "Cerner Corporation",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/cerner/terra-core/issues"
"main": "lib/I18n.js",
"dependencies": {
"classnames": "^2.2.5",
"intl": "^1.2.5",
"intl-locales-supported": ">=1.8.4 <1.8.12 || ^1.8.13",
"prop-types": "^15.5.8"
},
"homepage": "https://github.com/cerner/terra-core#readme",
"peerDependencies": {

@@ -30,8 +36,2 @@ "react": "^16.8.5",

},
"dependencies": {
"classnames": "^2.2.5",
"intl": "^1.2.5",
"intl-locales-supported": ">=1.8.4 <1.8.12 || ^1.8.13",
"prop-types": "^15.5.8"
},
"scripts": {

@@ -48,3 +48,3 @@ "compile": "babel --root-mode upward src --out-dir lib --copy-files",

},
"gitHead": "632d9cecc4c480d250ddef2ee6999349eda97641"
"gitHead": "1be8c98fe2eeec64ef7a7fa457dd708da88e5170"
}
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