Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
Merge tag '3.9.9' into develop
Browse files Browse the repository at this point in the history
3.9.9
  • Loading branch information
EndyKaufman committed Mar 10, 2019
2 parents 4e80ad6 + 4c1595b commit 4dd05fd
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 13 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
2 changes: 1 addition & 1 deletion libs/rucken/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rucken/core",
"version": "3.9.8",
"version": "3.9.9",
"engines": {
"node": ">=10",
"npm": ">=6.4.0"
Expand Down
14 changes: 7 additions & 7 deletions libs/rucken/core/src/lib/pipes/custom-translate.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -39,7 +39,7 @@ export class CustomTranslatePipe implements PipeTransform {
}
try {
value = this._translateService.parser.interpolate(String(value), newArgs);
} catch (error) { }
} catch (error) {}
return value;
}
}
2 changes: 1 addition & 1 deletion libs/rucken/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rucken/web",
"version": "3.9.8",
"version": "3.9.9",
"engines": {
"node": ">=10",
"npm": ">=6.4.0"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rucken",
"version": "3.9.8",
"version": "3.9.9",
"engines": {
"node": ">=11",
"npm": ">=6.5.0"
Expand Down Expand Up @@ -208,4 +208,4 @@
"zone.js"
]
}
}
}

0 comments on commit 4dd05fd

Please sign in to comment.