@teamleader/i18n
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -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 @@ |
@@ -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" | ||
} | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
297
1
20994
7