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

@teamleader/i18n

Package Overview
Dependencies
Maintainers
11
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teamleader/i18n - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

21

CHANGELOG.md

@@ -0,1 +1,22 @@

## [2.0.3] - 2019-02-27
### Security
- Minor update of @babel/cli
- Minor update of @babel/core
- Minor update of @babel/plugin-proposal-class-properties
- Minor update of @babel/plugin-proposal-export-default-from
- Minor update of @babel/plugin-proposal-export-namespace-from
- Minor update of @babel/plugin-proposal-object-rest-spread
- Minor update of @babel/preset-env
- Patch update of babel-plugin-transform-imports
- Patch update of babel-plugin-transform-react-remove-prop-types
## [2.0.2] - 2019-02-01
### Changed
- Rename 'language' prop to 'locale'. (added in [#4](https://github.com/teamleadercrm/i18n/pull/4))
- Default locale is now 'en-GB' instead of 'en'. (added in [#4](https://github.com/teamleadercrm/i18n/pull/4))
- Support passing locale codes (e.g. 'nl-BE'). (added in [#4](https://github.com/teamleadercrm/i18n/pull/4))
## [1.0.1] - 2018-10-04

@@ -2,0 +23,0 @@

16

lib/index.js

@@ -112,7 +112,7 @@ "use strict";

_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "state", {
_defineProperty(_assertThisInitialized(_this), "state", {
loaded: false
});
_defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), "getTranslationId", function (id) {
_defineProperty(_assertThisInitialized(_this), "getTranslationId", function (id) {
var namespace = _this.props.namespace;

@@ -224,5 +224,7 @@ return namespace ? [namespace, id].join('.') : id;

return function componentDidMount() {
function componentDidMount() {
return _componentDidMount.apply(this, arguments);
};
}
return componentDidMount;
}()

@@ -283,5 +285,7 @@ }, {

return function fetchTranslations(_x) {
function fetchTranslations(_x) {
return _fetchTranslations.apply(this, arguments);
};
}
return fetchTranslations;
}()

@@ -288,0 +292,0 @@ }, {

{
"name": "@teamleader/i18n",
"version": "2.0.2",
"version": "2.0.3",
"description": "Teamleader i18n implementation",

@@ -21,15 +21,15 @@ "author": "Teamleader <development@teamleader.eu>",

"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-class-properties": "^7.3.4",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-plugin-transform-imports": "^1.5.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.15",
"babel-plugin-transform-imports": "^1.5.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"flow-bin": "^0.79.1"
}
}
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