From a37ba148cdba75db2480c5ca0860a71ab0f57f99 Mon Sep 17 00:00:00 2001 From: EndyKaufman Date: Sun, 10 Mar 2019 19:15:12 +0500 Subject: [PATCH] chore(version): Release --- CHANGELOG.md | 9 +++++++++ libs/rucken/core/package.json | 2 +- .../core/src/lib/pipes/custom-translate.pipe.ts | 14 +++++++------- libs/rucken/web/package.json | 2 +- package-lock.json | 4 ++-- package.json | 4 ++-- 6 files changed, 22 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 413dbf9d..98287ba9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [3.9.9](https://github.com/rucken/core/compare/3.9.8...3.9.9) (2019-03-10) + + +### Bug Fixes + +* Update customTranslate pipe ([4e80ad6](https://github.com/rucken/core/commit/4e80ad6)) + + + # [3.10.0](https://github.com/rucken/core/compare/3.9.7...3.10.0) (2019-03-10) diff --git a/libs/rucken/core/package.json b/libs/rucken/core/package.json index 73e574b8..1615f810 100644 --- a/libs/rucken/core/package.json +++ b/libs/rucken/core/package.json @@ -1,6 +1,6 @@ { "name": "@rucken/core", - "version": "3.9.8", + "version": "3.9.9", "engines": { "node": ">=10", "npm": ">=6.4.0" diff --git a/libs/rucken/core/src/lib/pipes/custom-translate.pipe.ts b/libs/rucken/core/src/lib/pipes/custom-translate.pipe.ts index a9593929..bbdd7c0b 100644 --- a/libs/rucken/core/src/lib/pipes/custom-translate.pipe.ts +++ b/libs/rucken/core/src/lib/pipes/custom-translate.pipe.ts @@ -3,16 +3,16 @@ import { TranslateService } from '@ngx-translate/core'; @Pipe({ name: 'customTranslate' }) export class CustomTranslatePipe implements PipeTransform { - constructor(private _translateService: TranslateService) { } + constructor(private _translateService: TranslateService) {} transform( value: | string | { - text: string; - data: { - [key: string]: string; - }; - }, + text: string; + data: { + [key: string]: string; + }; + }, words?: any ): any { if (words === undefined) { @@ -39,7 +39,7 @@ export class CustomTranslatePipe implements PipeTransform { } try { value = this._translateService.parser.interpolate(String(value), newArgs); - } catch (error) { } + } catch (error) {} return value; } } diff --git a/libs/rucken/web/package.json b/libs/rucken/web/package.json index 7e8e9da6..d96f39ee 100644 --- a/libs/rucken/web/package.json +++ b/libs/rucken/web/package.json @@ -1,6 +1,6 @@ { "name": "@rucken/web", - "version": "3.9.8", + "version": "3.9.9", "engines": { "node": ">=10", "npm": ">=6.4.0" diff --git a/package-lock.json b/package-lock.json index e428fc44..e532bdf0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "rucken", - "version": "3.9.8", + "version": "3.9.9", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -23271,4 +23271,4 @@ "integrity": "sha512-mla2acNCMkWXBD+c+yeUrBUrzOxYMNFdQ6FGfigGGtEVBPJx07BQeJekjt9DmH1FtZek4E9rE1eRR9qQpxACOQ==" } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 05053b22..430821cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rucken", - "version": "3.9.8", + "version": "3.9.9", "engines": { "node": ">=11", "npm": ">=6.5.0" @@ -208,4 +208,4 @@ "zone.js" ] } -} \ No newline at end of file +}