bobril-g11n
Advanced tools
Comparing version 4.4.0 to 4.4.1
# CHANGELOG | ||
## 4.4.1 | ||
Fix regression with number/boolean parameters. | ||
## 4.4.0 | ||
@@ -4,0 +8,0 @@ |
@@ -0,0 +0,0 @@ export * from './src/msgFormatParser'; |
{ | ||
"name": "bobril-g11n", | ||
"version": "4.4.0", | ||
"version": "4.4.1", | ||
"description": "Bobril globalization", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"typescript": { | ||
@@ -8,0 +7,0 @@ "main": "index.ts" |
@@ -0,0 +0,0 @@ # bobril-g11n |
@@ -0,0 +0,0 @@ export interface ILocaleRules { |
@@ -0,0 +0,0 @@ import { ILocaleRules } from "./localeDataStorage"; |
@@ -0,0 +0,0 @@ export class RuntimeFunctionGenerator { |
@@ -206,3 +206,3 @@ import * as moment from "moment"; | ||
export function f(message: string | DelayedMessage | SerializableDelayedMessage, params?: Object): string { | ||
if (typeof message === "string" && params === undefined) return message; | ||
if (typeof message !== "object" && params === undefined) return message; | ||
return t(message, params); | ||
@@ -209,0 +209,0 @@ } |
@@ -36,3 +36,3 @@ { | ||
"node_modules/bobril/jsx.d.ts", | ||
"C:/Users/boris/.bbcore/tools/jasmine.d.ts" | ||
"C:/Users/b.letocha/.bbcore/tools/jasmine.d.ts" | ||
], | ||
@@ -39,0 +39,0 @@ "include": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52579
17
1186