@smg-automotive/i18n-pkg
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -9,3 +9,3 @@ 'use strict'; | ||
function dlv(t,e,l,n,r){for(e=e.split?e.split("."):e,n=0;n<e.length;n++)t=t?t[e[n]]:r;return t===r?l:t} | ||
var dlv=function(t,e,l,n,o){for(e=e.split?e.split("."):e,n=0;n<e.length;n++)t=t?t[e[n]]:o;return t===o?l:t}; | ||
@@ -96,3 +96,2 @@ const RGX = /{{(.*?)}}/g; | ||
/* eslint-disable import/no-internal-modules */ | ||
var useI18n = function () { | ||
@@ -99,0 +98,0 @@ var i18n = react.useContext(I18nContext); |
@@ -5,3 +5,3 @@ import { createContext, useContext, useMemo, Fragment, cloneElement } from 'react'; | ||
function dlv(t,e,l,n,r){for(e=e.split?e.split("."):e,n=0;n<e.length;n++)t=t?t[e[n]]:r;return t===r?l:t} | ||
var dlv=function(t,e,l,n,o){for(e=e.split?e.split("."):e,n=0;n<e.length;n++)t=t?t[e[n]]:o;return t===o?l:t}; | ||
@@ -92,3 +92,2 @@ const RGX = /{{(.*?)}}/g; | ||
/* eslint-disable import/no-internal-modules */ | ||
var useI18n = function () { | ||
@@ -95,0 +94,0 @@ var i18n = useContext(I18nContext); |
{ | ||
"name": "@smg-automotive/i18n-pkg", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A boilerplate package setup", | ||
@@ -32,5 +32,5 @@ "main": "dist/cjs/index.js", | ||
"@rollup/plugin-commonjs": "22.0.2", | ||
"@rollup/plugin-node-resolve": "13.3.0", | ||
"@rollup/plugin-node-resolve": "14.0.0", | ||
"@rollup/plugin-typescript": "8.3.3", | ||
"@smg-automotive/eslint-config": "2.0.20", | ||
"@smg-automotive/eslint-config": "2.0.28", | ||
"@testing-library/jest-dom": "5.16.5", | ||
@@ -37,0 +37,0 @@ "@testing-library/react": "13.3.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
41610
464