Socket
Socket
Sign inDemoInstall

@connectedcars/react-i18n

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@connectedcars/react-i18n - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

dist/index.d.ts

@@ -5,2 +5,2 @@ export { ReduxProvider as default, ReduxProvider } from './components/ReduxProvider';

export { setLanguage } from './redux/actions';
export { i18nReducer } from './redux/reducer';
export { i18nReducer, I18nState } from './redux/reducer';
import { AnyAction } from 'redux';
export declare const i18nReducer: (state: {
export interface I18nState {
lang: string;
}, action: AnyAction) => {
}
export declare const i18nReducer: (state: I18nState, action: AnyAction) => {
lang: any;
};
{
"name": "@connectedcars/react-i18n",
"author": "Connected Cars <oss@connectedcars.io>",
"version": "0.1.3",
"version": "0.1.4",
"description": "Translations!",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -5,2 +5,2 @@ export { ReduxProvider as default, ReduxProvider } from './components/ReduxProvider'

export { setLanguage } from './redux/actions'
export { i18nReducer } from './redux/reducer'
export { i18nReducer, I18nState } from './redux/reducer'
import { AnyAction } from 'redux'
import { SET_LANGUAGE } from './constants'
const initialState = {
export interface I18nState {
lang: string
}
const initialState: I18nState = {
lang: 'en'

@@ -14,4 +18,4 @@ }

default:
return state
return state
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc