Comparing version 1.6.41 to 1.6.42
@@ -10,2 +10,3 @@ export * from './fn/array/index'; | ||
export { Logger } from './Logger'; | ||
export { Intl } from './Intl'; | ||
export { Intl, _, __ } from './Intl'; | ||
export { IDisposable, ITyped, IError } from './Types'; |
@@ -8,3 +8,3 @@ export * from './fn/array/index'; | ||
export { Logger } from './Logger'; | ||
export { Intl } from './Intl'; | ||
export { Intl, _, __ } from './Intl'; | ||
//# sourceMappingURL=index.js.map |
@@ -23,2 +23,4 @@ declare type Locales = 'ru-ru' | 'en-us'; | ||
} | ||
export declare const _: (category: string, key: string) => string; | ||
export declare const __: (category: string, key: string) => string[]; | ||
export {}; |
@@ -91,2 +91,4 @@ import * as warning from 'warning'; | ||
Intl.setLocale(window.navigator.language); | ||
export var _ = Intl.t; | ||
export var __ = Intl.ts; | ||
//# sourceMappingURL=Intl.js.map |
{ | ||
"name": "onix-core", | ||
"version": "1.6.41", | ||
"version": "1.6.42", | ||
"description": "Onix library core", | ||
@@ -26,3 +26,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"lodash-es": "^4.17.14", | ||
"lodash-es": "^4.17.15", | ||
"warning": "^4.0.3" | ||
@@ -32,9 +32,9 @@ }, | ||
"@types/lodash-es": "^4.17.3", | ||
"@types/node": "^7.10.6", | ||
"@types/node": "^7.10.7", | ||
"clean-webpack-plugin": "^0.1.19", | ||
"ts-loader": "^4.5.0", | ||
"typescript": "^2.9.2", | ||
"webpack": "^4.35.3", | ||
"webpack-cli": "^3.3.5" | ||
"webpack": "^4.39.3", | ||
"webpack-cli": "^3.3.7" | ||
} | ||
} |
@@ -14,3 +14,3 @@ export * from './fn/array/index'; | ||
export { Logger } from './Logger'; | ||
export { Intl } from './Intl'; | ||
import { IDisposable, ITyped, IError } from './Types'; | ||
export { Intl, _, __ } from './Intl'; | ||
export { IDisposable, ITyped, IError } from './Types'; |
@@ -125,2 +125,5 @@ import * as warning from 'warning'; | ||
Intl.setLocale(window.navigator.language); | ||
Intl.setLocale(window.navigator.language); | ||
export const _ = Intl.t; | ||
export const __ = Intl.ts; |
Sorry, the diff of this file is not supported yet
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
93471
1719
Updatedlodash-es@^4.17.15